-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Anyway to tune to reduce false positives? #7
Comments
Is there a way to get the output image out of obico that shows the squares for issue spots? |
Can you explain how the api to the ml works? I see that you send image url via the /img , and how/what data comes back? @nberktumer |
The threshold values are hardcoded to aggregation functions in automation. It is possible to create inputs for the thresholds by rewriting the aggregation functions: #2 (comment)
API returns the squares but they are not shown in HA. However, it is possible to create a new image sensor with detected failures.
The response is in the following format:
Box values are the detected failures shown as squares in the original Obico service. |
@nberktumer how about the values like ewm, etc. How do they get populated? |
The HA automation calculates them:
These math formulas in the automation are taken from: |
Ok I understand how things work a lot better now and think making a card that shows the boxes wouldn't be too hard. My only request is if in the next drop of this code, to save that actual json resuilt into a entity, so we can use it for the card. |
I would really like the ability to adjust the sensitivity threshold as well. I was getting pauses at ~40% spaghetti confidence. This makes the service kind of unusable for me right now. I would think something in the ≥85 or above would be more suitable for a pause. |
I'm in the process of adding LED strips to the top of my P1S so maybe the extra light will help with the false positives? |
Also agree a threshhold would be really helpful, I end up disabling the automation after the first 1/4 of the print is done due to false positives. Apart from that full credit to an easy way to setup print failure detection :) |
I have disabled pause for now, because I get many warning notifications, depending on what the model looks like. For example see the screenshot below. Print looks fine, but level has passed 5 or six times into the warning zone. This is a stock P1S.
The text was updated successfully, but these errors were encountered: