derricw / pysentech

Python Interface for Sentech USB Cameras
MIT License
5 stars 1 forks source link

AVI video saving #5

Open SMBU-MM opened 6 years ago

SMBU-MM commented 6 years ago

Hi, Derricw,

Recently, I used the library you provide. I need the function to save AVI video and analysis it. Do you have the schedule to add this function

Best

Zhihua

derricw commented 6 years ago

Hi, if you have opencv installed (pip install opencv-python), then you should be able to use cv2.VideoWriter to write each frame to video. I'll try and make an example that does this tonight when I get home.

mubin92 commented 6 months ago

Hi Derricw,

Any update on the sample code to write cv2.VideoWriter? I have use this code, but doesnt seem to record the video as the video size is only 8KB. Looking forward you reply.