reading an analog meter face
Posted: 2016-05-16T18:41:55-07:00
I'm working on a project that requires the reading of the needle of a meter. It a basic needle like in the old days. red, fat the pivit point and tapering to a point. The problem reduces to getting the angle of the needle.
I have created a workflow that filters the image and gets a clean mask of the needle. Ive been playing with different morphologies to clean up the shape and reduce it to a skeleton. I've got a wiggle skeleton but I'm at a loss on how to get a straight line or the get the angle of the line. If I can get clean end point then I'm ok. The accuracy is very loose so anything close is good enough.
I need to read and analyze an image every few seconds.
I'm new to computer vision and looking for guidance. I'd attach the skeleton image if I knew how.
I have created a workflow that filters the image and gets a clean mask of the needle. Ive been playing with different morphologies to clean up the shape and reduce it to a skeleton. I've got a wiggle skeleton but I'm at a loss on how to get a straight line or the get the angle of the line. If I can get clean end point then I'm ok. The accuracy is very loose so anything close is good enough.
I need to read and analyze an image every few seconds.
I'm new to computer vision and looking for guidance. I'd attach the skeleton image if I knew how.