[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN114500857A - An image capturing method, device, terminal device and storage medium - Google Patents

An image capturing method, device, terminal device and storage medium Download PDF

Info

Publication number
CN114500857A
CN114500857A CN202210303394.2A CN202210303394A CN114500857A CN 114500857 A CN114500857 A CN 114500857A CN 202210303394 A CN202210303394 A CN 202210303394A CN 114500857 A CN114500857 A CN 114500857A
Authority
CN
China
Prior art keywords
image
sub
camera module
target
regions
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
Application number
CN202210303394.2A
Other languages
Chinese (zh)
Other versions
CN114500857B (en
Inventor
尚春莉
黄桂平
王越超
陈泽伟
邓泽方
苏臻
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN202210303394.2A priority Critical patent/CN114500857B/en
Publication of CN114500857A publication Critical patent/CN114500857A/en
Application granted granted Critical
Publication of CN114500857B publication Critical patent/CN114500857B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/667Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/57Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals
    • H04N23/675Focus control based on electronic image sensor signals comprising setting of focusing regions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/695Control of camera direction for changing a field of view, e.g. pan, tilt or based on tracking of objects

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

The embodiment of the invention discloses an image shooting method, an image shooting device, terminal equipment and a storage medium. Be applied to terminal equipment, terminal equipment is including the camera module, but the camera module free rotation is in order to shoot the image in different regions, and the method includes: determining a shooting mode of a target area; controlling the camera module to rotate according to the shooting mode and the pre-divided sub-regions so as to enable the camera module to shoot images of different sub-regions in the rotating process; the sub-area is obtained by dividing a target area in advance; target information is acquired from the image. According to the embodiment of the invention, the camera module is controlled to rotate according to the shooting mode and the pre-divided sub-regions, so that the camera module can shoot images of different sub-regions. When the shooting scope of camera module has been guaranteed, can reduce the edge distortion of the image of shooing, solved the poor technical problem of learning auxiliary assembly's formation of image effect among the prior art.

Description

一种图像拍摄方法、装置、终端设备以及存储介质An image capturing method, device, terminal device and storage medium

技术领域technical field

本申请实施例涉及图像领域,尤其涉及一种图像拍摄方法、装置、终端设备以及存储介质。The embodiments of the present application relate to the field of images, and in particular, to an image capturing method, apparatus, terminal device, and storage medium.

背景技术Background technique

目前,为了在学生辅助学生的学习,学习辅助设备已经广泛应用在教学中。现有的学习辅助设备,一般是在例如平板电脑等电子设备上,设置升降旋转摄像头或设置反光镜以及摄像头,使得平板电脑在立式使用时,摄像头能够对练习本或书本等目标进行拍照。但是实际的使用过程中,这种方式的拍照效果比较差。例如,受限于摄像头视场角,摄像头所能够拍摄的区域有限,受限于摄像头的景深,学习辅助设备无法适用于书本厚度不均、被拍摄物不平或大角度拍较远端的场景;受限于摄像头的畸变,摄像头拍摄到的图像的边缘畸变比较严重。另外,当目标物体的尺寸较大,或距离摄像头的距离较远时,由于拍摄光学原理的限制,在距离平板电脑或摄像头较近的区域,所对应的相机CMOS像素较多,拍摄到的图像较为清晰,还原度比较高;而在距离平板电脑或摄像头较远的区域,拍摄到的图像变形明显,且拍摄得到的字体较小,不容易分辨。At present, in order to assist students in their learning, learning aids have been widely used in teaching. Existing learning aids are generally installed on electronic devices such as tablet computers, with lifting and rotating cameras or mirrors and cameras, so that when the tablet computer is used in a vertical position, the camera can take pictures of objects such as exercise books or books. However, in the actual use process, the photographing effect of this method is relatively poor. For example, limited by the field of view of the camera, the area that the camera can shoot is limited, and limited by the depth of field of the camera, learning aids cannot be applied to scenes with uneven thickness of books, uneven objects, or large-angle shooting of distant scenes; Limited by the distortion of the camera, the edge distortion of the image captured by the camera is relatively serious. In addition, when the size of the target object is large, or the distance from the camera is far, due to the limitation of the optical principle of shooting, in the area close to the tablet computer or the camera, the corresponding camera CMOS pixels are more, and the captured image It is relatively clear and the degree of restoration is relatively high; while in the area far from the tablet computer or the camera, the captured image is obviously deformed, and the captured font is small, which is not easy to distinguish.

综上所述,如何提高学习辅助设备的成像效果,成为了目前亟需解决的技术问题。To sum up, how to improve the imaging effect of learning aids has become a technical problem that needs to be solved urgently.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供了一种图像拍摄方法、装置、终端设备以及存储介质,能够提高图像的成像效果,解决了现有技术中学习辅助设备的成像效果较差的技术问题。The embodiments of the present invention provide an image capturing method, device, terminal device and storage medium, which can improve the imaging effect of the image and solve the technical problem of poor imaging effect of the learning auxiliary device in the prior art.

第一方面,本发明实施例提供了一种图像拍摄方法,应用于终端设备,所述终端设备包括有摄像头模组,所述摄像头模组可自由转动以拍摄到不同区域的图像,所述方法包括:In a first aspect, an embodiment of the present invention provides an image capturing method, which is applied to a terminal device. The terminal device includes a camera module, and the camera module can be freely rotated to capture images of different regions. The method include:

确定目标区域的拍摄模式;Determine the shooting mode of the target area;

根据所述拍摄模式以及预先划分好的子区域,控制所述摄像头模组进行转动,以使所述摄像头模组在转动的过程中拍摄不同子区域的图像;其中,所述子区域通过预先对目标区域进行划分得到;According to the shooting mode and the pre-divided sub-regions, the camera module is controlled to rotate, so that the camera module can capture images of different sub-regions during the rotation process; The target area is divided into;

从所述图像中获取目标信息。Obtain target information from the image.

优选的,对所述目标区域进行划分,包括:Preferably, dividing the target area includes:

根据所述目标区域确定所述摄像头模组转动时的角度范围;Determine the angular range when the camera module rotates according to the target area;

确定所述摄像头模组每次转动的步长;Determine the step size of each rotation of the camera module;

控制所述摄像头模组在所述角度范围内根据所述步长进行转动,将每次转动后所述摄像头模组所拍摄到的区域划分为一个子区域。The camera module is controlled to rotate according to the step size within the angle range, and the area captured by the camera module after each rotation is divided into a sub-area.

优选的,对所述目标区域进行划分,包括:Preferably, dividing the target area includes:

获取目标图像,所述目标图像通过拍摄所述目标区域得到;acquiring a target image, the target image is obtained by photographing the target area;

在所述目标图像中确定目标物体的边界,在所述目标图像中确定出与边界的范围相对应的第一图像,对所述第一图像进行划分,得到多个子区域。The boundary of the target object is determined in the target image, a first image corresponding to the range of the boundary is determined in the target image, and the first image is divided to obtain a plurality of sub-regions.

优选的,所述对所述第一图像进行划分,得到多个子区域,包括:Preferably, the first image is divided to obtain a plurality of sub-regions, including:

将所述第一图像在横向上均匀划分为M列,将每一列在纵向上非均匀划分为N行,得到M×N个子区域。The first image is uniformly divided into M columns in the horizontal direction, and each column is non-uniformly divided into N rows in the longitudinal direction to obtain M×N sub-regions.

优选的,所述对所述第一图像进行划分,得到多个子区域,包括:Preferably, the first image is divided to obtain a plurality of sub-regions, including:

对所述第一图像进行文字识别,得到所述第一图像内的文字;performing character recognition on the first image to obtain characters in the first image;

确定所述文字的大小,根据所述文字的大小对所述第一图像进行划分,得到多个子区域。The size of the text is determined, and the first image is divided according to the size of the text to obtain a plurality of sub-regions.

优选的,所述根据所述文字大小对所述第一图像进行划分,得到多个子区域,包括:Preferably, the first image is divided according to the text size to obtain a plurality of sub-regions, including:

将所述第一图像在横向上均匀划分为M列,将每一列在纵向上非均匀划分为N行,得到M×N个子区域,且每个所述子区域的大小与所述文字的大小为正相关。The first image is evenly divided into M columns in the horizontal direction, and each column is non-uniformly divided into N rows in the longitudinal direction to obtain M×N sub-regions, and the size of each of the sub-regions is the same as the size of the text. is positively correlated.

优选的,所述对所述第一图像进行划分,得到多个子区域,包括:Preferably, the first image is divided to obtain a plurality of sub-regions, including:

确定所述第一图像的模板类型,获取与所述模板类型相对应的划分规则,根据所述划分规则对所述第一图像进行划分,得到多个子区域。A template type of the first image is determined, a division rule corresponding to the template type is acquired, and the first image is divided according to the division rule to obtain a plurality of sub-regions.

优选的,所述拍摄模式为全局扫描模式、局部扫描模式以及目标追踪模式中的任意一种。Preferably, the shooting mode is any one of a global scanning mode, a local scanning mode and a target tracking mode.

优选的,所述拍摄模式为全局扫描模式,相应的,所述根据所述拍摄模式以及预先划分好的子区域,控制所述摄像头模组进行转动,以使所述摄像头模组在转动的过程中拍摄不同子区域的图像,包括:Preferably, the shooting mode is a global scanning mode. Correspondingly, the camera module is controlled to rotate according to the shooting mode and the pre-divided sub-regions, so that the camera module is in the process of rotating. images of different sub-areas in the , including:

根据预先划分好的子区域,确定所述摄像头模组拍摄所述子区域的路径,根据所述路径控制所述摄像头模组进行转动,以使所述摄像头模组在转动的过程中拍摄不同子区域的图像。Determine the path for the camera module to shoot the sub-region according to the pre-divided sub-region, and control the camera module to rotate according to the path, so that the camera module can shoot different sub-regions during the rotation process. image of the area.

优选的,所述拍摄模式为局部扫描模式,相应的,所述根据所述拍摄模式以及预先划分好的子区域,控制所述摄像头模组进行转动,以使所述摄像头模组在转动的过程中拍摄不同子区域的图像,包括:Preferably, the shooting mode is a local scanning mode. Correspondingly, the camera module is controlled to rotate according to the shooting mode and the pre-divided sub-regions, so that the camera module is in the process of rotating. images of different sub-areas in the , including:

实时获取所述目标区域的全局图像;acquiring a global image of the target area in real time;

在所述全局图像中确定所需要拍摄的第一区域;determining a first area to be photographed in the global image;

确定第一区域中包含的第一子区域,确定所述摄像头模组拍摄所述第一子区域的第一路径,根据所述第一路径控制所述摄像头模组进行转动,以使所述摄像头模组在转动的过程中拍摄所述第一子区域的图像。Determine the first sub-area included in the first area, determine the first path for the camera module to shoot the first sub-area, and control the camera module to rotate according to the first path, so that the camera The module captures an image of the first sub-region during the rotation.

优选的,所述拍摄模式为目标追踪模式,相应的,所述根据所述拍摄模式以及预先划分好的子区域,控制所述摄像头模组进行转动,以使所述摄像头模组在转动的过程中拍摄不同子区域的图像,包括:Preferably, the shooting mode is a target tracking mode. Correspondingly, the camera module is controlled to rotate according to the shooting mode and the pre-divided sub-regions, so that the camera module is in the process of rotating. images of different sub-areas in the , including:

在目标区域中确定目标物体的位置,确定与位置相对应的第二子区域;Determine the position of the target object in the target area, and determine the second sub-area corresponding to the position;

确定所述摄像头模组转动到与第二子区域相对应的目标角度;determining that the camera module is rotated to a target angle corresponding to the second sub-area;

控制所述所述摄像头模组转动到所述目标角度,以使所述摄像头模组拍摄所述第二子区域的图像。The camera module is controlled to rotate to the target angle, so that the camera module captures an image of the second sub-region.

优选的,所述从所述图像中获取目标信息,包括:Preferably, the obtaining target information from the image includes:

对所述图像进行合并,得到第二图像;combining the images to obtain a second image;

对所述第二图像进行文字识别,得到目标文字,根据所述目标文字在数据库中获取对应的标准文字,将所述目标文字与标准文字进行比对,得到比对结果。Perform character recognition on the second image to obtain a target character, obtain a corresponding standard character in a database according to the target character, compare the target character with the standard character, and obtain a comparison result.

优选的,所述从所述图像中获取目标信息,包括:Preferably, the obtaining target information from the image includes:

对所述图像进行文字识别,得到目标文字,根据所述目标文字在数据库中获取对应的标准文字,将所述目标文字与标准文字进行比对,得到比对结果。Perform character recognition on the image to obtain target characters, obtain corresponding standard characters in a database according to the target characters, and compare the target characters with the standard characters to obtain a comparison result.

优选的,所述从所述图像中获取目标信息,包括:Preferably, the obtaining target information from the image includes:

获取预设时间段内拍摄得到的所有图像,从所述所有图像的每一张图像中提取字迹信息;Obtaining all images captured within a preset time period, and extracting handwriting information from each of the all images;

根据所述字迹信息确定笔顺顺序,以及根据所述字迹信息获取相对应的标准笔顺顺序;Determine the stroke order according to the handwriting information, and obtain the corresponding standard stroke order according to the handwriting information;

将所述笔顺顺序与标准笔顺顺序进行比对,得到比对结果。The stroke order is compared with the standard stroke order to obtain a comparison result.

第二方面,本发明实施例提供了一种图像拍摄装置,应用于终端设备,所述终端设备包括有摄像头模组,所述摄像头模组可自由转动以拍摄到不同区域的图像,所述图像拍摄装置包括:模式确定模块、控制模块以及信息获取模块;In a second aspect, an embodiment of the present invention provides an image capturing apparatus, which is applied to a terminal device. The terminal device includes a camera module, and the camera module can be freely rotated to capture images of different regions. The photographing device includes: a mode determination module, a control module and an information acquisition module;

所述模式确定模块用于确定目标区域的拍摄模式;The mode determination module is used to determine the shooting mode of the target area;

所述控制模块用于根据所述拍摄模式以及预先划分好的子区域,控制所述摄像头模组进行转动,以使所述摄像头模组在转动的过程中拍摄不同子区域的图像;其中,所述子区域通过预先对目标区域进行划分得到;The control module is configured to control the camera module to rotate according to the shooting mode and the pre-divided sub-regions, so that the camera module can capture images of different sub-regions during the rotation; The sub-region is obtained by dividing the target region in advance;

所述信息获取模块用于从所述图像中获取目标信息。The information acquisition module is used for acquiring target information from the image.

第三方面,本发明实施例提供了一种终端设备,所述终端设备包括处理器以及存储器;In a third aspect, an embodiment of the present invention provides a terminal device, where the terminal device includes a processor and a memory;

所述存储器用于存储计算机程序,并将所述计算机程序传输给所述处理器;the memory is used to store a computer program and transmit the computer program to the processor;

所述处理器用于根据所述计算机程序中的指令执行如第一方面所述的一种图像拍摄方法。The processor is configured to execute the image capturing method according to the first aspect according to the instructions in the computer program.

第四方面,本发明实施例提供了一种存储计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行如第一方面所述的一种图像拍摄方法。In a fourth aspect, an embodiment of the present invention provides a storage medium for storing computer-executable instructions, where the computer-executable instructions are used to execute the image capturing method according to the first aspect when executed by a computer processor.

上述,本发明实施例提供了一种图像拍摄方法、装置、终端设备以及存储介质,应用于终端设备,终端设备包括有摄像头模组,摄像头模组可自由转动以拍摄到不同区域的图像,方法包括:确定目标区域的拍摄模式;根据拍摄模式以及预先划分好的子区域,控制摄像头模组进行转动,以使摄像头模组在转动的过程中拍摄不同子区域的图像;其中,子区域通过预先对目标区域进行划分得到;从图像中获取目标信息。本发明实施例通过根据拍摄模式以及预先划分好的子区域控制摄像头模组进行旋转,从而使得摄像头模组能够拍摄到不同子区域的图像。在保证了摄像头模组的拍摄范围的同时,能够减小拍摄到的图像的边缘畸变,提高图像的成像效果,从而突破单一角度的摄像头在拍照时的视场角限制、景深限制以及畸变限制,解决了现有技术中学习辅助设备的成像效果差的技术问题。As described above, the embodiments of the present invention provide an image capturing method, device, terminal device, and storage medium, which are applied to the terminal device. The terminal device includes a camera module, and the camera module can be freely rotated to capture images in different areas. The method Including: determining the shooting mode of the target area; controlling the camera module to rotate according to the shooting mode and the pre-divided sub-areas, so that the camera module can shoot images of different sub-areas during the rotation process; It is obtained by dividing the target area; the target information is obtained from the image. In the embodiment of the present invention, the camera module is controlled to rotate according to the shooting mode and the pre-divided sub-regions, so that the camera module can capture images of different sub-regions. While ensuring the shooting range of the camera module, it can reduce the edge distortion of the captured image and improve the imaging effect of the image, thereby breaking through the limitations of the field of view, depth of field and distortion of a single-angle camera when taking pictures. The technical problem of poor imaging effect of the learning auxiliary device in the prior art is solved.

附图说明Description of drawings

图1为本发明实施例提供的一种图像拍摄方法的流程图。FIG. 1 is a flowchart of an image capturing method according to an embodiment of the present invention.

图2为本发明实施例提供的一种图像拍摄装置的结构示意图。FIG. 2 is a schematic structural diagram of an image capturing apparatus according to an embodiment of the present invention.

图3为本发明实施例提供的另一种图像拍摄装置的结构示意图。FIG. 3 is a schematic structural diagram of another image capturing apparatus according to an embodiment of the present invention.

图4为本发明实施例提供的一种对目标区域进行划分的示意图。FIG. 4 is a schematic diagram of dividing a target area according to an embodiment of the present invention.

图5为本发明实施例提供的摄像头模组拍摄目标区域的示意图。FIG. 5 is a schematic diagram of a target area captured by a camera module according to an embodiment of the present invention.

图6为本发明实施例提供的一种对目标区域进行划分的流程图。FIG. 6 is a flowchart of dividing a target area according to an embodiment of the present invention.

图7为本发明实施例提供的一种对目标区域进行划分的流程图。FIG. 7 is a flowchart of dividing a target area according to an embodiment of the present invention.

图8为本发明实施例提供的一种对根据文字大小对目标区域进行划分的示意图。FIG. 8 is a schematic diagram of dividing a target area according to a text size according to an embodiment of the present invention.

图9为本发明实施例提供的一种对根据文字大小对目标区域进行划分的示意图。FIG. 9 is a schematic diagram of dividing a target area according to a text size according to an embodiment of the present invention.

图10为本发明实施例提供的一种对子区域进行拍摄的路径的示意图。FIG. 10 is a schematic diagram of a path for photographing a sub-area according to an embodiment of the present invention.

图11为本发明实施例提供的一种对子区域进行拍摄的路径的示意图。FIG. 11 is a schematic diagram of a path for photographing a sub-area according to an embodiment of the present invention.

图12为本发明实施例提供的一种图像拍摄装置的结构示意图。FIG. 12 is a schematic structural diagram of an image capturing apparatus according to an embodiment of the present invention.

图13为本发明实施例提供的一种终端设备的结构示意图。FIG. 13 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.

具体实施方式Detailed ways

以下描述和附图充分地示出本申请的具体实施方案,以使本领域的技术人员能够实践它们。实施例仅代表可能的变化。除非明确要求,否则单独的部件和功能是可选的,并且操作的顺序可以变化。一些实施方案的部分和特征可以被包括在或替换其他实施方案的部分和特征。本申请的实施方案的范围包括权利要求书的整个范围,以及权利要求书的所有可获得的等同物。在本文中,各实施方案可以被单独地或总地用术语“发明”来表示,这仅仅是为了方便,并且如果事实上公开了超过一个的发明,不是要自动地限制该应用的范围为任何单个发明或发明构思。本文中,诸如第一和第二等之类的关系术语仅仅用于将一个实体或者操作与另一个实体或操作区分开来,而不要求或者暗示这些实体或操作之间存在任何实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法或者终端设备不仅包括那些要素,而且还包括没有明确列出的其他要素。本文中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的结构、产品等而言,由于其与实施例公开的部分相对应,所以描述的比较简单,相关之处参见方法部分说明即可。The following description and drawings sufficiently illustrate specific embodiments of the application to enable those skilled in the art to practice them. The examples represent only possible variations. Unless expressly required, individual components and functions are optional and the order of operations may vary. Portions and features of some embodiments may be included in or substituted for those of other embodiments. The scope of the embodiments of this application includes the full scope of the claims, along with all available equivalents of the claims. Various embodiments may be referred to herein by the term "invention," individually or collectively, for convenience only, and are not intended to automatically limit the scope of this application to any if more than one invention is in fact disclosed. A single invention or inventive concept. Herein, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation and do not require or imply any actual relationship between these entities or operations or order. Moreover, the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method or terminal device comprising a list of elements includes not only those elements, but also those not expressly listed. other elements. The various embodiments herein are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and it is sufficient to refer to each other for the same and similar parts between the various embodiments. As for the structures, products, etc. disclosed in the embodiments, since they correspond to the parts disclosed in the embodiments, the descriptions are relatively simple, and the related parts can be referred to the descriptions of the methods.

如图1所示,图1为本发明实施例提供的一种图像拍摄方法的流程图。本发明实施例提供的图像拍摄方法应用于终端设备,终端设备包括有摄像头模组,摄像头模组可自由转动以拍摄到不同区域的图像。示例性的,在一个实施例中,摄像头模组为可旋转摄像头,如图2所示,可旋转摄像头通过自由转动从而拍摄到不同区域的图像,又或者是,摄像头模组为反射镜以及摄像头,反射镜用于将外界光线反射入摄像头中,且反射镜可自由转动以调节反射镜的镜面相对于摄像头的角度,如图3所示。通过控制反射镜进行转动,从而使得反射镜的镜面上能够反射出不同区域的画面,摄像头通过拍摄反射镜的镜面来得到不同区域的图像。需要进一步说明的是,在本实施例中,还可以在摄像头模组中设置辅助摄像头,从而用于辅助拍摄。示例性的,在一个实施例中,在摄像头模组中进一步设置视角场较大的摄像头来拍摄全局图像,又或者是在摄像头模组中进一步设置事件相机(动态视觉传感器),利用事件相机对拍摄对象进行跟踪。As shown in FIG. 1 , FIG. 1 is a flowchart of an image capturing method according to an embodiment of the present invention. The image capturing method provided by the embodiment of the present invention is applied to a terminal device. The terminal device includes a camera module, and the camera module can be freely rotated to capture images of different regions. Exemplarily, in one embodiment, the camera module is a rotatable camera, as shown in FIG. 2 , the rotatable camera can shoot images of different regions by freely rotating, or the camera module is a mirror and a camera. , the reflector is used to reflect external light into the camera, and the reflector can be freely rotated to adjust the angle of the mirror surface of the reflector relative to the camera, as shown in Figure 3. By controlling the mirror to rotate, the mirror surface of the mirror can reflect images of different areas, and the camera obtains images of different areas by shooting the mirror surface of the mirror. It should be further noted that, in this embodiment, an auxiliary camera may also be set in the camera module, so as to be used for auxiliary shooting. Exemplarily, in one embodiment, a camera with a larger viewing angle field is further set in the camera module to capture a global image, or an event camera (dynamic vision sensor) is further set in the camera module, and the event camera is used to The subject is tracked.

本发明实施例提供的一种图像拍摄方法包括以下步骤:An image capturing method provided by an embodiment of the present invention includes the following steps:

步骤101、确定目标区域的拍摄模式。Step 101: Determine the shooting mode of the target area.

首先,需要确定出目标区域的拍摄模式,目标区域的拍摄模式决定了摄像头模组的转动方式。示例性的,在一个实施例中,拍摄模式为扫描模式,则需要控制摄像头模组通过转动对目标区域中的每一个位置进行扫描,从而拍摄目标区域每一个位置的图像,直至拍摄完目标区域中所有位置的图像为止。在另一个实施例中,拍摄模式为目标追踪模式,则可以通过事件相机在目标区域中追踪笔尖的位置,再根据笔尖的位置控制摄像头模组转动,使得摄像头模组能够对笔尖所在的位置进行拍摄,得到用户的字迹图像,实现对用户的字迹进行追踪。First, the shooting mode of the target area needs to be determined, and the shooting mode of the target area determines the rotation mode of the camera module. Exemplarily, in one embodiment, if the shooting mode is the scanning mode, it is necessary to control the camera module to scan each position in the target area by rotating, so as to capture the image of each position in the target area until the target area is photographed. image at all positions in the . In another embodiment, if the shooting mode is the target tracking mode, the position of the pen tip can be tracked in the target area through the event camera, and then the camera module can be controlled to rotate according to the position of the pen tip, so that the camera module can track the position of the pen tip. Shooting, get the user's handwriting image, and realize the tracking of the user's handwriting.

可理解,在本实施例中,拍摄模式的确定方式,可以根据用户输入的模式选择指令确定,又或者是,终端设备根据目标区域中的对象进行确定。示例性的,在一个实施例中,终端设备在进行拍摄之前,会在显示屏幕上显示可以执行的拍摄模式,用户通过点击显示屏幕的方式来选择拍摄模式,从而向终端设备发送模式选择指令,终端设备根据用户发送的模式选择指令执行对应的拍摄模式。在另一个实施例中,终端设备在确定拍摄模式之前,会预先通过视场角较大的摄像头来拍摄目标区域的全局图像,并识别出全局图像中的目标对象,根据目标对象来确定拍摄模式。可理解,在本实施例中,拍摄模式的确定方式可根据实际需要进行设置,在本实施例中不对拍摄模式的确定方式进行具体限定。It can be understood that, in this embodiment, the manner of determining the shooting mode may be determined according to the mode selection instruction input by the user, or the terminal device may determine according to the object in the target area. Exemplarily, in one embodiment, the terminal device will display an executable shooting mode on the display screen before shooting, and the user selects the shooting mode by clicking on the display screen, thereby sending a mode selection instruction to the terminal device, The terminal device executes the corresponding shooting mode according to the mode selection instruction sent by the user. In another embodiment, before determining the shooting mode, the terminal device will use a camera with a larger field of view to shoot a global image of the target area in advance, identify the target object in the global image, and determine the shooting mode according to the target object . It can be understood that, in this embodiment, the determination method of the shooting mode can be set according to actual needs, and the determination method of the shooting mode is not specifically limited in this embodiment.

步骤102、根据拍摄模式以及预先划分好的子区域,控制摄像头模组进行转动,以使摄像头模组在转动的过程中拍摄不同子区域的图像;其中,子区域通过预先对目标区域进行划分得到。Step 102: Control the camera module to rotate according to the shooting mode and the pre-divided sub-regions, so that the camera module captures images of different sub-regions during the rotation; wherein, the sub-regions are obtained by dividing the target region in advance. .

在确定了拍摄模式之后,则进一步根据拍摄模式以及预先划分好的子区域,控制摄像头模组进行转动。需要进一步进行说明的是,在本实施例中,需要预先对目标区域进行划分,将目标区域划分为多个子区域。示例性的,如图4所示,图4中目标区域的长和宽分别为Acm和Bcm,将目标区域划分为多个子区域1-1、1-2、1-3、……。通过将目标区域划分为多个子区域,可以确定摄像头模组与每个子区域相对应的旋转角度,当摄像头模组转动对应的旋转角度时,即可对对应的子区域进行拍摄,从而方便摄像头模组快速定位到指定的子区域,如图5所示。根据拍摄模式可确定出摄像头模组所需要拍摄的子区域,控制摄像头转动与所需要拍摄的子区域相对应的旋转角度,即可对所需要拍摄的子区域进行拍摄,从而得到不同子区域的图像。After the shooting mode is determined, the camera module is further controlled to rotate according to the shooting mode and the pre-divided sub-regions. It should be further explained that, in this embodiment, the target area needs to be divided in advance, and the target area is divided into a plurality of sub-areas. Exemplarily, as shown in FIG. 4 , the length and width of the target area in FIG. 4 are Acm and Bcm, respectively, and the target area is divided into multiple sub-areas 1-1, 1-2, 1-3, . . . By dividing the target area into multiple sub-areas, the rotation angle of the camera module corresponding to each sub-area can be determined. When the camera module rotates the corresponding rotation angle, the corresponding sub-area can be photographed, which is convenient for the camera module The group is quickly positioned to the specified sub-area, as shown in Figure 5. According to the shooting mode, the sub-areas that the camera module needs to be photographed can be determined, and the camera can be controlled to rotate by the rotation angle corresponding to the sub-areas to be photographed, so that the sub-areas to be photographed can be photographed, thereby obtaining different sub-areas. image.

需要进一步说明的是,在本实施例中,通过根据拍摄模式以及预先划分好的子区域控制摄像头模组进行转动,从而使得摄像头模组在拍摄到不同子区域的图像时,能够将焦点对准各个子区域的中心,从而得到子区域的清晰图像,使得目标区域全局范围内的成像效果更加清晰。It should be further explained that, in this embodiment, the camera module is controlled to rotate according to the shooting mode and the pre-divided sub-regions, so that the camera module can focus when capturing images of different sub-regions. The center of each sub-region can obtain a clear image of the sub-region, so that the imaging effect in the global scope of the target region is clearer.

步骤103、从图像中获取目标信息。Step 103: Obtain target information from the image.

最后,即可从图像中获取目标信息。可理解,在本实施例中,目标信息可以根据实际需要进行设置,示例性的,在一个实施例中,目标信息为文字信息,通过对拍摄得到的图像进行文字识别,从而得到图像中的文字信息,又或者是,目标信息为字迹信息,通过对图像进行图像识别,从而获取图像中的字迹信息。Finally, the target information can be obtained from the image. It can be understood that in this embodiment, the target information can be set according to actual needs. For example, in an embodiment, the target information is text information, and the text in the image is obtained by performing text recognition on the captured image. information, or the target information is handwriting information, and the handwriting information in the image is obtained by performing image recognition on the image.

上述,本发明实施例通过根据拍摄模式以及预先划分好的子区域控制摄像头模组进行旋转,从而使得摄像头模组能够拍摄到不同子区域的图像。与现有技术中使用单一角度的摄像头直接拍摄目标区域的全局图像相比,在保证了摄像头模组的拍摄范围的同时,摄像头模组的焦点能够对准各个子区域的中心,能够减小拍摄到的图像的边缘畸变,提高图像的成像效果,从而突破单一角度的摄像头在拍照时的视场角限制、景深限制以及畸变限制。解决了现有技术中学习辅助设备的成像效果差的技术问题。As described above, the embodiment of the present invention controls the camera module to rotate according to the shooting mode and the pre-divided sub-regions, so that the camera module can capture images of different sub-regions. Compared with the prior art using a single-angle camera to directly shoot the global image of the target area, while ensuring the shooting range of the camera module, the focus of the camera module can be aimed at the center of each sub-region, which can reduce the amount of shooting. The edge distortion of the obtained image improves the imaging effect of the image, thereby breaking through the limitations of the field of view, depth of field and distortion of a single-angle camera when taking pictures. The technical problem of poor imaging effect of the learning auxiliary device in the prior art is solved.

需要说明的是,在本实施例中,对目标区域进行划分的方式有多种,在一个实施例中对目标区域进行划分的流程如图6所示,包括以下步骤:It should be noted that in this embodiment, there are many ways to divide the target area. In one embodiment, the process of dividing the target area is shown in FIG. 6 , including the following steps:

步骤201、根据目标区域确定摄像头模组转动时的角度范围。Step 201: Determine the angular range when the camera module rotates according to the target area.

首先,需要根据目标区域确定摄像头模组在转动时的角度范围。示例性的,在一个实施例中,目标区域为矩形区域,摄像头模组为可旋转摄像头,可旋转摄像头具有相互垂直的横向旋转轴以及纵向旋转轴,可旋转摄像头可绕横向旋转轴和纵向旋转轴进行转动。根据目标区域的长和宽,确定出可旋转摄像头分别绕两根旋转轴进行转动时的角度范围,使得可旋转摄像头的转动角度达到角度范围的边界值时,可旋转摄像头正好能够拍摄到目标区域的边界。First, it is necessary to determine the angular range of the camera module when it rotates according to the target area. Exemplarily, in one embodiment, the target area is a rectangular area, the camera module is a rotatable camera, the rotatable camera has a horizontal rotation axis and a vertical rotation axis that are perpendicular to each other, and the rotatable camera can rotate around the horizontal rotation axis and the vertical rotation axis. The shaft rotates. According to the length and width of the target area, determine the angular range when the rotatable camera rotates around the two rotation axes, so that when the rotation angle of the rotatable camera reaches the boundary value of the angle range, the rotatable camera can just shoot the target area. border.

步骤202、确定摄像头模组每次转动的步长。Step 202: Determine the step size of each rotation of the camera module.

之后,进一步确定摄像有模组每次转动时的步长。示例性的,在一个实施例中,设定可旋转摄像头绕横向旋转轴转动10°为第一步长,设置可旋转摄像头绕纵向旋转轴转动5°为第二步长,又或者是,分别将可旋转摄像头绕旋转轴转动的角度范围均分为若干份,从而得到可旋转摄像头绕旋转轴进行转动时的步长。示例性的,在一个实施例中,可旋转摄像头绕横向旋转轴转动的角度范围为±120°,即将±120°均分为10份,即旋转摄像头绕横向旋转轴转动的步长为24°。After that, the step length of each rotation of the camera module is further determined. Exemplarily, in one embodiment, the first step is set to rotate the rotatable camera by 10° around the lateral rotation axis, and the second step is set to rotate the rotatable camera by 5° around the longitudinal rotation axis, or, respectively, Divide the angular range of the rotatable camera around the rotation axis into several parts, so as to obtain the step size when the rotatable camera rotates around the rotation axis. Exemplarily, in one embodiment, the rotation angle range of the rotatable camera around the lateral rotation axis is ±120°, that is, ±120° is equally divided into 10 parts, that is, the step length of the rotation of the rotating camera around the lateral rotation axis is 24°. .

步骤203、控制摄像头模组在角度范围内根据步长进行转动,将每次转动后摄像头模组所拍摄到的区域划分为一个子区域。Step 203 , controlling the camera module to rotate according to the step length within the angle range, and dividing the area photographed by the camera module after each rotation into a sub-area.

之后,控制摄像头模组根据每次转动一个步长,并将每次转动后摄像头模组所拍摄到的区域划分为一个子区域,可理解,摄像头在转动过程中转动的角度不得超过角度范围,并且将摄像头模组每次转动后所拍摄到的区域划分为一个子区域。示例性的,在一个实施例中,可旋转摄像头绕横向旋转轴转动的角度范围为±120°,可旋转摄像头绕横向旋转轴转动的第一步长为10°,可旋转摄像头绕纵向旋转轴转动的角度范围为±60°,可旋转摄像头绕纵向旋转轴转动的第二步长为10°,则一开始控制可旋转摄像头转动到(120°,60°),将此时可旋转摄像头所拍摄到的区域作为一个子区域,之后,控制可旋转摄像头绕横向旋转轴转动一个第一步长,此时可旋转摄像头转动到(110°,60°),将此时可旋转摄像头所拍摄到的区域作为一个子区域,……,当可旋转摄像头转动到(-120°,60°),控制可旋转摄像头绕纵向旋转轴转动一个第二步长,此时可旋转摄像头转动到(-120°,50°)后,又重新控制可旋转摄像头饶横向旋转轴转动一个第一步长,以此类推,直至可旋转摄像头拍摄完目标区域中的每一个位置为止,从而将目标区域划分为多个子区域。After that, the camera module is controlled to rotate by one step each time, and the area captured by the camera module after each rotation is divided into a sub-area. It is understandable that the rotation angle of the camera during the rotation process must not exceed the angle range. And the area captured by the camera module after each rotation is divided into a sub-area. Exemplarily, in one embodiment, the angular range of rotation of the rotatable camera around the lateral rotation axis is ±120°, the first length of the rotation of the rotatable camera around the lateral rotation axis is 10°, and the rotatable camera around the longitudinal rotation axis The rotation angle range is ±60°, and the second step of rotating the rotatable camera around the longitudinal rotation axis is 10°. At the beginning, control the rotatable camera to rotate to (120°, 60°), and set the position of the rotatable camera at this time. The captured area is used as a sub-area. After that, the rotatable camera is controlled to rotate a first step around the horizontal rotation axis. At this time, the rotatable camera is rotated to (110°, 60°), and the The area of is used as a sub-area, ..., when the rotatable camera is rotated to (-120°, 60°), the rotatable camera is controlled to rotate around the longitudinal rotation axis by a second step, and the rotatable camera is rotated to (-120 °, 50°), and then re-control the rotatable camera to rotate a first step around the horizontal rotation axis, and so on, until the rotatable camera has photographed every position in the target area, thereby dividing the target area into multiple sub-regions.

需要进一步说明的是,在一个实施例中,还可以根据摄像头模组的旋转时间将目标区域划分为多个子区域,使得摄像头模组旋转到与每个子区域相对应的角度时所用的时间相等。It should be further explained that, in one embodiment, the target area may also be divided into multiple sub-areas according to the rotation time of the camera module, so that the time required for the camera module to rotate to an angle corresponding to each sub-area is equal.

在另一个实施例中,对目标区域进行划分的流程如图7所示,包括以下步骤:In another embodiment, the process of dividing the target area is shown in FIG. 7 , including the following steps:

步骤301、获取目标图像,目标图像通过拍摄目标区域得到。Step 301: Acquire a target image, and the target image is obtained by photographing the target area.

在本实施例中,首先获取目标区域的目标图像,目标图像可通过摄像头模组中的视角场较大的摄像头对目标区域进行拍摄得到。In this embodiment, a target image of the target area is obtained first, and the target image can be obtained by photographing the target area by a camera with a larger viewing angle field in the camera module.

步骤302、在目标图像中确定目标物体的边界,在目标图像中确定出与边界的范围相对应的第一图像,对第一图像进行划分,得到多个子区域。Step 302: Determine the boundary of the target object in the target image, determine a first image corresponding to the range of the boundary in the target image, and divide the first image to obtain a plurality of sub-regions.

在获取到目标图像后,在目标图像中进一步确定目标物体的边界,目标物体可根据实际需要进行设置,例如可以是课本或是试卷等。在确定除了目标物体的边界后,在目标图像中截取出与边界范围内的第一图像,并对第一图像进行划分,得到多个子区域。可理解,当目标物体的发生移动时,目标物体的边界会发生变化,因此在本实施例中,当目标物体的边界发生变化,需要根据边界变化的程度,重新对子区域进行调整和校准。After the target image is acquired, the boundary of the target object is further determined in the target image, and the target object can be set according to actual needs, such as a textbook or a test paper. After the boundary except the target object is determined, a first image within the boundary range is cut out from the target image, and the first image is divided to obtain a plurality of sub-regions. It can be understood that when the target object moves, the boundary of the target object will change. Therefore, in this embodiment, when the boundary of the target object changes, it is necessary to re-adjust and calibrate the sub-region according to the degree of boundary change.

在本实施例中,对第一图像进行划分的方式有多种,在一个实施例中,步骤302中对第一图像进行划分,得到多个子区域,具体由步骤3021执行,包括:In this embodiment, there are many ways to divide the first image. In one embodiment, the first image is divided in step 302 to obtain a plurality of sub-regions, which is specifically executed by step 3021, including:

步骤3021、将第一图像在横向上均匀划分为M列,将每一列在纵向上非均匀划分为N行,得到M×N个子区域。Step 3021: Divide the first image into M columns uniformly in the horizontal direction, and divide each column non-uniformly into N rows in the longitudinal direction to obtain M×N sub-regions.

在一个实施例中,可直接对第一图像进行划分,将第一图像在横向上均匀划分为M列,并将每一列在纵向上非均匀划分为M行,得到M×N个子区域,如图4所示。需要进一步说明的是,将每一列在纵向上非均匀划分为M行的目的在于,对于靠近可旋转摄像头下方的子区域,可旋转摄像头绕拍摄到的范围会比较小,可旋转摄像头绕纵向旋转轴转动后,可旋转摄像头拍摄到的区域大小会增大。因此,需要对每一列在纵向上进行非均匀划分。In one embodiment, the first image may be directly divided, the first image is evenly divided into M columns in the horizontal direction, and each column is non-uniformly divided into M rows in the longitudinal direction to obtain M×N sub-regions, such as shown in Figure 4. It should be further explained that the purpose of dividing each column into M rows non-uniformly in the longitudinal direction is that for the sub-areas close to the lower part of the rotatable camera, the range captured by the rotatable camera will be relatively small, and the rotatable camera will rotate around the longitudinal direction. As the axis rotates, the size of the area captured by the rotatable camera increases. Therefore, each column needs to be non-uniformly divided in the longitudinal direction.

在另一个实施例中,步骤302中对第一图像进行划分,得到多个子区域,具体由步骤3022-步骤3023执行,包括:In another embodiment, the first image is divided in step 302 to obtain a plurality of sub-regions, which is specifically performed by steps 3022 to 3023, including:

步骤3022、对第一图像进行文字识别,得到第一图像内的文字。Step 3022: Perform character recognition on the first image to obtain characters in the first image.

在另一个实施例中,在得到第一图像后,进一步对第一图像进行文字识别,从而得到第一图像中的文字。可理解,对第一图像进行文字识别的方式可采用现有的OCR(OpticalCharacter Recognition,光学字符识别)算法,在本实施例中不对文字识别的方式进行具体限定。In another embodiment, after the first image is obtained, character recognition is further performed on the first image, so as to obtain the characters in the first image. It can be understood that an existing OCR (Optical Character Recognition, Optical Character Recognition) algorithm may be used for the method of character recognition for the first image, and the character recognition method is not specifically limited in this embodiment.

步骤3023、确定文字的大小,根据文字的大小对第一图像进行划分,得到多个子区域。Step 3023: Determine the size of the text, and divide the first image according to the size of the text to obtain multiple sub-regions.

在得到第一图像中的文字后,进一步确定第一图像中文字的大小,并根据文字的大小对第一图像进行划分,从而得到多个子区域。需要进一步说明的是,在本实施例中根据文字的大小对第一图像进行划分的目标在于,文字的大小在一定程度上反映了对内容识别的难易程度,文字越大(字体越大或笔画越粗)内容越容易进行识别,文字越小(字体越小或笔画越细),内容识别的难度越高。若第一图像中的文字越大,在对第一图像进行划分时,每个子区域的面积可以适当增大。After the text in the first image is obtained, the size of the text in the first image is further determined, and the first image is divided according to the size of the text, thereby obtaining a plurality of sub-regions. It should be further explained that, in this embodiment, the goal of dividing the first image according to the size of the text is that the size of the text reflects the difficulty of recognizing the content to a certain extent. The thicker the stroke), the easier it is to identify the content, and the smaller the text (the smaller the font or the thinner the stroke), the higher the difficulty of content identification. If the text in the first image is larger, when dividing the first image, the area of each sub-region can be appropriately increased.

在上述实施例的基础上,步骤3023中根据文字大小对第一图像进行划分,得到多个子区域,具体由步骤30231执行,包括:On the basis of the above embodiment, in step 3023, the first image is divided according to the text size to obtain a plurality of sub-regions, which is specifically executed by step 30231, including:

步骤30231、将第一图像在横向上均匀划分为M列,将每一列在纵向上非均匀划分为N行,得到M×N个子区域,且每个子区域的大小与文字的大小为正相关。Step 30231: Divide the first image into M columns evenly in the horizontal direction, and divide each column into N rows non-uniformly in the longitudinal direction to obtain M×N sub-regions, and the size of each sub-region is positively correlated with the size of the text.

同理,在本实施例中,将第一图像在横向上均匀划分为M列,将每一列在纵向上非均匀划分为N行,得到M×N个子区域,且在对第一图像进行划分时,每个子区域的大小与文字的大小呈正相关。示例性的,如图8所示,若第一图像中的文字越大时,所划分出的每个子区域的面积越大,如图9所示,若第一图像中的文字较小时,所划分出的每个子区域的面积越小。Similarly, in this embodiment, the first image is evenly divided into M columns in the horizontal direction, and each column is non-uniformly divided into N rows in the longitudinal direction to obtain M×N sub-regions, and the first image is divided into M columns. , the size of each subregion is positively related to the size of the text. Exemplarily, as shown in FIG. 8 , if the text in the first image is larger, the area of each sub-region divided is larger. As shown in FIG. 9 , if the text in the first image is smaller, the The smaller the area of each sub-region divided.

需要进一步说明的是,在本实施例中,对第一图像进行划分,得到多个子区域的过程还存在着另一种方式,具体由步骤3024执行,包括:It should be further explained that, in this embodiment, there is another way of dividing the first image to obtain multiple sub-regions, which is specifically executed by step 3024, including:

步骤3024、确定第一图像的模板类型,获取与模板类型相对应的划分规则,根据划分规则对第一图像进行划分,得到多个子区域。Step 3024: Determine the template type of the first image, obtain a division rule corresponding to the template type, and divide the first image according to the division rule to obtain a plurality of sub-regions.

在另一个实施例中,在得到第一图像后,确定第一图像的模板类型,并获取与模板类型相对应的划分规则,最后根据划分规则对第一图像进行划分,从而得到多个子区域。示例性的,在一个实施例中,第一图像为试卷的图像,则在获取到第一图像后,确定试卷的模板类型,例如试卷内容是由什么类型的题型组成(选择题、填空题等)以及不同题型的位置,再根据试卷中的题型以及题型的位置,在服务器中获取相对应的划分规则,划分规则中包括有不同题型所对应位置的划分方式,例如对于试卷中填空题所在的位置对应一种划分方式,试卷中选择题所在的位置对应一种划分方式等,最后再根据划分规则对第一图像进行划分,从而得到多个子区域,从而使得对第一图像的划分方式能够根据实际需要进行灵活选择,并且划分规则支持用户进行自定义设置,满足各种场景的需要。In another embodiment, after the first image is obtained, a template type of the first image is determined, a division rule corresponding to the template type is obtained, and finally the first image is divided according to the division rule to obtain a plurality of sub-regions. Exemplarily, in one embodiment, the first image is an image of the test paper, then after the first image is obtained, the template type of the test paper is determined, for example, what type of questions the content of the test paper is composed of (multiple-choice questions, fill-in-the-blank questions) etc.) and the positions of different question types, and then obtain the corresponding division rules from the server according to the question types and the position of the question types in the test paper. The division rules include the division methods of the positions corresponding to different question types. For example, for test papers The position of the fill-in-the-blank question corresponds to a division method, the position of the multiple-choice questions in the test paper corresponds to a division method, etc. Finally, the first image is divided according to the division rules, so as to obtain multiple sub-regions, so that the first image can be divided into multiple sub-regions. The division method can be flexibly selected according to actual needs, and the division rules support user-defined settings to meet the needs of various scenarios.

