Skip to content

Instantly share code, notes, and snippets.

@e96031413
e96031413 / Opencv_template_predict.py
Last active March 11, 2021 14:49 — forked from yinguobing/process_video.py
OpenCV Template module for video frame processing.
"""Template code for video frame processing.
Features:
- video source from files or webcams.
- automatically flip the frame if reading from webcam.
- built in video writer to output the processed result.
- built in FPS metter.
For more: https://github.com/yinguobing
"""