Results 1 to 4 of 4

Thread: image segmentation based on horizontal and vertical projection

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2016
    Posts
    603

    image segmentation based on horizontal and vertical projection

    if the image (such as the printed font) is very standardized, a simple projection will do.


    First introduce the algorithm idea: the projection of the image corresponding to the direction is to take a straight line in this direction, count the number of black points of the pixels on the image perpendicular to the straight line (axis), and accumulate the sum as the value of the position on the axis; based on the image Projection cutting is to map the image to this feature, determine the cutting position (coordinates) of the image based on this feature, and use this coordinate to cut the original image to obtain the target image.

    Some people say that you can use multiple times of corrosion and then expand for boundary positioning, but I won't. I haven't found a code reference.
    Name:  ocr.jpg
Views: 770570
Size:  13.7 KB


    ocr.zip


    ocrTest.zip

  2. #2

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2016
    Posts
    603

    Re: image segmentation based on horizontal and vertical projection

    Of course, image denoising should also be considered, and the image is irregular

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2016
    Posts
    603

    Re: image segmentation based on horizontal and vertical projection

    Is there a good image recognition code that can be referenced? It is analogy that vb calls opencv, etc., I have a simple recognition requirement. The inclination of the analogy characters, sticking, etc. thanks

  4. #4

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2016
    Posts
    603

    Re: image segmentation based on horizontal and vertical projection

    Why is there a library that can be called without VB?
    I am writing Websocked Automation Identification Images

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width