以上即为步骤302中对第一图像进行划分,得到多个子区域的具体过程。The above is the specific process of dividing the first image in step 302 to obtain multiple sub-regions.

在上述实施例的基础上,目标区域的拍摄模式为全局扫描模式、局部扫描模式以及目标追踪模式中的任意一种,在不同的拍摄模式下,摄像头模组具有不同的拍摄模式,从而满足不同拍摄情况的需要。On the basis of the above embodiment, the shooting mode of the target area is any one of the global scanning mode, the local scanning mode and the target tracking mode. Under different shooting modes, the camera module has different shooting modes, so as to satisfy different the needs of the shooting situation.

在一个实施例中,拍摄模式为全局扫描模式,相应的,步骤102中根据拍摄模式以及预先划分好的子区域,控制摄像头模组进行转动,以使摄像头模组在转动的过程中拍摄不同子区域的图像,具体由步骤1021执行,具体包括:In one embodiment, the shooting mode is a global scanning mode. Correspondingly, in step 102, the camera module is controlled to rotate according to the shooting mode and the pre-divided sub-regions, so that the camera module can shoot different sub-regions during the rotation process. The image of the area, specifically executed by step 1021, specifically includes:

步骤1021、根据预先划分好的子区域,确定摄像头模组拍摄子区域的路径,根据路径控制摄像头模组进行转动,以使摄像头模组在转动的过程中拍摄不同子区域的图像。Step 1021: Determine a path for the camera module to shoot the sub-region according to the pre-divided sub-regions, and control the camera module to rotate according to the path, so that the camera module captures images of different sub-regions during the rotation.

