CN112689095A - Camera sensor focusing data calibration method and camera sensor - Google Patents

Camera sensor focusing data calibration method and camera sensor Download PDF

Info

Publication number
CN112689095A
CN112689095A CN202011597258.6A CN202011597258A CN112689095A CN 112689095 A CN112689095 A CN 112689095A CN 202011597258 A CN202011597258 A CN 202011597258A CN 112689095 A CN112689095 A CN 112689095A
Authority
CN
China
Prior art keywords
camera sensor
focus
data
register
camera
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.)
Pending
Application number
CN202011597258.6A
Other languages
Chinese (zh)
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.)
Shanghai Moqin Intelligent Technology Co ltd
Original Assignee
Shanghai Moqin Intelligent 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 Shanghai Moqin Intelligent Technology Co ltd filed Critical Shanghai Moqin Intelligent Technology Co ltd
Priority to CN202011597258.6A priority Critical patent/CN112689095A/en
Publication of CN112689095A publication Critical patent/CN112689095A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)

Abstract

The invention discloses a method for calibrating focusing data of a camera sensor and the camera sensor. The camera calibration platform has the advantages that the focusing data in the register of the camera sensor can be directly sent to the camera calibration platform through the device control interface function set by the camera sensor, compared with the technical scheme of externally hanging the EEPROM in the prior art, the cost can be reduced, the size can be reduced, and the data reading efficiency can be improved.

Description

