blakeblackshear / frigate

NVR with realtime local object detection for IP cameras
https://frigate.video
MIT License
18.36k stars 1.67k forks source link

Support 2D barcode recognition #3155

Open Vendo232 opened 2 years ago

Vendo232 commented 2 years ago

Wyze just introduced a garage opener which registers door open/closed based on specific 2D barcode glued on the garage door.

image

Would something like this be possible with Frigate -> pushing status to HA?

NickM-27 commented 2 years ago

Could maybe put a picture of one of the supported labels and have frigate track it. As far as actual barcode support goes, I don't think that fits with frigates scope or use case.

That being said, it wouldn't be difficult to use frigates API to get a snapshot and send to a separate service that does recognize barcodes to get this into HA.

Just my 2 cents, will be curious what others think.

hawkeye217 commented 2 years ago

Agreed, @NickM-27. This seems outside of the use case for an NVR, but with Frigate's API, getting a snapshot and then passing it on with a script of some sort should be a fairly easy. It seems more suited to a HA custom component with image_processing (much like license plate recognition) rather than something in Frigate directly.

hawkeye217 commented 2 years ago

Looks like there's a Wyze custom integration for Home Assistant already - you could probably see if they plan to implement something in the component for image processing. It would be easy to use a Frigate snapshot camera from Home Assistant at that point.

Vendo232 commented 2 years ago

maybe it will show up in Wyze API and then we could use it in HA

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

edk4971 commented 2 years ago

Here's another way to implement this feature that might work: https://hackaday.com/2022/07/08/use-apriltags-to-let-guests-open-your-front-gate/