Video recording with OpenCV, Qt and Basler pylon on MAC OS X
This project demonstrates how video recording can be realized on MAC OS X while using OpenCV (display&recording), Qt (GUI), Basler pylon (image grabbing), Basler USB3.0 and GigE cameras.
Video recording with OpenCV, Qt, Basler pylon and Basler USB 3.0 and GigE cameras on MAC OS X
This project demonstrates how video recording can be realized on MAC OS X while using OpenCV (display&recording), Qt (GUI), the Basler pylon Camera Software Suite (image grabbing) and Basler USB 3 Vision and GigE Vision cameras.
This guide assumes that:
- you're using MAC OS X Sierra 10.12.3
- you're using pylon for Mac OS X v188.8.131.5273 or newer. You can download the latest pylon version from here.
- you're using a Basler USB 3 Vision or a GigE Vision camera
- you've installed Qt v5.7 (for building/using the GUI)
- you've installed OpenCV v3.2
- you've installed Boost v1.63
To start with, use the executable package 'CamViewer.app_V1.tar', which already contains all dependent libraries except the pylon framework.
Now apply the following steps to run the tool:
- Install the pylon5 frame work
- Extract the attached *.tar file into a directory of your choice.
- Open a shell and go into the sub directory, i.e.:
- And call the ./start.sh
The script 'start.sh' will set the needed DYLD_LIBRARY_PATH environment variables and start the tool.
This sample supports recording of 'mpeg4' video files.
Note: depending on your user rights, you may need to change the directory where the video should be saved, e.g. to Desktop.
For the purpose of adding additional functionalities to the tool, the source code file 'CamViewerMacOsSRC_V1.tar' is also attached to this project.
PS: do not forget this is a sample private project without any warranty.