Information processing device, control method for information processing device, and program
The mechanism supports easy alignment and combination of multiple image captures on mobile devices, improving character recognition accuracy for large documents by displaying reference images and superimposed capture ranges.
Patent Information
- Application Number
- JP2019138124
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2019-07-26
- Publication Date
- 2024-09-19
- Estimated Expiration
- 2039-07-26
AI Technical Summary
Character recognition accuracy decreases when using mobile terminal cameras to capture large documents due to lower resolution, necessitating multiple shots and manual alignment of image parts for combination.
A mechanism that displays a reduced reference image and superimposes the captured image range on the display, allowing users to align and combine images easily by guiding the camera movement.
Facilitates easy and accurate image capture of large documents by aligning and combining multiple shots efficiently, enhancing character recognition accuracy.
Smart Images

Figure 0007554024000018 
Figure 0007554024000013 
Figure 0007554024000007
Abstract
Description
[Technical field]
[0001] The present invention relates to Data Processing Device , information processing device control method, and program - Patents.com Regarding. [Background technology]
[0002] In recent years, when obtaining information such as characters contained in documents such as forms, instead of obtaining the information by reading it using a scanner device, people are increasingly using mobile devices such as smartphones and tablets to take pictures using the cameras built into the devices.
[0003] However, in most cases, the resolution of mobile device cameras is lower than that of scanners, so if you try to perform character recognition processing on an entire large document such as A3 size by taking a single photo, the recognition accuracy will be reduced, so it is necessary to take multiple photos of each part of the document and perform character recognition processing.
[0004] In response to this, a technology has been disclosed that reduces the burden on the photographer by displaying a guide on the screen to indicate whether the entire piece of paper has been photographed when the mobile device is moved to photograph it (see, for example, Patent Document 1). [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2018-121233 A DISCLOSURE OF THEINVENTION [Problem to be solved by the invention]
[0006] However, in the invention described in Patent Document 1, the images are taken in a predetermined number of times. Therefore, when combining the images after taking the images, it is necessary to determine which part of one captured image should be combined with which part of another captured image. Therefore, depending on the user's shooting operation, extra images must be taken of the parts that will become overlapping parts.
[0007] Therefore, an object of the present invention is to provide a mechanism capable of supporting a user to easily take appropriate photographs. [Means for solving the problem]
[0008] In order to achieve the above object, the present invention provides a camera comprising: an imaging means for imaging a subject; corresponding to the range to be photographed among the subject It is stored in advance An acquisition means for acquiring a reference image; An image captured by the imaging means Control the display to show , A reduced image of the reference image, An image in which the photographed range of the object photographed by the photographing means is displayed in a identifiable manner based on matching with a reference image. The image displayed on the display unit is superimposed in a position where it can be confirmed. A display control means for controlling the display; The present invention is characterized by comprising: Effect of the Invention
[0009] According to the present invention, it is possible to assist a user in easily taking appropriate photographs. [Brief description of the drawings]
[0010] [Figure 1] FIG. 1 is a diagram showing the appearance of a mobile terminal. [Diagram 2] FIG. 2 is a diagram showing a schematic configuration of hardware of a mobile terminal. [Diagram 3] 11 is a flowchart showing a process of performing divided shooting. [Figure 4] FIG. 13 is a diagram showing the configuration of a template selection screen. [Diagram 5] FIG. 13 is a diagram showing an example of a reduced display of a template image. [Figure 6] FIG. 2 is a diagram showing the configuration of a preview screen. [Figure 7] FIG. 13 is a diagram showing how the shooting range moves in accordance with the movement of the camera. [Figure 8] FIG. 13 is a diagram showing how the shooting range moves in accordance with the movement of the camera. [Figure 9] FIG. 13 is a diagram showing a magnification ratio being displayed on a preview screen. [Figure 10] FIG. 13 is a diagram showing how the enlargement / reduction ratio is changed when displayed. [Figure 11] FIG. 13 is a diagram showing a shooting progress rate displayed on a preview screen. [Figure 12] FIG. 13 is a diagram showing how a shooting progress rate is changed and displayed. [Figure 13] FIG. 13 is a diagram showing how a photographed range and a photographing range are distinguished and displayed. [Figure 14] FIG. 13 is a diagram showing how a photographed range and a photographing range are distinguished and displayed. [Figure 15] FIG. 13 is a diagram showing the combining of captured images. [Figure 16] FIG. 2 is a diagram showing the configuration of a template image DB. [Figure 17] FIG. 2 is a diagram showing the configuration of a photographed location DB. [Figure 18] FIG. 2 is a diagram showing the configuration of an authentication target image DB; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.
[0012] FIG. 1 shows an example of the appearance of a mobile terminal 100. FIG. 1(a) shows one side of the mobile terminal 100. The mobile terminal 100 is equipped with a touch panel 101.
[0013] The touch panel 101 has two functions: to display image information and the like, and, when touched by some input means, to sense information on the touched position and output it as an information signal.
[0014] FIG. 1(b) shows the other side of the mobile terminal 100. The mobile terminal 100 is provided with a photographing lens 102 for photographing a subject to be photographed and obtaining an image.
[0015] In the embodiment of the present invention, the mobile terminal 100 will be described, but the present invention is not limited to such a terminal and may be any device that processes information and has a photographing function.
[0016] Next, FIG. 2 is a block diagram showing a schematic configuration of the hardware of the mobile terminal 100. As shown in FIG.
[0017] The mobile terminal 100 includes a microphone 201 , an audio processing unit 202 , a data conversion unit 203 , a CPU 204 , a memory unit 205 , a transmission / reception unit 206 , a display output unit 207 , a key operation unit 208 , an antenna 209 , a speaker 210 , and a sensor 211 .
[0018] The route for transmitting voice to a mobile terminal 100 carried by the other party using a mobile terminal 100 carried by a user involves acquiring voice, such as words uttered by the user, from a microphone 201, converting the voice into a voice signal in a voice processing unit 202, and then outputting the voice signal to a data conversion unit 203.
[0019] The data conversion unit 203 converts the input audio signal into audio data and outputs it to the CPU 204 .
[0020] The CPU 204 outputs the input voice data to the transmission / reception unit 206. The transmission / reception unit 206 then converts the input voice data into a voice signal, and outputs the signal to the antenna 209, thereby making a call with the mobile terminal 100 carried by the other party.
[0021] On the other hand, as a path for receiving voice from the mobile terminal 100 carried by the other party to the mobile terminal 100 carried by the user, the antenna 209 receives the voice signal transmitted from the mobile terminal 100 carried by the other party and outputs the received voice signal to the transmission / reception unit 206.
[0022] The transmitting / receiving unit 206 converts the input voice signal into voice data and outputs it to the CPU 204. The CPU 204 outputs the voice data to the data conversion unit 203, and the data conversion unit 203 converts the input voice data into a voice signal.
[0023] Then, the data conversion unit 203 outputs the voice signal to the voice processing unit 202, the voice processing unit 202 outputs the input voice signal to the speaker 210, and the speaker 210 outputs the input voice signal, making it possible to receive voice from the other party's mobile terminal 100.
[0024] The display output unit 207 has a function of displaying and outputting the results of the CPU 204 executing the programs stored in the storage unit 205 .
[0025] When an input is made via the key operation unit 208 to the screen or the like displayed and output on the display output unit 207, the CPU 204 executes a corresponding program according to the content of the key operation (for example, by detecting the position of the key relative to the screen or the like). An example of the key operation unit 208 is a software keyboard.
[0026] A receiver controller 212 controls the input of a GPS receiver 213. The GPS receiver 213 periodically calculates position information such as the latitude, longitude, and altitude of the current position, as well as the current time, based on radio waves received from a plurality of GPS satellites via a GPS antenna.
[0027] The camera unit 214 acquires image data obtained by photographing a subject, and stores the image data in the storage unit 205 .
[0028] Next, the divided shooting process in the embodiment of the present invention will be described with reference to the flowchart shown in FIG.
[0029] The flowchart shown in FIG. 3 is a flowchart showing processing for performing divided shooting, which is processing in which the CPU of the mobile terminal 100 reads out and executes a predetermined control program.
[0030] In the embodiment of the present invention, the subject of photography will be described as a form, but the subject is not limited to paper media such as a form, and may be a medium such as a photograph, or data such as an electronic form.
[0031] In step S300, the template image DB (FIG. 16) is accessed, and a list of registered templates is displayed on the template selection screen 400 (see FIG. 4) via the touch panel 101, and the template selected by the user is identified.
[0032] Figure 16 shows the configuration of a template image DB that manages information about images (hereinafter referred to as template images) that serve as templates for performing OCR processing. The template image DB is configured to include an ID, image data, image resolution, and dpi.
[0033] The ID is an item for uniquely identifying a template image, and is registered as a consecutive integer number.
[0034] Image data is an item for storing data of a template image, and image information is registered. Image resolution is an item for storing resolution information of the template image, and W (width) and H (height) are registered.
[0035] The dpi is an item for storing the dpi setting value when the template image is scanned by a scanner, etc., and an integer is registered. If the template image is registered without being scanned by a scanner, etc., and there is no dpi information, nothing is registered.
[0036] FIG. 4 shows the configuration of a template selection screen 400 for selecting a template image, and the template selection screen 400 displays a list of registered template images 401.
[0037] FIG. 4 shows an example in which template images are displayed in a list. When there are two types of templates registered in the template image DB, two types of template images 401 are displayed.
[0038] The method for selecting the template image is not limited to this embodiment, and other known methods may be used.
[0039] For example, a method of identifying the target by image matching between an image obtained by photographing the target and a template image, a method of inferring a template image for the target from a learning model obtained by learning the photographed image and the template image using a neural network, or a method of using the photographed image itself as the template image may be used.
[0040] In step S301, the template image selected in step S300 is reduced and displayed in a corner.
[0041] FIG. 5 shows an example in which a template image is displayed in a reduced size, and a selected template image 500 is displayed in a corner of the touch panel 101 in a reduced size.
[0042] In step S302, the photographed area DB (FIG. 17) is accessed, and the photographed area is acquired from the information on the coordinates, image resolution, and enlargement / reduction ratio.
[0043] FIG. 17 shows the configuration of the photographed location DB, which manages information about images obtained by photographing (hereinafter referred to as photographed images). The photographed location DB includes an ID, image data, image resolution, coordinate information, matching magnification ratio, photographing date and time, and template image ID.
[0044] The ID is an item for uniquely identifying a captured image, and a consecutive integer is registered therein. The image data is an item for storing data of a captured image, and image information is registered therein.
[0045] The image resolution is an item for storing resolution information of a captured image, and W (width) and H (height) are registered.
[0046] The coordinate information is an item for indicating where on the template image the captured image fits, and the X and Y coordinates are registered with the upper left corner of the template image as the origin.
[0047] The matching enlargement / reduction ratio indicates the enlargement or reduction ratio at the time of matching the photographed image with the template image, and if the range of the form expressed by 1px differs between the photographed image and the template image, the photographed image is enlarged or reduced. This indicates the enlargement / reduction ratio at that time, and a decimal value is registered.
[0048] The shooting date and time is an item for storing when the image was shot, and the date and time (year, month, day, hour, minute, second) are registered.
[0049] The template image ID is an item for storing the ID of the template image corresponding to the photographed image, and an integer is registered therein.
[0050] In this step, the photographed range is acquired, and the photographed range is expressed by filling in the acquired photographed range in the template image displayed in the corner.
[0051] Furthermore, the photographing progress rate is calculated using the resolution of the template image and the photographed range.
[0052] In step S303, an image captured by a camera mounted on the mobile terminal 100 is acquired and displayed on a preview screen 600 (see FIG. 6).
[0053] As shown in FIG. 6, a preview of the document being photographed is displayed in a corner of the touch panel 101 with the template image facing up.
[0054] In step S304, the position of the captured image in the template image (reference image for the subject) is calculated. This process uses feature point matching or the like to find relative coordinates based on the template image and the matching enlargement / reduction ratio. Needless to say, the position of the captured image in the template image may be calculated using any known method other than the above.
[0055] In step S305, the photographing range is acquired from the relative coordinates and image resolution obtained in step S304, and the matching enlargement / reduction ratio information.
[0056] The captured range is then expressed by filling in the acquired range of the template image displayed in the corner with a light color.
[0057] As an example of this representation, as shown in FIG. 6, a semi-transparent gray rectangle 601 is displayed in the corner of a template image to represent the shooting range.
[0058] In this case, if the camera is moved to the right, as shown in Figure 7, the shooting range will also move (gray rectangle 700), and if the camera is moved away from the document, as shown in Figure 8, the shooting range will also change (gray rectangle 800).
[0059] In step S306, the matching enlargement / reduction ratio is displayed in a corner of the preview screen. Fig. 9 shows an example of displaying the matching enlargement / reduction ratio in a corner of the preview screen, where a enlargement / reduction ratio of 900 is displayed on the preview screen.
[0060] As shown in Fig. 10, when the camera is moved away from the document, the matching enlargement / reduction ratio changes. At a enlargement / reduction ratio of 900, the enlargement / reduction ratio is 1.0 times, but at a enlargement / reduction ratio of 1000, the enlargement / reduction ratio changes to 4.0 times.
[0061] In step S307, the shooting progress rate is displayed in the corner of the preview screen. As shown in Fig. 11, the shooting progress rate 1100 is displayed on the preview screen.
[0062] 12, the shooting progress rate changes immediately after shooting is performed. The shooting progress rate 1100, which was 0%, changes to 5% as shown in shooting progress rate 1200.
[0063] This shooting progress rate is a button, and by pressing this button, the unphotographed area is displayed by blinking or the like to indicate the unphotographed area.
[0064] In step S308, it is determined whether or not a photograph has been taken using the camera mounted on the mobile terminal 100. If it is determined that a photograph has been taken, processing proceeds to step S309. If it is not determined that a photograph has been taken, processing proceeds to step S303.
[0065] In step S309, the captured image DB is accessed, a captured image obtained by shooting with the camera is acquired, and information related to the captured image is added to the captured image DB.
[0066] Incidentally, immediately after the 100th photograph is taken, data relating to 100 photographed images is registered, as shown in FIG.
[0067] In step S310, the captured image DB is accessed, and the resolution of the template image and the captured range are used to calculate a capture progress rate indicating how much capture has been completed.
[0068] If the shooting progress rate is 100%, it is determined that the entire subject has been shot, and the process proceeds to step S311; if the shooting progress rate is less than 100%, the process proceeds to step S302.
[0069] If the shooting progress rate is less than 100% and the camera is moved to take the next shot, the template image displayed in the corner of the preview screen, as shown in Figures 13 and 14, will show the already-shot area as a dark gray rectangle (1300, 1400) and the current unshot area as a light gray rectangle (1300, 1401).
[0070] In step S311, the photographed location DB is accessed to obtain information on the coordinates, image resolution, and enlargement / reduction ratio.
[0071] The images are matched in order from the earliest captured image date and time, and then merged into a single image.The target image database is then accessed, and the merged image data is added.
[0072] FIG. 18 shows the configuration of a recognition target image DB that manages recognition target images created by combining captured images. The recognition target image DB includes items such as ID, image data, image resolution, and template image.
[0073] The ID is an item for uniquely identifying an image to be recognized, and is registered as a consecutive integer number.
[0074] The image data is an item for storing data of an image to be recognized, and image information is registered.
[0075] The image resolution is an item for storing the resolution information of the recognition target image, and W (width) and H (height) are registered.
[0076] The template image ID is an item for storing the ID of the template image corresponding to the recognition target image, and an integer is registered therein.
[0077] In the photographed location DB shown in FIG. 17, for example, 100 photographs are taken and information on the photographed images is registered, and when the progress rate reaches 100% in the 100th photograph, combining is performed.
[0078] The divided image data as shown in FIG. 15(a) is then successively combined to create a combined image as shown in FIG. 15(b), and information about the combined image is added as the image to be recognized (record with ID 3).
[0079] In the embodiment of the present invention, a preview screen is displayed to assist the user in taking photographs while displaying an image such as a live view image, but it is also possible to display a template image without displaying a live view image, and simply display the shooting range or the photographed range for the template image.
[0080] It is also possible to adopt a mode in which the shooting order for the template image is displayed, and the unphotographed area may be divided based on the size of the shooting range to prompt the user to decide the shooting order (for example, the order may be determined and displayed so that the user shoots from the upper left corner of the template image to the upper right corner, from the upper right corner to the lower right corner, and from the lower right corner to the lower left corner).
[0081] Furthermore, although the mobile terminal 100 stores the template image, it is also possible to adopt a mode in which the template image is stored in an external device with which the mobile terminal 100 can communicate.
[0082] In this case, the mobile terminal 100 may obtain information about the template image from the external device and display it on the template selection screen 400, or may transmit an image of the subject captured by the mobile terminal 100 to the external device, and the external device may obtain a template image corresponding to the captured image and transmit it to the mobile terminal 100.
[0083] As described above, according to the present invention, it is possible to assist a user in easily taking appropriate photographs.
[0084] Although the embodiments have been described above, the present invention can be embodied, for example, as a system, an apparatus, a method, a program, or a recording medium, etc. Specifically, the present invention may be applied to a system composed of multiple devices, or may be applied to an apparatus composed of a single device.
[0085] Moreover, the program of the present invention is a program that enables a computer to execute the processing method of the flowchart shown in Fig. 3, and the storage medium of the present invention stores a program that enables a computer to execute the processing method of Fig. 3. The program of the present invention may be a program for each processing method of each device in Fig. 3.
[0086] As described above, it goes without saying that the object of the present invention can be achieved by supplying a recording medium on which a program that realizes the functions of the above-mentioned embodiments is recorded to a system or device, and having the computer (or CPU or MPU) of that system or device read and execute the program stored on the recording medium.
[0087] In this case, the program itself read out from the recording medium will realize the novel functions of the present invention, and the recording medium on which the program is recorded will constitute the present invention.
[0088] Examples of recording media for supplying the program include flexible disks, hard disks, optical disks, magneto-optical disks, CD-ROMs, CD-Rs, DVD-ROMs, magnetic tapes, non-volatile memory cards, ROMs, EEPROMs, silicon disks, etc.
[0089] Furthermore, it goes without saying that the functions of the above-mentioned embodiments are not only realized by the computer executing a program it has read, but also includes cases where an OS (operating system) running on the computer performs some or all of the actual processing based on the instructions of the program, and the functions of the above-mentioned embodiments are realized through that processing.
[0090] Furthermore, it goes without saying that this also includes cases where a program read from a recording medium is written into a memory provided on a function expansion board inserted into a computer or a function expansion unit connected to a computer, and then a CPU or the like provided on the function expansion board or function expansion unit performs some or all of the actual processing based on the instructions of the program code, thereby realizing the functions of the above-mentioned embodiments.
[0091] The present invention may be applied to a system consisting of multiple devices, or to an apparatus consisting of a single device. Needless to say, the present invention can also be applied to a case where the object of the present invention is achieved by supplying a program to a system or apparatus. In this case, the effect of the present invention can be enjoyed by the system or apparatus by reading a recording medium storing a program for achieving the present invention into the system or apparatus.
[0092] Furthermore, by downloading and reading a program for achieving the present invention from a server, database, etc. on a network using a communication program, the system or device can enjoy the effects of the present invention. Note that the present invention also includes configurations that combine the above-mentioned embodiments and their modified examples. [Explanation of symbols]
[0093] 100 mobile devices 101 Touch Panel 102 Photographic lenses
Claims
1. An imaging means for imaging a subject; An acquisition means for acquiring a pre-stored reference image corresponding to a range to be photographed of the photographing target; a display control means for controlling the display of an image captured by the image capturing means on a display unit, and for controlling the display of a reduced image of the reference image, the reduced image being a display of a range of the subject captured by the image capturing means in a manner that allows identification based on matching with the reference image, in a manner superimposed on a position where the image displayed on the display unit can be confirmed; An information processing device comprising:
2. The information processing device according to claim 1, characterized in that the object to be photographed is an image of a form, the reference image is a form template, and the display control means controls to display a reduced image of the form template and a matching enlargement / reduction ratio between the reduced image and the image photographed by the photographing means.
3. 3. The information processing apparatus according to claim 1, wherein the reference image is selected from a plurality of candidate images.
4. 4. The information processing apparatus according to claim 3, wherein the reference image is selected by matching with the image captured by the image capturing means.
5. a calculation means for calculating a progress rate of photographing the range to be photographed based on the reference image and the photographed range; An information processing device according to any one of claims 1 to 4, characterized in that when it is determined that the entire range to be photographed has been photographed based on the shooting progress rate calculated by the calculation means, an image of the subject corresponding to the photographed range is synthesized, and when it is determined that the entire range to be photographed has not been photographed, the display control means continues to display the image.
6. The information processing device according to any one of claims 1 to 5, characterized in that the display control means further controls to display a progress rate of shooting based on the reference image and the photographed range, and to display an identifiable unphotographed range in response to an operation of the position where the progress rate is displayed.
7. 7. The information processing apparatus according to claim 1, wherein the display control means controls to divide the reference image into areas to be photographed by the photographing means, and to display a photographing order for photographing unphotographed areas.
8. An imaging means for imaging a subject; an acquisition means for acquiring a reference image corresponding to a range to be photographed of the subject; a display control means for controlling the display of a photographed range of the object photographed by the photographing means against the reference image acquired by the acquisition means based on matching between the image photographed by the photographing means and the reference image; The information processing device is further characterized in that the display control means displays a progress rate of shooting based on the reference image and the photographed range, and controls the display so that the unphotographed range is displayed in an identifiable manner in response to an operation of the position where the progress rate is displayed.
9. A program for causing at least one computer to function as each of the means of the information processing device according to any one of claims 1 to 8.
10. A photographing step of photographing a subject; An acquisition step of acquiring a pre-stored reference image corresponding to a range to be photographed of the photographing target; a display control step of controlling the image captured in the photographing step to be displayed on a display unit, and controlling the image, which is a reduced image of the reference image and displays an identifiable photographed range of the subject photographed in the photographing step based on matching with the reference image, to be superimposed on a position where the image displayed on the display unit can be confirmed; 13. A method for controlling an information processing device, comprising:
11. A photographing step of photographing a subject; acquiring a reference image corresponding to a range to be photographed of the subject; a display control step of controlling the display of a photographed range of the object to be photographed in the photographing step on the basis of matching between the image photographed in the photographing step and the reference image acquired in the acquisition step, The control method for an information processing device, wherein the display control step further includes displaying a progress rate of shooting based on the reference image and the photographed range, and controlling to display an identifiable display of the unphotographed range in response to an operation on the position where the progress rate is displayed.
Citation Information
Patent Citations
Image input device and image input method
JP2001057652A
Photographic device and photograph control program
JP2010287977A
Portable information processing device having camera function for performing guide display for photographing character-recognizable image, display control method thereof, and program
JP2018121233A
Account book document processing device, account book document processing method, and program
JP2018157472A
Image processing device, image processing method and program
JP2019041399A
