-
Notifications
You must be signed in to change notification settings - Fork 658
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
Support for reading analogue guages #2954
Comments
@CarbonCollins: I have something similar in place (garden water pressure). This is working for over a year now. |
Do you by chance have an example of the configuration options you have set for this analog ROI processing? also any pointers and/or the data set you used for your model so that I can figure out how to do mine? Ive not trained a model before. I'm going to start collecting images over the next few days at least. they are not as clear and crisp as the one you posted but are generally in this quiality: |
@CarbonCollins: In first instance you could test if my trained model is also working for you. I doubt because your pointer and scale looks different, but at least you can try. (Be aware: I only trained from 0.0 - 4.5bar). Here you can find some infos how to train analog pointer: https://github.com/jomjol/neural-network-analog-needle-readout I collected images, labeled them correctly (be very precise, e.g. 0.7_anyimagename.jpg for a pressure of 0.7 bar) and processed one of the jupyter scripts of github repo. For more detailed info, I have to check my archives (Performed this the last time over a year ago ;-)) BTW: Before you start collecting images I would recommend to improve your image quality. |
Looks not so bad, result is at least quite close :-) As long the result is acceptable the image quality is also acceptable ;-) But it could be an improvement in terms of evalutation stability... For me image looks a little blurry (focus adjustment? -> https://jomjol.github.io/AI-on-the-edge-device-docs/Reference-Image/#focus) and you maybe could get a bit closer, physically or using the new digital zoom functionality which in place since 15.7.0. (Be careful: There are still some quirks in v15.7.0, #2926 (reply in thread) -> produces system crashes and potential timing issues while taking new reference image, just repeat until you're happy with the result) |
Just as a thing going forward, is it worth adding these images to a training repo so a more general 0-6 bar guage can be trained? there is at least two of us doing this now :P |
@CarbonCollins: Training image set should at least cover same range than I use 0.0 - 4.5. Send the images (upload here as zipped file) and I'll give it a try to add to the model. |
Finally had a chance to flush the tank so I have a collection of images |
@CarbonCollins: I wasn't able to fully test on my pressure gauge because garden water is not yet switched on ;-) |
@CarbonCollins:
|
@Slider0007 Ive tried both models now, the one with just my images in seems to work quite well, the combined one not so much it seems to get a bit confused with the gradation marks. I am assuming that its because my gauge has half the amount of gradation marks as your gauge but that's just a pure guess. In general though with the combined model I was getting 2.1 when it should have been 2.2 and was also getting 2.2 when it should have been 2.4 |
Recently I also figured out that the combined model is not working as good as my old dedicated model. It seems that our gauges are too different to combine in one model, at least with my knowledge of model generation. |
Hi, i have a similar problem. |
Hello all: I have a Zenner PMN water meter which has the usual odometer for several digits plus 2 analog gauges for gallons and tenths of gallons. I have all but gallons working and getting that working looks to be difficult if not impossible because the needle is clear: My question is about the images used for training a model. How does one generate those? Is it just a matter of checking the box to save the images in Configuration|Raw Images or is there a more controlled way to do that? My meter is not yet installed so I can set it up on the bench and just add a quart of water at time to make the gauge increment but I have no way to control when the image is taken. Is there a better way? EDIT: The better way is https://github.com/jomjol/water-meter-picture-provider |
The Feature
I have my own water well at home so do not have a water meter installed. However I do have a pressure vessel which water is pumped into where I do have an analogue pressure gauge installed measuring the pressure in bar. A crappy example of the gauge below:
Would it be possible to add support to reading one of these gauges so that i can interpret the current pressure value?
The text was updated successfully, but these errors were encountered: