Text and voice information processing method and terminal
AssigneeHuawei Technologies Co., Ltd.
InventorsXiaojuan Li, Wenmei Gao
Life of this patent
Estimating the term…
Abstract
A text and voice information processing method includes: photographing a document to obtain a first picture, wherein the document comprises a first text keyword and a second text keyword; recording audio to obtain a voice file corresponding to the document; obtaining a first voice segment matching the first text keyword and a second voice segment matching the second text keyword from the voice file; displaying a second picture with a first play button and a second play button; in response to a user input, playing back the first voice segment or playing back the second voice segment.
Claims20
An electronic device comprising:
- a memory configured to store instructions;
- and
- a processor coupled to the memory and configured to execute the instructions, which causes the electronic device to:
- photograph a document to obtain a first picture, wherein the document comprises a first text keyword and a second text keyword;
- record audio to obtain a voice file corresponding to the document;
- obtain, from the voice file, a first voice segment matching the first text keyword and a second voice segment matching the second text keyword;
- display a second picture;
- obtain a first coordinate position of the first text keyword in the second picture;
- obtain a second coordinate position of the second text keyword in the second picture,
- wherein a first play button is displayed corresponding to the first coordinate position of the first text keyword, and
- wherein a second play button is displayed with corresponding to the second coordinate position of the second text keyword;
- detect a first user input on the first play button;
- play, in response to the first user input, the first voice segment;
- detect a second user input on the second play button;
- and
- play, in response to the second user input, the second voice segment.
A computer program product comprising computer-executable instructions stored on a non-transitory computer readable medium that, when executed by a processor, cause an apparatus to:
- photograph a document to obtain a first picture, wherein the document comprises a first text keyword and a second text keyword;
- record audio to obtain a voice file corresponding to the document;
- obtain, from the voice file, a first voice segment matching the first text keyword and a second voice segment matching the second text keyword;
- display a second picture;
- obtain a first coordinate position of the first text keyword in the second picture;
- obtain a second coordinate position of the second text keyword in the second picture,
- wherein a first play button is displayed with corresponding to the first coordinate position of the first text keyword, and
- wherein a second play button is displayed corresponding to the second coordinate position of the second text keyword;
- detect a first user input on the first play button;
- play, in response to the first user input, the first voice segment;
- detect a second user input on the second play button;
- and
- play, in response to the second user input, the second voice segment.
An image and voice processing method comprising:
- photographing a document to obtain a first picture, wherein the document comprises a first text keyword and a second text keyword;
- recording audio to obtain a voice file corresponding to the document;
- obtaining, from the voice file, a first voice segment matching the first text keyword and a second voice segment matching the second text keyword;
- displaying a second picture;
- obtaining a first coordinate position of the first text keyword in the second picture;
- obtaining a second coordinate position of the second text keyword in the second picture,
- wherein a first play button is displayed corresponding to the first coordinate position of the first text keyword, and
- wherein a second play button is displayed corresponding to the second coordinate position of the second text keyword;
- detecting a first user input on the first play button;
- playing, in response to the first user input, the first voice segment;
- detecting a second user input on the second play button;
- and
- playing, in response to the second user input, the second voice segment.
Dependencies are inferred from the claim text.