cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
liangxinyu86
Contributor
Contributor
896 Views
Registered: ‎05-16-2014

camera with UPU1.4

Jump to solution

The xilinx_dnndk_v3.0_190531 has some  example about YOLO. ,but  all  about  read  picture and  video, No  camera.  The  function is packaged .So  I  want to know how to  use camera to  do  yolov3_adas_512x256?

0 Kudos
1 Solution

Accepted Solutions
linqiang
Xilinx Employee
Xilinx Employee
854 Views
Registered: ‎05-10-2019

Xilinx AI SDK do support the usb camera input. Try this:

./test_video_yolov3_adas_512x256 0 -t 8

 

0 means the first USB camera device node. If you have multiple USB camera, the value might be 1,2,3 etc.

View solution in original post

0 Kudos
8 Replies
linqiang
Xilinx Employee
Xilinx Employee
855 Views
Registered: ‎05-10-2019

Xilinx AI SDK do support the usb camera input. Try this:

./test_video_yolov3_adas_512x256 0 -t 8

 

0 means the first USB camera device node. If you have multiple USB camera, the value might be 1,2,3 etc.

View solution in original post

0 Kudos
liangxinyu86
Contributor
Contributor
843 Views
Registered: ‎05-16-2014

Thanks for your  proposal.  It can  open the camera ,but  not work well .  I  have solved this  problem  use  another  method。And  ,I think   AI_SDK  can   use  camera , but  need  consumer to  modify  the  program.

0 Kudos
jiaoliu
Observer
Observer
803 Views
Registered: ‎05-15-2019

Does this command have a tutorial?

0 Kudos
jiaoliu
Observer
Observer
795 Views
Registered: ‎05-15-2019

Hello, how did you change it? May I have a look at your code?

0 Kudos
liangxinyu86
Contributor
Contributor
779 Views
Registered: ‎05-16-2014

Sorry, I cannot  share it  for you , because  this  is  a project  of  my   company.    but,  if   you  have  problem  about , I can  help  you .

0 Kudos
jiaoliu
Observer
Observer
769 Views
Registered: ‎05-15-2019

It's ok,Is it based on the test-video file? I tried to change the test-image before, but it was unsuccessful.

camera.jpg
0 Kudos
@xx
Participant
Participant
685 Views
Registered: ‎03-01-2019

@linqiang 


@linqiang  已写:

Xilinx AI SDK do support the usb camera input. Try this:

./test_video_yolov3_adas_512x256 0 -t 8

 

0 means the first USB camera device node. If you have multiple USB camera, the value might be 1,2,3 etc.


what's the meaning of -t 8?  is there more information about how to use camera?

0 Kudos
quentonh
Xilinx Employee
Xilinx Employee
677 Views
Registered: ‎05-24-2019

-t is the number of threads, so 8 threads in this case.

0 Kudos