opencv single h264 raw frame as a binary string
问题 have created a rtsp client in python that receives a h264 stream and returns single h264 raw frames as a binary strings. I am trying to process each h264 frames on-the-fly. I have unsuccessfully tried several ways to convert this frame into a numpy array for processing. So far I know that cv2.VideoCapture only accepts a file name as it argument, not a frame neither a StringIO object (file like pointer to a buffer), but I need to pass to it my string. I have also tried something like: nparr =