convert Frame into np.array instead of deque