接上一篇文章,在deploy目录下会有很多运行的脚本
root@x3sdbx3-samsung2G-3200:/userdata/deploy# ls
configs lib models multitask_perception run_body.sh run_face_recog.sh start_nginx.sh webservice
执行脚本:
root@x3sdbx3-samsung2G-3200:/userdata/deploy# sh run_body.sh
/userdata/deploy
Choose lunch x3 vio type menu...pick a combo:
1. single cam
2. single feedback
Which would you like?
1
You choose 1:single_cam
Choose lunch single cam sensor menu...pick a combo:
1. single camera: os8a10, 2160P
2. single camera: os8a10, 1080P
3. single camera: usb_cam, 1080P
4. single camera: f37_1080p, 1080P
Which would you like?
4
You choose 3:f37_1080p
vio_mode: panel_camera
vio_pipe_file: configs/vio/x3dev/iot_vio_x3_f37_1080p.json
sensor is f37_1080p, default resolution 1080P, 1080P X3 JPEG Codec...
cp: can't stat 'usb_camera/configs/box_filter_config_2M.json': No such file or directory
cp: can't stat 'usb_camera/configs/gesture_multitask_2M.json': No such file or directory
cp: can't stat 'usb_camera/configs/multitask_config_2M.json': No such file or directory
cp: can't stat 'usb_camera/configs/multitask_with_hand_2M.json': No such file or directory
cp: can't stat 'usb_camera/configs/multitask_with_hand_960x544_2M.json': No such file or directory
cp: can't stat 'usb_camera/configs/multitask_body_kps_config_2M.json': No such file or directory
cp: can't stat 'usb_camera/configs/segmentation_multitask_2M.json': No such file or directory
sh: write error: Device or resource busy
run_body.sh: line 160: can't create /sys/devices/platform/soc/b2000000.usb/role: Permission denied
sh: write error: No such device
/usr/bin/adbd is not runnning
Detecting platform:
board : Hobot XJ3 SOC SDB
udc :
cat: can't open '/sys/devices/platform/soc/b2000000.usb//role': No such file or directory
not usb gadget mode, can't start usb-gadget
vio_cfg_file: ./configs/vio_config.json.x3dev.cam
turn on mallopt
use bpu native engine
[1970-01-01 08:07:36 INFO 548106493984 hr_api.cpp:479] HorizonRT version = 1.4.2
[1970-01-01 08:07:36 INFO 548106493984 hr_api.cpp:484] hbrt version = 3.11.4
[HBRT] set log level as 0. version = 3.11.4
bpu engine_type is naive.
[BPU_PLAT]Makesure BPU Core Opened!!!)
[BPU_PLAT]BPU Platform Version(1.3.0)!
naive engine use core-engine type is naive.
[BPU_PLAT]Makesure BPU Core(1) Opened!!!
naive engine use core-engine type is naive.
(vio_pipeconfig.cc:51): Open config file1 configs/vio/x3dev/iot_vio_x3_f37_1080p.json
(vin_module.cc:947): not surpport sensor type
(vin_module.cc:1055): not surpport sensor type
(vin_module.cc:1094): not surpport sensor type
[ERROR][camera][utility/hb_cam_utility.c:198] camera write 0x12 fail
[ERROR][camera][utility/hb_cam_utility.c:686] sensor_init fail
[ERROR][][mipi/hb_mipi_api.c:151] hb_cam_utility error!
(vin_module.cc:288): hb mipi init sensor error, ret: -31 dev_id: 0
(vin_module.cc:157): hb sensor init error, ret: -31 pipe_id: 0 sensor_id: 16 mipi_idx: 0
根据自己的需求选择对应的硬件配置