CN111586301A - Method for improving zoom speed of point-to-read scene camera and terminal equipment - Google Patents
Method for improving zoom speed of point-to-read scene camera and terminal equipment Download PDFInfo
- Publication number
- CN111586301A CN111586301A CN202010394612.9A CN202010394612A CN111586301A CN 111586301 A CN111586301 A CN 111586301A CN 202010394612 A CN202010394612 A CN 202010394612A CN 111586301 A CN111586301 A CN 111586301A
- Authority
- CN
- China
- Prior art keywords
- outline
- read
- outline area
- next time
- clicked
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 45
- 238000012545 processing Methods 0.000 claims abstract description 56
- 238000012015 optical character recognition Methods 0.000 claims description 14
- 230000000295 complement effect Effects 0.000 claims description 2
- 230000008569 process Effects 0.000 abstract description 11
- 238000004590 computer program Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 6
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 239000011521 glass Substances 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012552 review Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 210000000707 wrist Anatomy 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/67—Focus control based on electronic image sensor signals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/74—Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
Abstract
本发明实施例公开了一种提升点读场景相机变焦速度的方法及终端设备、以及计算机存储介质,用于通过对下次点击的勾勒区域进行预测,提前通知摄像头进行变焦操作,让用户可感知的变焦速度大幅降低,即可以有效的提高拍照质量,提升点读准确率,也可以有效降低整个点读过程的时间,提升体验。本发明实施例方法包括:获取已点读的勾勒区域信息,已点读的勾勒区域信息包括已点读的勾勒区域所属页面的页码、勾勒号和勾勒类型;根据已点读的勾勒区域信息和预置的点读勾勒区域信息,确定下次待点读的勾勒区域信息,预置的点读勾勒区域信息包括每个点读勾勒区域所属页面的页码、勾勒号和勾勒类型;根据下次待点读的勾勒区域信息,控制摄像头进行变焦处理。
The embodiment of the present invention discloses a method and terminal device for improving the zoom speed of a camera in a point-and-read scene, and a computer storage medium, which are used to predict the outlined area to be clicked next time, notify the camera in advance to perform a zoom operation, and greatly reduce the zoom speed perceived by the user, that is, it can effectively improve the quality of photographing, improve the accuracy of point-and-reading, and can also effectively reduce the time of the entire point-and-reading process, thereby improving the experience. The method of the embodiment of the present invention includes: obtaining the outlined area information that has been clicked, the outlined area information that has been clicked includes the page number, outline number and outline type of the page to which the outlined area that has been clicked belongs; according to the outlined area information that has been clicked and the preset point-and-read outlined area information, determine the outlined area information to be clicked next time, the preset point-and-read outlined area information includes the page number, outline number and outline type of the page to which each point-and-read outlined area belongs; according to the outlined area information to be clicked next time, control the camera to perform zoom processing.
Description
技术领域technical field
本发明涉及教育领域,尤其涉及一种提升点读场景相机变焦速度的方法及终端设备、以及计算机存储介质。The invention relates to the field of education, and in particular, to a method and a terminal device for improving the zoom speed of a point-reading scene camera, and a computer storage medium.
背景技术Background technique
在点读场景下,用户会在终端设备呈现的一页范围内反复操作,并且书本的内容是有先后顺序的,在数据端已经数字化,体现为勾勒号的顺序。而每次点读的时候,需要用户对页面上的某个区域进行点读操作,终端设备检测到点读操作后,再控制摄像头进行变焦处理,从而进行点读。In the point-to-point reading scenario, the user will repeatedly operate within a page range presented by the terminal device, and the content of the book is in sequence, which has been digitized on the data side, and is reflected in the order of the outlines. However, each time a user is required to perform a point reading operation on a certain area on the page, the terminal device controls the camera to perform zoom processing after detecting the point reading operation, so as to perform the point reading operation.
但是,因为终端设备是检测到点读操作后,才进行的变焦处理,所以,在用户感官上,变焦速度有点慢,点读体验不是很好。However, because the terminal device performs zoom processing after detecting the point reading operation, the zoom speed is a bit slow in the sense of the user, and the point reading experience is not very good.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供了一种提升点读场景相机变焦速度的方法及终端设备、以及计算机存储介质,用于通过对下次点击的勾勒区域进行预测,提前通知摄像头进行变焦操作,让用户可感知的变焦速度大幅降低,即可以有效的提高拍照质量,提升点读准确率,也可以有效降低整个点读过程的时间,提升体验。Embodiments of the present invention provide a method and a terminal device for improving the zoom speed of a camera in a point-reading scene, and a computer storage medium, which are used to predict the outline area of the next click, and notify the camera in advance to perform a zoom operation, so that the user can perceive The zoom speed is greatly reduced, which can effectively improve the quality of photos, improve the accuracy of point reading, and can also effectively reduce the time of the entire point reading process and improve the experience.
有鉴于此,本发明第一方面提供一种提升点读场景相机变焦速度的方法,可以包括:In view of this, the first aspect of the present invention provides a method for improving the zoom speed of a point-reading scene camera, which may include:
获取已点读的勾勒区域信息,所述已点读的勾勒区域信息包括所述已点读的勾勒区域所属页面的页码、勾勒号和勾勒类型;Obtaining the clicked outline area information, the clicked outline area information includes the page number, outline number and outline type of the page to which the clicked outline area belongs;
根据所述已点读的勾勒区域信息和预置的点读勾勒区域信息,确定下次待点读的勾勒区域信息,所述预置的点读勾勒区域信息包括每个点读勾勒区域所属页面的页码、勾勒号和勾勒类型;According to the clicked outline area information and preset click read outline area information, determine the outline area information to be clicked next time, and the preset click read outline area information includes the page to which each click read outline area belongs page number, outline number and outline type;
根据所述下次待点读的勾勒区域信息,控制摄像头进行变焦处理。The camera is controlled to perform zoom processing according to the information of the outline area to be read next time.
可选的,在本发明的一些实施例中,当所述勾勒类型为顺序查找时,所述根据所述已点读的勾勒区域信息和预置的点读勾勒区域信息,确定下次待点读的勾勒区域信息,包括:Optionally, in some embodiments of the present invention, when the outline type is sequential search, determining the next waiting point according to the clicked outline area information and the preset click read outline area information. Read the outline area information, including:
根据所述已点读的勾勒区域的勾勒号,以及预置的点读勾勒区域中每个点读勾勒区域的勾勒号,顺序确定下次待点读的勾勒区域的勾勒号;According to the outline number of the outline area that has been clicked, and the outline number of each outline area in the preset outline area, the outline number of the outline area to be read next time is sequentially determined;
根据所述下次待点读勾勒区域的勾勒号,确定下次待点读勾勒区域所属页面的页码;According to the outline number of the outline area to be read next time, determine the page number of the page to which the outline area to be read next time belongs;
所述根据所述下次待点读的勾勒区域信息,控制摄像头进行变焦处理,包括:The controlling the camera to perform zoom processing according to the outline area information to be read next time, including:
根据所述下次待点读勾勒区域所属页面的页码和勾勒号,控制所述摄像头进行变焦处理。The camera is controlled to perform zoom processing according to the page number and outline number of the page to which the outline region to be read next time belongs.
可选的,在本发明的一些实施例中,当所述勾勒类型为对话查找时,所述根据所述已点读的勾勒区域信息和预置的点读勾勒区域信息,确定下次待点读的勾勒区域信息,包括:Optionally, in some embodiments of the present invention, when the outline type is a dialog search, the next waiting point is determined according to the clicked outline area information and the preset clicked outline area information. Read the outline area information, including:
根据所述已点读对话的勾勒区域的勾勒号,以及预置的点读对话勾勒区域中每个点读对话勾勒区域的勾勒号,确定下句待点读对话的勾勒区域的勾勒号;According to the outline number of the outline area of the clicked dialogue, and the outline number of each clicked dialogue outline area in the preset click to read dialogue outline area, determine the outline number of the outline area of the next sentence to be clicked on the dialogue;
根据所述下句待点读对话勾勒区域的勾勒号,确定下句待点读对话勾勒区域所属页面的页码;According to the outline number of the dialogue outline area to be read in the next sentence, determine the page number of the page to which the dialogue outline area to be read in the next sentence belongs;
所述根据所述下次待点读的勾勒区域信息,控制摄像头进行变焦处理,包括:The controlling the camera to perform zoom processing according to the outline area information to be read next time, including:
根据所述下句待点读对话勾勒区域所属页面的页码和勾勒号,控制所述摄像头进行变焦处理。The camera is controlled to perform zoom processing according to the page number and outline number of the page to which the next sentence of the dialogue outline area to be read belongs.
可选的,在本发明的一些实施例中,所述根据所述下次待点读的勾勒区域信息,控制摄像头进行变焦处理,包括:Optionally, in some embodiments of the present invention, the controlling the camera to perform zoom processing according to the outline area information to be read next time includes:
根据所述下次待点读的勾勒区域信息,确定对应的焦距;Determine the corresponding focal length according to the outline area information to be read next time;
控制所述摄像头按照所述焦距对所述下次待点读的勾勒区域进行拍摄,得到拍摄图片。The camera is controlled to photograph the outline area to be read next time according to the focal length to obtain a photographed picture.
可选的,在本发明的一些实施例中,所述方法还包括:Optionally, in some embodiments of the present invention, the method further includes:
检测所述下次待点读的勾勒区域的亮度;detecting the brightness of the outlined area to be read next time;
若所述亮度低于预置阈值,则控制补光设备对所述下次待点读的勾勒区域进行补光;If the brightness is lower than the preset threshold, controlling the supplementary light device to perform supplementary light on the outline area to be read next time;
所述控制所述摄像头按照所述焦距进行拍摄,得到拍摄图片,包括:The controlling the camera to shoot according to the focal length to obtain the captured picture, including:
控制所述摄像头按照所述焦距,对补光后的下次待点读的勾勒区域进行拍摄,得到所述拍摄图片。The camera is controlled to photograph the outline area to be read next time after the supplementary light according to the focal length, to obtain the photographed picture.
可选的,在本发明的一些实施例中,所述方法还包括:Optionally, in some embodiments of the present invention, the method further includes:
对所述拍摄图片,进行光学字符识别OCR识别,得到待点读内容;Perform optical character recognition (OCR) recognition on the captured picture to obtain the content to be read;
播放所述待点读内容。The to-be-read content is played.
本发明第二方面提供一种终端设备,可以包括:A second aspect of the present invention provides a terminal device, which may include:
获取模块,用于获取已点读的勾勒区域信息,所述已点读的勾勒区域信息包括所述已点读的勾勒区域所属页面的页码、勾勒号和勾勒类型;an acquisition module, used for acquiring the clicked outline area information, the clicked outline area information includes the page number, outline number and outline type of the page to which the clicked outline area belongs;
处理模块,用于根据所述已点读的勾勒区域信息和预置的点读勾勒区域信息,确定下次待点读的勾勒区域信息,所述预置的点读勾勒区域信息包括每个点读勾勒区域所属页面的页码、勾勒号和勾勒类型;根据所述下次待点读的勾勒区域信息,控制摄像头进行变焦处理。The processing module is used to determine the outline area information to be read next time according to the outline area information that has been read and the preset outline area information, and the preset outline area information includes each point Read the page number, outline number and outline type of the page to which the outline area belongs; control the camera to perform zoom processing according to the outline area information to be read next time.
可选的,在本发明的一些实施例中,Optionally, in some embodiments of the present invention,
当所述勾勒类型为顺序查找时,所述处理模块,具体用于根据所述已点读的勾勒区域的勾勒号,以及预置的点读勾勒区域中每个点读勾勒区域的勾勒号,顺序确定下次待点读的勾勒区域的勾勒号;根据所述下次待点读勾勒区域的勾勒号,确定下次待点读勾勒区域所属页面的页码;根据所述下次待点读勾勒区域所属页面的页码和勾勒号,控制所述摄像头进行变焦处理。When the outline type is sequential search, the processing module is specifically configured to read the outline area according to the outline number of the outline area that has been clicked and the outline number of each click outline area in the preset outline area, Orderly determine the outline number of the outline area to be read next time; according to the outline number of the outline area to be read next time, determine the page number of the page to which the outline area to be read next time belongs; outline according to the outline area to be read next time The page number and outline number of the page to which the area belongs, and control the camera to perform zoom processing.
可选的,在本发明的一些实施例中,Optionally, in some embodiments of the present invention,
当所述勾勒类型为对话查找时,所述处理模块,具体用于根据所述已点读对话的勾勒区域的勾勒号,以及预置的点读对话勾勒区域中每个点读对话勾勒区域的勾勒号,确定下句待点读对话的勾勒区域的勾勒号;根据所述下句待点读对话勾勒区域的勾勒号,确定下句待点读对话勾勒区域所属页面的页码;根据所述下句待点读对话勾勒区域所属页面的页码和勾勒号,控制所述摄像头进行变焦处理。When the outline type is dialogue search, the processing module is specifically configured to use the outline number of the outline area of the clicked-through dialogue and the preset value of each click-through dialogue outline area in the click-through dialogue outline area. The outline number is to determine the outline number of the outline area of the dialogue to be read in the next sentence; according to the outline number of the outline area of the dialogue to be read in the next sentence, determine the page number of the page to which the outline area of the dialogue to be read in the next sentence belongs; Read the page number and outline number of the page to which the dialogue outline area belongs, and control the camera to perform zoom processing.
可选的,在本发明的一些实施例中,Optionally, in some embodiments of the present invention,
所述处理模块,具体用于根据所述下次待点读的勾勒区域信息,确定对应的焦距;控制所述摄像头按照所述焦距对所述下次待点读的勾勒区域进行拍摄,得到拍摄图片。The processing module is specifically configured to determine the corresponding focal length according to the outline area information to be read next time; control the camera to photograph the outline area to be read next time according to the focal length, and obtain a photograph picture.
可选的,在本发明的一些实施例中,Optionally, in some embodiments of the present invention,
所述处理模块,还用于检测所述下次待点读的勾勒区域的亮度;若所述亮度低于预置阈值,则控制补光设备对所述下次待点读的勾勒区域进行补光;控制所述摄像头按照所述焦距,对补光后的下次待点读的勾勒区域进行拍摄,得到所述拍摄图片。The processing module is also used to detect the brightness of the outline area to be read next time; if the brightness is lower than a preset threshold, then control the fill light device to complement the outline area to be read next time. light; controlling the camera to photograph the outline area to be read next time after the supplementary light according to the focal length, to obtain the photographed picture.
可选的,在本发明的一些实施例中,Optionally, in some embodiments of the present invention,
所述处理模块,还用于对所述拍摄图片,进行光学字符识别OCR识别,得到待点读内容;播放所述待点读内容。The processing module is further configured to perform optical character recognition (OCR) recognition on the captured picture to obtain the content to be read; and play the content to be read.
本发明第四方面提供一种终端设备,可以包括:A fourth aspect of the present invention provides a terminal device, which may include:
存储有可执行程序代码的存储器;a memory in which executable program code is stored;
与所述存储器耦合的处理器;a processor coupled to the memory;
所述处理器调用所述存储器中存储的所述可执行程序代码,用于执行如本发明第一方面及第一方面任一可选实现方式中所述的提升点读场景相机变焦速度的方法的步骤。The processor invokes the executable program code stored in the memory to execute the method for increasing the zoom speed of a camera in a point-reading scene as described in the first aspect and any optional implementation manner of the first aspect of the present invention A step of.
本发明实施例第四方面提供一种可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如本发明第一方面及第一方面任一可选实现方式中所述的提升点读场景相机变焦速度的方法的步骤。A fourth aspect of the embodiments of the present invention provides a readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the implementation of the first aspect of the present invention and any optional implementation manner of the first aspect is implemented. The steps of the method for improving the zoom speed of a camera in a point-reading scene described above.
本发明实施例第五方面公开一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行本发明实施例第一方面公开的任意一种提升点读场景相机变焦速度的方法的部分或全部步骤。A fifth aspect of the embodiments of the present invention discloses a computer program product that, when the computer program product runs on a computer, enables the computer to execute any one of the enhancements to the zoom speed of a point-reading scene camera disclosed in the first aspect of the embodiments of the present invention some or all of the steps of the method.
本发明实施例第六方面公开一种应用发布平台,所述应用发布平台用于发布计算机程序产品,其中,当所述计算机程序产品在计算机上运行时,使得所述计算机执行本发明实施例第一方面公开的任意一种提升点读场景相机变焦速度的方法的部分或全部步骤。A sixth aspect of the embodiments of the present invention discloses an application publishing platform, and the application publishing platform is used for publishing a computer program product, wherein when the computer program product runs on a computer, the computer is made to execute the first embodiment of the present invention. Part or all of the steps of any method for improving the zoom speed of a point-reading scene camera disclosed in one aspect.
从以上技术方案可以看出,本发明实施例具有以下优点:As can be seen from the above technical solutions, the embodiments of the present invention have the following advantages:
在本发明实施例中,获取已点读的勾勒区域信息,所述已点读的勾勒区域信息包括所述已点读的勾勒区域所属页面的页码、勾勒号和勾勒类型;根据所述已点读的勾勒区域信息和预置的点读勾勒区域信息,确定下次待点读的勾勒区域信息,所述预置的点读勾勒区域信息包括每个点读勾勒区域所属页面的页码、勾勒号和勾勒类型;根据所述下次待点读的勾勒区域信息,控制摄像头进行变焦处理。通过对下次点击的勾勒区域进行预测,提前通知摄像头进行变焦操作,让用户可感知的变焦速度大幅降低,即可以有效的提高拍照质量,提升点读准确率,也可以有效降低整个点读过程的时间,提升体验。In this embodiment of the present invention, the clicked outline area information is obtained, and the clicked outline area information includes the page number, outline number and outline type of the page to which the clicked outline area belongs; according to the clicked outline area information The read outline area information and the preset point reading outline area information, determine the outline area information to be read next time, and the preset point reading outline area information includes the page number and outline number of the page to which each point reading outline area belongs. and outline type; control the camera to perform zoom processing according to the outline area information to be read next time. By predicting the outline area of the next click, and notifying the camera in advance to perform the zoom operation, the user's perceivable zoom speed is greatly reduced, which can effectively improve the photo quality, improve the accuracy of point reading, and effectively reduce the entire point reading process. time to enhance the experience.
附图说明Description of drawings
为了更清楚地说明本发明实施例技术方案,下面将对实施例和现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,还可以根据这些附图获得其它的附图。In order to explain the technical solutions of the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings that are used in the description of the embodiments and the prior art. Obviously, the drawings in the following description are only some implementations of the present invention. For example, other drawings may also be obtained from these drawings.
图1为本发明实施例中提升点读场景相机变焦速度的方法的一个实施例示意图;FIG. 1 is a schematic diagram of an embodiment of a method for improving the zoom speed of a point-reading scene camera according to an embodiment of the present invention;
图2为本发明实施例中提升点读场景相机变焦速度的方法的另一个实施例示意图;FIG. 2 is a schematic diagram of another embodiment of a method for improving the zoom speed of a point-reading scene camera according to an embodiment of the present invention;
图3为本发明实施例中终端设备的一个实施例示意图;FIG. 3 is a schematic diagram of an embodiment of a terminal device in an embodiment of the present invention;
图4为本发明实施例中终端设备的另一个实施例示意图。FIG. 4 is a schematic diagram of another embodiment of a terminal device in an embodiment of the present invention.
具体实施方式Detailed ways
本发明实施例提供了一种提升点读场景相机变焦速度的方法及终端设备、以及计算机存储介质,用于通过对下次点击的勾勒区域进行预测,提前通知摄像头进行变焦操作,让用户可感知的变焦速度大幅降低,即可以有效的提高拍照质量,提升点读准确率,也可以有效降低整个点读过程的时间,提升体验。Embodiments of the present invention provide a method and a terminal device for improving the zoom speed of a camera in a point-reading scene, and a computer storage medium, which are used to predict the outline area of the next click, and notify the camera in advance to perform a zoom operation, so that the user can perceive The zoom speed is greatly reduced, which can effectively improve the quality of photos, improve the accuracy of point reading, and can also effectively reduce the time of the entire point reading process and improve the experience.
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,都应当属于本发明保护的范围。In order for those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the present invention examples, but not all examples. Based on the embodiments of the present invention, all should belong to the protection scope of the present invention.
在本发明实施例中,示例性的,终端设备可以包括一般的手持电子终端,诸如智能电话、便携式终端、终端、个人数字助理(Personal Digital Assistant,PDA)、便携式多媒体播放器(Personal Media Player,PMP)装置、笔记本电脑、笔记本(Note Pad)、无线宽带(Wireless Broadband,Wibro)终端、平板电脑(personal computer,PC)和智能PC。本申请还可应用于非便携式电子装置,诸如提供相机功能的智能电视。In this embodiment of the present invention, for example, the terminal device may include a general handheld electronic terminal, such as a smart phone, a portable terminal, a terminal, a personal digital assistant (Personal Digital Assistant, PDA), a portable multimedia player (Personal Media Player, PMP) device, notebook computer, notebook (Note Pad), wireless broadband (Wireless Broadband, Wibro) terminal, tablet computer (personal computer, PC) and smart PC. The present application may also be applied to non-portable electronic devices, such as smart TVs that provide camera functionality.
终端设备也可以包括可穿戴设备。可穿戴设备即可以直接穿戴在用户身上,或是整合到用户的衣服或配件的一种便携式电子设备。可穿戴设备不仅仅是一种硬件设备,更可以通过软件支持以及数据交互、云端交互来实现强大的智能功能,比如:计算功能、定位功能、报警功能,同时还可以连接手机及各类终端。可穿戴设备可以包括但不限于以手腕为支撑的watch类(比如手表、手腕等产品),以脚为支撑的shoes类(比如鞋、袜子或者其他腿上佩戴产品),以头部为支撑的Glass类(比如眼镜、头盔、头带等)以及智能服装,书包、拐杖、配饰等各类非主流产品形态。Terminal devices may also include wearable devices. A wearable device is a portable electronic device that can be directly worn on the user or integrated into the user's clothes or accessories. Wearable device is not only a hardware device, but also can realize powerful intelligent functions through software support, data interaction, and cloud interaction, such as: computing function, positioning function, alarm function, and can also be connected to mobile phones and various terminals. Wearable devices may include, but are not limited to, wrist-supported watches (such as watches, wrists, etc.), foot-supported shoes (such as shoes, socks, or other products worn on the legs), and head-supported products. Glass categories (such as glasses, helmets, headbands, etc.) and smart clothing, school bags, crutches, accessories and other non-mainstream product forms.
如图1所示,为本发明实施例中提升点读场景相机变焦速度的方法的一个实施例示意图,可以包括:As shown in FIG. 1, it is a schematic diagram of an embodiment of a method for improving the zoom speed of a point-reading scene camera in an embodiment of the present invention, which may include:
101、获取已点读的勾勒区域信息,所述已点读的勾勒区域信息包括所述已点读的勾勒区域所属页面的页码、勾勒号和勾勒类型。101. Acquire information of the outline area that has been clicked on, where the information of the outline area that has been clicked includes the page number, outline number, and outline type of the page to which the outline area that has been clicked on belongs.
在本发明实施例中,终端设备获取已点读的勾勒区域信息,即可以采集每次点读的勾勒区域信息。其中,该已点读的勾勒区域信息包括所述已点读的勾勒区域所属页面的页码、勾勒号和勾勒类型。可以理解的是,勾勒类型可以包括但不限于顺序查找、对话查找、歌曲查找。勾勒号可以理解为勾勒区域的标识。In the embodiment of the present invention, the terminal device acquires the outline area information that has been clicked, that is, the outline area information that is clicked and read each time can be collected. The clicked outline area information includes the page number, outline number and outline type of the page to which the clicked outline area belongs. It is understood that the outline type may include, but is not limited to, sequential search, dialogue search, and song search. The outline sign can be understood as the identification of the outline area.
102、根据所述已点读的勾勒区域信息和预置的点读勾勒区域信息,确定下次待点读的勾勒区域信息。102. Determine the outline area information to be clicked next time according to the clicked outline area information and the preset click read outline area information.
终端设备根据所述已点读的勾勒区域信息和预置的点读勾勒区域信息,确定下次待点读的勾勒区域信息。其中,所述预置的点读勾勒区域信息包括每个点读勾勒区域所属页面的页码、勾勒号和勾勒类型。可以理解的是,预置的点读勾勒区域的勾勒号,是按照用户的点读习惯,顺序确定的勾勒号。The terminal device determines the outline area information to be read next time according to the already clicked outline area information and the preset click read outline area information. Wherein, the preset point reading and outline area information includes the page number, outline number and outline type of the page to which each point and read outline area belongs. It can be understood that, the preset outline numbers of the reading outline area are outline numbers determined in order according to the user's reading habits.
可以理解的是,因为最终确定的勾勒区域的勾勒号,是终端设备采集用户多次点读的数据进行数据分析得到的,也就是对不同的勾勒区域,用户进行先后点读的概率进行计算,概率越大的勾勒区域,勾勒号越靠前,也就先点读播放,反之,概率越小的勾勒区域,勾勒号越靠后,也就后点读播放。It is understandable that because the final outline number of the outline area is obtained by the terminal device collecting the data that the user has read multiple times for data analysis, that is, for different outline areas, the probability of the user reading successively is calculated. The larger the probability of the outline area, the further the outline number is in the front, and the read and play will be clicked first. On the contrary, the smaller the probability of the outline area, the further the outline number will be, and the later read and play will be clicked.
需要说明的是,上述的勾勒号,也可以是倒序确定的,那么,对不同的勾勒区域,用户进行先后点读的概率进行计算,概率越大的勾勒区域,勾勒号越靠后,先点读播放,反之,概率越小的勾勒区域,勾勒号越靠前,后点读播放。It should be noted that the above-mentioned outline numbers can also be determined in reverse order. Then, for different outline areas, the probability that the user will click and read successively is calculated. The outline area with a higher probability, the further back the outline number, click first. Read and play, on the contrary, the smaller the probability is to outline the area, the closer the outline number is, and then click to read and play.
可选的,在本发明的一些实施例中,终端设备根据所述已点读的勾勒区域信息和预置的点读勾勒区域信息,确定下次待点读的勾勒区域信息,可以包括但不限于以下的实现方式:Optionally, in some embodiments of the present invention, the terminal device determines the outline area information to be read next time according to the already clicked outline area information and the preset click read outline area information, which may include but not include: Limited to the following implementations:
实现方式一:当所述勾勒类型为顺序查找时,终端设备根据所述已点读的勾勒区域的勾勒号,以及预置的点读勾勒区域中每个点读勾勒区域的勾勒号,顺序确定下次待点读的勾勒区域的勾勒号;终端设备根据所述下次待点读勾勒区域的勾勒号,确定下次待点读勾勒区域所属页面的页码。Implementation mode 1: When the outline type is a sequential search, the terminal device determines the order according to the outline number of the outline area that has been read and the outline number of each read outline area in the preset outline area. The outline number of the outline area to be read next time; the terminal device determines the page number of the page to which the outline area to be read next time belongs according to the outline number of the outline area to be read next time.
示例性的,当所述勾勒类型为顺序查找时,如果勾勒号是顺序确定的,那么,如果已点读的勾勒区域的勾勒号为1、2、3、4、5,那么,根据预置的点读勾勒区域中每个点读勾勒区域的勾勒号,顺序确定下次待点读的勾勒区域的勾勒号为6。终端设备可以根据勾勒号6,确定下次待点读勾勒区域所属页面的页码,这里假设页码为3。那么,下次待点读的勾勒区域信息即为所属页面的页码为3,勾勒号为6。Exemplarily, when the outline type is sequential search, if the outline number is determined in sequence, then, if the outline number of the outline area that has been read is 1, 2, 3, 4, and 5, then, according to the preset The outline number of each point reading outline area in the point reading outline area, and the outline number of the outline area to be read next time is determined to be 6 in order. The terminal device can determine the page number of the page to which the outline area to be read next time belongs according to the outline number 6, where the page number is assumed to be 3. Then, the outline area information to be read next time is that the page number of the page to which it belongs is 3, and the outline number is 6.
实现方式二:当所述勾勒类型为对话查找时,终端设备根据所述已点读对话的勾勒区域的勾勒号,以及预置的点读对话勾勒区域中每个点读对话勾勒区域的勾勒号,确定下句待点读对话的勾勒区域的勾勒号;终端设备根据所述下句待点读对话勾勒区域的勾勒号,确定下句待点读对话勾勒区域所属页面的页码。Implementation Mode 2: When the outline type is dialog search, the terminal device uses the outline number of the outline area of the click-on dialog and the outline number of each click-read dialog outline area in the preset click-read dialog outline area. , determine the outline number of the outline area of the dialog to be read in the next sentence; the terminal device determines the page number of the page to which the outline area of the dialog to be read of the next sentence belongs according to the outline number of the outline area of the dialog outline area of the next sentence to be read.
示例性的,当所述勾勒类型为对话查找时,如果一个完整的对话,是在同一个勾勒区域的,那么,直接按照对话顺序进行点读播放就可以。如果一个完整的对话,不是在同一个勾勒区域,那么,需要根据已点读对话的勾勒区域的勾勒号,以及预置的点读对话勾勒区域中每个点读对话勾勒区域的勾勒号,确定下句待点读对话的勾勒区域的勾勒号;终端设备根据所述下句待点读对话勾勒区域的勾勒号,确定下句待点读对话勾勒区域所属页面的页码。Exemplarily, when the outline type is dialog search, if a complete dialog is in the same outline area, it is sufficient to click and play directly according to the dialog sequence. If a complete dialogue is not in the same outline area, then you need to determine the outline number of the outline area of the dialogue that has been clicked on, and the outline number of each click-through dialogue outline area in the preset click-through dialogue outline area. The outline number of the outline area of the dialog to be read in the next sentence; the terminal device determines the page number of the page to which the outline area of the dialog to be read next sentence belongs according to the outline number of the outline area of the dialog outline area of the next sentence to be read.
103、根据所述下次待点读的勾勒区域信息,控制摄像头进行变焦处理。103. Control the camera to perform zoom processing according to the information about the outline area to be read next time.
终端设备根据所述下次待点读的勾勒区域信息,控制摄像头进行变焦处理,可以包括但不限于以下的实现方式:The terminal device controls the camera to perform zoom processing according to the outline area information to be read next time, which may include but is not limited to the following implementations:
实现方式一:当所述勾勒类型为顺序查找时,终端设备根据所述下次待点读勾勒区域所属页面的页码和勾勒号,控制所述摄像头进行变焦处理。Implementation mode 1: when the outline type is sequential search, the terminal device controls the camera to perform zoom processing according to the page number and outline number of the page to which the outline area to be read next belongs.
实现方式二:当所述勾勒类型为顺序查找时,终端设备根据所述下句待点读对话勾勒区域所属页面的页码和勾勒号,控制所述摄像头进行变焦处理。Implementation mode 2: when the outline type is sequential search, the terminal device controls the camera to perform zoom processing according to the page number and outline number of the page to which the outline area of the dialogue to be read next sentence belongs.
可选的,在上次点读结束后即可通知摄像头进行变焦处理。Optionally, the camera can be notified to perform zoom processing after the last reading is completed.
可选的,在本发明的一些实施例中,终端设备根据所述下次待点读的勾勒区域信息,控制摄像头进行变焦处理,可以包括:终端设备根据所述下次待点读的勾勒区域信息,确定对应的焦距;控制所述摄像头按照所述焦距对所述下次待点读的勾勒区域进行拍摄,得到拍摄图片。Optionally, in some embodiments of the present invention, the terminal device controls the camera to perform zoom processing according to the information of the outline area to be read next time, which may include: the terminal device according to the outline area to be read next time. information to determine the corresponding focal length; control the camera to photograph the outlined area to be read next time according to the focal length to obtain a photographed picture.
可选的,在本发明的一些实施例中,终端设备根据所述下次待点读的勾勒区域信息,控制摄像头进行变焦处理,可以包括:终端设备根据所述下次待点读的勾勒区域信息,确定对应的焦距和拍摄角度;控制所述摄像头按照所述焦距和所述拍摄角度对所述下次待点读的勾勒区域进行拍摄,得到拍摄图片。Optionally, in some embodiments of the present invention, the terminal device controls the camera to perform zoom processing according to the information of the outline area to be read next time, which may include: the terminal device according to the outline area to be read next time. information, determine the corresponding focal length and shooting angle; control the camera to shoot the outline area to be read next time according to the focal length and the shooting angle to obtain a shot picture.
可选的,在本发明的一些实施例中,所述方法还可以包括:Optionally, in some embodiments of the present invention, the method may further include:
终端设备检测所述下次待点读的勾勒区域的亮度;若所述亮度低于预置阈值,则终端设备控制补光设备对所述下次待点读的勾勒区域进行补光;The terminal device detects the brightness of the outline area to be read next time; if the brightness is lower than a preset threshold, the terminal device controls the supplementary light device to fill in the outline area to be read next time;
终端设备控制所述摄像头按照所述焦距进行拍摄,得到拍摄图片,可以包括:终端设备控制所述摄像头按照所述焦距,对补光后的下次待点读的勾勒区域进行拍摄,得到所述拍摄图片。The terminal device controlling the camera to take pictures according to the focal length, and obtaining the picture, may include: the terminal device controlling the camera to take pictures according to the focal length of the outline area to be read next time after the fill light, and obtaining the picture Take pictures.
可选的,在本发明的一些实施例中,所述方法还可以包括:Optionally, in some embodiments of the present invention, the method may further include:
终端设备对所述拍摄图片,进行光学字符识别OCR识别,得到待点读内容;终端设备播放所述待点读内容。The terminal device performs optical character recognition (OCR) recognition on the captured picture to obtain the content to be read; the terminal device plays the content to be read.
在本发明实施例中,获取已点读的勾勒区域信息,所述已点读的勾勒区域信息包括所述已点读的勾勒区域所属页面的页码、勾勒号和勾勒类型;根据所述已点读的勾勒区域信息和预置的点读勾勒区域信息,确定下次待点读的勾勒区域信息,所述预置的点读勾勒区域信息包括每个点读勾勒区域所属页面的页码、勾勒号和勾勒类型;根据所述下次待点读的勾勒区域信息,控制摄像头进行变焦处理。通过对下次点击的勾勒区域进行预测,提前通知摄像头进行变焦操作,让用户可感知的变焦速度大幅降低,即可以有效的提高拍照质量,提升点读准确率,也可以有效降低整个点读过程的时间,提升体验。In this embodiment of the present invention, the clicked outline area information is obtained, and the clicked outline area information includes the page number, outline number and outline type of the page to which the clicked outline area belongs; according to the clicked outline area information The read outline area information and the preset point reading outline area information, determine the outline area information to be read next time, and the preset point reading outline area information includes the page number and outline number of the page to which each point reading outline area belongs. and outline type; control the camera to perform zoom processing according to the outline area information to be read next time. By predicting the outline area of the next click, and notifying the camera in advance to perform the zoom operation, the user's perceivable zoom speed is greatly reduced, which can effectively improve the photo quality, improve the accuracy of point reading, and effectively reduce the entire point reading process. time to enhance the experience.
如图2所示,为本发明实施例中提升点读场景相机变焦速度的方法的另一个实施例示意图,可以包括:As shown in FIG. 2, it is a schematic diagram of another embodiment of the method for improving the zoom speed of a point-reading scene camera in an embodiment of the present invention, which may include:
201、获取已点读的勾勒区域信息,所述已点读的勾勒区域信息包括所述已点读的勾勒区域所属页面的页码、勾勒号和勾勒类型。201. Acquire information of a clicked outline area, where the clicked outline area information includes a page number, outline number, and outline type of the page to which the clicked outline area belongs.
202、根据所述已点读的勾勒区域信息和预置的点读勾勒区域信息,确定下次待点读的勾勒区域信息。202. Determine the outline area information to be clicked and read next time according to the clicked outline area information and the preset click read outline area information.
203、根据所述下次待点读的勾勒区域信息,控制摄像头进行变焦处理。203. Control the camera to perform zoom processing according to the information about the outline area to be read next time.
需要说明的是,本发明实施例中的步骤201-203与图1所示实施例中的步骤101-103类似,此处不再赘述。It should be noted that steps 201-203 in this embodiment of the present invention are similar to steps 101-103 in the embodiment shown in FIG. 1, and details are not described herein again.
204、通过所述摄像头获取拍摄图片。204. Acquire a photographed picture through the camera.
终端设备检测到用户的拍摄操作后,可以通过摄像头进行拍摄,获取拍摄图片,或者,终端设备控制摄像头进行变焦处理后,自动进行拍摄,获取拍摄图片。After the terminal device detects the user's shooting operation, it can shoot through the camera to obtain the shot picture, or the terminal device controls the camera to perform zoom processing, and then automatically shoots to obtain the shot picture.
可以理解的是,用户的拍摄操作,可以包括用户直接对控制摄像头的目标控件的操作,例如:对目标控件的单击、双击、滑动、旋转、长按等操作。用户的拍摄操作,还可以包括用户间接对目标控件的操作,例如:通过远程对目标控件的操作(例如,红外线遥控等),或者,通过终端设备上的其他控件(例如音量键、电源键、响铃/静音键等)对目标控件的操作,或者,通过声音、虹膜等生物特征对目标控件的操作,本发明实施例中不做具体限定。It can be understood that the user's shooting operation may include the user's direct operation on the target control that controls the camera, for example, operations such as clicking, double-clicking, sliding, rotating, and long pressing on the target control. The user's shooting operation may also include the user's indirect operation on the target control, for example: through the remote operation of the target control (for example, infrared remote control, etc.), or through other controls on the terminal device (such as volume keys, power keys, The operation of the target control by ringing/mute key, etc.), or the operation of the target control through biological features such as voice and iris, is not specifically limited in this embodiment of the present invention.
205、向服务器发送所述拍摄图片。205. Send the captured picture to the server.
终端设备向服务器发送所述拍摄图片,服务器对所述拍摄图片,进行光学字符识别OCR识别,得到待点读内容;服务器向终端设备发送所述待点读内容。The terminal device sends the photographed picture to the server, and the server performs optical character recognition (OCR) on the photographed picture to obtain the content to be read; the server sends the content to be read to the terminal device.
可选的,若所述终端设备满足预设条件,则向服务器发送所述拍摄图片,其中,所述预设条件包括以下条件至少之一:所述终端设备的剩余内存小于预置内存阈值;所述终端设备的当前温度大于预置温度阈值;以及,所述终端设备的剩余电量小于预置电量阈值。Optionally, if the terminal device satisfies a preset condition, sending the captured picture to the server, where the preset condition includes at least one of the following conditions: the remaining memory of the terminal device is less than a preset memory threshold; The current temperature of the terminal device is greater than a preset temperature threshold; and, the remaining power of the terminal device is less than a preset power threshold.
可选的,终端设备可以通过无线或者有线的方式,向服务器发送所述拍摄图片。Optionally, the terminal device may send the captured picture to the server in a wireless or wired manner.
206、接收所述服务器发送的待点读内容。206. Receive the content to be read sent by the server.
终端设备接收服务器发送的待点读内容。可选的,终端设备可以通过无线或者有线的方式,接收服务器发送的待点读内容。The terminal device receives the content to be read sent by the server. Optionally, the terminal device may receive the content to be read sent by the server in a wireless or wired manner.
207、根据所述待点读内容,进行点读播放。207. Perform click reading and playback according to the to-be-clicked content.
终端设备根据待点读内容,进行点读播放。The terminal device performs point reading and playback according to the content to be clicked.
可选的,若终端设备检测到用户的暂停操作后,可以停止播放,停止播放的时长若大于预置时长,则控制终端设备处于休眠状态。说明用户可能临时有事,无法继续学习,以节省终端设备的电量。Optionally, if the terminal device detects the user's pause operation, it can stop playing, and if the duration of the stop playing is longer than a preset duration, the terminal device is controlled to be in a dormant state. It means that the user may be temporarily busy and cannot continue to study, so as to save the power of the terminal device.
可选的,若检测到用户的继续播放操作后,终端设备可以接着之前待点读内容,继续播放,也可以播放从距离停止播放时,前一段时间的点读内容,便于用户温故之前的点读内容,提高记忆力。Optionally, after detecting the user's continuous playback operation, the terminal device can continue to play the content to be read before, or it can play the content read a while ago when the playback was stopped from a distance, so that the user can review the previous point. Read content to improve memory.
可选的,若检测到终端设备的扬声器处于故障状态,则可以检测所述终端设备是否连接有其他电子设备,若有连接,则可以控制其他电子设备播放所述待点读内容。需要说明的是,终端设备与其他电子设备的连接方式本发明技术方案不做限定。Optionally, if it is detected that the speaker of the terminal device is in a fault state, it can be detected whether the terminal device is connected to other electronic devices, and if so, the other electronic devices can be controlled to play the content to be read. It should be noted that the connection method between the terminal device and other electronic devices is not limited by the technical solution of the present invention.
可选的,终端设备可以将待点读内容向其他电子设备发送,其他电子设备播放所述待点读内容。Optionally, the terminal device may send the to-be-read content to other electronic devices, and the other electronic devices play the to-be-read content.
示例性的,终端设备可以为点读机,其他电子设备可以为手机。Exemplarily, the terminal device may be a kiosk, and the other electronic device may be a mobile phone.
可选的,终端设备在根据所述待点读内容进行点读播放的过程中,还可以显示单次播放和重复播放的选项,以便用户根据学习的效果,进行选择,如果没有听清,或者还想再学习一次的话,可以选择重复播放的选项,提高用户体验。Optionally, in the process of reading and playing according to the content to be clicked, the terminal device can also display the options of single play and repeated play, so that the user can choose according to the effect of learning. If you want to learn again, you can choose the option of repeat playback to improve the user experience.
可选的,终端设备在播放待点读内容的过程中,还可以同步的显示与所述待点读内容相关的动画,便于用户更好的进行学习。Optionally, in the process of playing the to-be-read content, the terminal device may also synchronously display animations related to the to-be-read content, which is convenient for the user to learn better.
本发明实施例通过记忆上几次点读勾勒区域,结合当前已点读勾勒区域的位置信息可以预测下一次点读可能的点读勾勒区域,通过提前变焦的方式,让用户可感知的变焦速度大幅降低,即可以有效的提高拍照质量,也可以有效降低整个点读过程的时间,提升体验。进一步的,终端设备还可以与服务器之间进行交互,从而提升点读效率。In the embodiment of the present invention, by memorizing the previous several times of reading the outline area, combined with the position information of the current outline area, it is possible to predict the possible point reading outline area for the next point reading, and by zooming in advance, the user can perceive the zoom speed. Significantly reduced, not only can effectively improve the quality of photos, but also can effectively reduce the time of the entire point reading process and improve the experience. Further, the terminal device can also interact with the server, thereby improving the efficiency of point reading.
如图3所示,为本发明实施例中终端设备的一个实施例示意图,可以包括:As shown in FIG. 3, it is a schematic diagram of an embodiment of a terminal device in an embodiment of the present invention, which may include:
获取模块301,用于获取已点读的勾勒区域信息,所述已点读的勾勒区域信息包括所述已点读的勾勒区域所属页面的页码、勾勒号和勾勒类型;an obtaining module 301, configured to obtain the clicked outline area information, the clicked outline area information includes the page number, outline number and outline type of the page to which the clicked outline area belongs;
处理模块302,用于根据所述已点读的勾勒区域信息和预置的点读勾勒区域信息,确定下次待点读的勾勒区域信息,所述预置的点读勾勒区域信息包括每个点读勾勒区域所属页面的页码、勾勒号和勾勒类型;根据所述下次待点读的勾勒区域信息,控制摄像头进行变焦处理。The processing module 302 is configured to determine the outline area information to be read next time according to the clicked outline area information and the preset click read outline area information, and the preset click read outline area information includes each Click to read the page number, outline number and outline type of the page to which the outline area belongs; control the camera to perform zoom processing according to the outline area information to be clicked next time.
可选的,在本发明的一些实施例中,Optionally, in some embodiments of the present invention,
当所述勾勒类型为顺序查找时,处理模块302,具体用于根据所述已点读的勾勒区域的勾勒号,以及预置的点读勾勒区域中每个点读勾勒区域的勾勒号,顺序确定下次待点读的勾勒区域的勾勒号;根据所述下次待点读勾勒区域的勾勒号,确定下次待点读勾勒区域所属页面的页码;根据所述下次待点读勾勒区域所属页面的页码和勾勒号,控制所述摄像头进行变焦处理。When the outline type is sequential search, the processing module 302 is specifically configured to, according to the outline numbers of the outline regions that have been read and the outline numbers of each of the pre-read outline regions, the order Determine the outline number of the outline area to be read next time; According to the outline number of the outline area to be read next time, determine the page number of the page to which the outline area to be read next time belongs; According to the outline area to be read next time The page number and outline number of the page to which it belongs, and control the camera to perform zoom processing.
可选的,在本发明的一些实施例中,Optionally, in some embodiments of the present invention,
当所述勾勒类型为对话查找时,处理模块302,具体用于根据所述已点读对话的勾勒区域的勾勒号,以及预置的点读对话勾勒区域中每个点读对话勾勒区域的勾勒号,确定下句待点读对话的勾勒区域的勾勒号;根据所述下句待点读对话勾勒区域的勾勒号,确定下句待点读对话勾勒区域所属页面的页码;根据所述下句待点读对话勾勒区域所属页面的页码和勾勒号,控制所述摄像头进行变焦处理。When the outline type is dialogue search, the processing module 302 is specifically configured to outline each click-through dialogue outline area in the click-through dialogue outline area according to the outline number of the click-through dialogue area and the preset click-through dialogue outline area number, determine the outline number of the outline area of the dialogue to be read in the next sentence; according to the outline number of the outline area of the dialogue to be read in the next sentence, determine the page number of the page to which the outline area of the dialogue to be read in the next sentence belongs; according to the next sentence The page number and outline number of the page to which the outline area of the dialogue to be read belongs, and the camera is controlled to perform zoom processing.
可选的,在本发明的一些实施例中,Optionally, in some embodiments of the present invention,
处理模块302,具体用于根据所述下次待点读的勾勒区域信息,确定对应的焦距;控制所述摄像头按照所述焦距对所述下次待点读的勾勒区域进行拍摄,得到拍摄图片。The processing module 302 is specifically configured to determine the corresponding focal length according to the outline area information to be read next time; control the camera to photograph the outline area to be read next time according to the focal length to obtain a photographed picture .
可选的,在本发明的一些实施例中,Optionally, in some embodiments of the present invention,
处理模块302,还用于检测所述下次待点读的勾勒区域的亮度;若所述亮度低于预置阈值,则控制补光设备对所述下次待点读的勾勒区域进行补光;控制所述摄像头按照所述焦距,对补光后的下次待点读的勾勒区域进行拍摄,得到所述拍摄图片。The processing module 302 is further configured to detect the brightness of the outline area to be read next time; if the brightness is lower than a preset threshold, then control the fill light device to fill in the outline area to be read next time ; control the camera to photograph the outline area to be read next after the fill light according to the focal length, and obtain the photographed picture.
可选的,在本发明的一些实施例中,Optionally, in some embodiments of the present invention,
处理模块302,还用于对所述拍摄图片,进行光学字符识别OCR识别,得到待点读内容;播放所述待点读内容。The processing module 302 is further configured to perform optical character recognition (OCR) recognition on the captured picture to obtain the to-be-read content; and to play the to-be-read content.
如图4所示,为本发明实施例中终端设备的另一个实施例示意图,可以包括:As shown in FIG. 4, it is a schematic diagram of another embodiment of the terminal device in the embodiment of the present invention, which may include:
存储有可执行程序代码的存储器401;a memory 401 storing executable program code;
与所述存储器401耦合的处理器402;a processor 402 coupled to the memory 401;
处理器402调用存储器401中存储的所述可执行程序代码,用于执行如下步骤:The processor 402 calls the executable program code stored in the memory 401 to perform the following steps:
获取已点读的勾勒区域信息,所述已点读的勾勒区域信息包括所述已点读的勾勒区域所属页面的页码、勾勒号和勾勒类型;Obtaining the clicked outline area information, the clicked outline area information includes the page number, outline number and outline type of the page to which the clicked outline area belongs;
根据所述已点读的勾勒区域信息和预置的点读勾勒区域信息,确定下次待点读的勾勒区域信息,所述预置的点读勾勒区域信息包括每个点读勾勒区域所属页面的页码、勾勒号和勾勒类型;According to the clicked outline area information and preset click read outline area information, determine the outline area information to be clicked next time, and the preset click read outline area information includes the page to which each click read outline area belongs page number, outline number and outline type;
根据所述下次待点读的勾勒区域信息,控制摄像头进行变焦处理。The camera is controlled to perform zoom processing according to the information of the outline area to be read next time.
可选的,在本发明的一些实施例中,当所述勾勒类型为顺序查找时,处理器402调用存储器401中存储的所述可执行程序代码,具体用于执行如下步骤:Optionally, in some embodiments of the present invention, when the outline type is sequential search, the processor 402 calls the executable program code stored in the memory 401, and is specifically configured to perform the following steps:
根据所述已点读的勾勒区域的勾勒号,以及预置的点读勾勒区域中每个点读勾勒区域的勾勒号,顺序确定下次待点读的勾勒区域的勾勒号;According to the outline number of the outline area that has been clicked, and the outline number of each outline area in the preset outline area, the outline number of the outline area to be read next time is sequentially determined;
根据所述下次待点读勾勒区域的勾勒号,确定下次待点读勾勒区域所属页面的页码;According to the outline number of the outline area to be read next time, determine the page number of the page to which the outline area to be read next time belongs;
根据所述下次待点读勾勒区域所属页面的页码和勾勒号,控制所述摄像头进行变焦处理。The camera is controlled to perform zoom processing according to the page number and outline number of the page to which the outline region to be read next time belongs.
可选的,在本发明的一些实施例中,当所述勾勒类型为对话查找时,处理器402调用存储器401中存储的所述可执行程序代码,具体用于执行如下步骤:Optionally, in some embodiments of the present invention, when the outline type is dialog search, the processor 402 calls the executable program code stored in the memory 401, and is specifically configured to perform the following steps:
根据所述已点读对话的勾勒区域的勾勒号,以及预置的点读对话勾勒区域中每个点读对话勾勒区域的勾勒号,确定下句待点读对话的勾勒区域的勾勒号;According to the outline number of the outline area of the clicked dialogue, and the outline number of each clicked dialogue outline area in the preset click to read dialogue outline area, determine the outline number of the outline area of the next sentence to be clicked on the dialogue;
根据所述下句待点读对话勾勒区域的勾勒号,确定下句待点读对话勾勒区域所属页面的页码;According to the outline number of the dialogue outline area to be read in the next sentence, determine the page number of the page to which the dialogue outline area to be read in the next sentence belongs;
根据所述下句待点读对话勾勒区域所属页面的页码和勾勒号,控制所述摄像头进行变焦处理。The camera is controlled to perform zoom processing according to the page number and outline number of the page to which the next sentence of the dialogue outline area to be read belongs.
可选的,在本发明的一些实施例中,处理器402调用存储器401中存储的所述可执行程序代码,具体用于执行如下步骤:Optionally, in some embodiments of the present invention, the processor 402 calls the executable program code stored in the memory 401, and is specifically configured to perform the following steps:
根据所述下次待点读的勾勒区域信息,确定对应的焦距;Determine the corresponding focal length according to the outline area information to be read next time;
控制所述摄像头按照所述焦距对所述下次待点读的勾勒区域进行拍摄,得到拍摄图片。The camera is controlled to photograph the outline area to be read next time according to the focal length to obtain a photographed picture.
可选的,在本发明的一些实施例中,处理器402调用存储器401中存储的所述可执行程序代码,具体用于执行如下步骤:Optionally, in some embodiments of the present invention, the processor 402 calls the executable program code stored in the memory 401, and is specifically configured to perform the following steps:
检测所述下次待点读的勾勒区域的亮度;detecting the brightness of the outlined area to be read next time;
若所述亮度低于预置阈值,则控制补光设备对所述下次待点读的勾勒区域进行补光;If the brightness is lower than the preset threshold, controlling the supplementary light device to perform supplementary light on the outline area to be read next time;
控制所述摄像头按照所述焦距,对补光后的下次待点读的勾勒区域进行拍摄,得到所述拍摄图片。The camera is controlled to photograph the outline area to be read next time after the supplementary light according to the focal length, to obtain the photographed picture.
可选的,在本发明的一些实施例中,处理器402调用存储器401中存储的所述可执行程序代码,具体用于执行如下步骤:Optionally, in some embodiments of the present invention, the processor 402 calls the executable program code stored in the memory 401, and is specifically configured to perform the following steps:
对所述拍摄图片,进行光学字符识别OCR识别,得到待点读内容;Perform optical character recognition (OCR) recognition on the captured picture to obtain the content to be read;
播放所述待点读内容。The to-be-read content is played.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。In the above-mentioned embodiments, it may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented in software, it can be implemented in whole or in part in the form of a computer program product.
所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存储的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present invention are generated. The computer may be a general purpose computer, special purpose computer, computer network, or other programmable device. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server, or data center Transmission to another website site, computer, server, or data center is by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be stored by a computer, or a data storage device such as a server, data center, etc., which includes one or more available media integrated. The usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVD), or semiconductor media (eg, Solid State Disk (SSD)), among others.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system, device and unit described above may refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.
在本发明所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-OnlyMemory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as an independent product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: U disk, removable hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes.
以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand: The technical solutions described in the embodiments are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions depart from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010394612.9A CN111586301B (en) | 2020-05-11 | 2020-05-11 | A method and terminal device for improving the zoom speed of a point-reading scene camera |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010394612.9A CN111586301B (en) | 2020-05-11 | 2020-05-11 | A method and terminal device for improving the zoom speed of a point-reading scene camera |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111586301A true CN111586301A (en) | 2020-08-25 |
CN111586301B CN111586301B (en) | 2021-12-21 |
Family
ID=72124883
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010394612.9A Active CN111586301B (en) | 2020-05-11 | 2020-05-11 | A method and terminal device for improving the zoom speed of a point-reading scene camera |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111586301B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202600994U (en) * | 2012-05-31 | 2012-12-12 | 刘建生 | Camera type point reading machine and pen head module thereof |
US20150248842A1 (en) * | 2012-06-04 | 2015-09-03 | At&T Intellectual Property I, L.P. | System and method for improved human learning through multi-sensory stimulus |
CN204833766U (en) * | 2015-08-03 | 2015-12-02 | 熊子箭 | Pen is read to point |
CN109034148A (en) * | 2018-07-09 | 2018-12-18 | 中国矿业大学 | One kind is based on character image identification audio reading method and its device |
CN109543671A (en) * | 2018-09-30 | 2019-03-29 | 与德科技有限公司 | Reading method, talking pen, server data processing method and point-of-reading system |
-
2020
- 2020-05-11 CN CN202010394612.9A patent/CN111586301B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202600994U (en) * | 2012-05-31 | 2012-12-12 | 刘建生 | Camera type point reading machine and pen head module thereof |
US20150248842A1 (en) * | 2012-06-04 | 2015-09-03 | At&T Intellectual Property I, L.P. | System and method for improved human learning through multi-sensory stimulus |
CN204833766U (en) * | 2015-08-03 | 2015-12-02 | 熊子箭 | Pen is read to point |
CN109034148A (en) * | 2018-07-09 | 2018-12-18 | 中国矿业大学 | One kind is based on character image identification audio reading method and its device |
CN109543671A (en) * | 2018-09-30 | 2019-03-29 | 与德科技有限公司 | Reading method, talking pen, server data processing method and point-of-reading system |
Also Published As
Publication number | Publication date |
---|---|
CN111586301B (en) | 2021-12-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112069952B (en) | Video clip extraction method, video clip extraction device and storage medium | |
CN112911239B (en) | Video processing method and device, electronic device and storage medium | |
CN113535032A (en) | An information display method, device, electronic device and storage medium | |
CN106231152B (en) | Transmit the method and device of picture | |
JP7491867B2 (en) | VIDEO CLIP EXTRACTION METHOD, VIDEO CLIP EXTRACTION DEVICE AND STORAGE MEDIUM | |
WO2018095252A1 (en) | Video recording method and device | |
EP4300431A1 (en) | Action processing method and apparatus for virtual object, and storage medium | |
CN111818385B (en) | Video processing method, video processing device and terminal equipment | |
CN112672208B (en) | Video playing method, device, electronic equipment, server and system | |
WO2021082486A1 (en) | Method for acquiring samples, apparatus, device, storage medium and program | |
JP2022537865A (en) | Object counting method, device, electronic device, storage medium and program | |
CN113395568A (en) | Video interaction method and device, electronic equipment and storage medium | |
CN111835621A (en) | Session message processing method and device, computer equipment and readable storage medium | |
CN109257649B (en) | A kind of multimedia file generation method and terminal device | |
CN113850275A (en) | Image processing method, image processing device, electronic equipment and storage medium | |
CN110019897B (en) | Method and device for displaying picture | |
CN109887492A (en) | A kind of data processing method, device and electronic equipment | |
CN110830845A (en) | Video generation method and device and terminal equipment | |
CN105426904A (en) | Photo processing method, apparatus and device | |
CN111586301A (en) | Method for improving zoom speed of point-to-read scene camera and terminal equipment | |
CN111444687A (en) | Label generation method and device, server and storage medium | |
CN117093746A (en) | Video preview method, video preview device and electronic equipment | |
CN112784700B (en) | Method, device and storage medium for displaying face image | |
CN111382367B (en) | Search result sorting method and device | |
CN111782110B (en) | Screen capture method and device, electronic device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |