Information processing apparatus, information processing method, and non-transitory computer readable medium
An information processing apparatus includes a processor configured in which an area to be processed in a document is specified using a position of a marker placed on a surface of the document. When the marker is placed, the processor uses a placement position of the marker to specify the area to be processed and register area information indicating the area to be processed. When the marker is not placed and the area information is registered, the processor executes predetermined processing with respect to the area to be processed that is indicated by the area information. When the marker is not placed and the area information is not registered, if the area information is registered after a predetermined area of the document is registered as a target, the processor specifies the area to be processed as indicated by the area information as the area to be targeted by the processing.
1 . An information processing apparatus comprising:
a processor configured to:
capture an image of a document using an image camera;
determine whether an area to be processed in the document captured by the image camera is specified, the determination including:
firstly determining, with the image camera, whether a marker is placed on the surface of the document, the marker comprising machine-readable code;
when it is determined that the marker is not placed on the surface of the document, secondly determining whether area information indicating the area to be processed is registered;
when it is determined that both the marker is not placed on the surface of the document and the area information is not registered, thirdly determining whether the area information is registered after a predetermined area on the surface of the document is registered as a target; and
execute processing in response to at least one of the first determining, the second determining and the third determining being affirmative, and ending image capture without processing when each of the first, second and third determinings are negative.
2 . The information processing apparatus according to claim 1 , wherein the processor is configured to specify a presence or absence of a placement of the marker on the surface of the document if the document and the marker are stationary.
3 . The information processing apparatus according to claim 2 , wherein the processor is configured to specify whether the document and the marker are stationary by using a captured image of an area where the document is to be placed.
4 . The information processing apparatus according to claim 1 , wherein the processor is configured to present operating mode information indicating whether an operating mode is a first operating mode for registering the area information or a second operating mode for executing the processing.
5 . The information processing apparatus according to claim 4 , wherein if the first operating mode ends, the processor is configured to present information indicating to remove the marker from the document.
6 . The information processing apparatus according to claim 1 , wherein content of the processing is specifiable from the marker.
7 . The information processing apparatus according to claim 6 , wherein the content of the processing is specifiable according to characteristics of an appearance of the marker.
8 . The information processing apparatus according to claim 7 , wherein the characteristics of the appearance are at least one of color, density, and shape.
9 . The information processing apparatus according to claim 1 , wherein if a plurality of markers exist and a detection of a last marker is finished, the processor is configured to end an operating mode for registering the area information.
10 . An information processing method comprising:
capturing an image of a document using an image camera;
determining whether an area to be processed in the document captured by the image camera is specified, the determination including:
firstly determining, with the image camera, whether a marker is placed on the surface of the document, the marker comprising machine-readable code;
when it is determined that the marker is not placed on the surface of the document, secondly determining whether area information indicating the area to be processed is registered;
when it is determined that both the marker is not placed on the surface of the document and the area information is not registered, thirdly determining whether the area information is registered after a predetermined area on the surface of the document is registered as a target; and
executing processing in response to at least one of the first determining, the second determining and the third determining being affirmative, and ending image capture without processing when each of the first, second and third determinings are negative.
11 . A non-transitory computer readable medium storing a program causing a computer to execute a process comprising:
capturing an image of a document using an image camera;
determining whether an area to be processed in the document captured by the image camera is specified, the determination including:
firstly determining, with the image camera, whether a marker is placed on the surface of the document, the marker comprising machine-readable code;
when it is determined that the marker is not placed on the surface of the document, secondly determining whether area information indicating the area to be processed is registered;
when it is determined that both the marker is not placed on the surface of the document and the area information is not registered, thirdly determining whether the area information is registered after a predetermined area on the surface of the document is registered as a target; and
executing processing in response to at least one of the first determining, the second determining and the third determining being affirmative, and ending image capture without processing when each of the first, second and third determinings are negative.