OpenCV tutorials for Raspberry Pi boards:
- Raspberry Pi Zero 2 W
- Raspberry Pi 4 Model B
- Raspberry Pi 3 Model B+
- Raspberry Pi 2 Model B+
- Raspberry Pi 1 Model B+
- Raspberry Pi Zero 2
Alas, access to Raspberry Pi Zero was lost a few years ago.
HelloOpenCV.cpp - basic test to link key libraries from the OpenCV suite for a simple exercise to load and display an image
Reference Using OpenCV with gcc and CMake
HelloOpenCV.py - load and display a specific image
This program requires a command line parameter for the name of an image file. The imread method reads the file. The imshow method displays the file. After the image is displayed in a new window, when any key is pressed the program dismisses the window and terminates with the completion code set to zero.
| completion | | |
code | message | notes |
---|---|---|
-1 | No image data | check 1st parameter |
OpenCV Tutorials http://docs.opencv.org/master/index.html
OpenCV-Python Tutorials http://docs.opencv.org/3.0-beta/doc/py_tutorials/py_tutorials.html