Find this example on our SD-image
see OpenCV examples where this example is explored.
To run the application, you have to:
- OpenCV installed Install OpenCV 4.5 - 32 bit OS or Install OpenCV 4.5 - 64 bit OS
- Code::Blocks installed. (
$ sudo apt-get install codeblocks
)
To extract and run the network in Code::Blocks
$ mkdir MyDir
$ cd MyDir
$ wget https://github.com/Qengineering/OpenCV-Livecam-Raspberry-Pi/archive/master.zip
$ unzip -j master.zip
Remove master.zip, license and README.md as they are no longer needed.
$ rm master.zip
$ rm LICENSE
$ rm README.md
Your MyDir folder must now look like this:
James.mp4
TestCamera.cpb
SimpleGrab.cpp