Method for outputting consecutive characters in video-recording mode
First Claim
Patent Images
1. A method for outputting consecutive characters in a video-recording mode, comprising:
- recording the object by a camera along a direction to obtain a first image and a second image, wherein the second image is the next image of the first image;
performing an edge detection on the first image and the second image, further comprises;
converting the grey scale data of the pixels of the image and the second image as follows;
Edge(P(i,j))=Diff(P(i,j−
1),P(i,j+1))+Diff(P(i+1,j−
1),P(i−
,j+1))+Diff(P(i+1,j),P(i,j−
1))+Diff(P(i+1,j+1)),P(i−
1,j−
1));
wherein i, j, X, Y represent positive integers, and Edge(P(i,j)) represents the grey scale data after the edge detection;
wherein Diff(PX,PY)=abs[(PX(G)−
PY(R))×
(PY(G)−
PX(B)×
(PX(B)−
PY(R))], and the abs is an absolute value function, PX(G) is the green grey scale value of the pixel X, PY(R) is the red grey scale value of the pixel Y, and PY(G) is the green grey scale value of the pixel Y, PX(B) is the blue grey scale value of the pixel X, PY(R) is the red grey scale value of the pixel Y.comparing the first image with the second image to obtain a third image which is an overlapping part of the first image and the second image;
removing the third image from the second image to generate a fourth image;
merging the fourth image with the first image to generate a fifth image; and
performing an optical character recognition (OCR) on the fifth image, to output the characters in the fifth image.
1 Assignment
0 Petitions
Accused Products
Abstract
The invention discloses a method for outputting consecutive characters in a video-recording mode. The method includes obtaining a first image and a second image from an object, comparing the first image and the second image to obtain a third image which is the overlapping part of the first image and the second image, removing the third image from the second image to generate a fourth image, integrating the fourth image with the first image to obtain a fifth image and recognize characters on the fifth image by OCR software and output the characters of the fifth image.
11 Citations
8 Claims
-
1. A method for outputting consecutive characters in a video-recording mode, comprising:
-
recording the object by a camera along a direction to obtain a first image and a second image, wherein the second image is the next image of the first image; performing an edge detection on the first image and the second image, further comprises; converting the grey scale data of the pixels of the image and the second image as follows;
Edge(P(i,j))=Diff(P(i,j−
1),P(i,j+1))+Diff(P(i+1,j−
1),P(i−
,j+1))+Diff(P(i+1,j),P(i,j−
1))+Diff(P(i+1,j+1)),P(i−
1,j−
1));wherein i, j, X, Y represent positive integers, and Edge(P(i,j)) represents the grey scale data after the edge detection; wherein Diff(PX,PY)=abs[(PX(G)−
PY(R))×
(PY(G)−
PX(B)×
(PX(B)−
PY(R))], and the abs is an absolute value function, PX(G) is the green grey scale value of the pixel X, PY(R) is the red grey scale value of the pixel Y, and PY(G) is the green grey scale value of the pixel Y, PX(B) is the blue grey scale value of the pixel X, PY(R) is the red grey scale value of the pixel Y.comparing the first image with the second image to obtain a third image which is an overlapping part of the first image and the second image; removing the third image from the second image to generate a fourth image; merging the fourth image with the first image to generate a fifth image; and performing an optical character recognition (OCR) on the fifth image, to output the characters in the fifth image. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
Specification