当拍摄模式为全局扫描模式时,需要拍摄目标区域的整体的图像,或者目标区域中目标物体的整体图像,例如拍摄目标区域中整体的文字,或者拍摄目标区域中试卷上的文字。此时,需要在预先划分好的子区域中,确定摄像头拍摄子区域的路径。在本实施例中,路径可以预先进行设置,或者是,终端设备自动根据目标物体自动计算最优的路径。示例性的,在一个实施例中,例如对于图4所示的子区域,确定出摄像头模组的拍摄子区域的路径为:1-1、1-2……1-7、2-7、2-6……2-1……5-7,如图10所示。又或者是,确定摄像头拍摄子区域的路径为1-1、2-1、……5-2、4-2……1-2……5-7,如图11所示。When the shooting mode is the global scanning mode, it is necessary to shoot the whole image of the target area, or the whole image of the target object in the target area, for example, the whole text in the target area, or the text on the test paper in the target area. At this time, it is necessary to determine the path of the sub-areas captured by the camera in the pre-divided sub-areas. In this embodiment, the path can be set in advance, or the terminal device can automatically calculate the optimal path according to the target object. Exemplarily, in one embodiment, for example, for the sub-areas shown in 2-6...2-1...5-7, as shown in Figure 10. Or, it is determined that the paths of the sub-regions captured by the camera are 1-1, 2-1, ... 5-2, 4-2 ... 1-2 ... 5-7, as shown in FIG. 11 .

