rresults of running
~/openncc/Platform/Linux/Ubuntu/Example/How_to/OpenNCC-EMMC/VSC/How_to_use_sdk$ make run
make run
./script/clone.sh
Please make sure you have backed up lib or bin(y or n)y
copy lib/libOpenNCC.a ....
mkdir bin....
copy blob....
TEST_SOURCES: cls_demo_show.cpp obj_detection_demo_show.cpp face_detection_demo_show.cpp vehicle_license_plate_detection_barrier.cpp main.cpp
g++ -std=c++11 -o OpenNCC cls_demo_show.o obj_detection_demo_show.o face_detection_demo_show.o vehicle_license_plate_detection_barrier.o main.o lib/libOpenNCC.a -I./inc -I/usr/include/opencv4 -DUSE_WD -D__PC__ `pkg-config opencv4 --cflags --libs` -lrt -ldl -lusb-1.0 -lpthread
mv OpenNCC bin/
sudo ./script/run.sh
Please input number[0..3]
example
#0 support one ai net example [default] face blob
#1 two ai net vehicle_license_plate_detection_barrier
#2 one ai net and 2 input
#3 used call back to get data from ncc device
number:3
test example:use call back
device opened
1D6B:0003 (usbver:30, bus 2, device 1)
8087:0A2A (usbver:20, bus 1, device 4) path: 7
outEndPoint:[2]
inEndPoint:[82]
04F2:B56D (usbver:20, bus 1, device 3) path: 4
03E7:F63D (usbver:21, bus 1, device 9)get our self usb device ver:21
path: 2
inEndPoint:[81]
inEndPoint:[82]
outEndPoint:[1]
0781:5567 (usbver:21, bus 1, device 2) path: 1
inEndPoint:[81]
outEndPoint:[2]
1D6B:0002 (usbver:20, bus 1, device 1)
error code: -6
Cannot claim interface
vsc_init err
usb sersion:21
list num:0
12:02:28 : sdk/sdk.cpp(980) initstatus ret:-1
12:02:28 : sdk/sdk.cpp(984) init status error
xlink_init -1
camera_video_out YUV420p 2
then it just hangs.