# How to display camera feed ignition

**URL:** <https://forum.inductiveautomation.com/t/how-to-display-camera-feed-ignition/86823>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [March 5, 2024, 1:31pm UTC](https://forum.inductiveautomation.com/t/how-to-display-camera-feed-ignition/86823 "2024-03-05T13:31:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Job\_van\_der\_Grijn](https://avatars.discourse-cdn.com/v4/letter/j/8491ac/32.png) [@Job\_van\_der\_Grijn](https://forum.inductiveautomation.com/u/Job_van_der_Grijn)\
**Post date:** [March 5, 2024, 1:31pm UTC](https://forum.inductiveautomation.com/t/how-to-display-camera-feed-ignition/86823/1 "2024-03-05T13:31:37Z")

</div>

Hi everyone,

How can I display the camera feed from my own laptop in vision by using the IP camera viewer component? Is third-party software required for this? Or is there some other approach? I would like to create facial recognition software by using the OpenCV python library.

Thanks

---

<div class="post-metadata">

**Author:** ![jespinmartin1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jespinmartin1/32/57175_2.png) [@jespinmartin1](https://forum.inductiveautomation.com/u/jespinmartin1)\
**Post date:** [March 5, 2024, 1:43pm UTC](https://forum.inductiveautomation.com/t/how-to-display-camera-feed-ignition/86823/2 "2024-03-05T13:43:38Z")

</div>

Recognition should happen outside Ignition since the mentioned libraries are not available nor compatible.  
Maybe connecting the cam to VLC player or server would be a good first step to take and a .py, Ignition executed to perform your task.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [March 5, 2024, 1:48pm UTC](https://forum.inductiveautomation.com/t/how-to-display-camera-feed-ignition/86823/3 "2024-03-05T13:48:03Z")

</div>

I have a module that can help you, as long as you install OpenCV and FFmpeg yourself on the client machine:

> [@Automation Professionals' Image Streamer Driver Module](https://forum.inductiveautomation.com/t/automation-professionals-image-streamer-driver-module/29371):
>
> Automation Professionals is pleased to announce a Release Candidate for its new driver module, supporting the live Network Image transmission format of [Keyence CV-5000](https://www.keyence.com/products/vision/vision-sys/cv-5000/index.jsp) machine vision controllers, plus support for common Network Video streams via [OpenCV](https://opencv.org/). Stream metadata is exposed as OPC items, and the output streams are Motion JPEG. The IP Camera Viewer Component in Vision can consume these streams, making it possible to integrate IP Cameras that don't have MJPEG support or have poor support f…

While most commonly used to retransmit RTSP networked webcams in a Vision-friendly format, the implementation also attempts to load OpenCV's java library into Ignition's scripting environment, and this works in Vision Clients, too.

If you go that route, I'd recommend displaying frames with the Paintable Canvas.

(Note that while the jython wrappers **look** like the python OpenCV bindings, they are really the java bindings. Numpy is not part of the kit.)