在确定了摄像头模组拍摄子区域的路径后,终端设备即可根据路径控制摄像头模组进行转动,使得摄像头模组能够根据与路径相对应的顺序对各个子区域进行拍摄,从而得到不同子区域的图像。After determining the path for the camera module to shoot the sub-regions, the terminal device can control the camera module to rotate according to the path, so that the camera module can shoot each sub-region according to the sequence corresponding to the path, so as to obtain different sub-regions Image.

在另一个实施例中,拍摄模式为局部扫描模式,相应的,步骤102中根据拍摄模式以及预先划分好的子区域,控制摄像头模组进行转动,以使摄像头模组在转动的过程中拍摄不同子区域的图像,具体由步骤1022-步骤1024执行,具体包括:In another embodiment, the shooting mode is a local scanning mode. Correspondingly, in step 102, the camera module is controlled to rotate according to the shooting mode and the pre-divided sub-regions, so that the camera module can shoot different pictures during the rotation process. The image of the sub-region is specifically executed by steps 1022 to 1024, including:

步骤1022、实时获取目标区域的全局图像。Step 1022: Acquire a global image of the target area in real time.

当拍摄模式为局部扫描模式时,摄像头模组需要对目标区域中的局部区域进行扫描。首先,需要实时获取目标区域的全局图像。其中,全局图像可通过摄像头模组中视场角较大的摄像头拍摄得到,或者是通过摄像头模组中的可旋转摄像头在全局扫描模式下对目标区域进行全局拍摄得到。When the shooting mode is the local scanning mode, the camera module needs to scan the local area in the target area. First, a global image of the target area needs to be acquired in real time. The global image can be obtained by photographing a camera with a larger field of view in the camera module, or by globally photographing the target area by a rotatable camera in the camera module in a global scan mode.

