Faster face detection | OpenCV, and Matplotlib | video processing



PyShine presents Matplotlib integration with Open CV to output the frame rate
Lets write the face detection code
This code has two parts:
1) Face.py which uses Opencv and Haar classifier
2) Plot.py
which uses Matplotlib
Face.py will open Webcam and detect face in video stream,
also it will generate a csv file which will have the current frame rate
Plot.py will read the csv file and update the plot of frame rate
The Face.py will run the Plot.py in a thread. The complete source code is available in the link below:
https://pyshine.com/How-to-plot-real-time-frame-rate-in-opencv-and-matplotlib/
https://drive.google.com/file/d/1yHu9lMS2sajj1uEmjg5-tTTDF4tt6upI/view

Comments

Popular posts from this blog

Drag and Drop CSV file on Matplotlib based PyQt5 GUI : PyQt5 tutorial - ...

Basic Piano GUI in PyQt5: Part 1

Screen recorder in PyQt5 | How to make Audio Video Screen recorder | PyQt5