Difference between revisions of "EPC-R5710 Extend AI Card"

From ESS-WIKI
Jump to: navigation, search
(Extend AI Card)
 
Line 1: Line 1:
 +
  
  
Line 27: Line 28:
 
Figure 1:
 
Figure 1:
  
[[File:EPC-5710 AI Card camera.png|400x200px]]
+
[[File:EPC-5710 AI Card camera.png|400x200px|EPC-5710 AI Card camera.png]]
  
command2 :
+
command2 :
 
<pre># sed -i 's/\/dev\/video[0-3]*/\/dev\/video2/g' /home/root/apps/detection/detection.sh
 
<pre># sed -i 's/\/dev\/video[0-3]*/\/dev\/video2/g' /home/root/apps/detection/detection.sh
 
</pre>
 
</pre>
 +
 +
[[File:EPC-R5710 AI Card camera 1.png|400x200px]]
 +
 +
After completing the above commands, execute the following commands
 +
<pre># sed -i 's/,framerate=30\/1 !/ !/g' /home/root/apps/detection/detection.sh
 +
# /home/root/apps/detection/detection.sh
 +
</pre>
 +
 +
&nbsp;

Latest revision as of 04:06, 8 September 2023


Extend AI Card

Provide external AI module , hailo8.
Insert the AI module,HDMI display and USB camera, before boot, and run the script of the following path to view the AI test effect on the screen.

Hardware part

HAILOHLLWME0214600093

1. Plug the HAILO module into the M.2 connector of the EPC-R5710.

2. Plug the USB camera into the USB port

Software part

Enter the following command to view the USB camera node.

# v4l2-ctl --list-device

The execution results and commands are shown in the following figure. If the result is shown in Figure 1, enter command 1. If the result is shown in Figure 2, please enter command 2.

command1:

# sed -i 's/\/dev\/video[0-3]*/\/dev\/video0/g' /home/root/apps/detection/detection.sh

Figure 1:

EPC-5710 AI Card camera.png

command2 :

# sed -i 's/\/dev\/video[0-3]*/\/dev\/video2/g' /home/root/apps/detection/detection.sh

EPC-R5710 AI Card camera 1.png

After completing the above commands, execute the following commands

# sed -i 's/,framerate=30\/1 !/ !/g' /home/root/apps/detection/detection.sh
# /home/root/apps/detection/detection.sh