步骤1023、在全局图像中确定所需要拍摄的第一区域。Step 1023: Determine the first area to be photographed in the global image.

在得到目标区域后,需要在全局图像中进一步确定出所需要拍摄的第一区域。在本实施例中,第一区域可预先进行设置,例如固定全局图像中的某一个区域为第一区域,或者是,可预先在终端设备中设置第一区域的目标特征,终端设备在获取到全局图像后,自动对全局图像进行图像识别,在全局图像中获取目标特征,从而确定出全局图像中所需要拍摄的第一区域。示例性的,在一个实施例中,通过局部扫描模式来拍摄目标区域的试卷中所填写的文字内容时,将目标特征设置为用户所填写的笔迹,此时首先拍摄目标区域中的全局图像,之后,再从全局图像中识别出试卷相对应的试卷区域,最后,利用图像处理算法,即可从试卷区域中识别出用户所填写的笔迹的区域,将该区域作为第一区域。After the target area is obtained, the first area to be photographed needs to be further determined in the global image. In this embodiment, the first area can be set in advance, for example, a certain area in the global image is fixed as the first area, or, the target feature of the first area can be set in the terminal device in advance, and the terminal device obtains the target feature of the first area in advance. After the global image is obtained, image recognition is automatically performed on the global image, and target features are acquired in the global image, thereby determining the first area to be photographed in the global image. Exemplarily, in one embodiment, when the text content filled in the test paper of the target area is photographed by the partial scanning mode, the target feature is set to the handwriting filled in by the user, and at this time, the global image in the target area is first photographed, Then, the area of the test paper corresponding to the test paper is identified from the global image, and finally, using the image processing algorithm, the area of the handwriting filled in by the user can be identified from the area of the test paper, and this area is used as the first area.

步骤1024、确定第一区域中包含的第一子区域,确定摄像头模组拍摄第一子区域的第一路径,根据第一路径控制摄像头模组进行转动,以使摄像头模组在转动的过程中拍摄第一子区域的图像。Step 1024: Determine the first sub-region included in the first region, determine the first path for the camera module to shoot the first sub-region, and control the camera module to rotate according to the first path, so that the camera module is in the process of rotating An image of the first sub-region is captured.

在全局图像中确定出了第一区域后,进一步确定第一区域中所包含的第一子区域,根据第一子区域,确定出摄像头模组拍摄第一子区域时的第一路径,之后,即可根据第一路径控制摄像头模组进行转动,从而使得摄像头模组在转动过程中,拍摄到第一子区域的图像。示例性的,在一个实施例中,根据用户所填写的笔迹的区域,确定摄像头模组的第一路径,之后根据第一路径控制摄像头模组进行转动,使得摄像头模组在转动过程中能够拍摄到与用户所填写的笔迹的区域相对应的图像。After the first area is determined in the global image, the first sub-area included in the first area is further determined, and according to the first sub-area, the first path when the camera module shoots the first sub-area is determined, and then, The camera module can be controlled to rotate according to the first path, so that the camera module can capture an image of the first sub-area during the rotation process. Exemplarily, in one embodiment, the first path of the camera module is determined according to the area of the handwriting filled in by the user, and then the camera module is controlled to rotate according to the first path, so that the camera module can shoot during the rotation process. to the image corresponding to the area of the handwriting filled in by the user.

在一个实施例中,拍摄模式为目标追踪模式,相应的,步骤102中根据拍摄模式以及预先划分好的子区域,控制摄像头模组进行转动,以使摄像头模组在转动的过程中拍摄不同子区域的图像,具体由步骤1025-步骤1028执行,具体包括:In one embodiment, the shooting mode is the target tracking mode. Correspondingly, in step 102, the camera module is controlled to rotate according to the shooting mode and the pre-divided sub-regions, so that the camera module can shoot different sub-regions during the rotation process. The image of the area, which is specifically executed from steps 1025 to 1028, specifically includes:

步骤1025、在目标区域中确定目标物体的位置,确定与位置相对应的第二子区域。Step 1025: Determine the position of the target object in the target area, and determine the second sub-area corresponding to the position.

当拍摄模式为目标追踪模式时,需要确定目标物体在目标区域中的位置。示例性的,可通过摄像头模组上的事件相机(动态视觉传感器)对目标物体进行跟踪,从而确定目标物体在目标区域中的位置。之后,根据目标物体在目标区域中的位置,确定与位置相对应的第二子区域,即目标物体所在的第二子区域。示例性的,在一个实施例中,目标物体为用户正在使用的笔或者手,利用事件相机对用户正在使用的笔或者手进行追踪,识别出用户正在使用的笔或者手的位置,根据位置确定用户正在使用的笔或者手所在的第二子区域。When the shooting mode is the target tracking mode, the position of the target object in the target area needs to be determined. Exemplarily, the target object can be tracked by an event camera (dynamic vision sensor) on the camera module, so as to determine the position of the target object in the target area. Then, according to the position of the target object in the target area, a second sub-area corresponding to the position is determined, that is, the second sub-area where the target object is located. Exemplarily, in one embodiment, the target object is the pen or hand that the user is using, and the event camera is used to track the pen or hand that the user is using, identify the position of the pen or hand that the user is using, and determine the position according to the location. The second sub-area where the pen or hand the user is using.

步骤1026、确定摄像头模组转动到与第二子区域相对应的目标角度。Step 1026: Determine that the camera module is rotated to a target angle corresponding to the second sub-area.

在确定了目标物体所在的第二子区域后,控制摄像投模组转动到与第二子区域相对应的目标角度。在本实施例中,可预先确定出摄像头模组与每一个子区域相对应的角度。示例性的,对于图4中的任意一个第i行j列的子区域,确定摄像头模组与该子区域相对应的一个角度(αi,αj),其中αi,αj分别表示摄像头模组绕横向旋转轴所需要旋转到的角度以及摄像头模组绕纵向旋转轴的所需要旋转到的角度,从而使得摄像头模组旋转到角度(αi,αj)时,摄像头模组拍摄的中心能够对准子区域的中心点。After the second sub-area where the target object is located is determined, the camera projection module is controlled to rotate to a target angle corresponding to the second sub-area. In this embodiment, the angle of the camera module corresponding to each sub-area can be determined in advance. Exemplarily, for any sub-region in the i-th row and j-column in FIG. 4, an angle (αi, αj) corresponding to the camera module and the sub-region is determined, wherein αi, αj respectively represent the camera module around the horizontal direction. The angle to which the rotation axis needs to be rotated and the angle to which the camera module needs to rotate around the longitudinal rotation axis, so that when the camera module rotates to the angle (αi, αj), the center of the camera module can be aligned with the sub-area the center point.

