- 新增test.cpp 使用 thread 讀buffer 但是速度一樣慢
- Camera: https://github.com/quic/sample-apps-for-Qualcomm-Robotics-RB5-platform/tree/master/camera-hal3-sample
- Image_transport: http://wiki.ros.org/image_transport/Tutorials/PublishingImages
- mkdir -r catkin_ws/src
- cd catkin_ws/src
- git pull ***
- cd catkin_ws && catkin_make
- cd catkin_ws
- ( [camera id] [yuv420_8bit_previwe_weight] [yuv420_8bit_height] [jpeg_weight] [jpeg_height] )
- ./build/stream_hal3 0 1920 1080 1920 1080
-
Save image flie (Streamming) to folder (build/CAPTURE/***.yuv or ***.jpg)
-
Run with ROS command (rosrun) --> not working
-
but use "stream_hal3" command to stream to ros
-
OPENCV read image file (build/CAPTURE/***.yuv or ***.jpg) to ROS
- Read JPG with opencv read with encode format "bgr8" is OK
- but YUV with opencv read with encode format ---> still not working
-
OPENCV read buffer(from memory to ROS)
- although I have added code and build success, but have not tested the result yet.