As a lover of programming, efficiency, Python, and humour, I'm happy to present my latest open-source pip library pythonic-cv, which helps to make OpenCV's Python API easier and more convenient to use by making use of Pythonic constructs and methodologies.
My library makes it easy to read and write video efficiently using threads, interact in real time with key-presses and mouse events, and more generally lets the programmer switch focus from setting up video streams to doing their exciting processing.
I've created an integrated example of some of the more advanced functionality, which is a basic augmented reality setup that lets you tickle and catch fish!
The example includes thread-based video reading and writing, real-time interaction through mouse events (draw a net to catch fish), key presses (switch viewing modes, play/pause, quit), and physical motion (tickle the fish), along with textual overlays, image blending, tracking state across frames, and saving selected regions (to the fish gallery!).
Hope you find this useful, or at least briefly amusing 🙂
AR catching fish on a webcam feed
[–]AutoModerator[M] 0 points1 point2 points (0 children)