步骤1027、控制摄像头模组转动到目标角度,以使摄像头模组拍摄第二子区域的图像。Step 1027 , controlling the camera module to rotate to the target angle, so that the camera module captures an image of the second sub-region.

之后,控制摄像头模组转动到对应的目标角度,使得摄像头模组能够拍摄到第二子区域的图像。示例性的,当第二子区域是用户正在使用的笔或者用户的手所在的区域时,通过拍摄第二子区域的图像能够获取到用户所填写的笔迹,以便后续根据用户所填写的笔迹实现对应的辅助功能。After that, the camera module is controlled to rotate to a corresponding target angle, so that the camera module can capture an image of the second sub-region. Exemplarily, when the second sub-area is the pen that the user is using or the area where the user's hand is located, the handwriting filled in by the user can be acquired by taking an image of the second sub-area, so that the subsequent implementation can be realized according to the handwriting filled in by the user. corresponding auxiliary function.

以上即为步骤102中根据所述拍摄模式以及预先划分好的子区域,控制所述摄像头模组进行转动,以使所述摄像头模组在转动的过程中拍摄不同子区域的图像的具体过程。The above is the specific process of controlling the camera module to rotate according to the shooting mode and pre-divided sub-regions in step 102, so that the camera module can capture images of different sub-regions during the rotation process.

需要进一步说明的是,在本实施例中,步骤103中从图像中获取目标信息的方式同样存在多种方法,从而满足用户的不同需求。It should be further noted that, in this embodiment, there are also various methods for acquiring target information from an image in step 103, so as to meet different needs of users.

在一个实施例中,步骤103中从图像中获取目标信息,具体由步骤1031-步骤1032执行,包括:In one embodiment, obtaining target information from an image in step 103 is specifically performed by steps 1031 to 1032, including:

步骤1031、对图像进行合并,得到第二图像。Step 1031: Combine the images to obtain a second image.

在一个实施例中,在拍摄得到不同子区域的图像后,对不同子区域的图像进行合并,得到第二图像。例如,在全局扫描模式下,将拍摄得到的每个子区域的图像进行合并,从而得到第二图像,即目标区域的完整图像。具体的合并方式可根据拍摄的时间或者是拍摄的路径进行合并,在本实施例中不对具体的合并方式进行限定。In one embodiment, after images of different sub-regions are obtained by shooting, the images of different sub-regions are combined to obtain the second image. For example, in the global scanning mode, the images of each sub-region obtained by shooting are combined to obtain a second image, that is, a complete image of the target region. The specific merging manner may be combined according to the shooting time or the shooting path, and the specific merging manner is not limited in this embodiment.

步骤1032、对第二图像进行文字识别,得到目标文字,根据目标文字在数据库中获取对应的标准文字,将目标文字与标准文字进行比对,得到比对结果。Step 1032: Perform text recognition on the second image to obtain the target text, obtain the corresponding standard text in the database according to the target text, compare the target text with the standard text, and obtain a comparison result.

在一个实施例中,终端设备还与数据库相连接,当目标区域内放置有试卷或者课本等物体时,合并得到的第二图像中会包含和试卷或课本相对应的物体的画面,因此进一步对第二图像进行文字识别,从第二图像中获取试卷上或者课本上的目标文字,之后,进一步根据目标文字在数据库中进行检索,获取与目标文字相对应的标准文字。在一个实施例中,可根据目标文字整体和数据库中的某一段文字的重合率,从数据库中获取相对应的标准文字,之后,再将目标文字和标准文字进行比对,从而得到比对结果,并根据比对结果,执行相应的学习辅助功能。例如,若试卷上的题型为填空题时,则可以根据比对结果,确定用户所填写的内容是否正确,若正确则可以发出相应的提示,若不正确,则可以显示正确的标准文字,供用户进行参考,以及根据比对结果,寻找与用户填写错误的地方相对应的知识点,根据知识点查找对应的练习题并推送给用户。In one embodiment, the terminal device is further connected to the database, and when objects such as test papers or textbooks are placed in the target area, the second image obtained by combining will include images of the objects corresponding to the test papers or textbooks. Character recognition is performed on the second image, and the target characters on the test paper or textbook are obtained from the second image, and then the database is further retrieved according to the target characters to obtain standard characters corresponding to the target characters. In one embodiment, the corresponding standard text can be obtained from the database according to the coincidence rate of the entire target text and a certain piece of text in the database, and then the target text and the standard text can be compared to obtain a comparison result , and according to the comparison result, execute the corresponding learning auxiliary function. For example, if the question type on the test paper is a fill-in-the-blank question, it can be determined whether the content filled in by the user is correct according to the comparison result. If it is correct, a corresponding prompt can be issued. For the user's reference, and according to the comparison result, find the knowledge point corresponding to the wrong place the user fills in, find the corresponding practice questions according to the knowledge point and push it to the user.

在另一个实施例中,步骤103中从图像中获取目标信息,具体由步骤1033执行,包括:In another embodiment, obtaining target information from the image in step 103, specifically executed by step 1033, includes:

步骤1033、对图像进行文字识别,得到目标文字,根据目标文字在数据库中获取对应的标准文字,将目标文字与标准文字进行比对,得到比对结果。Step 1033: Perform text recognition on the image to obtain the target text, obtain the corresponding standard text in the database according to the target text, compare the target text with the standard text, and obtain a comparison result.

在另一给实施例中,也可以不对各个子区域的图像进行合并,而是直接对每个子区域的图像进行处理。示例性的,当拍摄模式为局部扫描模式时,则对应拍摄到的每一张图像进行文字识别,得到目标文字,并根据目标文字在数据库中获取对应的标准文字,将目标文字与标准文字进行比对,得到比对结果,最后在根据比对结果,执行相对应的学习辅助功能。具体过程可参考步骤1032中的具体过程,在本实施例中不再进行赘述。In another embodiment, the images of each sub-region may not be merged, but the images of each sub-region may be directly processed. Exemplarily, when the shooting mode is the local scanning mode, character recognition is performed corresponding to each photographed image to obtain the target text, and the corresponding standard text is obtained in the database according to the target text, and the target text is compared with the standard text. Compare, get the comparison result, and finally execute the corresponding learning auxiliary function according to the comparison result. For the specific process, reference may be made to the specific process in step 1032, which is not repeated in this embodiment.

在另一个实施例中,步骤103中从图像中获取目标信息,具体由步骤1034-步骤1036执行,具体包括:In another embodiment, obtaining target information from an image in step 103 is specifically performed by steps 1034 to 1036, and specifically includes:

步骤1034、获取预设时间段内拍摄得到的所有图像,从所有图像的每一张图像中提取字迹信息。Step 1034: Acquire all images captured within a preset time period, and extract handwriting information from each image of all the images.

在一个实施例中,在得到图像后,获取预设时间段内拍摄得到的所有图像,并对每一张图像进行图像处理,从图像中提取用户填写的字迹信息。示例性的,当拍摄模式为目标追踪模式且追踪的目标物体为用户正在使用的笔时,当拍摄到用户正在使用的笔所在的子区域的图像后,获取历史一段时间以来所拍摄到的所有图像,可理解,预设时间段可根据实际需要进行设置。例如当前时间点前1分钟内为预设时间段,在本实施例中不对预设时间段的具体时间进行限定。之后,从获取到的所有图像的每一张图像中提取出用户所填写的字迹信息。In one embodiment, after the images are obtained, all images captured within a preset time period are obtained, and image processing is performed on each image, and the handwriting information filled in by the user is extracted from the images. Exemplarily, when the shooting mode is the target tracking mode and the tracked target object is the pen being used by the user, after capturing the image of the sub-area where the pen being used by the user is located, all images captured over a period of time in the history are obtained. Image, understandably, the preset time period can be set according to actual needs. For example, one minute before the current time point is a preset time period, and the specific time of the preset time period is not limited in this embodiment. After that, the handwriting information filled in by the user is extracted from each image of all the acquired images.

步骤1035、根据字迹信息确定笔顺顺序,以及根据字迹信息获取相对应的标准笔顺顺序。Step 1035: Determine the stroke order according to the handwriting information, and obtain the corresponding standard stroke order according to the handwriting information.

之后,根据从所有图形中提取到的字迹信息,即可确定出用户的笔迹信息,并且通过对字迹信息进行文字识别,可以确定出与字迹信息相对应的文字,从而确定用户所撰写的文字,根据文字即可获取到文字的标准笔顺顺序。示例性的,在一个实施例中,终端设备和互联网的服务器相连接,终端设备可从互联网的服务器中获取文字的标准笔顺顺序。可理解,在本实施例中,根据文字获取标准笔顺顺序的方式的可根据实际需要进行设置。After that, according to the handwriting information extracted from all the graphics, the user's handwriting information can be determined, and by performing text recognition on the handwriting information, the text corresponding to the handwriting information can be determined, thereby determining the text written by the user, According to the text, the standard stroke order of the text can be obtained. Exemplarily, in one embodiment, the terminal device is connected to a server on the Internet, and the terminal device can obtain the standard stroke order of characters from the server on the Internet. It can be understood that, in this embodiment, the method of obtaining the standard stroke order according to the text can be set according to actual needs.

步骤1036、将笔顺顺序与标准笔顺顺序进行比对,得到比对结果。Step 1036: Compare the stroke order with the standard stroke order to obtain a comparison result.

最后,将用户填写的笔顺顺序和标准笔顺顺序进行比对,得到比对结果,从而确认用户在撰写文字的过程中,笔顺顺序是否正确,若笔顺顺序不正确,则可以向发送相应的提示,并提醒出笔顺顺序中错误笔画以及提供正确的标注笔顺顺序,供用户进行参考并矫正,起到辅助用户学习的作用。Finally, compare the stroke order filled in by the user with the standard stroke order, and get the comparison result, so as to confirm whether the stroke order is correct in the process of writing the text. If the stroke order is incorrect, you can send a corresponding prompt to It also reminds the wrong strokes in the stroke order and provides the correct marking stroke order for users to refer to and correct, which plays a role in assisting users in learning.

如图12所示,如图12为本发明实施例提供的一种图像拍摄装置的结构示意图,图像拍摄装置应用于终端设备,终端设备包括有摄像头模组,摄像头模组可自由转动以拍摄到不同区域的图像,图像拍摄装置包括:模式确定模块401、控制模块402以及信息获取模块403;As shown in FIG. 12, FIG. 12 is a schematic structural diagram of an image capturing device provided by an embodiment of the present invention. The image capturing device is applied to a terminal device, and the terminal device includes a camera module, and the camera module can be freely rotated to capture the For images of different regions, the image capturing device includes: a mode determination module 401, a control module 402 and an information acquisition module 403;

模式确定模块401用于确定目标区域的拍摄模式。The mode determination module 401 is used to determine the shooting mode of the target area.

控制模块402用于根据拍摄模式以及预先划分好的子区域,控制摄像头模组进行转动,以使摄像头模组在转动的过程中拍摄不同子区域的图像;其中,子区域通过预先对目标区域进行划分得到。The control module 402 is used to control the camera module to rotate according to the shooting mode and the pre-divided sub-regions, so that the camera module captures images of different sub-regions during the rotation; divided.

信息获取模块403用于从图像中获取目标信息。The information acquisition module 403 is used for acquiring target information from the image.

在上述实施例的基础上,控制模块402用于对目标区域进行划分,包括:On the basis of the above embodiment, the control module 402 is used to divide the target area, including:

用于根据目标区域确定摄像头模组转动时的角度范围;确定摄像头模组每次转动的步长;控制摄像头模组在角度范围内根据步长进行转动,将每次转动后摄像头模组所拍摄到的区域划分为一个子区域。It is used to determine the angle range when the camera module rotates according to the target area; determine the step length of each rotation of the camera module; control the camera module to rotate according to the step length within the angle range, and record the images captured by the camera module after each rotation. The arrived area is divided into a sub-area.

