I need to detect length of the object from image. The object is put on a scale and from that scale you need to detect the exact number which will be it's length. After detecting the length I need final result in a csv where image name and it's length should be saved. For reference see two sample images.