Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Graph Vehicle Statistics #26

Open
stephenmetts opened this issue Apr 18, 2021 · 3 comments
Open

Graph Vehicle Statistics #26

stephenmetts opened this issue Apr 18, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@stephenmetts
Copy link

Firstly, thank you for an awesome add to Home Assistant. I've been playing with this, and thoroughly enjoy it. I have a suggestion for an improvement. As someone who has high traffic in front of their house, it would be interesting to see statistics on vehicles that pass by. For example, right now in my events I can see the following data:

{"entity_id": "image_processing.sighthound_garage_2", "plate": "JDJ7182", "vehicle_type": "car", "make": "Mercedes-Benz", "model": "CLS-Class", "color": "black", "region": "Mississippi", "bounding_box": [0.13503, 0.20703, 0.47454, 0.47266]}

It would be great to gather statistics on how many Ford, Mercedes-Benz, etc... the system recognizes over time. The same for color, region, model, etc...

At this time, the only method I can identify is a database query.

@robmarkcole
Copy link
Owner

Database query is what I recommend, unless you can propose an alternative? You could create a SQL sensor to return the metrics you want

@band8266
Copy link
Contributor

band8266 commented Jun 7, 2021

How about adding the saved file-path for the processed image in the event data, so that one could also query the image?

@robmarkcole
Copy link
Owner

Honestly I just dont have free time for much open source work these days, so new features will require a PR

@robmarkcole robmarkcole added the enhancement New feature or request label Sep 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants