Pre-processing before digit recognition with KNN classifier

后端 未结 3 1169
暖寄归人
暖寄归人 2021-02-07 11:03

Right now I\'m trying to create digit recognition system using OpenCV. There are many articles and examples in WEB (and even on StackOverflow). I decided to use KNN classifier b

3条回答
  •  醉酒成梦
    2021-02-07 11:41

    5 & 6 , 1 & 7, 9 & 8 are recognized as the same because central points of classes are too similar. What about this ?

    • Apply connected component labeling method to digits for getting real boundaries of digits and crop images over these boundaries. So, you will work on more correct area and central points are normalized.
    • Then divide digits into two parts as horizontally. (For example you will have two circles after dividing "8")

    As a result, "9" and "8" are more recognizable as well as "5" and "6". Upper parts will be same but lower parts are different.

提交回复
热议问题