I'm sure there's a super simple way to do this, I'm just not entirely sure I know it. I'm building a prototype of a webapp the utilizes Node-Red UI-WebCam to capture a barcode from an id. Everything works great but I would like to hide the camera selection dropdown arrow in the UI-WebCam node. The device used to connect to the node-red instance will only have one camera and thus users will not need to select other cameras. Also, it's in the way of the image while trying to lineup the barcode.
Additionally, is there any way to possibly overlay a square target onto the camera so users can lign up their barcode accurately?
What settings do you have of the ui-webcam and/or are you sending any in via the msg?
how many webcam's do you have connected to the device running NR?
The only message passed into the node is a msg.capture boolean set to "true".
The device running Node-Red doesn't have any webcams connected. The "client device" is just a chromebook that access node-red dashboard through chrome web browser. This device only has a front facing camera and no other camera's will be connected.
Is this something that I can do/how might I go about doing this? I'm not a total noob, but in regards to doing a Pull Request it would honestly be my first.
Thanks for any help or pointers in the right direction!
payloadBuffer | Boolean
If set to a Buffer containing an image, it will be displayed in the place of the webcam view on the dashboard. If set to null or false, the displayed image will be cleared.
But on my Mac it doesn't clear the image from the dashboard. I'm going to try it on a Pi (currently installing things on teh Pi so I can use the usb camera).
Thanks for taking a stab at this. I did get the HTTPS up and running and have a cert installed so I'm all good there. I even set up a proxy to force all HTTP traffic to HTTPS which I was pretty proud of myself for.
So my final steps are just basic UI beautification and user-proofing it to avoid someone clicking something and breaking the functionality. Let me know if there is anything I can help with or steps I can test!
(For what it's worth, for my purposes, I'd prefer to prevent the end user from turning the camera off. Essentially the app will act as a kiosk to scan so while I understand the implications of an always on camera, I'm not sure I'd want an end user to necessarily turn it off? But I understand why the option might be desired by others. I think I could definitely make use of msg.camera_state (on/off) option.)
Thanks so much to everyone for your support and help!