01-09-2019 01:14 PM
I am using zcu102 with USB camera and monitor connected and would like to run a simple example created in SDx which captures image from the camera and display to monitor in real time.
It seems that opencv functions can't be used for this purpose and linux library videodev2.h must be used.
Is there any xilinx documentation which describes how to do this in SDx using c++? Or can anyone help with this?
Thank you in advance.
01-17-2019 08:13 AM - edited 01-17-2019 08:32 AM
Hi
The above file has codes for video capture & display(video_lib)
You can find the codes under
rdf0421-zcu102-base-trd-2018-3/petalinux/src/project-spec/meta-user/recipes-apps/gst-plugins-xlnx/files/src/vdf/video_lib
For description, refer to the above document(Video Library, Gstreamer Videro Library)
01-16-2019 11:37 PM
Hi @twlee2
Please have a look at the below link,
https://github.com/Xilinx/xfopencv
01-17-2019 07:19 AM
Thank you for your reply.
I know Xilinx has this nice repository https://github.com/Xilinx/xfopencv and also reVISION getting started.
Especially, reVISION getting started has live I/O examples but it is quite difficult to find how video is captured and streamed to monitor in real-time .
Could you help with pointing out only that part?
01-17-2019 08:13 AM - edited 01-17-2019 08:32 AM
Hi
The above file has codes for video capture & display(video_lib)
You can find the codes under
rdf0421-zcu102-base-trd-2018-3/petalinux/src/project-spec/meta-user/recipes-apps/gst-plugins-xlnx/files/src/vdf/video_lib
For description, refer to the above document(Video Library, Gstreamer Videro Library)