Camera sensor focusing data calibration method and camera sensor
Technical Field
The embodiment of the invention relates to the technical field of cameras, in particular to a method for calibrating focusing data of a camera sensor and the camera sensor.
Background
Currently, the MTK (concurrent technology) platform has no processing scheme of camera sensor end AF (Auto Focus) OTP, and there is a technical gap in this field. The existing scheme is an AF processing scheme based on a platform end, namely an EEPROM (Electrically Erasable and Programmable read only memory) end, and the code flow is complicated and misunderstanding is easily caused. And the EEPROM is used for storing AF data, and the EEPROM needs to be externally hung, so that the cost is increased and the space is occupied.
Disclosure of Invention
Compared with the prior art, the camera sensor focusing data calibration method and the camera sensor provided by the embodiment of the invention can reduce the cost, reduce the volume and improve the data reading efficiency.
In a first aspect, an embodiment of the present invention provides a method for calibrating camera sensor focus data, including:
acquiring focusing data in a register of a camera sensor;
transmitting the focus data to a camera platform for calibration through a device control interface function of the camera sensor.
In the technical scheme, the focusing data in the register of the camera sensor can be directly sent to the camera calibration platform through the equipment control interface function arranged on the camera sensor, and compared with the technical scheme of externally hanging the EEPROM in the prior art, the method and the device for calibrating the camera sensor can reduce the cost, reduce the volume and improve the data reading efficiency.
Optionally, the focus data includes DAC values for far focus and near focus.
Optionally, the DAC value of the far focus is a DAC value of infinity; the near-focus DAC value is a macro DAC value.
Optionally, before acquiring the focus data in the register of the camera sensor, the method further includes:
and burning the focusing data to a register of the camera sensor.
Optionally, the register is an OTP (One Time Programmable) register.
In a second aspect, an embodiment of the present invention provides a camera sensor, including:
an acquisition unit for acquiring focusing data in a register of a camera sensor;
and the processing unit is used for transmitting the focusing data to a camera platform for calibration through a device control interface function of the camera sensor.
Optionally, the focus data includes DAC values for far focus and near focus.
Optionally, the DAC value of the far focus is a DAC value of infinity; the near-focus DAC value is a macro DAC value.
Optionally, the processing unit is further configured to:
before acquiring focusing data in a register of a camera sensor, burning the focusing data into the register of the camera sensor.
Optionally, the register is an OTP register.
In a third aspect, an embodiment of the present invention further provides a computing device, including:
a memory for storing program instructions;
and the processor is used for calling the program instructions stored in the memory and executing the method for calibrating the focusing data of the camera sensor according to the obtained program.
In a fourth aspect, embodiments of the present invention further provide a computer-readable non-volatile storage medium, which includes computer-readable instructions, and when the computer-readable instructions are read and executed by a computer, the computer is caused to execute the method for calibrating the camera sensor focus data.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of a system architecture according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a method for calibrating focusing data of a camera sensor according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating focusing data according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a focusing data flow according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a camera sensor according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a system architecture provided in an embodiment of the present invention. As shown in fig. 1, the system architecture may be a sensor 100, and the sensor 100 may include a processor 110, a communication interface 120, and a memory 130.
The communication interface 120 is used for communicating with a terminal device, and transceiving information transmitted by the terminal device to implement communication.
The processor 110 is a control center of the server 100, connects various parts of the entire server 100 using various interfaces and lines, performs various functions of the server 100 and processes data by running or executing software programs and/or modules stored in the memory 130 and calling data stored in the memory 130. Alternatively, processor 110 may include one or more processing units.
The memory 130 may be used to store software programs and modules, and the processor 110 executes various functional applications and data processing by operating the software programs and modules stored in the memory 130. The memory 130 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to a business process, and the like. Further, the memory 130 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
It should be noted that the structure shown in fig. 1 is only an example, and the embodiment of the present invention is not limited thereto.
Based on the above description, fig. 2 shows in detail a flow of a method for calibrating camera sensor focus data according to an embodiment of the present invention, where the flow may be executed by a device for calibrating camera sensor focus data, and the device may be a wearable device or may be located in the wearable device.
As shown in fig. 2, the process specifically includes:
step 201, acquiring focusing data in a register of a camera sensor.
In an embodiment of the present invention, the register is an OTP register. Before the focus data is acquired, the focus data needs to be burned into a register of the camera sensor.
The focusing data may include far focus data and near focus data, specifically, DAC values of far focus and near focus, or, it may be said that the DAC value of far focus is a DAC value of Infinity (Infinity); the DAC value in near focus is the DAC value for MACRO (MACRO). As shown in fig. 3, the OTP is used for calibration of a camera sensor (CameraSensor). Because of the large variability in module production, to ensure consistent results, the module factory will pick some modules as representatives (gold) and then calibrate the corresponding parameters of other modules to the same values as these gold. Due to the difference of the process and the motor, the same focusing distance and different driving currents required by different modules for completing focusing are different, when the modules leave a factory, DAC values of a near focus and a far focus can be burnt, and corresponding values are called when the client side is applied, so that the focusing speed and accuracy of the modules are improved. The AF recording module reads the DAC values at macro (typically 10cm) and infinity (>3m), which are typically read as if they require platform calibration for OTP of AF.
Step 202, transmitting the focusing data to a camera platform for calibration through a device control interface function of the camera sensor.
In the embodiment of the invention, the camera sensor is provided with an equipment control interface function (Loctl), and when the camera platform needs to be calibrated, the camera sensor can use the Loctl to send focusing data to the camera platform.
As shown in fig. 4, the register of the chip of the camera sensor is burned with focusing data, and a system Kernel (Kernel) can read the focusing data, and then send the focusing data to an application Layer for focusing calibration through a Loctl in a HAL (Hardware Abstraction Layer).
In the embodiment of the invention, the focusing data in the register of the camera sensor is acquired, and the focusing data is transmitted to the camera platform for calibration through the equipment control interface function of the camera sensor. The camera calibration platform has the advantages that the focusing data in the register of the camera sensor can be directly sent to the camera calibration platform through the device control interface function set by the camera sensor, compared with the technical scheme of externally hanging the EEPROM in the prior art, the cost can be reduced, the size can be reduced, and the data reading efficiency can be improved.
Based on the same technical concept, fig. 5 exemplarily shows a structure of a camera sensor provided by an embodiment of the present invention, and the apparatus can perform a flow of camera sensor focus data calibration.
As shown in fig. 5, the apparatus specifically includes:
an acquisition unit 501 for acquiring focusing data in a register of a camera sensor;
a processing unit 502 for transmitting the focusing data to a camera platform for calibration through a device control interface function of the camera sensor.
Optionally, the focus data includes DAC values for far focus and near focus.
Optionally, the DAC value of the far focus is a DAC value of infinity; the near-focus DAC value is a macro DAC value.
Optionally, the processing unit 502 is further configured to:
before acquiring focusing data in a register of a camera sensor, burning the focusing data into the register of the camera sensor.
Optionally, the register is an OTP register.
Based on the same technical concept, an embodiment of the present invention further provides a computing device, including:
a memory for storing program instructions;
and the processor is used for calling the program instructions stored in the memory and executing the method for calibrating the focusing data of the camera sensor according to the obtained program.
Based on the same technical concept, embodiments of the present invention also provide a computer-readable non-volatile storage medium, which includes computer-readable instructions, and when the computer reads and executes the computer-readable instructions, the computer is caused to execute the method for calibrating the camera sensor focusing data.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A method for camera sensor focus data calibration, comprising:
acquiring focusing data in a register of a camera sensor;
transmitting the focus data to a camera platform for calibration through a device control interface function of the camera sensor.
2. The method of claim 1, wherein the focus data comprises DAC values for far focus and near focus.
3. The method of claim 2, wherein the DAC value for afocal is a DAC value at infinity; the near-focus DAC value is a macro DAC value.
4. The method of claim 1, prior to acquiring the focus data in the register of the camera sensor, further comprising:
and burning the focusing data to a register of the camera sensor.
5. The method of any of claims 1 to 4, wherein the register is a one-time programmable (OTP) register.
6. A camera sensor, comprising:
an acquisition unit for acquiring focusing data in a register of a camera sensor;
and the processing unit is used for transmitting the focusing data to a camera platform for calibration through a device control interface function of the camera sensor.
7. The camera sensor of claim 6, wherein the focus data comprises DAC values for far focus and near focus.
8. The camera sensor of claim 7, wherein the DAC value for afocal is a DAC value at infinity; the near-focus DAC value is a macro DAC value.
9. A computing device, comprising:
a memory for storing program instructions;
a processor for calling program instructions stored in said memory to execute the method of any one of claims 1 to 5 in accordance with the obtained program.
10. A computer-readable non-transitory storage medium including computer-readable instructions which, when read and executed by a computer, cause the computer to perform the method of any one of claims 1 to 5.
CN202011597258.6A 2020-12-29 2020-12-29 Camera sensor focusing data calibration method and camera sensor Pending CN112689095A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011597258.6A CN112689095A (en) 2020-12-29 2020-12-29 Camera sensor focusing data calibration method and camera sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011597258.6A CN112689095A (en) 2020-12-29 2020-12-29 Camera sensor focusing data calibration method and camera sensor

