# UI-Web Cam Auto Trigger

**URL:** <https://discourse.nodered.org/t/ui-web-cam-auto-trigger/38268>\
**Category:** Dashboard\
**Created:** [30 December 2020 09:27 UTC](https://discourse.nodered.org/t/ui-web-cam-auto-trigger/38268 "2020-12-30T09:27:44Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![cjkini](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cjkini/32/27656_2.png) [@cjkini](https://discourse.nodered.org/u/cjkini)\
**Post date:** [30 December 2020 09:27 UTC](https://discourse.nodered.org/t/ui-web-cam-auto-trigger/38268/1 "2020-12-30T09:27:44Z")

</div>

Hi @dceejay,

I have been testing this UI Web Cam node for facial recognition. This node works like a champ 🙂

May i know is there any setting that we can configure so that this camera will take the picture without user activity to click the button?

Thanks.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [30 December 2020 09:52 UTC](https://discourse.nodered.org/t/ui-web-cam-auto-trigger/38268/2 "2020-12-30T09:52:13Z")

</div>

As per the info in the sidebar - you can send in msg.capture of boolean true to trigger it at any time you like. The camera must have been made active within the browser first - but that is a browser requirement and not something we can control.

---

<div class="post-metadata">

**Author:** ![cjkini](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cjkini/32/27656_2.png) [@cjkini](https://discourse.nodered.org/u/cjkini)\
**Post date:** [30 December 2020 10:49 UTC](https://discourse.nodered.org/t/ui-web-cam-auto-trigger/38268/3 "2020-12-30T10:49:57Z")

</div>

Thanks @dceejay. I configure msg.capture=true inside the injector node and push this payload per interval second and the node takes the pix smoothly 🙂

Btw, this node also can be used with USB connected or PI camera as well right?

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [30 December 2020 10:55 UTC](https://discourse.nodered.org/t/ui-web-cam-auto-trigger/38268/4 "2020-12-30T10:55:06Z")

</div>

It can be used with any camera the local browser recognises as connected locally. IE if you run Node-RED on a Pi, and use a laptop to view the dashboard - it will recognise cameras attached to the laptop - not the Pi. The little down arrow in the corner lets you select from the available cameras  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/6/d60903f4ffd5dab1fbeca20bb9158bb2e30846b3.png)

---

<div class="post-metadata">

**Author:** ![cjkini](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cjkini/32/27656_2.png) [@cjkini](https://discourse.nodered.org/u/cjkini)\
**Post date:** [30 December 2020 11:02 UTC](https://discourse.nodered.org/t/ui-web-cam-auto-trigger/38268/5 "2020-12-30T11:02:32Z")

</div>

Thanks @dceejay

If i use Nano Jetson box(node-red install inside this box), connected with USB camera and HDMI display to display the webcam ui dashboard for local setup, this approach will work as well right?

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [30 December 2020 11:04 UTC](https://discourse.nodered.org/t/ui-web-cam-auto-trigger/38268/6 "2020-12-30T11:04:12Z")

</div>

I guess so. How about you try it and tell us ? I don't have a Jetson or a USB webcam.

---

<div class="post-metadata">

**Author:** ![cjkini](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cjkini/32/27656_2.png) [@cjkini](https://discourse.nodered.org/u/cjkini)\
**Post date:** [30 December 2020 13:41 UTC](https://discourse.nodered.org/t/ui-web-cam-auto-trigger/38268/7 "2020-12-30T13:41:35Z")

</div>

Noted @dceejay.

We will look into this 🙂  
Thanks for the feedback.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [29 January 2021 13:41 UTC](https://discourse.nodered.org/t/ui-web-cam-auto-trigger/38268/8 "2021-01-29T13:41:38Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
