
./bin/cameras_opencv_demo -d /dev/video0 -s 2560x720 -r 25
#If you have
plugged in port A
4 cameras
./bin/cameras_opencv_demo -d /dev/video0 -s 5120x720 -r 25
Figure GMSL Output
[
]
13 parameters are defined by camera resolution. For
<nWxH>
, n is the number of connected cameras; WxH is video resolution. For instance,
when two 1280x720 cameras are connected, parameters should be set at <2560x720>. When connected to different camera group, /dev/videoX
should be set as /dev/video0 or /dev/video1.
Demo and application
MiiVii offers several demo code:
Algorithm: MiiVii device offers human, vehicle, bicycle detection. Please refer to /opt/miivii/features/algorithm
Acceleration SDK: MiiVii device provides acceleration SDK based on Yolo v3. Please refer to /opt/miivii/features/miivii-accelerator
ROS demo: MiiVii device offers ROS DEMO. Please refer to /opt/miivii/ros_demo
Among them, miivii_msgs is the message rule of ROS. miivii_gmsl is the ROS node of GMSL camer. miivii_detector is the ROS node of object
detection.
Besides, MiiVii also open source part of our code in Github. Please visit
https://github.com/MiiViiDynamics
Appendix
Exception Handling
If bug occurs to you while developing, please check DEBUG log first:
Step 1: Find the position of DEBUG port in 'Interfaces'
Step 2: Connect DEBUG port with a PC using a UART-USB cable
1
Step 3: Download Serial debugging tool in the PC, set Baud to 115200