Ask Your Question

Revision history [back]

i think Cascade classifier is not suitable.you can try (https://github.com/opencv/opencv/blob/master/samples/python/digits_video.py) for some ideas.

take a look at the image below to see some results if you can do right segmentation of digits

image description

i think Cascade classifier is not suitable.you can try (https://github.com/opencv/opencv/blob/master/samples/python/digits_video.py) digits_video.py for some ideas.

take a look at the image below to see some results if you can do right segmentation of digits

image description

you can get the image above by adding

frame = cv.imread("e:/test/bale.jpg")

at line 39

using the image below which i manually crop digits from your image to show the ideaimage description

i think Cascade classifier is not suitable.you can try digits_video.py for some ideas.

take a look at the image below to see some results if you can do right segmentation of digits

image description

you can get the image above by adding

frame = cv.imread("e:/test/bale.jpg")

at line 39

using the image below which i manually crop cropped digits and resized 2.5x from your image to show the ideaimage description

i think Cascade classifier is not suitable.you can try digits_video.py for some ideas.

take a look at the image below to see some results if you can do right segmentation of digits

image description

you can get the image above by adding

frame = cv.imread("e:/test/bale.jpg")
cv.imread("15494095161414931.jpg")

at line 39

using the image below which i manually cropped digits and resized 2.5x from your image to show the ideajust an idea to start (you need to improve )image description