-
Notifications
You must be signed in to change notification settings - Fork 21
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
How to tell if whosatmyfeeder is working? #18
Comments
Not really an expert but one way which may work would be to temporarily lower the confidence needed in frigate and this app and then hopefully you should see some random garden objects getting named as random birds. |
@stevenbrown1862 Still grasping Frigate as a whole, how would i go about feeding a video into it using go2rtc? |
I don't know how you have frigate set up currently. But adding something like the following to your streams section in the frigate config. You'll have to make sure that you've mounted the whole config folder, I think sometimes people only mount the config file. streams: You will then have this video looping at rtsp://frigate ip:8554/birdvideo and so you can point a frigate camera to it. Sorry for any typos but tricky to type on the phone. |
definitely dont understand frigate well enough to make this work unfortunately. When i add in what you listed above with (i think)correct spacing frigate doesnt work. Looked at the documentation and didnt find anything similar to what you had up there either |
If its not working then I think the most likely cause will be that you haven't mapped the config folder into your container. Sorry I've no idea about unraid so I've no idea how that would work. This link below is the documentation for streaming an mp4 file. |
@stevenbrown1862 ok i finally got a video of birds streaming over rtsp and into a new camera in frigate. Now though, its not detecting them as birds at all, more so detecting them as people or not at all?? In the config, birdtest is the youtube video im streaming to frigate Below is my frigate config, maybe i have something set incorrectly there? Appreciate the insight!!!
|
Not sure on this one. I know frigate can be a bit random because of the coco model but not naming those pictures as birds is surprising. I'd suggest posting this on the frigate issues page to see if someone has any ideas. |
@stevenbrown1862 posted over there, they said that the model im using isnt good at detecting birds but didnt offer a suggestion as to which model to use. Do you by chance know of what coco or yolo (or whatever its called) model is better at detecting birds? Also, it did finally detect a couple birds but WhosAtMyFeeder didnt do anything with them still. |
I've no idea about detectors sorry. I'm using yolov8 which is working well for me on my igpu. My use case is very different from you in that I'm trying to catch a heron stealing my fish. The easiest thing to see if your current detector is sub optimal would be to try running the default cpu detector to see if that detects better. When you can consistently get bird events then you could look in the who's at my feeder container logs as it will show the detection process assessing the picture from frigate there if its working. |
Are you seeing anything in the WhosAtMyFeeder console logs? e.g.
The score is a percentage (threshold configurable in the app config through |
perhaps @mmcc-xx may have some input on the model portion or why whosatmyfeeder lists nothing even though it detected 2 birds? |
@daernsinstantfortress nothing, this is all i see in the logs, unless there is a different location for logging i should look at.
|
Hmm is there anything after that, does it actually connect to the mqtt broker? I've pasted my logs below and you'll see there is confirmation of connection to mqtt. Calling Main
|
@stevenbrown1862 interesting, so maybe its not actually connecting to mqtt then. in your config is it just ip:port or does it have the mqtt:// prefix? Mine is just ip:port and ive tried both true and false for auth and thats as far as it goes. |
@hermy65 frigate: |
@stevenbrown1862 ok now we are making progress, changed the config to just mqtt ip NOT ip:port and it connected and started logging stuff like yours did. However, it is now identifying squirrels as morning doves :P |
I guess this is why we don't need to worry about computers taking over the world and enslaving humans for a few years yet. I guess your way forward here, without having a better model, is to adjust the confidence percentages until your false positives are acceptable. |
@stevenbrown1862 hate to keep hammering you on this but i just got my first bird and it looks like it id'd it in the logs but nothing is showing up on the webpage :/ Any idea what im doing wrong here? |
I think the 'score' your seeing is the confidence so in other words its only 21-28% confident in the ID, therefore, it won't give you an ID in the UI and Frigate unless you lower your accepted confidence considerably (I wouldn't recommend these sort of levels though). I don't know whether the issue is the quality of the camera, the position of the camera, or just plain bad luck with how the bird was posing for you but to be honest I would probably ID that as a cat. Feel free to carry on hammering...at some point I may even have a useful answer. |
Hi all - sorry for being tuned out for a while there. What @stevenbrown1862 said is correct - the confidence is below the threshold for a species identification to be considered real. That value is in the config file in the config directory. Now, as to why Frigate isn't doing a great job with identifying birds in the first place... I'd suggest trying a CPU based detector and the default built in model to see if you get any better results. You can back off on the fps in the camera section so it isn't hammering your CPU so hard. I also specify the resolution of my camera in the camera/detect section but I'm not sure how important that is. Here's my camera definition in case it is helpful at all:
|
if you don't it will resize the stream to 1280x720 |
New to all of these software packages. I installed both Frigate and WhosAtMyFeeder on my unraid box. Frigate appears to be detecting what is needed, only had one detection of a bird and it was actually a squirrel. The issue im potentially running into is, how do i know if this is actually working. When Frigate classified the squirrel as a bird, it never showed up in WhosAtMyFeeder even though it was incorrect, i also did not see anything in the logs for WhosAtMyFeeder to suggest it decided against the squirrel.
So, how do i know this is working?
Below is my frigate config
The text was updated successfully, but these errors were encountered: