FLIR (Point-Grey) camera producer Following OpenPose tutorial_wrapper/
examples, we create our own class inherited from WorkerProducer. This worker:
- Set hardware trigger and the buffer to get the latest obtained frame.
- Read images from FLIR cameras.
- Turn them into std::vector<cv::Mat>.
- Return the resulting images wrapped into a std::shared_ptr<std::vector<Datum3D>>. The HW trigger + reading FLIR camera code is highly based on the Spinnaker SDK examples
AcquisitionMultipleCamera
and specially Trigger
(located in src/
). See them for more details about the cameras. See examples/tutorial_wrapper/
for more details about inhering the WorkerProducer class.