WO2020140976A1 - Image acquisition method, device, point-reading device, electronic device and storage medium - Google Patents

Image acquisition method, device, point-reading device, electronic device and storage medium Download PDF

Info

Publication number
WO2020140976A1
WO2020140976A1 PCT/CN2020/070297 CN2020070297W WO2020140976A1 WO 2020140976 A1 WO2020140976 A1 WO 2020140976A1 CN 2020070297 W CN2020070297 W CN 2020070297W WO 2020140976 A1 WO2020140976 A1 WO 2020140976A1
Authority
WO
WIPO (PCT)
Prior art keywords
angle
camera
plane
photographed
difference
Prior art date
Application number
PCT/CN2020/070297
Other languages
French (fr)
Chinese (zh)
Inventor
刘鑫
Original Assignee
北京字节跳动网络技术有限公司
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 北京字节跳动网络技术有限公司 filed Critical 北京字节跳动网络技术有限公司
Publication of WO2020140976A1 publication Critical patent/WO2020140976A1/en

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/66Remote control of cameras or camera parts, e.g. by remote control 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
    • 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

Definitions

  • Embodiments of the present disclosure relate to image acquisition technology, for example, to an image acquisition method, device, point reading device, electronic device, and storage medium.
  • the present disclosure provides an image acquisition method, device, point reading device, electronic device, and storage medium, to solve the problem in the related art that it is difficult to focus when the user manually moves the position of the electronic device to change the shooting angle.
  • an embodiment of the present disclosure provides an image acquisition method.
  • the method includes:
  • an image acquisition device which includes:
  • the plane information acquisition module is set to obtain the information of the plane where the object to be photographed is located;
  • the adjustment module is configured to adjust the difference between the included angle and the preset angle when the difference between the included angle between the optical axis of the camera and the plane where the object is to be captured and the preset angle is greater than the error threshold The value is less than or equal to the error threshold;
  • the image acquisition module is configured to acquire the image of the object to be photographed through the camera.
  • an embodiment of the present disclosure provides a point reading device including a main body, a controller located in the main body, and a camera located on the main body, the main body being mounted on the object to be photographed On the carrier where it is located, an image acquisition device according to any embodiment of the present disclosure is provided in the controller.
  • an embodiment of the present disclosure provides an electronic device.
  • the electronic device includes:
  • One or more processors are One or more processors;
  • Memory set to store one or more programs
  • the one or more programs are executed by the one or more processors, so that the one or more processors implement the image acquisition method according to any embodiment of the present disclosure.
  • an embodiment of the present disclosure provides a computer-readable storage medium that stores a computer program on the computer-readable storage medium, and when the computer program is executed by a processor, implemented as any embodiment of the present disclosure The image acquisition method described above.
  • Embodiment 1 is a flowchart of an image acquisition method provided in Embodiment 1 of the present disclosure
  • FIG. 2a is a flowchart of an image acquisition method provided in Embodiment 2 of the present disclosure
  • FIG. 2b is a schematic structural diagram of a point reading device according to Embodiment 2 of the present disclosure.
  • FIG. 2c is a schematic structural diagram of a camera provided by Embodiment 2 of the present disclosure.
  • Embodiment 3 is a schematic structural diagram of an image acquisition device provided in Embodiment 3 of the present disclosure.
  • FIG. 4 is a schematic structural diagram of a point reading device according to Embodiment 4 of the present disclosure.
  • FIG. 5 is a schematic structural diagram of an electronic device according to Embodiment 5 of the present disclosure.
  • each embodiment also provides optional features and examples.
  • the multiple features described in the embodiments can be combined to form multiple optional solutions.
  • Each numbered embodiment should not be Only regarded as a technical solution.
  • FIG. 1 is a flowchart of an image acquisition method according to Embodiment 1 of the present disclosure.
  • This embodiment can be applied to a method for acquiring an image when there is a difference between the angle between the optical axis of the camera and the plane where the object is to be captured and the preset angle.
  • the method may be performed by an image acquisition device, which may be composed of hardware and/or software, and may be integrated in electronic devices such as mobile phones, tablets, and computers.
  • the image acquisition method includes the following steps:
  • the object to be photographed may be, for example, a book, a newspaper, or a picture book, and the plane on which the object to be photographed may be, for example, the desktop where the book is located.
  • the object to be photographed may be used as a point-to-point reading material for the point-reading device to perform point-reading.
  • acquiring the information of the plane where the object to be shot includes taking an image of the plane through a camera, and extracting the outline of the plane.
  • the information of the plane may further include position information of the plane in the three-dimensional space, and the position information may be, for example, angle information between the plane and the horizontal direction and the vertical direction, respectively.
  • S120 Determine whether the difference between the included angle between the optical axis of the camera and the plane where the object is to be captured and the preset angle is greater than the error threshold.
  • the angle between the optical axis of the camera and the plane of the object to be photographed is the preset angle
  • the distance between the camera and the different regions of the object to be photographed is the same, and different regions of the object to be photographed can be simultaneously focused to ensure that a clear object is obtained Subject image.
  • the angle between the optical axis of the camera and the plane of the object to be photographed is different from the preset angle, the distance between the different regions of the object to be photographed and the camera is different, so it is difficult to achieve simultaneous focusing on different regions of the object to be photographed Therefore, the angle between the optical axis of the camera and the plane of the object to be photographed is adjusted so that the adjusted angle is the preset angle.
  • the angle between the optical axis of the camera and the plane where the object is to be captured is different from the preset angle, it can be determined by the difference between the included angle and the preset angle.
  • the difference is greater than the error threshold, the included angle can be determined
  • the deviation from the preset angle is larger, and the included angle is adjusted so that the included angle is equal to the preset angle.
  • the difference between the included angle and the preset angle can be referred to.
  • the difference is less than or equal to the error threshold, the adjustment can be completed.
  • the preset angle is 90°.
  • the included angle when adjusting the included angle, it can be achieved by adjusting the angle of the optical axis of the camera, or by adjusting the angle of the plane of the object to be photographed, or by adjusting the angle of the optical axis of the camera and the angle of the plane of the object to be photographed achieve.
  • the adjustment of the difference between the included angle and the preset angle is less than or equal to the error threshold includes: generating an angle adjustment instruction of the camera, and the angle adjustment instruction includes The tilt angle of the adjusted camera, and the difference between the angle between the optical axis of the adjusted camera and the plane where the object is to be captured and the preset angle is less than or equal to the error threshold.
  • the tilting of the camera according to the tilting angle can realize the tilting of the optical axis of the camera, so that the angle between the optical axis and the plane of the object to be photographed can be adjusted, the different areas of the object to be photographed can be simultaneously focused, and the image clarity of the object to be photographed can be improved.
  • the optical axis of the camera is perpendicular to the complementary metal oxide semiconductor (Complementary Metal Oxide Semiconductor (CMOS) sensor) in the camera.
  • CMOS complementary Metal Oxide Semiconductor
  • the angle adjustment of the camera can be achieved by adjusting the tilt angle of the CMOS sensor of the camera.
  • the generating the angle adjustment instruction of the camera includes: determining the adjusted camera tilt angle according to the mapping relationship between the included angle and the tilt angle, and the preset angle; according to the determined adjusted The tilt angle of the camera generates an angle adjustment instruction of the camera.
  • the mapping relationship may be a mutual relationship, for example, the included angle is 30°, the tilt angle is a clockwise tilt of 60°, the preset angle is 90°, and the CMOS sensor is tilted according to the tilt angle so that the included angle The difference between the angle and the preset angle is less than or equal to the error threshold.
  • the mapping relationship may also be an equal relationship, for example, the included angle is 30°, the tilt angle is counterclockwise tilted by 30°, the preset angle is 90°, and the CMOS sensor is tilted according to the tilt angle so that the included angle The difference between the angle and the preset angle is less than or equal to the error threshold.
  • the mapping relationship is not specifically limited here, as long as the camera is tilted according to the tilt angle so that the difference between the included angle and the preset angle is less than or equal to the error threshold.
  • the mapping relationship between the included angle and the tilt angle can increase the adjustment rate of the camera tilt, thereby improving the efficiency of acquiring the image of the object to be shot.
  • the camera can simultaneously focus on different areas of the object to be photographed, thereby improving the clarity of the image of the object to be photographed by the camera.
  • the image acquisition method provided by the embodiment of the present disclosure obtains the information of the plane of the object to be photographed; when the difference between the angle between the optical axis of the camera and the plane of the object to be photographed and the preset angle is greater than the error threshold, the included angle is adjusted The difference between the angle and the preset angle is less than or equal to the error threshold, and the angle between the optical axis of the camera and the plane of the object to be photographed can be adjusted to prevent the camera from being fixed at a certain angle between the camera and the plane of the object to be photographed.
  • the embodiments of the present disclosure can achieve simultaneous focusing of different shooting areas of the object to be achieved. Focusing automation improves the image clarity of the object to be shot and improves the user experience.
  • FIG. 2a is a schematic flowchart of an image acquisition method provided by the second embodiment of the present disclosure. This embodiment is embodied on the basis of multiple optional solutions in the above embodiments.
  • the image acquisition method includes the following steps:
  • the point-reading material is a book, for example, and the plane on which the point-reading material is located may be, for example, a desktop.
  • 2b is a schematic diagram of the structure of the point reading device, which includes the point reading material 21, the desktop 22 where the point reading material 21 is located, the camera 23 for point reading, and the point reading device 24.
  • the angle adjustment instruction includes the adjusted The tilt angle of the camera, the difference between the angle between the adjusted optical axis of the camera and the plane where the spot reading material is located and the preset angle is less than or equal to the error threshold.
  • the angle between the optical axis of the camera 23 and the plane where the spot reading material 21 is located is ⁇
  • the included angle is an acute angle
  • the size range is 0° ⁇ 90°.
  • the error threshold ⁇ may be 10°, for example, when the absolute value of the difference between the included angle and the preset angle is greater than the error threshold ⁇ , that is It can be obtained that 0° ⁇ 80°.
  • the tilt angle of the camera 23 is ⁇
  • is the included angle between the optical axis of the camera and the vertical direction
  • the mapping relationship between the included angle and the tilt angle of the camera is complementary
  • the tilt angle of the camera 23 is ⁇ which is the angle between the optical axis of the camera 23 and the horizontal direction
  • the mapping relationship between the angle and the tilt angle of the camera 23 is equal
  • the camera 23 is tilted so that the difference between the included angle and the preset angle is less than the error threshold
  • the included angle between the optical axis of the camera 23 and the plane where the point reading material 21 is located is 90°. 21
  • the upper and lower areas are at equal distances from the camera 23, which can achieve simultaneous focusing, ensure the clarity of the image of the point reading material 21 acquired by the camera, and improve the accuracy of point reading.
  • FIG. 2c it is a schematic structural diagram of a camera provided by an embodiment of the present disclosure.
  • the camera 23 includes a CMOS sensor 25 provided inside the camera 23.
  • the tilt of the camera 23 is realized by the CMOS sensor 25 in the camera 23, and the CMOS sensor can be tilted in the vertical direction at an angle of ⁇ .
  • the image of the point reading material is acquired through the camera, the text is recognized on the image, and the text is converted into voice to realize the point reading of the point reading material.
  • the image acquisition method provided by the embodiment of the present disclosure can achieve simultaneous focusing on different areas of the point reading material, ensure the clarity of the image of the point reading material acquired by the camera, and improve the accuracy of the point reading.
  • FIG. 3 is a schematic structural diagram of an image acquisition device according to Embodiment 3 of the present disclosure.
  • the image acquisition device includes: a plane information acquisition module 310, an adjustment module 320, and an image acquisition module 330, and each module will be described in detail below.
  • the plane information obtaining module 310 is set to obtain the information of the plane where the object to be photographed is located;
  • the adjustment module 320 is configured to adjust the difference between the included angle and the preset angle when the difference between the included angle between the optical axis of the camera and the plane where the object is to be captured and the preset angle is greater than the error threshold Less than or equal to the error threshold;
  • the image acquisition module 330 is configured to acquire the image of the object to be photographed through the camera.
  • the image acquisition device provided by this embodiment realizes simultaneous focusing of different shooting areas of a subject, realizes automation of focusing, improves the image clarity of the subject, and improves the user experience.
  • the adjustment module includes:
  • the angle adjustment instruction generating unit is configured to generate an angle adjustment instruction of the camera, the angle adjustment instruction includes the adjusted camera tilt angle, and the clamp between the adjusted optical axis of the camera and the plane where the object to be photographed is located The difference between the angle angle and the preset angle is less than or equal to the error threshold.
  • the angle adjustment instruction generating unit is set to:
  • the angle adjustment instruction of the camera is generated according to the determined tilt angle of the adjusted camera.
  • the preset angle is 90°.
  • the image acquisition device provided by the present disclosure can execute the image acquisition method provided by any embodiment of the present disclosure, and has corresponding function modules and effects for performing the image acquisition method.
  • the point reading device includes a main body 41, a controller 42 located in the main body 41, and a camera 43 located on the main body 41.
  • the main body 41 is mounted on a carrier 45 where the object 44 to be photographed is located, and the controller 42
  • An image acquisition device as provided by an embodiment of the present disclosure is provided.
  • the point reading device may be, for example, a computer with a camera, a tablet or a mobile phone.
  • the object 44 to be photographed is material to be read, such as books, newspapers or picture books.
  • the carrier 45 on which the object 44 is to be located is a desktop
  • the main body 41 of the point reading device is installed on the desktop
  • the controller 42 is provided with an image acquisition device provided in an embodiment of the present disclosure.
  • the image acquisition device can implement the present disclosure Examples provide image acquisition methods. Through the image acquisition method provided by the embodiment of the present disclosure, the point reading device can adjust the tilt angle of the camera 43 to achieve focusing on different areas of the point reading material, improve the clear picture of the acquired image of the point reading material, and ensure the point reading Accuracy and improve user experience.
  • the camera includes a CMOS sensor and a lens connected to the CMOS sensor; wherein, the angle between the CMOS sensor and the body is adjustable.
  • the angle of the optical axis of the camera can be adjusted through the adjustable connection between the CMOS sensor and the main body, and then the angle between the optical axis and the plane where the reading material is located can be adjusted to ensure that the difference between the angle and the preset angle is less than or equal to the error Threshold.
  • the point reading device provided in this embodiment realizes simultaneous focusing of different shooting areas of a subject, realizes automation of focusing, improves the image clarity of the subject, and improves the user experience.
  • FIG. 5 shows a schematic structural diagram of an electronic device 500 suitable for implementing embodiments of the present disclosure.
  • the electronic devices in the embodiments of the present disclosure may include, for example, mobile phones, notebook computers, digital broadcast receivers, personal digital assistants (Personal Digital Assistant (PDA), tablet computers (Portable Android Device, PAD), portable multimedia players (Portable Media Player, PMP), mobile terminals such as in-vehicle terminals (such as car navigation terminals), and fixed terminals such as digital television (Television, TV), desktop computers, and so on.
  • PDA Personal Digital Assistant
  • PMP portable multimedia players
  • mobile terminals such as in-vehicle terminals (such as car navigation terminals)
  • fixed terminals such as digital television (Television, TV), desktop computers, and so on.
  • the electronic device shown in FIG. 5 is only an example.
  • the electronic device 500 may include a processing device (such as a central processing unit, a graphics processor, etc.) 501, which may be stored in a read-only memory (Read-Only Memory, ROM) 502 program or from a storage device 508 loads the program in random access memory (Random Access Memory, RAM) 503 to perform various appropriate actions and processes.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • various programs and data necessary for the operation of the electronic device 500 are also stored.
  • the processing device 501, ROM 502, and RAM 503 are connected to each other via a bus 504.
  • An input/output (Input/Output, I/O) interface 505 is also connected to the bus 504.
  • the following devices can be connected to the I/O interface 505: including an input device 506 such as a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, and/or gyroscope, etc.; including, for example, a liquid crystal display (Liquid Crystal Display), (LCD), an output device 507 of a speaker and/or a vibrator, etc.; a storage device 508 including, for example, magnetic tape and/or a hard disk, etc.; and a communication device 509.
  • the communication device 509 may allow the electronic device 500 to perform wireless or wired communication with other devices to exchange data.
  • FIG. 5 shows an electronic device 500 having various devices, it should be understood that it is not required to implement or have all the devices shown. More or fewer devices may be implemented or provided instead.
  • the process described above with reference to the flowchart may be implemented as a computer software program.
  • embodiments of the present disclosure include a computer program product that includes a computer program carried on a computer-readable medium, the computer program containing program code for performing the method shown in the flowchart.
  • the computer program may be downloaded and installed from the network through the communication device 509, or from the storage device 508, or from the ROM 502.
  • the processing device 501 When the computer program is executed by the processing device 501, the above-mentioned functions defined in the method of the embodiments of the present disclosure are executed.
  • the computer-readable medium in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two.
  • the computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination of the above.
  • Computer-readable storage media may include: electrical connection with one or more wires, portable computer disk, hard disk, RAM, ROM, erasable programmable read-only memory (Erasable Programmable Read-Only Memory, EPROM) or flash memory, optical fiber , Portable compact disk read-only memory (Compact Disc Read-Only Memory, CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • the computer-readable storage medium may be a variety of tangible media containing or storing a program, and the program may be used by or in combination with an instruction execution system, apparatus, or device.
  • the computer-readable signal medium may include a data signal that is propagated in baseband or as part of a carrier wave, in which computer-readable program code is carried. This propagated data signal can take many forms, including electromagnetic signals, optical signals, or any suitable combination of the above.
  • the computer-readable signal medium may also be a variety of computer-readable media other than computer-readable storage media, and the computer-readable signal medium may be sent, propagated, or transmitted for use by or in conjunction with an instruction execution system, apparatus, or device program.
  • the program code contained on the computer-readable medium may be transmitted using a variety of suitable media, including: electric wires, optical cables, radio frequency (Radio Frequency, RF), etc., or any suitable combination of the foregoing.
  • the computer-readable medium may be included in the electronic device; or may exist alone without being assembled into the electronic device.
  • the computer-readable medium carries one or more programs.
  • the electronic device When the one or more programs are executed by the electronic device, the electronic device is caused to: obtain information on the plane of the object to be photographed; if the optical axis of the camera and the If the difference between the included angle and the preset angle of the plane where the object is located is greater than the error threshold, adjust the difference between the included angle and the preset angle to be less than or equal to the error threshold; obtain the to-be-photographed through the camera Images of objects.
  • the computer-readable medium carries one or more programs.
  • the electronic device When the one or more programs are executed by the electronic device, the electronic device is caused to: obtain information on the plane of the object to be photographed; if the optical axis of the camera is If the difference between the included angle and the preset angle of the plane where the object is to be captured is greater than the error threshold, adjust the difference between the included angle and the preset angle to be less than or equal to the error threshold; The image of the object to be shot.
  • the computer program code for performing the operations of the present disclosure can be written in one or more programming languages or a combination thereof.
  • the above programming languages include object-oriented programming languages such as Java, Smalltalk, C++, and also include conventional Procedural programming language-such as "C" language or similar programming language.
  • the program code may execute entirely on the user's computer, partly on the user's computer, as an independent software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server.
  • the remote computer can be connected to the user's computer through any kind of network, including a local area network (Local Area Network, LAN) or wide area network (Wide Area Network, WAN), or it can be connected to an external computer ( (For example, using an Internet service provider to connect through the Internet).
  • LAN Local Area Network
  • WAN Wide Area Network
  • each block in the flowchart or block diagram may represent a module, program segment, or part of code that contains one or more logic functions Executable instructions.
  • the functions marked in the blocks may also occur in an order different from that marked in the drawings. For example, two blocks shown in succession may actually be executed in parallel, and they may sometimes be executed in reverse order, depending on the functions involved.
  • the units described in the embodiments of the present disclosure may be implemented in software or hardware.
  • the name of the unit does not constitute a limitation on the unit itself.
  • the adjustment module can also be described as a "difference adjustment module.”
  • Embodiment 6 of the present disclosure also provides a computer-readable storage medium on which a computer program is stored.
  • the computer program is executed by an image acquisition device, an image acquisition method as provided in Embodiment 1 of the present disclosure is implemented.
  • the method includes:
  • a computer-readable storage medium provided by an embodiment of the present disclosure, when a computer program stored on it is executed, is not limited to implementing the method operations described above, and may also implement the image acquisition method provided by any embodiment of the present disclosure Related operations in.
  • the present disclosure can be implemented by software and general hardware, or by hardware.
  • the technical solution of the present disclosure can be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a computer floppy disk, ROM, RAM, flash memory (FLASH), hard disk, or optical disk Etc., including multiple instructions to enable a computer device (which may be a personal computer, server, or network device, etc.) to execute the image acquisition methods described in various embodiments of the present disclosure.
  • the multiple units and modules included are only divided according to the functional logic, but it is not limited to the above division, as long as the corresponding functions can be realized; in addition, the multiple functional units
  • the specific names are only for the purpose of distinguishing each other, and are not used to limit the protection scope of the present disclosure.

Landscapes

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

Abstract

Disclosed herein are an image acquisition method, device, point-reading device, electronic device and storage medium. The method comprises: acquiring information about the plane in which an object to be photographed is located; if the difference between the included angle between the optical axis of a camera and the plane in which the object to be photographed is located and a preset angle is greater than an error threshold, adjusting the difference between said included angle and the preset angle to be less than or equal to the error threshold; and acquiring an image of the object to be photographed by means of the camera.

Description

图像获取方法、装置、点读设备、电子设备及存储介质Image acquisition method, device, point reading device, electronic device and storage medium
本申请要求在2019年1月3日提交中国专利局、申请号为201910005048.4的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。This application requires the priority of the Chinese patent application with the application number 201910005048.4 filed by the China Patent Office on January 3, 2019. The entire contents of this application are incorporated by reference in this application.
技术领域Technical field
本公开实施例涉及图像采集技术,例如涉及一种图像获取方法、装置、点读设备、电子设备及存储介质。Embodiments of the present disclosure relate to image acquisition technology, for example, to an image acquisition method, device, point reading device, electronic device, and storage medium.
背景技术Background technique
相关技术中具有摄像头的电子设备进行拍摄时,由于摄像头位置固定,当电子设备位置也固定时,摄像头所拍摄的区域有限,对于所拍摄的区域的边缘区域,由于摄像头难以对焦,所拍摄得到的图像清晰度不高。In the related art, when shooting with an electronic device with a camera, because the position of the camera is fixed, when the position of the electronic device is also fixed, the area shot by the camera is limited. For the edge area of the shot area, the camera is difficult to focus. Image clarity is not high.
对于所拍摄的区域的边缘区域,如果要得到清晰度高的图像,则通过移动电子设备实现,而电子设备移动到什么位置,需要用户不断调试,过程繁琐而复杂。For the edge area of the photographed area, if a high-definition image is to be obtained, it is realized by moving the electronic device, and the position to which the electronic device moves requires continuous debugging by the user, and the process is cumbersome and complicated.
发明内容Summary of the invention
本公开提供一种图像获取方法、装置、点读设备、电子设备及存储介质,以解决相关技术中通过用户手动移动电子设备的位置才能改变拍摄角度,难以对焦的问题。The present disclosure provides an image acquisition method, device, point reading device, electronic device, and storage medium, to solve the problem in the related art that it is difficult to focus when the user manually moves the position of the electronic device to change the shooting angle.
在一实施例中,本公开实施例提供了一种图像获取方法,该方法包括:In an embodiment, an embodiment of the present disclosure provides an image acquisition method. The method includes:
获取待拍摄物所在平面的信息;Obtain the information of the plane where the object to be shot is located
在摄像头的光轴与所述待拍摄物所在平面的夹角角度与预设角度的差值大于误差阈值的情况下,调整所述夹角角度与所述预设角度的差值小于或等于所述误差阈值;When the difference between the angle between the optical axis of the camera and the plane where the object is to be captured and the preset angle is greater than the error threshold, adjust the difference between the included angle and the preset angle to be less than or equal to The error threshold
通过所述摄像头获取所述待拍摄物的图像。Obtain the image of the object to be photographed through the camera.
在一实施例中,本公开实施例提供了一种图像获取装置,该装置包括:In an embodiment, an embodiment of the present disclosure provides an image acquisition device, which includes:
平面信息获取模块,设置为获取待拍摄物所在平面的信息;The plane information acquisition module is set to obtain the information of the plane where the object to be photographed is located;
调整模块,设置为在摄像头的光轴与所述待拍摄物所在平面的夹角角度与预设角度的差值大于误差阈值的情况下,调整所述夹角角度与所述预设角度的差值小于或等于所述误差阈值;The adjustment module is configured to adjust the difference between the included angle and the preset angle when the difference between the included angle between the optical axis of the camera and the plane where the object is to be captured and the preset angle is greater than the error threshold The value is less than or equal to the error threshold;
图像获取模块,设置为通过所述摄像头获取所述待拍摄物的图像。The image acquisition module is configured to acquire the image of the object to be photographed through the camera.
在一实施例中,本公开实施例提供了一种点读设备,该点读设备包括主体、位于所述主体内的控制器和位于所述主体上的摄像头,所述主体安装在待拍摄物所在载体上,所述控制器内设置本公开任一实施例所述的图像获取装置。In an embodiment, an embodiment of the present disclosure provides a point reading device including a main body, a controller located in the main body, and a camera located on the main body, the main body being mounted on the object to be photographed On the carrier where it is located, an image acquisition device according to any embodiment of the present disclosure is provided in the controller.
在一实施例中,本公开实施例提供了一种电子设备,所述电子设备包括:In an embodiment, an embodiment of the present disclosure provides an electronic device. The electronic device includes:
一个或多个处理器;One or more processors;
存储器,设置为存储一个或多个程序;Memory, set to store one or more programs;
所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如本公开任一实施例所述的图像获取方法。The one or more programs are executed by the one or more processors, so that the one or more processors implement the image acquisition method according to any embodiment of the present disclosure.
在一实施例中,本公开实施例提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现如本公开任一实施例所述的图像获取方法。In an embodiment, an embodiment of the present disclosure provides a computer-readable storage medium that stores a computer program on the computer-readable storage medium, and when the computer program is executed by a processor, implemented as any embodiment of the present disclosure The image acquisition method described above.
附图说明BRIEF DESCRIPTION
图1是本公开实施例一提供的一种图像获取方法的流程图;1 is a flowchart of an image acquisition method provided in Embodiment 1 of the present disclosure;
图2a是本公开实施例二提供的一种图像获取方法的流程图;2a is a flowchart of an image acquisition method provided in Embodiment 2 of the present disclosure;
图2b是本公开实施例二提供的一种点读设备的结构示意图;2b is a schematic structural diagram of a point reading device according to Embodiment 2 of the present disclosure;
图2c是本公开实施例二提供的一种摄像头的结构示意图;2c is a schematic structural diagram of a camera provided by Embodiment 2 of the present disclosure;
图3是本公开实施例三提供的一种图像获取装置的结构示意图;3 is a schematic structural diagram of an image acquisition device provided in Embodiment 3 of the present disclosure;
图4是本公开实施例四提供的一种点读设备的结构示意图;4 is a schematic structural diagram of a point reading device according to Embodiment 4 of the present disclosure;
图5是本公开实施例五提供的一种电子设备的结构示意图。5 is a schematic structural diagram of an electronic device according to Embodiment 5 of the present disclosure.
具体实施方式detailed description
下面结合附图和实施例对本公开作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本公开,而非对本公开的限定。为了便于 描述,附图中仅示出了与本公开相关的部分而非全部结构。The disclosure will be further described in detail below with reference to the drawings and embodiments. It can be understood that the specific embodiments described herein are only used for explaining the present disclosure, rather than limiting the present disclosure. For ease of description, only some parts but not all structures related to the present disclosure are shown in the drawings.
下述多个实施例中,每个实施例中同时提供了可选特征和示例,实施例中记载的多个特征可进行组合,形成多个可选方案,不应将每个编号的实施例仅视为一个技术方案。In the following multiple embodiments, each embodiment also provides optional features and examples. The multiple features described in the embodiments can be combined to form multiple optional solutions. Each numbered embodiment should not be Only regarded as a technical solution.
实施例一Example one
图1为本公开实施例一提供的一种图像获取方法的流程图,本实施例可适用于摄像头的光轴与待拍摄物所在平面的夹角角度与预设角度存在差值时,获取待拍摄物图像的情况,该方法可以由图像获取装置来执行,该装置可由硬件和/或软件组成,并可集成在手机、平板以及计算机等电子设备中。该图像获取方法包括如下步骤:FIG. 1 is a flowchart of an image acquisition method according to Embodiment 1 of the present disclosure. This embodiment can be applied to a method for acquiring an image when there is a difference between the angle between the optical axis of the camera and the plane where the object is to be captured and the preset angle. In the case of photographing an object image, the method may be performed by an image acquisition device, which may be composed of hardware and/or software, and may be integrated in electronic devices such as mobile phones, tablets, and computers. The image acquisition method includes the following steps:
S110、获取待拍摄物所在平面的信息。S110: Obtain information about the plane where the object to be photographed is located.
待拍摄物例如可以是书籍、报纸或绘本,待拍摄物所在平面例如可以是书籍所在桌面。可选的,所述待拍摄物可以作为待点读材料供点读设备进行点读。示例性地,获取待拍摄物所在平面的信息包括通过摄像头拍摄平面的图像,提取平面的轮廓。平面的信息还可以包括平面在立体空间中的位置信息,所述位置信息例如可以是平面分别与水平方向和垂直方向的夹角信息。The object to be photographed may be, for example, a book, a newspaper, or a picture book, and the plane on which the object to be photographed may be, for example, the desktop where the book is located. Optionally, the object to be photographed may be used as a point-to-point reading material for the point-reading device to perform point-reading. Exemplarily, acquiring the information of the plane where the object to be shot includes taking an image of the plane through a camera, and extracting the outline of the plane. The information of the plane may further include position information of the plane in the three-dimensional space, and the position information may be, for example, angle information between the plane and the horizontal direction and the vertical direction, respectively.
S120、判断摄像头的光轴与所述待拍摄物所在平面的夹角角度与预设角度的差值是否大于误差阈值。S120: Determine whether the difference between the included angle between the optical axis of the camera and the plane where the object is to be captured and the preset angle is greater than the error threshold.
S130、如果摄像头的光轴与所述待拍摄物所在平面的夹角角度与预设角度的差值大于误差阈值,则调整所述夹角角度与预设角度的差值小于或等于所述误差阈值。S130. If the difference between the angle between the optical axis of the camera and the plane where the object is to be captured and the preset angle is greater than the error threshold, adjust the difference between the included angle and the preset angle to be less than or equal to the error Threshold.
当摄像头的光轴与待拍摄物所在平面的夹角角度为预设角度时,摄像头与待拍摄物的不同区域的距离相同,可以对待拍摄物的不同区域进行同时对焦, 保证获取到清晰的待拍摄物图像。当摄像头的光轴与待拍摄物所在平面的夹角角度与预设角度不同时,待拍摄物的不同区域与摄像头的距离不同,有远有近,导致难以实现对待拍摄物的不同区域同时对焦,因此调整摄像头的光轴与待拍摄物所在平面的夹角角度,使得调整后的所述夹角角度为预设角度。在确定摄像头的光轴与待拍摄物所在平面的夹角角度与预设角度不同时,可以通过夹角角度与预设角度的差值确定,当差值大于误差阈值时,可以确定夹角角度偏离预设角度较大,此时调整夹角角度,使得夹角角度与预设角度相等。在调整夹角角度过程中可以参照夹角角度与预设角度的差值,当差值小于或等于误差阈值时,可以完成调整。When the angle between the optical axis of the camera and the plane of the object to be photographed is the preset angle, the distance between the camera and the different regions of the object to be photographed is the same, and different regions of the object to be photographed can be simultaneously focused to ensure that a clear object is obtained Subject image. When the angle between the optical axis of the camera and the plane of the object to be photographed is different from the preset angle, the distance between the different regions of the object to be photographed and the camera is different, so it is difficult to achieve simultaneous focusing on different regions of the object to be photographed Therefore, the angle between the optical axis of the camera and the plane of the object to be photographed is adjusted so that the adjusted angle is the preset angle. When the angle between the optical axis of the camera and the plane where the object is to be captured is different from the preset angle, it can be determined by the difference between the included angle and the preset angle. When the difference is greater than the error threshold, the included angle can be determined The deviation from the preset angle is larger, and the included angle is adjusted so that the included angle is equal to the preset angle. In the process of adjusting the included angle, the difference between the included angle and the preset angle can be referred to. When the difference is less than or equal to the error threshold, the adjustment can be completed.
示例性地,所述预设角度为90°。Exemplarily, the preset angle is 90°.
可选的,在调整夹角角度时可以通过调整摄像头的光轴角度实现,也可以通过调整待拍摄物所在平面的角度实现,也可以通过调整摄像头的光轴角度和待拍摄物所在平面的角度实现。Optionally, when adjusting the included angle, it can be achieved by adjusting the angle of the optical axis of the camera, or by adjusting the angle of the plane of the object to be photographed, or by adjusting the angle of the optical axis of the camera and the angle of the plane of the object to be photographed achieve.
以调整摄像头的光轴角度为例,所述调整所述夹角角度与预设角度的差值小于或等于所述误差阈值,包括:生成所述摄像头的角度调整指令,所述角度调整指令包括调整后的摄像头倾斜角度,所述调整后的摄像头的光轴与所述待拍摄物所在平面的夹角角度与预设角度的差值小于或等于误差阈值。摄像头按照倾斜角度进行倾斜可以实现摄像头光轴的倾斜,从而可以实现光轴与待拍摄物平面的夹角角度的调节,实现对待拍摄物不同区域的同时对焦,提高待拍摄物图像清晰度。摄像头的光轴垂直摄像头中的互补金属氧化物半导体(Complementary Metal Oxide Semiconductor,CMOS)传感器,可选的,摄像头的角度调整可以通过调整摄像头的CMOS传感器的倾斜角度实现。Taking the adjustment of the optical axis angle of the camera as an example, the adjustment of the difference between the included angle and the preset angle is less than or equal to the error threshold includes: generating an angle adjustment instruction of the camera, and the angle adjustment instruction includes The tilt angle of the adjusted camera, and the difference between the angle between the optical axis of the adjusted camera and the plane where the object is to be captured and the preset angle is less than or equal to the error threshold. The tilting of the camera according to the tilting angle can realize the tilting of the optical axis of the camera, so that the angle between the optical axis and the plane of the object to be photographed can be adjusted, the different areas of the object to be photographed can be simultaneously focused, and the image clarity of the object to be photographed can be improved. The optical axis of the camera is perpendicular to the complementary metal oxide semiconductor (Complementary Metal Oxide Semiconductor (CMOS) sensor) in the camera. Optionally, the angle adjustment of the camera can be achieved by adjusting the tilt angle of the CMOS sensor of the camera.
可选的,所述生成所述摄像头的角度调整指令,包括:根据夹角角度与倾 斜角度的映射关系,以及,所述预设角度,确定调整后的摄像头倾斜角度;根据确定的调整后的摄像头倾斜角度生成所述摄像头的角度调整指令。Optionally, the generating the angle adjustment instruction of the camera includes: determining the adjusted camera tilt angle according to the mapping relationship between the included angle and the tilt angle, and the preset angle; according to the determined adjusted The tilt angle of the camera generates an angle adjustment instruction of the camera.
示例性地,所述映射关系可以是互余的关系,例如,夹角角度为30°,倾斜角度为顺时针倾斜60°,预设角度为90°,按照倾斜角度倾斜CMOS传感器,使得夹角角度与预设角度差值小于或等于误差阈值。示例性地,所述映射关系还可以是相等的关系,例如,夹角角度为30°,倾斜角度为逆时针倾斜30°,预设角度为90°,按照倾斜角度倾斜CMOS传感器,使得夹角角度与预设角度差值小于或等于误差阈值。在此对映射关系不做具体限定,只要按照倾斜角度倾斜摄像头可以使得夹角角度与预设角度的差值小于或等于误差阈值的映射关系均可。通过夹角角度与倾斜角度的映射关系可以提高摄像头倾斜的调整速率,从而提高待拍摄物图像获取效率。Exemplarily, the mapping relationship may be a mutual relationship, for example, the included angle is 30°, the tilt angle is a clockwise tilt of 60°, the preset angle is 90°, and the CMOS sensor is tilted according to the tilt angle so that the included angle The difference between the angle and the preset angle is less than or equal to the error threshold. Exemplarily, the mapping relationship may also be an equal relationship, for example, the included angle is 30°, the tilt angle is counterclockwise tilted by 30°, the preset angle is 90°, and the CMOS sensor is tilted according to the tilt angle so that the included angle The difference between the angle and the preset angle is less than or equal to the error threshold. The mapping relationship is not specifically limited here, as long as the camera is tilted according to the tilt angle so that the difference between the included angle and the preset angle is less than or equal to the error threshold. The mapping relationship between the included angle and the tilt angle can increase the adjustment rate of the camera tilt, thereby improving the efficiency of acquiring the image of the object to be shot.
如果摄像头的光轴与所述待拍摄物所在平面的夹角角度与预设角度的差值小于或等于误差阈值,则可以无需调节摄像头的倾斜角度,直接执行S140。If the difference between the angle between the optical axis of the camera and the plane of the object to be photographed and the preset angle is less than or equal to the error threshold, you can directly perform S140 without adjusting the tilt angle of the camera.
S140、通过所述摄像头获取所述待拍摄物的图像。S140. Acquire an image of the object to be shot through the camera.
按照本实施例的方法可以实现摄像头对待拍摄物不同区域的同时对焦,从而可以提高摄像头拍摄的待拍摄物的图像的清晰度。According to the method of this embodiment, the camera can simultaneously focus on different areas of the object to be photographed, thereby improving the clarity of the image of the object to be photographed by the camera.
本公开实施例提供的图像获取方法,通过获取待拍摄物所在平面的信息;在摄像头的光轴与待拍摄物所在平面的夹角角度与预设角度的差值大于误差阈值时,调整夹角角度与预设角度的差值小于或等于误差阈值,可以实现摄像头的光轴与待拍摄物所在平面的夹角角度的调整,避免摄像头固定不动在摄像头与待拍摄物所在平面具有一定夹角时,待拍摄物的不同拍摄区域与摄像头的距离不同导致无法同时对焦整个待拍摄物,从而拍摄图像清晰度低的问题,本公开实施例可以实现对待拍摄物的不同拍摄区域的同时对焦,实现对焦自动化, 提高待拍摄物的图像清晰度,提高用户体验。The image acquisition method provided by the embodiment of the present disclosure obtains the information of the plane of the object to be photographed; when the difference between the angle between the optical axis of the camera and the plane of the object to be photographed and the preset angle is greater than the error threshold, the included angle is adjusted The difference between the angle and the preset angle is less than or equal to the error threshold, and the angle between the optical axis of the camera and the plane of the object to be photographed can be adjusted to prevent the camera from being fixed at a certain angle between the camera and the plane of the object to be photographed When the distance between different shooting areas of the object to be shot and the camera is different, the entire object to be shot cannot be focused at the same time, resulting in the problem of low image clarity. The embodiments of the present disclosure can achieve simultaneous focusing of different shooting areas of the object to be achieved. Focusing automation improves the image clarity of the object to be shot and improves the user experience.
实施例二Example 2
本公开实施例二以点读场景为例,图2a为本公开实施例二提供的一种图像获取方法的流程示意图。本实施例以上述实施例中多个可选方案为基础进行具体化。该图像获取方法包括如下步骤:The second embodiment of the present disclosure takes a spot-reading scenario as an example, and FIG. 2a is a schematic flowchart of an image acquisition method provided by the second embodiment of the present disclosure. This embodiment is embodied on the basis of multiple optional solutions in the above embodiments. The image acquisition method includes the following steps:
S210、获取点读材料所在平面的信息。S210. Acquire the information of the plane where the point reading material is located.
点读材料以书籍为例,点读材料所在平面例如可以是桌面。通过摄像头获取书籍的图像数据,点读设备分析图像数据,获取图像内容,例如文字,转化成语音数据,实现点读。图2b为点读设备结构示意图,其中,包括点读材料21,点读材料21所在桌面22,点读用的摄像头23,以及点读设备24。The point-reading material is a book, for example, and the plane on which the point-reading material is located may be, for example, a desktop. Obtain the image data of the book through the camera, and the point reading device analyzes the image data to obtain the image content, such as text, and convert it into voice data to realize point reading. 2b is a schematic diagram of the structure of the point reading device, which includes the point reading material 21, the desktop 22 where the point reading material 21 is located, the camera 23 for point reading, and the point reading device 24.
S220、在摄像头的光轴与所述点读材料所在平面的夹角角度与预设角度的差值大于误差阈值的状态下,生成所述摄像头的角度调整指令,所述角度调整指令包括调整后的摄像头倾斜角度,所述调整后的摄像头的光轴与所述点读材料所在平面的夹角角度与预设角度的差值小于或等于误差阈值。S220. When the difference between the angle between the optical axis of the camera and the plane where the spot reading material is located and the preset angle is greater than the error threshold, generate an angle adjustment instruction for the camera, the angle adjustment instruction includes the adjusted The tilt angle of the camera, the difference between the angle between the adjusted optical axis of the camera and the plane where the spot reading material is located and the preset angle is less than or equal to the error threshold.
如图2b所示,摄像头23的光轴与点读材料21所在平面的夹角角度为α,夹角角度取锐角,大小范围为0°≤α≤90°。以预设角度为90°为例,误差阈值β例如可以是10°,当夹角角度与预设角度的差值的绝对值大于误差阈值β,即
Figure PCTCN2020070297-appb-000001
可以得0°≤α<80°。在夹角角度为α满足0°≤α<80°时,生成角度调整指令,角度调整指令使得夹角角度与预设角度的差值小于或等于误差阈值,即
Figure PCTCN2020070297-appb-000002
因此,角度调整指令中对应的夹角角度满足:
Figure PCTCN2020070297-appb-000003
如图2b所示,摄像头23的倾斜角度为γ,γ为摄像头光轴与垂直方向的夹角,则夹角角度与摄像头的倾斜角度的映射关系为互余,摄像头23的倾斜角度
Figure PCTCN2020070297-appb-000004
当 摄像头23的倾斜角度为γ为摄像头23光轴与水平方向的夹角时,夹角角度与摄像头23的倾斜角度的映射关系为相等,摄像头23的倾斜角度γ=α。按照摄像头23的倾斜角度,摄像头23进行倾斜,使得夹角角度与预设角度的差值小于误差阈值,实现摄像头23的光轴与点读材料21所在平面的夹角为90°,点读材料21上方区域和下方区域距离摄像头23距离相等,可以实现同时对焦,保证摄像头获取的点读材料21图像的清晰度,提高点读准确性。
As shown in FIG. 2b, the angle between the optical axis of the camera 23 and the plane where the spot reading material 21 is located is α, and the included angle is an acute angle, and the size range is 0°≤α≤90°. Taking the preset angle of 90° as an example, the error threshold β may be 10°, for example, when the absolute value of the difference between the included angle and the preset angle is greater than the error threshold β, that is
Figure PCTCN2020070297-appb-000001
It can be obtained that 0°≤α<80°. When the included angle angle α satisfies 0°≤α<80°, an angle adjustment command is generated, and the angle adjustment command makes the difference between the included angle angle and the preset angle less than or equal to the error threshold, that is
Figure PCTCN2020070297-appb-000002
Therefore, the corresponding included angle in the angle adjustment instruction satisfies:
Figure PCTCN2020070297-appb-000003
As shown in FIG. 2b, the tilt angle of the camera 23 is γ, and γ is the included angle between the optical axis of the camera and the vertical direction, then the mapping relationship between the included angle and the tilt angle of the camera is complementary, and the tilt angle of the camera 23
Figure PCTCN2020070297-appb-000004
When the tilt angle of the camera 23 is γ which is the angle between the optical axis of the camera 23 and the horizontal direction, the mapping relationship between the angle and the tilt angle of the camera 23 is equal, and the tilt angle of the camera 23 is γ=α. According to the tilt angle of the camera 23, the camera 23 is tilted so that the difference between the included angle and the preset angle is less than the error threshold, and the included angle between the optical axis of the camera 23 and the plane where the point reading material 21 is located is 90°. 21 The upper and lower areas are at equal distances from the camera 23, which can achieve simultaneous focusing, ensure the clarity of the image of the point reading material 21 acquired by the camera, and improve the accuracy of point reading.
如图2c所示为本公开实施例提供的一种摄像头的结构示意图,摄像头23包括在摄像头23内部设置的CMOS传感器25。摄像头23的倾斜是通过摄像头23内的CMOS传感器25实现的,CMOS传感器可以在垂直方向倾斜,倾斜角度为γ。As shown in FIG. 2c, it is a schematic structural diagram of a camera provided by an embodiment of the present disclosure. The camera 23 includes a CMOS sensor 25 provided inside the camera 23. The tilt of the camera 23 is realized by the CMOS sensor 25 in the camera 23, and the CMOS sensor can be tilted in the vertical direction at an angle of γ.
S230、通过所述摄像头获取所述点读材料的图像。S230. Acquire an image of the point reading material through the camera.
在摄像头倾斜之后,通过摄像头获取点读材料的图像,对图像进行文字识别,将文字转化为语音即可实现对点读材料的点读。After the camera is tilted, the image of the point reading material is acquired through the camera, the text is recognized on the image, and the text is converted into voice to realize the point reading of the point reading material.
本公开实施例提供的图像获取方法,可以实现对点读材料不同区域的同时对焦,保证摄像头获取的点读材料的图像的清晰度,提高点读准确性。The image acquisition method provided by the embodiment of the present disclosure can achieve simultaneous focusing on different areas of the point reading material, ensure the clarity of the image of the point reading material acquired by the camera, and improve the accuracy of the point reading.
实施例三Example Three
图3为本公开实施例三提供的一种图像获取装置的结构示意图。参考图3,图像获取装置包括:平面信息获取模块310、调整模块320和图像获取模块330,下面对每个模块进行具体说明。FIG. 3 is a schematic structural diagram of an image acquisition device according to Embodiment 3 of the present disclosure. Referring to FIG. 3, the image acquisition device includes: a plane information acquisition module 310, an adjustment module 320, and an image acquisition module 330, and each module will be described in detail below.
平面信息获取模块310,设置为获取待拍摄物所在平面的信息;The plane information obtaining module 310 is set to obtain the information of the plane where the object to be photographed is located;
调整模块320,设置为在摄像头的光轴与所述待拍摄物所在平面的夹角角度与预设角度的差值大于误差阈值的情况下,调整所述夹角角度与预设角度的差 值小于或等于所述误差阈值;The adjustment module 320 is configured to adjust the difference between the included angle and the preset angle when the difference between the included angle between the optical axis of the camera and the plane where the object is to be captured and the preset angle is greater than the error threshold Less than or equal to the error threshold;
图像获取模块330,设置为通过所述摄像头获取所述待拍摄物的图像。The image acquisition module 330 is configured to acquire the image of the object to be photographed through the camera.
本实施例提供的图像获取装置,实现了对待拍摄物的不同拍摄区域的同时对焦,实现对焦自动化,提高待拍摄物的图像清晰度,提高用户体验。The image acquisition device provided by this embodiment realizes simultaneous focusing of different shooting areas of a subject, realizes automation of focusing, improves the image clarity of the subject, and improves the user experience.
可选的,所述调整模块,包括:Optionally, the adjustment module includes:
角度调整指令生成单元,设置为:生成所述摄像头的角度调整指令,所述角度调整指令包括调整后的摄像头倾斜角度,所述调整后的摄像头的光轴与所述待拍摄物所在平面的夹角角度与预设角度的差值小于或等于误差阈值。The angle adjustment instruction generating unit is configured to generate an angle adjustment instruction of the camera, the angle adjustment instruction includes the adjusted camera tilt angle, and the clamp between the adjusted optical axis of the camera and the plane where the object to be photographed is located The difference between the angle angle and the preset angle is less than or equal to the error threshold.
可选的是,所述角度调整指令生成单元,是设置为:Optionally, the angle adjustment instruction generating unit is set to:
根据夹角角度与倾斜角度的映射关系,以及,所述预设角度,确定调整后的摄像头倾斜角度;Determine the adjusted camera tilt angle according to the mapping relationship between the included angle and the tilt angle, and the preset angle;
根据确定的所述调整后的摄像头倾斜角度生成所述摄像头的角度调整指令。The angle adjustment instruction of the camera is generated according to the determined tilt angle of the adjusted camera.
可选的,所述预设角度为90°。Optionally, the preset angle is 90°.
本公开提供的图像获取装置可执行本公开任意实施例所提供的图像获取方法,具备执行图像获取方法相应的功能模块和效果。The image acquisition device provided by the present disclosure can execute the image acquisition method provided by any embodiment of the present disclosure, and has corresponding function modules and effects for performing the image acquisition method.
实施例四Example 4
图4为本公开实施例三提供的一种点读设备的结构示意图。参考图4,点读设备包括:主体41、位于主体41内的控制器42和位于主体41上的摄像头43,所述主体41安装在待拍摄物44所在载体45上,所述控制器42内设置如本公开实施例提供的图像获取装置。4 is a schematic structural diagram of a point reading device according to Embodiment 3 of the present disclosure. Referring to FIG. 4, the point reading device includes a main body 41, a controller 42 located in the main body 41, and a camera 43 located on the main body 41. The main body 41 is mounted on a carrier 45 where the object 44 to be photographed is located, and the controller 42 An image acquisition device as provided by an embodiment of the present disclosure is provided.
点读设备例如可以是具有摄像头的电脑、平板或手机等设备。待拍摄物44为待点读材料,如书籍、报纸或绘本等。示例性地,待拍摄物44所在载体45 为桌面,点读设备的主体41安装在桌面上,控制器42内设置有本公开实施例提供的图像获取装置,该图像获取装置可以实现本公开实施例提供的图像获取方法。通过本公开实施例提供的图像获取方法,点读设备可以通过摄像头43的倾斜角度的调整,实现对待点读材料不同区域的对焦,提高获取的待点读材料的图像的清晰图,保证点读的准确性,提高用户体验。The point reading device may be, for example, a computer with a camera, a tablet or a mobile phone. The object 44 to be photographed is material to be read, such as books, newspapers or picture books. Exemplarily, the carrier 45 on which the object 44 is to be located is a desktop, the main body 41 of the point reading device is installed on the desktop, and the controller 42 is provided with an image acquisition device provided in an embodiment of the present disclosure. The image acquisition device can implement the present disclosure Examples provide image acquisition methods. Through the image acquisition method provided by the embodiment of the present disclosure, the point reading device can adjust the tilt angle of the camera 43 to achieve focusing on different areas of the point reading material, improve the clear picture of the acquired image of the point reading material, and ensure the point reading Accuracy and improve user experience.
可选的,所述摄像头包括CMOS传感器,以及与所述CMOS传感器相连的镜头;其中,所述CMOS传感器与所述主体角度可调连接。通过CMOS传感器与主体角度可调连接,实现摄像头光轴的角度调节,进而实现光轴与点读材料所在平面的夹角角度的调节,保证夹角角度与预设角度的差值小于或等于误差阈值。Optionally, the camera includes a CMOS sensor and a lens connected to the CMOS sensor; wherein, the angle between the CMOS sensor and the body is adjustable. The angle of the optical axis of the camera can be adjusted through the adjustable connection between the CMOS sensor and the main body, and then the angle between the optical axis and the plane where the reading material is located can be adjusted to ensure that the difference between the angle and the preset angle is less than or equal to the error Threshold.
本实施例提供的点读设备,实现了对待拍摄物的不同拍摄区域的同时对焦,实现对焦自动化,提高待拍摄物的图像清晰度,提高用户体验。The point reading device provided in this embodiment realizes simultaneous focusing of different shooting areas of a subject, realizes automation of focusing, improves the image clarity of the subject, and improves the user experience.
实施例五Example 5
下面参考图5,其示出了适于用来实现本公开实施例的电子设备500的结构示意图。本公开实施例中的电子设备可以包括诸如移动电话、笔记本电脑、数字广播接收器、个人数字助理(Personal Digital Assistant,PDA)、平板电脑(Portable Android Device,PAD)、便携式多媒体播放器(Portable Media Player,PMP)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字电视(Television,TV)、台式计算机等等的固定终端。图5示出的电子设备仅仅是一个示例。The following refers to FIG. 5, which shows a schematic structural diagram of an electronic device 500 suitable for implementing embodiments of the present disclosure. The electronic devices in the embodiments of the present disclosure may include, for example, mobile phones, notebook computers, digital broadcast receivers, personal digital assistants (Personal Digital Assistant (PDA), tablet computers (Portable Android Device, PAD), portable multimedia players (Portable Media Player, PMP), mobile terminals such as in-vehicle terminals (such as car navigation terminals), and fixed terminals such as digital television (Television, TV), desktop computers, and so on. The electronic device shown in FIG. 5 is only an example.
如图5所示,电子设备500可以包括处理装置(例如中央处理器、图形处理器等)501,其可以根据存储在只读存储器(Read-Only Memory,ROM)502 中的程序或者从存储装置508加载到随机访问存储器(Random Access Memory,RAM)503中的程序而执行多种适当的动作和处理。在RAM 503中,还存储有电子设备500操作所需的多种程序和数据。处理装置501、ROM 502以及RAM 503通过总线504彼此相连。输入/输出(Input/Output,I/O)接口505也连接至总线504。As shown in FIG. 5, the electronic device 500 may include a processing device (such as a central processing unit, a graphics processor, etc.) 501, which may be stored in a read-only memory (Read-Only Memory, ROM) 502 program or from a storage device 508 loads the program in random access memory (Random Access Memory, RAM) 503 to perform various appropriate actions and processes. In the RAM 503, various programs and data necessary for the operation of the electronic device 500 are also stored. The processing device 501, ROM 502, and RAM 503 are connected to each other via a bus 504. An input/output (Input/Output, I/O) interface 505 is also connected to the bus 504.
通常,以下装置可以连接至I/O接口505:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计和/或陀螺仪等的输入装置506;包括例如液晶显示器(Liquid Crystal Display,LCD)、扬声器和/或振动器等的输出装置507;包括例如磁带和/或、硬盘等的存储装置508;以及通信装置509。通信装置509可以允许电子设备500与其他设备进行无线或有线通信以交换数据。虽然图5示出了具有多种装置的电子设备500,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。Generally, the following devices can be connected to the I/O interface 505: including an input device 506 such as a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, and/or gyroscope, etc.; including, for example, a liquid crystal display (Liquid Crystal Display), (LCD), an output device 507 of a speaker and/or a vibrator, etc.; a storage device 508 including, for example, magnetic tape and/or a hard disk, etc.; and a communication device 509. The communication device 509 may allow the electronic device 500 to perform wireless or wired communication with other devices to exchange data. Although FIG. 5 shows an electronic device 500 having various devices, it should be understood that it is not required to implement or have all the devices shown. More or fewer devices may be implemented or provided instead.
根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置509从网络上被下载和安装,或者从存储装置508被安装,或者从ROM 502被安装。在该计算机程序被处理装置501执行时,执行本公开实施例的方法中限定的上述功能。According to an embodiment of the present disclosure, the process described above with reference to the flowchart may be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product that includes a computer program carried on a computer-readable medium, the computer program containing program code for performing the method shown in the flowchart. In such an embodiment, the computer program may be downloaded and installed from the network through the communication device 509, or from the storage device 508, or from the ROM 502. When the computer program is executed by the processing device 501, the above-mentioned functions defined in the method of the embodiments of the present disclosure are executed.
本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质可以包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、RAM、ROM、可擦式可编程只读存储器(Erasable  Programmable Read-Only Memory,EPROM)或闪存、光纤、便携式紧凑磁盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是多种包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的多种计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用多种适当的介质传输,包括:电线、光缆、射频(Radio Frequency,RF)等等,或者上述的任意合适的组合。The computer-readable medium in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination of the above. Computer-readable storage media may include: electrical connection with one or more wires, portable computer disk, hard disk, RAM, ROM, erasable programmable read-only memory (Erasable Programmable Read-Only Memory, EPROM) or flash memory, optical fiber , Portable compact disk read-only memory (Compact Disc Read-Only Memory, CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above. In the present disclosure, the computer-readable storage medium may be a variety of tangible media containing or storing a program, and the program may be used by or in combination with an instruction execution system, apparatus, or device. In this disclosure, the computer-readable signal medium may include a data signal that is propagated in baseband or as part of a carrier wave, in which computer-readable program code is carried. This propagated data signal can take many forms, including electromagnetic signals, optical signals, or any suitable combination of the above. The computer-readable signal medium may also be a variety of computer-readable media other than computer-readable storage media, and the computer-readable signal medium may be sent, propagated, or transmitted for use by or in conjunction with an instruction execution system, apparatus, or device program. The program code contained on the computer-readable medium may be transmitted using a variety of suitable media, including: electric wires, optical cables, radio frequency (Radio Frequency, RF), etc., or any suitable combination of the foregoing.
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。The computer-readable medium may be included in the electronic device; or may exist alone without being assembled into the electronic device.
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:获取待拍摄物所在平面的信息;如果摄像头的光轴与所述待拍摄物所在平面的夹角角度与预设角度的差值大于误差阈值,则调整所述夹角角度与预设角度的差值小于或等于所述误差阈值;通过所述摄像头获取所述待拍摄物的图像。The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device is caused to: obtain information on the plane of the object to be photographed; if the optical axis of the camera and the If the difference between the included angle and the preset angle of the plane where the object is located is greater than the error threshold, adjust the difference between the included angle and the preset angle to be less than or equal to the error threshold; obtain the to-be-photographed through the camera Images of objects.
或者,上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:获取待拍摄物所在平面的信息;如果摄像头的光轴与所述待拍摄物所在平面的夹角角度与预设角度的差值大于误差阈值,则调整所述夹角角度与预设角度的差值小于或等于所述误差阈值; 通过所述摄像头获取所述待拍摄物的图像。Alternatively, the computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device is caused to: obtain information on the plane of the object to be photographed; if the optical axis of the camera is If the difference between the included angle and the preset angle of the plane where the object is to be captured is greater than the error threshold, adjust the difference between the included angle and the preset angle to be less than or equal to the error threshold; The image of the object to be shot.
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括面向对象的程序设计语言-诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言-诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(Local Area Network,LAN)或广域网(Wide Area Network,WAN)-连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。The computer program code for performing the operations of the present disclosure can be written in one or more programming languages or a combination thereof. The above programming languages include object-oriented programming languages such as Java, Smalltalk, C++, and also include conventional Procedural programming language-such as "C" language or similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as an independent software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server. In situations involving remote computers, the remote computer can be connected to the user's computer through any kind of network, including a local area network (Local Area Network, LAN) or wide area network (Wide Area Network, WAN), or it can be connected to an external computer ( (For example, using an Internet service provider to connect through the Internet).
附图中的流程图和框图,图示了按照本公开多种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the drawings illustrate the possible implementation architecture, functions, and operations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagram may represent a module, program segment, or part of code that contains one or more logic functions Executable instructions. In some alternative implementations, the functions marked in the blocks may also occur in an order different from that marked in the drawings. For example, two blocks shown in succession may actually be executed in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. Each block in the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts, can be implemented with dedicated hardware-based systems that perform specified functions or operations, or can be implemented with dedicated hardware It is implemented in combination with computer instructions.
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定,例如,调整模块还可以被描述为“差值调整模块”。The units described in the embodiments of the present disclosure may be implemented in software or hardware. In some cases, the name of the unit does not constitute a limitation on the unit itself. For example, the adjustment module can also be described as a "difference adjustment module."
实施例六Example Six
本公开实施例六还提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被图像获取装置执行时实现如本公开实施例一提供的图像获取方法,该方法包括:Embodiment 6 of the present disclosure also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by an image acquisition device, an image acquisition method as provided in Embodiment 1 of the present disclosure is implemented. The method includes:
获取待拍摄物所在平面的信息;Obtain the information of the plane where the object to be shot is located;
如果摄像头的光轴与所述待拍摄物所在平面的夹角角度与预设角度的差值大于误差阈值,则调整所述夹角角度与预设角度的差值小于或等于所述误差阈值;If the difference between the angle between the optical axis of the camera and the plane where the object is to be captured and the preset angle is greater than the error threshold, adjust the difference between the included angle and the preset angle to be less than or equal to the error threshold;
通过所述摄像头获取所述待拍摄物的图像。Obtain the image of the object to be photographed through the camera.
当然,本公开实施例所提供的一种计算机可读存储介质,其上存储的计算机程序被执行时不限于实现如上所述的方法操作,还可以实现本公开任意实施例所提供的图像获取方法中的相关操作。Of course, a computer-readable storage medium provided by an embodiment of the present disclosure, when a computer program stored on it is executed, is not limited to implementing the method operations described above, and may also implement the image acquisition method provided by any embodiment of the present disclosure Related operations in.
通过以上关于实施方式的描述,所属领域的技术人员可以清楚地了解到,本公开可借助软件及通用硬件来实现,也可以通过硬件实现。基于这样的理解,本公开的技术方案可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如计算机的软盘、ROM、RAM、闪存(FLASH)、硬盘或光盘等,包括多个指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开多个实施例所述的图像获取方法。Through the above description of the embodiments, those skilled in the art can clearly understand that the present disclosure can be implemented by software and general hardware, or by hardware. Based on this understanding, the technical solution of the present disclosure can be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a computer floppy disk, ROM, RAM, flash memory (FLASH), hard disk, or optical disk Etc., including multiple instructions to enable a computer device (which may be a personal computer, server, or network device, etc.) to execute the image acquisition methods described in various embodiments of the present disclosure.
上述图像获取装置的实施例中,所包括的多个单元和模块只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,多个功能单元的具体名称也只是为了便于相互区分,并不用于限制本公开的保护范围。In the above embodiment of the image acquisition device, the multiple units and modules included are only divided according to the functional logic, but it is not limited to the above division, as long as the corresponding functions can be realized; in addition, the multiple functional units The specific names are only for the purpose of distinguishing each other, and are not used to limit the protection scope of the present disclosure.

Claims (10)

  1. 一种图像获取方法,包括:An image acquisition method, including:
    获取待拍摄物所在平面的信息;Obtain the information of the plane where the object to be shot is located
    在摄像头的光轴与所述待拍摄物所在平面的夹角角度与预设角度的差值大于误差阈值的情况下,调整所述夹角角度与所述预设角度的差值小于或等于所述误差阈值;When the difference between the angle between the optical axis of the camera and the plane where the object is to be captured and the preset angle is greater than the error threshold, adjust the difference between the included angle and the preset angle to be less than or equal to The error threshold
    通过所述摄像头获取所述待拍摄物的图像。Obtain the image of the object to be photographed through the camera.
  2. 根据权利要求1所述的方法,其中,所述调整所述夹角角度与所述预设角度的差值小于或等于所述误差阈值,包括:The method according to claim 1, wherein the difference between adjusting the included angle and the preset angle is less than or equal to the error threshold, including:
    生成所述摄像头的角度调整指令,所述角度调整指令包括调整后的摄像头倾斜角度,所述调整后的摄像头的光轴与所述待拍摄物所在平面的夹角角度与所述预设角度的差值小于或等于所述误差阈值。Generating an angle adjustment instruction of the camera, the angle adjustment instruction including the adjusted camera tilt angle, the angle between the optical axis of the adjusted camera and the plane of the object to be photographed, and the preset angle The difference is less than or equal to the error threshold.
  3. 根据权利要求2所述的方法,其中,所述生成所述摄像头的角度调整指令,包括:The method according to claim 2, wherein the generating the angle adjustment instruction of the camera includes:
    根据夹角角度与倾斜角度的映射关系,以及,所述预设角度,确定所述调整后的摄像头倾斜角度;Determine the adjusted camera tilt angle according to the mapping relationship between the included angle and the tilt angle, and the preset angle;
    根据确定的所述调整后的摄像头倾斜角度生成所述摄像头的角度调整指令。The angle adjustment instruction of the camera is generated according to the determined tilt angle of the adjusted camera.
  4. 根据权利要求1所述的方法,其中,所述预设角度为90°。The method according to claim 1, wherein the preset angle is 90°.
  5. 一种图像获取装置,包括:An image acquisition device, including:
    平面信息获取模块,设置为获取待拍摄物所在平面的信息;The plane information acquisition module is set to obtain the information of the plane where the object to be photographed is located;
    调整模块,设置为在摄像头的光轴与所述待拍摄物所在平面的夹角角度与预设角度的差值大于误差阈值的情况下,调整所述夹角角度与所述预设角度的差值小于或等于所述误差阈值;The adjustment module is configured to adjust the difference between the included angle and the preset angle when the difference between the included angle between the optical axis of the camera and the plane where the object is to be captured and the preset angle is greater than the error threshold The value is less than or equal to the error threshold;
    图像获取模块,设置为通过所述摄像头获取所述待拍摄物的图像。The image acquisition module is configured to acquire the image of the object to be photographed through the camera.
  6. 根据权利要求5所述的装置,其中,所述调整模块,包括:The apparatus according to claim 5, wherein the adjustment module comprises:
    角度调整指令生成单元,设置为:生成所述摄像头的角度调整指令,所述角度调整指令包括调整后的摄像头倾斜角度,所述调整后的摄像头的光轴与所述待拍摄物所在平面的夹角角度与所述预设角度的差值小于或等于所述误差阈 值。The angle adjustment instruction generating unit is configured to generate an angle adjustment instruction of the camera, the angle adjustment instruction includes the adjusted camera tilt angle, and the clamp between the adjusted optical axis of the camera and the plane where the object to be photographed is located The difference between the angle and the preset angle is less than or equal to the error threshold.
  7. 一种点读设备,包括主体、位于所述主体内的控制器和位于所述主体上的摄像头,所述主体安装在待拍摄物所在载体上,所述控制器内设置如权利要求5-6任一项所述的装置。A point reading device, comprising a main body, a controller located in the main body and a camera located on the main body, the main body is mounted on the carrier where the object to be photographed is located, and the controller is provided in claims 5-6 The device of any one of the.
  8. 根据权利要求7所述的设备,其中,所述摄像头包括互补金属氧化物半导体CMOS传感器,以及与所述CMOS传感器相连的镜头;其中,所述CMOS传感器与所述主体角度可调连接。The apparatus according to claim 7, wherein the camera includes a complementary metal oxide semiconductor CMOS sensor, and a lens connected to the CMOS sensor; wherein the CMOS sensor is connected to the body at an adjustable angle.
  9. 一种电子设备,包括:An electronic device, including:
    一个或多个处理器;One or more processors;
    存储器,设置为存储一个或多个程序;Memory, set to store one or more programs;
    所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-4中任一项所述的方法。The one or more programs are executed by the one or more processors, so that the one or more processors implement the method according to any one of claims 1-4.
  10. 一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1-4中任一项所述的方法。A computer-readable storage medium storing a computer program on the computer-readable storage medium, the computer program being executed by a processor to implement the method according to any one of claims 1-4.
PCT/CN2020/070297 2019-01-03 2020-01-03 Image acquisition method, device, point-reading device, electronic device and storage medium WO2020140976A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910005048.4A CN111405173B (en) 2019-01-03 2019-01-03 Image acquisition method and device, point reading equipment, electronic equipment and storage medium
CN201910005048.4 2019-01-03

Publications (1)

Publication Number Publication Date
WO2020140976A1 true WO2020140976A1 (en) 2020-07-09

Family

ID=71406698

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/070297 WO2020140976A1 (en) 2019-01-03 2020-01-03 Image acquisition method, device, point-reading device, electronic device and storage medium

Country Status (2)

Country Link
CN (1) CN111405173B (en)
WO (1) WO2020140976A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112258408A (en) * 2020-10-20 2021-01-22 北京字跳网络技术有限公司 Information display method and device and electronic equipment
CN113778100A (en) * 2021-09-18 2021-12-10 合肥仁洁智能科技有限公司 Cleaning robot control method and device and terminal equipment
CN113793244A (en) * 2021-05-14 2021-12-14 黑蜂智造(深圳)科技有限公司 Image data processing method, electronic device, and computer-readable storage medium
CN115361497A (en) * 2022-08-01 2022-11-18 歌尔股份有限公司 Method, device and equipment for measuring inclination angle of camera module and storage medium
CN115361497B (en) * 2022-08-01 2024-06-07 歌尔股份有限公司 Method, device, equipment and storage medium for measuring inclination angle of camera module

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112272267A (en) * 2020-10-22 2021-01-26 Oppo广东移动通信有限公司 Shooting control method, shooting control device and electronic equipment
CN112950713A (en) * 2021-02-25 2021-06-11 深圳市慧鲤科技有限公司 Positioning method and device, electronic equipment and storage medium
CN113401817A (en) * 2021-05-24 2021-09-17 深圳集智数字科技有限公司 Tower crane height adjusting method and device, computer equipment and storage medium
CN114666509A (en) * 2022-04-08 2022-06-24 Oppo广东移动通信有限公司 Image acquisition method and device, detection module, terminal and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104157171A (en) * 2014-08-13 2014-11-19 三星电子(中国)研发中心 Point-reading system and method thereof
CN104699281A (en) * 2015-03-19 2015-06-10 广东小天才科技有限公司 Touch and read device and touch and talk pen point position calibrating method
US20160034054A1 (en) * 2014-07-31 2016-02-04 The Code Corporation Barcode reader and docking station for charging the barcode reader
CN108052938A (en) * 2017-12-28 2018-05-18 广州酷狗计算机科技有限公司 A kind of point-of-reading device
CN108769419A (en) * 2018-06-04 2018-11-06 Oppo(重庆)智能科技有限公司 Photographic method, mobile terminal and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160034054A1 (en) * 2014-07-31 2016-02-04 The Code Corporation Barcode reader and docking station for charging the barcode reader
CN104157171A (en) * 2014-08-13 2014-11-19 三星电子(中国)研发中心 Point-reading system and method thereof
CN104699281A (en) * 2015-03-19 2015-06-10 广东小天才科技有限公司 Touch and read device and touch and talk pen point position calibrating method
CN108052938A (en) * 2017-12-28 2018-05-18 广州酷狗计算机科技有限公司 A kind of point-of-reading device
CN108769419A (en) * 2018-06-04 2018-11-06 Oppo(重庆)智能科技有限公司 Photographic method, mobile terminal and computer readable storage medium

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112258408A (en) * 2020-10-20 2021-01-22 北京字跳网络技术有限公司 Information display method and device and electronic equipment
CN113793244A (en) * 2021-05-14 2021-12-14 黑蜂智造(深圳)科技有限公司 Image data processing method, electronic device, and computer-readable storage medium
CN113793243A (en) * 2021-05-14 2021-12-14 黑蜂智造(深圳)科技有限公司 Image data processing method, electronic device, and computer-readable storage medium
CN113778100A (en) * 2021-09-18 2021-12-10 合肥仁洁智能科技有限公司 Cleaning robot control method and device and terminal equipment
CN113778100B (en) * 2021-09-18 2024-04-05 仁洁智能科技有限公司 Cleaning robot control method and device and terminal equipment
CN115361497A (en) * 2022-08-01 2022-11-18 歌尔股份有限公司 Method, device and equipment for measuring inclination angle of camera module and storage medium
CN115361497B (en) * 2022-08-01 2024-06-07 歌尔股份有限公司 Method, device, equipment and storage medium for measuring inclination angle of camera module

Also Published As

Publication number Publication date
CN111405173A (en) 2020-07-10
CN111405173B (en) 2022-08-26

Similar Documents

Publication Publication Date Title
WO2020140976A1 (en) Image acquisition method, device, point-reading device, electronic device and storage medium
WO2022111239A1 (en) Screen projection control method and device, and electronic device
US20150350497A1 (en) Method and system for a single frame camera module active alignment tilt correction
WO2018228330A1 (en) Focusing method and apparatus for realizing clear human face, and computer device
EP3164987A1 (en) Mobile camera system
CN111277893B (en) Video processing method and device, readable medium and electronic equipment
US11849211B2 (en) Video processing method, terminal device and storage medium
WO2016154806A1 (en) Automatic zooming method and device
US20240119082A1 (en) Method, apparatus, device, readable storage medium and product for media content processing
WO2022028254A1 (en) Positioning model optimization method, positioning method and positioning device
WO2024051536A1 (en) Livestreaming special effect rendering method and apparatus, device, readable storage medium, and product
WO2022247630A1 (en) Image processing method and apparatus, electronic device and storage medium
JP2023549810A (en) Animal face style image generation method, model training method, device and equipment
US9584728B2 (en) Apparatus and method for displaying an image in an electronic device
TW202312725A (en) Follow-up shooting method and device, medium and electronic device
CN111507123B (en) Method and device for placing reading materials, reading equipment, electronic equipment and medium
WO2020135577A1 (en) Picture generation method and apparatus, and terminal and corresponding storage medium
WO2023098649A1 (en) Video generation method and apparatus, and device and storage medium
WO2023172195A2 (en) Line special effect processing method and apparatus, electronic device, storage medium, and product
CN110807164B (en) Automatic image area adjusting method and device, electronic equipment and computer readable storage medium
WO2022027191A1 (en) Method and device for plane correction, computer-readable medium, and electronic device
US10902265B2 (en) Imaging effect based on object depth information
WO2021170122A1 (en) Image editing method and apparatus, and corresponding storage medium
CN116137025A (en) Video image correction method and device, computer readable medium and electronic equipment
CN113408522A (en) Text processing method, device, terminal and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20736224

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20736224

Country of ref document: EP

Kind code of ref document: A1