Using visionworks for camera input

Hi,

All the examples of visionworks working fine. But i want camera as a input for my example and i am facing issues.Anyone please provide me any solutions for this.

Hi,

Thanks for your question.

For on-board camera, please use --source=“device:///nvcamera?index=0”
For usb camera, please use --source=“device:///v4l2?index=1”

Please find details in Visionworks’ document
Document is located at /usr/share/visionworks/docs on device
Or just download it at https://developer.nvidia.com/embedded/visionworks

Hi,

We are using Apalis TK1 board with jetpack install.I am trying visionworks sample player example with usb camera input but it is not working with --source=“device:///v4l2?index=1”.

Hi,

Please modify the index number with id of your camera and try it again.

Thanks.

Hi,

I am using this usb camera path --source="/devices/platform/tegra-xhci/usb1/1-3/1-3.3/1-3.3:1.0/input/input1"

Thanks

Hi,

It is v4l2 index.

For example, I connect a Logitech usb camera and when I execute

cat /dev/v4l/by-id/*

I got:
cat: /dev/v4l/by-id/usb-046d_Logitech_Webcam_C930e_AD9E226E-video-index0

So I should open camera by

nvx_demo_feature_tracker --source="device:///v4l2?index=0"

Yes its working fine. But i am using this input for motion_measurement example for pedestrian detection but using camera it is showing arrow symbol everywhere but in video it is working with only pedestrians.

Thanks

Hi,

There are some tuning parameters.
Please read more in our document.

Thanks.

Does Vision works camera api supports GiGE or IP camera ?

Hi,

VisionWorks officially supports following input format:

    [*]Video [*]Image [*]Image sequence [*]V4L2 camera [*]NVIDIA camera

For GiGE or IP camera, you can give it a try but not in our support scope.
Thanks.