可以参考博客:https://blog.csdn.net/youandme520/article/details/108734661
装好海康威视相机的驱动后,在C:\Program Files (x86) \MVS\Development\Samples\ Python\ GrabImage中有GrabImage.py文件,
该文件会获取图像数据流
data_buf = (c_ubyte * nPayloadSize)()
并进行输出
print ("get one frame: Width[%d], Height[%d], nFrameNum[%d]" % (stFrameInfo.nWidth, stFrameInfo