★200 seek image recognition problems Delphi/Windows SDK/API
Http://www.delphi2007.net/DelphiMultimedia/html/delphi_2006121516575256.html
There is a set of simple images, which are all scanned in. How can I pass Program Recognize these images?
For example:
The image is arranged vertically in a rectangle of, similar to: |
Image 2: a circle in the middle
Picture 3: 3 rectangles arranged horizontally, similar to: 3
And so on ....
The Rectangles and circles in the image are solid.
Image recognition is a big topic. Find some information on the Internet to study.
You can take the pixel color of an image based on its trajectory to see if it is consistent.
This is based on the actual situation.
Yi10000. Please try again.
I don't know much about it.
If the image is standard, it should be recognized.
1. First, binarization the image.
2. Then, use scanline to compare the pixels in the first column with the binarization threshold to determine the graphic boundary.
3. Take the points on the boundary and check whether they conform to the circular or rectangular functions.
You can directly compare different feature points ..
To: baiduan (-_-cup dung feeding power -_-)
The scanned image has some deviations.
To: vividw (vividw)
Is there a specific approach?
It is best to provide a drawing and the output format you need
.. Just passing ..
You have made a simple drawing. Please download:
Http://pickup.mofile.com/1581545260340256
This is a big project. I am afraid I am too tired!
Are there any similar controls?
Graphics are a sequence for the system ..
Simple comparison sequence similarity
Complex deformation and model are required and then identified ..
For more information, see <Pattern Classification>
It's hard to say !! Haha !!
Top
What is the deviation?
Black spots? Glitch? Is the line straight?
"What is the deviation?
Black spots? Glitch? Is the line straight? "
It may be because the scan is in. You can use a simple XOR to calculate differences and set a threshold to barely use them. Is there a better way?
Remove noise from black spots
Burr details
Many of these functions are available online.
In fact, Burr and line are not straight can be solved as follows:
If the positions of vertices on the graph are within a certain range.
We can consider this point hit.
A better solution won't,
Top this post for 2 days,
And other graphics experts to take a look.
Opencv provides a demo for creating a contour. You can first extract the contour of the circle and the square and then analyze it.