在上述实施例的基础上,控制模块402用于对目标区域进行划分,包括:On the basis of the above embodiment, the control module 402 is used to divide the target area, including:

用于获取目标图像,目标图像通过拍摄目标区域得到;在目标图像中确定目标物体的边界,在目标图像中确定出与边界的范围相对应的第一图像,对第一图像进行划分,得到多个子区域。It is used to obtain the target image, and the target image is obtained by shooting the target area; the boundary of the target object is determined in the target image, the first image corresponding to the range of the boundary is determined in the target image, and the first image is divided to obtain multiple sub-regions.

在上述实施例的基础上,控制模块402用于对第一图像进行划分,得到多个子区域,包括:On the basis of the above embodiment, the control module 402 is configured to divide the first image to obtain a plurality of sub-regions, including:

用于将第一图像在横向上均匀划分为M列,将每一列在纵向上非均匀划分为N行,得到M×N个子区域。It is used to divide the first image into M columns uniformly in the lateral direction, and divide each column into N rows non-uniformly in the longitudinal direction to obtain M×N sub-regions.

在上述实施例的基础上,控制模块402用于对第一图像进行划分,得到多个子区域,包括:On the basis of the above embodiment, the control module 402 is configured to divide the first image to obtain a plurality of sub-regions, including:

用于对第一图像进行文字识别,得到第一图像内的文字;确定文字的大小,根据文字的大小对第一图像进行划分,得到多个子区域。It is used to perform character recognition on the first image to obtain the characters in the first image; determine the size of the characters, and divide the first image according to the size of the characters to obtain a plurality of sub-regions.

在上述实施例的基础上,控制模块402用于根据文字大小对第一图像进行划分,得到多个子区域,包括:On the basis of the above embodiment, the control module 402 is configured to divide the first image according to the text size to obtain a plurality of sub-regions, including:

用于将第一图像在横向上均匀划分为M列,将每一列在纵向上非均匀划分为N行,得到M×N个子区域,且每个子区域的大小与文字的大小为正相关。It is used to evenly divide the first image into M columns in the horizontal direction, and divide each column into N rows non-uniformly in the vertical direction to obtain M×N sub-regions, and the size of each sub-region is positively correlated with the size of the text.

在上述实施例的基础上,控制模块402用于对第一图像进行划分,得到多个子区域,包括:On the basis of the above embodiment, the control module 402 is configured to divide the first image to obtain a plurality of sub-regions, including:

用于确定第一图像的模板类型,获取与模板类型相对应的划分规则,根据划分规则对第一图像进行划分,得到多个子区域。It is used to determine the template type of the first image, obtain a division rule corresponding to the template type, and divide the first image according to the division rule to obtain a plurality of sub-regions.

在上述实施例的基础上,拍摄模式为全局扫描模式、局部扫描模式以及目标追踪模式中的任意一种。On the basis of the above embodiment, the shooting mode is any one of the global scanning mode, the local scanning mode and the target tracking mode.

在上述实施例的基础上,拍摄模式为全局扫描模式,相应的,控制模块402用于根据拍摄模式以及预先划分好的子区域,控制摄像头模组进行转动,以使摄像头模组在转动的过程中拍摄不同子区域的图像,包括:On the basis of the above embodiment, the shooting mode is the global scanning mode. Correspondingly, the control module 402 is used to control the camera module to rotate according to the shooting mode and the pre-divided sub-regions, so that the camera module is in the process of rotating images of different sub-areas in the , including:

用于根据预先划分好的子区域,确定摄像头模组拍摄子区域的路径,根据路径控制摄像头模组进行转动,以使摄像头模组在转动的过程中拍摄不同子区域的图像。It is used to determine the path of the camera module to shoot the sub-region according to the pre-divided sub-region, and control the camera module to rotate according to the path, so that the camera module can capture images of different sub-regions during the rotation.

在上述实施例的基础上,拍摄模式为局部扫描模式,相应的,控制模块402用于根据拍摄模式以及预先划分好的子区域,控制摄像头模组进行转动,以使摄像头模组在转动的过程中拍摄不同子区域的图像,包括:On the basis of the above-mentioned embodiment, the shooting mode is the local scanning mode. Correspondingly, the control module 402 is configured to control the camera module to rotate according to the shooting mode and the pre-divided sub-regions, so that the camera module is in the process of rotating images of different sub-areas in the , including:

用于实时获取目标区域的全局图像;在全局图像中确定所需要拍摄的第一区域;确定第一区域中包含的第一子区域,确定摄像头模组拍摄第一子区域的第一路径,根据第一路径控制摄像头模组进行转动,以使摄像头模组在转动的过程中拍摄第一子区域的图像。For obtaining the global image of the target area in real time; determining the first area to be shot in the global image; determining the first sub-area included in the first area, and determining the first path for the camera module to shoot the first sub-area, according to The first path controls the camera module to rotate, so that the camera module captures an image of the first sub-area during the rotation.

在上述实施例的基础上,拍摄模式为目标追踪模式,相应的,控制模块402用于根据拍摄模式以及预先划分好的子区域,控制摄像头模组进行转动,以使摄像头模组在转动的过程中拍摄不同子区域的图像,包括:On the basis of the above embodiment, the shooting mode is the target tracking mode. Correspondingly, the control module 402 is used to control the camera module to rotate according to the shooting mode and the pre-divided sub-regions, so that the camera module is in the process of rotating images of different sub-areas in the , including:

用于在目标区域中确定目标物体的位置,确定与位置相对应的第二子区域;确定摄像头模组转动到与第二子区域相对应的目标角度;控制摄像头模组转动到目标角度,以使摄像头模组拍摄第二子区域的图像。It is used to determine the position of the target object in the target area, and determine the second sub-area corresponding to the position; determine that the camera module rotates to the target angle corresponding to the second sub-area; control the camera module to rotate to the target angle to Make the camera module capture images of the second sub-region.

在上述实施例的基础上,信息获取模块403用于从图像中获取目标信息,包括:On the basis of the above embodiment, the information acquisition module 403 is used to acquire target information from the image, including:

用于对图像进行合并,得到第二图像;对第二图像进行文字识别,得到目标文字,根据目标文字在数据库中获取对应的标准文字,将目标文字与标准文字进行比对,得到比对结果。It is used to combine images to obtain a second image; perform text recognition on the second image to obtain target text, obtain corresponding standard text in the database according to the target text, compare the target text with the standard text, and obtain the comparison result .

在上述实施例的基础上,信息获取模块403用于从图像中获取目标信息,包括:On the basis of the above embodiment, the information acquisition module 403 is used to acquire target information from the image, including:

用于对图像进行文字识别,得到目标文字,根据目标文字在数据库中获取对应的标准文字,将目标文字与标准文字进行比对,得到比对结果。It is used to perform text recognition on the image to obtain the target text, obtain the corresponding standard text in the database according to the target text, compare the target text with the standard text, and obtain the comparison result.

在上述实施例的基础上,信息获取模块403用于从图像中获取目标信息,包括:On the basis of the above embodiment, the information acquisition module 403 is used to acquire target information from the image, including:

用于获取预设时间段内拍摄得到的所有图像,从所有图像的每一张图像中提取字迹信息;根据字迹信息确定笔顺顺序,以及根据字迹信息获取相对应的标准笔顺顺序;将笔顺顺序与标准笔顺顺序进行比对,得到比对结果。It is used to obtain all images captured within a preset time period, and extract handwriting information from each image of all images; determine the stroke order according to the handwriting information, and obtain the corresponding standard stroke order according to the handwriting information; The standard stroke order is compared to obtain the comparison result.

本实施例还提供了一种终端设备,如图13所示,一种终端设备50,所述终端设备包括处理器500以及存储器501;This embodiment also provides a terminal device, as shown in FIG. 13 , a terminal device 50 , the terminal device includes a processor 500 and a memory 501;

所述存储器501用于存储计算机程序502,并将所述计算机程序502传输给所述处理器;The memory 501 is used to store the computer program 502 and transmit the computer program 502 to the processor;

所述处理器500用于根据所述计算机程序502中的指令执行上述的一种图像拍摄方法实施例中的步骤。The processor 500 is configured to execute the steps in the above-mentioned embodiment of an image capturing method according to the instructions in the computer program 502 .

示例性的,所述计算机程序502可以被分割成一个或多个模块/单元,所述一个或者多个模块/单元被存储在所述存储器501中,并由所述处理器500执行,以完成本申请。所述一个或多个模块/单元可以是能够完成特定功能的一系列计算机程序指令段,该指令段用于描述所述计算机程序502在所述终端设备50中的执行过程。Exemplarily, the computer program 502 may be divided into one or more modules/units, and the one or more modules/units are stored in the memory 501 and executed by the processor 500 to complete the this application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, and the instruction segments are used to describe the execution process of the computer program 502 in the terminal device 50 .

所述终端设备50可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。所述终端设备50可包括,但不仅限于,处理器500、存储器501。本领域技术人员可以理解,图13仅仅是终端设备50的示例,并不构成对终端设备50的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述终端设备50还可以包括输入输出设备、网络接入设备、总线等。The terminal device 50 may be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server. The terminal device 50 may include, but is not limited to, a processor 500 and a memory 501 . Those skilled in the art can understand that FIG. 13 is only an example of the terminal device 50, and does not constitute a limitation on the terminal device 50. It may include more or less components than the one shown, or combine some components, or different components For example, the terminal device 50 may further include an input and output device, a network access device, a bus, and the like.

所称处理器500可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The so-called processor 500 may be a central processing unit (Central Processing Unit, CPU), and may also be other general-purpose processors, digital signal processors (Digital Signal Processors, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), Off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.

所述存储器501可以是所述终端设备50的内部存储单元,例如终端设备50的硬盘或内存。所述存储器501也可以是所述终端设备50的外部存储终端设备,例如所述终端设备50上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(SecureDigital,SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器501还可以既包括所述终端设备50的内部存储单元也包括外部存储设备。所述存储器501用于存储所述计算机程序以及所述终端设备50所需的其他程序和数据。所述存储器501还可以用于暂时地存储已经输出或者将要输出的数据。The memory 501 may be an internal storage unit of the terminal device 50 , such as a hard disk or a memory of the terminal device 50 . The memory 501 may also be an external storage terminal device of the terminal device 50, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) equipped on the terminal device 50. card, flash card (Flash Card) and so on. Further, the memory 501 may also include both an internal storage unit of the terminal device 50 and an external storage device. The memory 501 is used to store the computer program and other programs and data required by the terminal device 50 . The memory 501 can also be used to temporarily store data that has been output or will be output.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。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 in this application, 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 such 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 computer programs.

本发明实施例还提供一种包含计算机可执行指令的存储介质,计算机可执行指令在由计算机处理器执行时用于执行一种图像拍摄方法,应用于终端设备,终端设备包括有摄像头模组,摄像头模组可自由转动以拍摄到不同区域的图像,方法包括:Embodiments of the present invention further provide a storage medium containing computer-executable instructions, the computer-executable instructions are used to execute an image capturing method when executed by a computer processor, and are applied to a terminal device, where the terminal device includes a camera module, The camera module can be rotated freely to capture images of different areas, and the methods include:

确定目标区域的拍摄模式;Determine the shooting mode of the target area;

根据拍摄模式以及预先划分好的子区域,控制摄像头模组进行转动,以使摄像头模组在转动的过程中拍摄不同子区域的图像;其中,子区域通过预先对目标区域进行划分得到;Control the camera module to rotate according to the shooting mode and the pre-divided sub-regions, so that the camera module can capture images of different sub-regions during the rotation; wherein, the sub-regions are obtained by pre-dividing the target region;

从图像中获取目标信息。Get target information from the image.

