Intelligent electronic vote analyzing and locating method capable of resisting image stretching shift
A technology of intelligent analysis and image stretching, applied in the directions of instruments, character and pattern recognition, computer parts, etc., can solve the problems of image stretching and offset, the failure of positioning the ballot identification frame area, affecting the voting and counting work, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0015] Such as figure 1 , the "+" symbols in the upper left corner, upper right corner and lower left corner in the figure are the positioning marks of electronic ballots. In the figure, the principles of the present invention are illustrated by taking the basic ballot identification frame area 1, area 2, and area 3 at the mark as examples.
[0016] Set the basic ballot identification frame area 1, area 2, and area 3. If the coordinates are: area 1 (280, 380, 70, 60), area 2 (352, 380, 70, 60), area 3 (424, 380, 70, 60) Among them, the line width pixel is 2.
[0017] Assuming that the electronic ballot image scanned by the scanner is stretched, causing the coordinate x of area 1 to shift by 25 pixels and y by 15 pixels, then the real coordinates of area 1 on the scanned electronic ballot image should be (305, 395, 70, 60),
[0018] Computer software for positioning recognition steps:
[0019] 1. The coordinates of the computer software’s first positioning and recognition s...
Embodiment 2
[0026] Such as figure 2 ., The difference from Embodiment 1 is that the positioning mark of the electronic ballot is the outer frame a of the ballot content on the electronic ballot. In this case, the identification process of the electronic ballot positioning mark, that is, the real coordinates of the ballot content frame a on the electronic ballot is the same as the identification process of the ballot identification frame area, and will not be repeated here. After identifying the real coordinates of the ballot content frame a on the electronic ballot, compare and calculate with the coordinates of the ballot content frame a on the electronic ballot basic template, and then calculate the offset of the ballot content frame a on the electronic ballot quantity.
Embodiment 3
[0028] Such as image 3 , the difference from Embodiment 1 and Embodiment 2 is that the positioning mark of the electronic ballot is the outer frame b of the ballot content on the electronic ballot, and each basic ballot identification frame area is independent of each other. In this case, it is not necessary to calculate the positioning mark of the electronic ballot, that is, the offset of the outer frame b of the ballot content on the electronic ballot, and in the ballot identification frame area identification step, the coordinates of the first identification step of the area to be identified are the electronic ballot The coordinates of the corresponding base ballot recognition frame area on the base template.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


