Removing extra pixels/lines from license plate

前端 未结 2 1699

I am using HOG feature detector based on SVM classification. I can successfully extract license plate, but the extracted number plate have some unnecessary pixels/lines apart fr

2条回答
  •  旧时难觅i
    2021-01-23 23:47

    You can probably achieve a lot by filtering contours out. Try to find contours that have a certain width/height ratio, a certain amount of white pixels with countNonZero() etc. If that does not help, you can always try to implement a text detection algorithm like Run Length Smoothing Algorithm (RLSA).

提交回复
热议问题