注意,上述仅为本发明实施例的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明实施例不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明实施例的保护范围。因此,虽然通过以上实施例对本发明实施例进行了较为详细的说明,但是本发明实施例不仅仅限于以上实施例,在不脱离本发明实施例构思的情况下,还可以包括更多其他等效实施例,而本发明实施例的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments and applied technical principles of the embodiments of the present invention. Those skilled in the art will understand that the embodiments of the present invention are not limited to the specific embodiments described herein, and various obvious changes, readjustments and substitutions can be made to those skilled in the art without departing from the protection scope of the embodiments of the present invention . Therefore, although the embodiments of the present invention have been described in detail through the above embodiments, the embodiments of the present invention are not limited to the above embodiments, and may also include more other equivalents without departing from the concept of the embodiments of the present invention. Examples, the scope of the embodiments of the invention is determined by the scope of the appended claims.

Claims (17)

1. An image shooting method is applied to terminal equipment, and is characterized in that the terminal equipment comprises a camera module which can freely rotate to shoot images in different areas, and the method comprises the following steps:
determining a shooting mode of a target area;
controlling the camera module to rotate according to the shooting mode and the pre-divided sub-regions so as to enable the camera module to shoot images of different sub-regions in the rotating process; the sub-area is obtained by dividing a target area in advance;
target information is obtained from the image.
2. An image capturing method as claimed in claim 1, wherein the dividing of the target area comprises:
determining the angle range of the camera module when rotating according to the target area;
determining the step length of each rotation of the camera module;
and controlling the camera module to rotate within the angle range according to the step length, and dividing the area shot by the camera module after each rotation into a sub-area.
3. An image capturing method as claimed in claim 1, wherein the dividing of the target area comprises:
acquiring a target image, wherein the target image is obtained by shooting the target area;
determining a boundary of a target object in the target image, determining a first image corresponding to the range of the boundary in the target image, and dividing the first image to obtain a plurality of sub-regions.
4. An image capturing method as claimed in claim 3, wherein the dividing the first image into a plurality of sub-regions comprises:
and uniformly dividing the first image into M columns in the transverse direction, and non-uniformly dividing each column into N rows in the longitudinal direction to obtain M multiplied by N sub-regions.
5. An image capturing method as claimed in claim 3, wherein the dividing the first image into a plurality of sub-regions comprises:
performing character recognition on the first image to obtain characters in the first image;
and determining the size of the characters, and dividing the first image according to the size of the characters to obtain a plurality of sub-regions.
6. The image capturing method according to claim 5, wherein the dividing the first image according to the text size to obtain a plurality of sub-regions comprises:
the first image is uniformly divided into M rows in the transverse direction, each row is non-uniformly divided into N rows in the longitudinal direction, M multiplied by N sub-regions are obtained, and the size of each sub-region is positively correlated with the size of the characters.
7. An image capturing method as claimed in claim 3, wherein the dividing the first image into a plurality of sub-regions comprises:
determining the template type of the first image, acquiring a division rule corresponding to the template type, and dividing the first image according to the division rule to obtain a plurality of sub-regions.
8. An image capturing method according to claim 1, wherein the capturing mode is any one of a global scanning mode, a local scanning mode, and a target tracking mode.
9. The image capturing method according to claim 8, wherein the capturing mode is a global scan mode, and accordingly, the controlling the camera module to rotate according to the capturing mode and the pre-divided sub-regions so that the camera module captures images of different sub-regions during the rotation includes:
determining a path of the camera module for shooting the subareas according to the pre-divided subareas, and controlling the camera module to rotate according to the path so as to enable the camera module to shoot images of different subareas in the rotating process.
10. The image capturing method according to claim 8, wherein the capturing mode is a local scanning mode, and accordingly, the controlling the camera module to rotate according to the capturing mode and the pre-divided sub-regions so that the camera module captures images of different sub-regions during the rotation includes:
acquiring a global image of the target area in real time;
determining a first area needing to be shot in the global image;
determining a first sub-area contained in the first area, determining a first path of the camera module for shooting the first sub-area, and controlling the camera module to rotate according to the first path so that the camera module shoots an image of the first sub-area in the rotating process.
11. An image capturing method according to claim 8, wherein the capturing mode is a target tracking mode, and accordingly, the controlling the camera module to rotate according to the capturing mode and the pre-divided sub-regions so that the camera module captures images of different sub-regions during the rotation process includes:
determining the position of a target object in the target area, and determining a second sub-area corresponding to the position;
determining a target angle of the camera module rotating to correspond to the second sub-area;
and controlling the camera module to rotate to the target angle so as to enable the camera module to shoot the image of the second sub-area.
12. An image capturing method according to claim 1, wherein the acquiring of the target information from the image includes:
merging the images to obtain a second image;
and performing character recognition on the second image to obtain a target character, acquiring a corresponding standard character in a database according to the target character, and comparing the target character with the standard character to obtain a comparison result.
13. An image capturing method according to claim 1, wherein the acquiring of the target information from the image includes:
and performing character recognition on the image to obtain a target character, acquiring a corresponding standard character in a database according to the target character, and comparing the target character with the standard character to obtain a comparison result.
14. An image capturing method according to claim 1, wherein the acquiring of the target information from the image includes:
acquiring all images shot in a preset time period, and extracting handwriting information from each image of all the images;
determining a stroke order sequence according to the handwriting information, and acquiring a corresponding standard stroke order sequence according to the handwriting information;
and comparing the stroke order with a standard stroke order to obtain a comparison result.
15. The utility model provides an image shooting device, is applied to terminal equipment, its characterized in that, terminal equipment is including the camera module, but the camera module free rotation is in order to shoot the image in different regions, image shooting device includes: the device comprises a mode determining module, a control module and an information acquiring module;
the mode determining module is used for determining a shooting mode of a target area;
the control module is used for controlling the camera module to rotate according to the shooting mode and the pre-divided sub-regions, so that the camera module shoots images of different sub-regions in the rotating process; the sub-area is obtained by dividing a target area in advance;
the information acquisition module is used for acquiring target information from the image.
16. A terminal device, characterized in that the terminal device comprises a processor and a memory;
the memory is used for storing a computer program and transmitting the computer program to the processor;
the processor is adapted to perform an image capturing method according to any of claims 1-14 according to instructions in the computer program.
17. A storage medium storing computer-executable instructions for performing an image capture method as claimed in any one of claims 1 to 14 when executed by a computer processor.
CN202210303394.2A 2022-03-24 2022-03-24 Image shooting method, device, terminal equipment and storage medium Active CN114500857B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210303394.2A CN114500857B (en) 2022-03-24 2022-03-24 Image shooting method, device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210303394.2A CN114500857B (en) 2022-03-24 2022-03-24 Image shooting method, device, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114500857A true CN114500857A (en) 2022-05-13
CN114500857B CN114500857B (en) 2024-10-29

Family

ID=81487669

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210303394.2A Active CN114500857B (en) 2022-03-24 2022-03-24 Image shooting method, device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114500857B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116668645A (en) * 2023-08-01 2023-08-29 成都汉度科技有限公司 Substation moving ring monitoring method and equipment
CN117636698A (en) * 2023-12-28 2024-03-01 北京奥康达体育科技有限公司 Digital pull-up auxiliary training system for student examination
CN118521654A (en) * 2024-07-24 2024-08-20 浙江大华技术股份有限公司 Image analysis method, electronic device, computer-readable storage medium, and camera

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012195797A (en) * 2011-03-17 2012-10-11 Mitsubishi Electric Corp Pan-focus image generating device
CN106506965A (en) * 2016-11-29 2017-03-15 努比亚技术有限公司 A kind of image pickup method and terminal
CN107479729A (en) * 2017-06-20 2017-12-15 广州视源电子科技股份有限公司 Touch point positioning method, device and system, display terminal and writing pen
CN107749944A (en) * 2017-09-22 2018-03-02 华勤通讯技术有限公司 A kind of image pickup method and device
CN109639952A (en) * 2019-01-23 2019-04-16 广东小天才科技有限公司 Photographing question searching method and electronic equipment
CN110807803A (en) * 2019-10-11 2020-02-18 北京文香信息技术有限公司 A camera positioning method, device, equipment and storage medium
CN114202783A (en) * 2021-11-10 2022-03-18 深圳中电港技术股份有限公司 Target Tracking Method Based on Millimeter Wave Radar

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012195797A (en) * 2011-03-17 2012-10-11 Mitsubishi Electric Corp Pan-focus image generating device
CN106506965A (en) * 2016-11-29 2017-03-15 努比亚技术有限公司 A kind of image pickup method and terminal
CN107479729A (en) * 2017-06-20 2017-12-15 广州视源电子科技股份有限公司 Touch point positioning method, device and system, display terminal and writing pen
CN107749944A (en) * 2017-09-22 2018-03-02 华勤通讯技术有限公司 A kind of image pickup method and device
CN109639952A (en) * 2019-01-23 2019-04-16 广东小天才科技有限公司 Photographing question searching method and electronic equipment
CN110807803A (en) * 2019-10-11 2020-02-18 北京文香信息技术有限公司 A camera positioning method, device, equipment and storage medium
CN114202783A (en) * 2021-11-10 2022-03-18 深圳中电港技术股份有限公司 Target Tracking Method Based on Millimeter Wave Radar

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116668645A (en) * 2023-08-01 2023-08-29 成都汉度科技有限公司 Substation moving ring monitoring method and equipment
CN116668645B (en) * 2023-08-01 2023-09-29 成都汉度科技有限公司 Substation moving ring monitoring method and equipment
CN117636698A (en) * 2023-12-28 2024-03-01 北京奥康达体育科技有限公司 Digital pull-up auxiliary training system for student examination
CN117636698B (en) * 2023-12-28 2024-06-07 北京奥康达体育科技有限公司 Digital pull-up auxiliary training system for student examination
CN118521654A (en) * 2024-07-24 2024-08-20 浙江大华技术股份有限公司 Image analysis method, electronic device, computer-readable storage medium, and camera

Also Published As

Publication number Publication date
CN114500857B (en) 2024-10-29

Similar Documents

Publication Publication Date Title
US10841551B2 (en) User feedback for real-time checking and improving quality of scanned image
CN114500857B (en) Image shooting method, device, terminal equipment and storage medium
WO2020199906A1 (en) Facial keypoint detection method, apparatus and device, and storage medium
CN111091590B (en) Image processing method, device, storage medium and electronic equipment
US12100160B2 (en) Edge detection method and device, electronic apparatus and storage medium
US10452953B2 (en) Image processing device, image processing method, program, and information recording medium
CN108874187A (en) A kind of projector Notes System
US11073917B1 (en) Reading support system and method by relating book object to interactive content
US20230316673A1 (en) Method for determining correct scanning distance using augmented reality and machine learning models
CN109120854A (en) Image processing method, device, electronic equipment and storage medium
CN114120163A (en) Video frame processing method and device, and related equipment and storage medium thereof
CN112462941A (en) Teaching interaction method, device, system and medium based on gesture recognition
JP2018046337A (en) Information processing device, program and control method
CN111698426A (en) Test question shooting method and device, electronic equipment and storage medium
US10999513B2 (en) Information processing apparatus having camera function, display control method thereof, and storage medium
US10373329B2 (en) Information processing apparatus, information processing method and storage medium for determining an image to be subjected to a character recognition processing
Liang et al. Mosaicing of camera-captured document images
CN111860475B (en) Image processing method and device, electronic equipment and storage medium
CN109547678B (en) Processing method, device, equipment and readable storage medium
JP2017199288A (en) Image processing device, image processing method and program
US20210281742A1 (en) Document detections from video images
KR102196794B1 (en) System and method for supporting reading by linking additional content to book
CN110516660B (en) Method and device for reading book page content based on image features
KR102192558B1 (en) System and method for managing lecture for sharing taking notes
CN109145891B (en) Client, method for identifying identity card by client and system for identifying identity card

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