Information processing device, method, computer-readable medium, and system
Provided is an information processing device including a processor, and a memory storing instructions that, when executed by the processor, cause the information processing device to: accept a cancel operation that cancels a first operation performed through an input device used for writing input, acquire learning information representing a result of learning about a relation between content of the first operation and content of a second operation performed through the input device after the cancel operation is accepted, and correct writing information representing a writing product corresponding to a third operation performed through the input device or writing setting information concerning a setting at a time of writing corresponding to the third operation, based on the learning information.
1 . An information processing device comprising:
a processor; and
a memory storing instructions that, when executed by the processor, cause the information processing device to:
accept a cancel operation that cancels a first operation performed through an input device that, in operation, performs writing input;
acquires learning information representing a result of learning about a relation between content of the first operation and content of a second operation performed through the input device after the cancel operation is accepted; and
correct writing setting information concerning a setting of a device driver at a time of writing corresponding to a third operation performed through the input device, based on the learning information, wherein the setting of the device driver includes an identifier of the input device or a type of the input device.
2 . The information processing device according to claim 1 , wherein:
the input device is an electronic pen,
each of the first operation, the second operation, and the third operation is a switch operation of pressing a switch of the electronic pen for changing the setting at the time of writing, and
the instructions, when executed by the processor, cause the information processing device to correct the writing setting information such that an event that accompanies the switch operation will start earlier or later than a time when the switch operation is performed.
3 . The information processing device according to claim 1 , wherein:
each of the first operation, the second operation, and the third operation is a stroke operation of drawing a stroke,
the writing setting information is generated based on use of the input device and includes a set of coordinate values representing a change over time of a position indicated by the input device, and
the instructions, when executed by the processor, cause the information processing device to correct the set of coordinate values such that inconsistency in positions of a same stroke is reduced or minimized.
4 . The information processing device according to claim 1 , wherein:
each of the first operation, the second operation, and the third operation is a stroke operation of drawing strokes,
writing setting information is generated based on use of the input device and includes a set of pen pressure values representing a change over time of pen pressure acting on the input device, and
the instructions, when executed by the processor, cause the information processing device to correct the set of pen pressure values such that inconsistency in level of the pen pressure between the strokes is reduced or minimized.
5 . The information processing device according to claim 1 , wherein:
each of the first operation, the second operation, and the third operation is a palette operation of selecting a color corresponding to a position indicated within a color palette,
the writing setting information includes color information regarding colors in the color palette, and
the instructions, when executed by the processor, cause the information processing device to correct the color information such that a color at a position different from the position indicated by the palette operation is selected.
6 . The information processing device according to claim 1 , wherein the instructions, when executed by the processor, cause the information processing device to:
detect whether an event for which the cancel operation may be performed has occurred and a type of any detected event from a current state of writing through the input device, and
correct the writing setting information according to the type of the event detected.
7 . The information processing device according to claim 1 , wherein:
the input device is an electronic pen, and
each of the first operation, the second operation, and the third operation is a whole operation performed from a pen-down operation to a pen-up operation on the electronic pen.
8 . The information processing device according to claim 7 , wherein:
the instructions, when executed by the processor, cause the information processing device to acquire the learning information corresponding to identification information of the electronic pen.
9 . The information processing device according to claim 1 , wherein:
the cancel operation is an undo operation that cancels an immediately previous operation, or an erase operation that erases at least a portion of a drawn object.
10 . The information processing device according to claim 1 , wherein:
the setting of the device driver includes a shape of a pen pressure curve; and
the instructions, when executed by the processor, cause the information processing device to enlarge a dynamic range of pen pressure values detected by the input device using the pen pressure curve.
11 . An information processing method performed by one or more of computers, comprising:
accepting a cancel operation that cancels a first operation performed through an input device that performs writing input;
acquiring learning information representing a result of learning about a relation between content of the first operation and content of a second operation performed through the input device after the cancel operation is accepted; and
correcting writing setting information concerning a setting of a device driver at a time of writing corresponding to a third operation, based on the learning information, wherein the setting of the device driver includes an identifier of the input device or a type of the input device.
12 . The information processing method to claim 11 , wherein:
the setting of the device driver includes a shape of a pen pressure curve, and
the method further includes enlarging a dynamic range of pen pressure values detected by the input device using the pen pressure curve.
13 . An information processing system comprising:
an information processing device including:
a processor; and
a memory storing instructions that, when executed by the processor, cause the information processing device to:
accept a cancel operation that cancels a first operation performed through an input device that, in operation, performs writing input,
acquire learning information representing a result of learning about a relation between content of the first operation and content of a second operation performed through the input device after the cancel operation is accepted, and
correct writing setting information concerning a setting of a device driver at a time of writing corresponding to a third operation, based on the learning information, wherein the setting of the device driver includes an identifier of the input device or a type of the input device; and
a server device that, in operation, transmits the learning information to the information processing device in response to a request from the information processing device.
14 . The information processing system according to claim 13 , wherein:
the setting of the device driver includes a shape of a pen pressure curve; and
the instructions, when executed by the processor, cause the information processing device to enlarge a dynamic range of pen pressure values detected by the input device using the pen pressure curve.