Publications (1)

Publication Number Publication Date
CN112689095A true CN112689095A (en) 2021-04-20

Family

ID=75454064

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011597258.6A Pending CN112689095A (en) 2020-12-29 2020-12-29 Camera sensor focusing data calibration method and camera sensor

Country Status (1)

Country Link
CN (1) CN112689095A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105677434A (en) * 2016-03-18 2016-06-15 格科微电子(上海)有限公司 OTP (One Time Programmable) memory burn method for image sensor
CN106921820A (en) * 2015-12-24 2017-07-04 三星电机株式会社 Imageing sensor and camera model
WO2018119554A1 (en) * 2016-12-26 2018-07-05 上海传英信息技术有限公司 Camera control method for intelligent terminal
CN110855979A (en) * 2019-11-18 2020-02-28 上海龙旗科技股份有限公司 Camera module detection method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106921820A (en) * 2015-12-24 2017-07-04 三星电机株式会社 Imageing sensor and camera model
CN105677434A (en) * 2016-03-18 2016-06-15 格科微电子(上海)有限公司 OTP (One Time Programmable) memory burn method for image sensor
WO2018119554A1 (en) * 2016-12-26 2018-07-05 上海传英信息技术有限公司 Camera control method for intelligent terminal
CN110855979A (en) * 2019-11-18 2020-02-28 上海龙旗科技股份有限公司 Camera module detection method and device

Similar Documents

Publication Publication Date Title
CN108632533B (en) Camera control method, mobile terminal and computer readable storage medium
US11094049B2 (en) Computing device and non-transitory storage medium implementing target object identification method
CN110955715A (en) ERP system, data conversion method and device of target platform and electronic equipment
CN105783900A (en) Sensor data calibrating method and device
CN111666088A (en) Pod replacement method and device, electronic equipment and computer-readable storage medium
US9298949B2 (en) Method for programming a mobile end device chip
CN113032202B (en) Chip verification method, system, device, computer equipment and storage medium
CN110596137A (en) Two-dimensional code defect detection method and device on production line
CN113778471A (en) Camera module burning method and device and readable storage medium
CN112689095A (en) Camera sensor focusing data calibration method and camera sensor
CN109324838B (en) Execution method and execution device of single chip microcomputer program and terminal
CN111858020B (en) User resource limiting method and device and computer storage medium
CN111476729A (en) Target identification method and device
CN111143258A (en) Method, system, device and medium for accessing FPGA (field programmable Gate array) by system based on Opencl
US20240011792A1 (en) Method and apparatus for updating confidence of high-precision map
CN113472611A (en) Method and device for acquiring WiFi signal strength and readable storage medium
CN113885795A (en) Data storage method and device, terminal equipment and storage medium
CN110602378A (en) Processing method, device and equipment for images shot by camera
CN110138890A (en) Method, device, computer equipment and storage medium for acquiring IP address
CN110765426A (en) Equipment permission setting method, device, equipment and computer storage medium
CN109934232A (en) Vehicle identification method, computer installation and computer readable storage medium
CN117560285B (en) Intelligent control internet of things OTA upgrading method, client and server
CN110874252A (en) Focus control method, device and equipment
CN117635670A (en) Writing and reading method, device and storage medium for camera module calibration file
CN112445521B (en) Data processing method, related equipment and computer readable medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210420

RJ01 Rejection of invention patent application after publication