Replies: 3 comments 1 reply
-
Beta Was this translation helpful? Give feedback.
-
Well, I already have black foam over the LED, without it (or like white paper or somehing like that) the last digit befor the comma wouldn't be readable at all. My problem is, that the reading changes like desribed (mqtt): {'value': 35810.907, 'raw': '35810.907', 'error': 'no error', 'rate': 0.003299, 'timestamp': '2022-10-14T08:20:30'} As you can see, the second last digit befor the comma doesn't changed, but as soon as the last digit flips from 0 to 1, the recognation for the second last goes wrong, without changing anything. And this happens alot. Also in the setup for the ROI are 2 rectangles per digit. What is the important one? The outer or the inner rectangle? Greetings. |
Beta Was this translation helpful? Give feedback.
-
Addition: I have even a flip if the last digit befor the comma doesn't change: {'value': '', 'raw': '35871.057', 'error': 'Rate too high - Read: 35871.057 - Pre: 35810.962', 'rate': '', 'timestamp': '2022-10-14T08:35:03'} and so on.. So you can see, sometimes the recognition is correct sometime not.. |
Beta Was this translation helpful? Give feedback.
-
Hi,
is there a way to implement a "logical" error correction based on single digits due to faulty recognition?
For Example:
As you can see, the Raw Value is wrong, the first digit befor the decimal point is an 8, but a 3 is readout, so I got a negative error.
My Idea is now, that there will be a logical error correction based on the digi. In this example:
3 will be changed with 8 and vice versa and then will be checked if the new raw value is within rate rate defined in the config (eg. 0.5):
35803.830 - 35808.587 is negative.
85803.830 - 35808.587 > 0.5
35308.830 - 35808.587 is negative
35803.830 - 35803.587 < 0.5 - new value
If there is not plan to implement it, if there is an interest? My C/CPP Skills are limited, but I think I'll can do it. ;)
Regards,
easy.
Beta Was this translation helpful? Give feedback.
All reactions