Difference between revisions of "EPC-R5710 Extend AI Card"
From ESS-WIKI
Xingxing.li (talk | contribs) (Created page with " === '''Extend AI Card''' === Provide external AI module , hailo8.<br/> Insert the AI module,HDMI display and USB camera, before boot, and run the script of the following pat...") |
Xingxing.li (talk | contribs) (→Extend AI Card) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | |||
+ | |||
=== '''Extend AI Card''' === | === '''Extend AI Card''' === | ||
Line 6: | Line 8: | ||
'''Hardware part''' | '''Hardware part''' | ||
− | <span style="text-autospace:none"><span lang="EN-US" style="font-family: | + | <span style="text-autospace:none"><span lang="EN-US" style="font-family:">HAILO</span><span style="font-family:宋体">:</span><span lang="EN-US" style="font-family:">HLLWME0214600093</span></span> |
1. Plug the HAILO module into the M.2 connector of the EPC-R5710. | 1. Plug the HAILO module into the M.2 connector of the EPC-R5710. | ||
2. Plug the USB camera into the USB port | 2. Plug the USB camera into the USB port | ||
+ | |||
+ | '''Software part''' | ||
+ | |||
+ | Enter the following command to view the USB camera node. | ||
+ | <pre># v4l2-ctl --list-device | ||
+ | </pre> | ||
+ | |||
+ | 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: | ||
+ | <pre># sed -i 's/\/dev\/video[0-3]*/\/dev\/video0/g' /home/root/apps/detection/detection.sh | ||
+ | </pre> | ||
+ | |||
+ | Figure 1: | ||
+ | |||
+ | [[File:EPC-5710 AI Card camera.png|400x200px|EPC-5710 AI Card camera.png]] | ||
+ | |||
+ | command2 : | ||
+ | <pre># sed -i 's/\/dev\/video[0-3]*/\/dev\/video2/g' /home/root/apps/detection/detection.sh | ||
+ | </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> | ||
| |
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
HAILO:HLLWME0214600093
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:
command2 :
# sed -i 's/\/dev\/video[0-3]*/\/dev\/video2/g' /home/root/apps/detection/detection.sh
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