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.
Claims21
-18. (canceled)
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, wherein a first play button is displayed together with the first text keyword in the second picture, and wherein a second play button is displayed together with the second text keyword in the second picture;
- 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, wherein a first play button is displayed together with the first text keyword in the second picture, and wherein a second play button is displayed together with the second text keyword in the second picture;
- 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, wherein a first play button is displayed together with the first text keyword in the second picture, and wherein a second play button is displayed together with the second text keyword in the second picture;
- 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.