# 3rd party Camera integration Issues

**URL:** <https://forums.developer.nvidia.com/t/3rd-party-camera-integration-issues/127927>\
**Category:** DeepStream SDK\
**Tags:** kernel, gstreamer, camera\
**Created:** [June 15, 2020, 5:38pm UTC](https://forums.developer.nvidia.com/t/3rd-party-camera-integration-issues/127927 "2020-06-15T17:38:56Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![mbufi](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@mbufi](https://forums.developer.nvidia.com/u/mbufi)\
**Post date:** [June 15, 2020, 5:38pm UTC](https://forums.developer.nvidia.com/t/3rd-party-camera-integration-issues/127927/1 "2020-06-15T17:38:56Z")

</div>

Hello!

I am planning to use deepstream in my applications but I am forced to use the following 2 cameras:

> **[USB | OMRON SENTECH CO., LTD | OMRON SENTECH |](https://sentech.co.jp/en/products/USB/index.html)**
>
> OMRON SENTECH is industrial camera manufacture. OMRON SENTECH is manufacturing GigE Vision camera, USB camera, Camera Link camera, DVI/SDI camera and CCTV camera.

or

> **[Basler dart – Area Scan Cameras](https://www.baslerweb.com/en/products/cameras/area-scan-cameras/dart/)**
>
> The Basler dart convinces with its compact form and a large selection of different sensors. With the highest quality and compact design, it is suitable for every project.

Both cameras come with their own drivers and developer API to utilize the camera and take photos.

**• Hardware Platform (Jetson / GPU)**  
Jetson Xavier / Baslar USB3 Camera/ Omron USB3 Camera  
**• DeepStream Version**  
5  
**• JetPack Version (valid for Jetson only)**  
4.4 +  
**• TensorRT Version**  
6+

The problem I am facing is that the cameras cannot be seen using

```auto
v4l2-ctl

```

How does one integrate this into deepstream? When I have all drivers installed and can use the api, the cameras do not appear as usb0/1 when i look for them on linux. Therefore I am not sure how deepstream can take photos from these.

Please let me know if you need any other information.

Thank you!

---

<div class="post-metadata">

**Author:** ![miguel.taylor](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/miguel.taylor/32/273049_2.png) [@miguel.taylor](https://forums.developer.nvidia.com/u/miguel.taylor)\
**Post date:** [June 15, 2020, 11:39pm UTC](https://forums.developer.nvidia.com/t/3rd-party-camera-integration-issues/127927/3 "2020-06-15T23:39:25Z")

</div>

The only solution I see is to implement a GStreamer element that uses the Basler API to present the camera as a GStreamer source. After that, it should be easy to use it with DeepStream. Something like [this](https://github.com/MattsProjects/pylon_gstreamer).

A trick that works with FLIR cameras that have this same issue is to use them as an RTSP stream, but It doesn’t seem like Basler cameras have this feature.

---

<div class="post-metadata">

**Author:** ![DaneLLL](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/danelll/32/14043_2.png) [@DaneLLL](https://forums.developer.nvidia.com/u/DaneLLL)\
**Post date:** [June 16, 2020, 1:25am UTC](https://forums.developer.nvidia.com/t/3rd-party-camera-integration-issues/127927/4 "2020-06-16T01:25:09Z")

</div>

Hi,  
Suggest you check camera boards from our partners:

> **[Jetson Ecosystem](https://developer.nvidia.com/embedded/ecosystem)**
>
> Find the right NVIDIA partner for your AI at the Edge application needs. From carrier boards, custom system design and sensors to full systems, our partners will help you get to market faster.

We have worked with the partners to have camera boards with optimization. FYR.

---

<div class="post-metadata">

**Author:** ![mbufi](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@mbufi](https://forums.developer.nvidia.com/u/mbufi)\
**Post date:** [June 16, 2020, 12:15pm UTC](https://forums.developer.nvidia.com/t/3rd-party-camera-integration-issues/127927/5 "2020-06-16T12:15:49Z")

</div>

So I did a quick search and have come across the following repo:

> **[GitHub - joshdoe/gst-plugins-vision: GStreamer plugins related to the field of machine...](https://github.com/joshdoe/gst-plugins-vision)**
>
> GStreamer plugins related to the field of machine vision

They have built GST plugins for baslar. How would one then integrate this into deepstream?  
Any quick sample/ quick pointers would be very appriciated.

Thank you!

---

<div class="post-metadata">

**Author:** ![miguel.taylor](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/miguel.taylor/32/273049_2.png) [@miguel.taylor](https://forums.developer.nvidia.com/u/miguel.taylor)\
**Post date:** [June 16, 2020, 1:53pm UTC](https://forums.developer.nvidia.com/t/3rd-party-camera-integration-issues/127927/6 "2020-06-16T13:53:58Z")

</div>

We have a media server demo using `v4l2src` and `nvarguscamerasrc` it should work just by replacing these elements with the one you found. Here is the link: [Multi-camera Jetson TX2 AI Media Server demo | NVIDIA GTC 2020 RidgeRun demo](https://developer.ridgerun.com/wiki/index.php?title=NVIDIA_GTC_2020:_How_to_build_a_multi-camera_Media_Server_for_AI_processing_on_Jetson)

---

<div class="post-metadata">

**Author:** ![mbufi](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@mbufi](https://forums.developer.nvidia.com/u/mbufi)\
**Post date:** [June 16, 2020, 5:43pm UTC](https://forums.developer.nvidia.com/t/3rd-party-camera-integration-issues/127927/7 "2020-06-16T17:43:25Z")

</div>

@miguel.taylor Oh wow! That’s a cool project. I will definately have to look into that.

Have you or your team looked into the Deepstream Python API to do something similar? Before I saw your response I was attempting to code it based on the following implementation to acess the USB cameras with deepstream python API:

> <https://github.com/NVIDIA-AI-IOT/deepstream_python_apps/blob/master/apps/deepstream-test1-usbcam/deepstream_test_1_usb.py>

I think something similar can be achieved if I somehow incorperate the GST baslar elements in place of the `v4l2src` ones. Do you have any experience on this? Perhaps @DaneLLL can also comment.

Thank you all again for the wionderful tips.

---

<div class="post-metadata">

**Author:** ![miguel.taylor](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/miguel.taylor/32/273049_2.png) [@miguel.taylor](https://forums.developer.nvidia.com/u/miguel.taylor)\
**Post date:** [June 16, 2020, 5:54pm UTC](https://forums.developer.nvidia.com/t/3rd-party-camera-integration-issues/127927/8 "2020-06-16T17:54:54Z")

</div>

Unfortunately, we haven’t had the time to check DeepStream 5.0 and the Python API. I am looking forward to trying it, but at the moment we use our own Python API (pygstc) that is based in GStreamer Daemon (basically gst-launch in steroids). That is what we use in the example I shared earlier.

I think that you should be able to replace `v4l2src` with the custom element in the DeepStream python app and it will work fine. You may need to add `capsfilter` and/or `nvvidconv` after the cam in order to force the correct caps on the element.

---

<div class="post-metadata">

**Author:** ![TomNVIDIA](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/tomnvidia/32/14181_2.png) [@TomNVIDIA](https://forums.developer.nvidia.com/u/TomNVIDIA)\
**Post date:** [October 12, 2021, 4:17pm UTC](https://forums.developer.nvidia.com/t/3rd-party-camera-integration-issues/127927/10 "2021-10-12T16:17:34Z")

</div>


