CN110891143A - System for remotely controlling focusing system of camera module - Google Patents

System for remotely controlling focusing system of camera module Download PDF

Info

Publication number
CN110891143A
CN110891143A CN201911150599.6A CN201911150599A CN110891143A CN 110891143 A CN110891143 A CN 110891143A CN 201911150599 A CN201911150599 A CN 201911150599A CN 110891143 A CN110891143 A CN 110891143A
Authority
CN
China
Prior art keywords
focusing
camera module
background server
video stream
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911150599.6A
Other languages
Chinese (zh)
Other versions
CN110891143B (en
Inventor
王超
甄国文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Pi Technology Changzhou Co ltd
Original Assignee
Shenzhen Pisofttech 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 Shenzhen Pisofttech Technology Co ltd filed Critical Shenzhen Pisofttech Technology Co ltd
Priority to CN201911150599.6A priority Critical patent/CN110891143B/en
Publication of CN110891143A publication Critical patent/CN110891143A/en
Application granted granted Critical
Publication of CN110891143B publication Critical patent/CN110891143B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/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
    • H04N23/67Focus control based on electronic image sensor signals

Landscapes

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

Abstract

The embodiment of the invention provides a system for remotely controlling a focusing system of a camera module, which comprises: the method comprises the steps that a focusing system sends a focusing request to a background server, the background server generates a focusing operation instruction after verifying second focusing authorization information in the focusing request, and sends the focusing operation instruction to the focusing system, the focusing system receives the focusing operation instruction and carries out focusing operation on an image pickup module in a focusing environment according to second focusing operation setting information after configuring the focusing environment of the image pickup module by a user, and a focusing result is sent to the background server. In the scheme, the remote management of the focusing operation of the third party is achieved by adding the software account of the control production end. In the scheme, the problem that the focusing configuration cannot be set and the focusing management and control are disordered is solved by opening the setting of the focusing configuration parameters and the focusing operation verification means in the background server.

Description

System for remotely controlling focusing system of camera module
Technical Field
The invention relates to the field of camera lenses, in particular to a system for remotely controlling a focusing system of a camera module.
Background
In the field of camera lenses, an existing image capturing module includes a lens, a photosensitive chip, a circuit board of a minimum peripheral circuit required by the photosensitive chip, and a connection structure between the lens and the circuit board, and the image capturing module is also called a camera module. The camera module is used as an electronic component, is completely provided by a module manufacturer and is used for the complete machine assembly of an image acquisition product. And to the tight shot module, the module manufacturer need make a video recording the focusing of module before the module leaves the factory, then fixed with the camera lens to every. Therefore, module manufacturers focus the camera modules to obtain high-quality fixed-focus camera modules.
When the camera module focuses, only when the distance from the lens to the photosensitive chip is equal to the focal length of the lens, and when the light beam collected by the lens is just vertical to the target surface of the photosensitive chip, the photosensitive chip can collect a clear image. The distance from the lens to the photosensitive chip and the angle from the light beam to the target surface of the photosensitive chip require very accurate data. Slight deviations between these two data and the ideal data can have a great influence on the final imaging definition.
The focusing operation of the camera module is performed in a camera module production factory, and a common module production factory is a processing factory of a third party. At present, a focusing system of a conventional camera shooting module focuses in a mode of subjectively judging whether focusing is ideal or not by checking images of the camera shooting module manually. The focusing mode has strong subjectivity and puts high requirements on the experience and operation method of an operator. Because the focusing system is put in the camera module processing factory of third party and uses, just need to carry out strict management and control to the focusing process.
Therefore, it is important to have a reliable and efficient management system for managing the focusing process.
Disclosure of Invention
The embodiment of the invention provides a system for remotely controlling a focusing system of a camera module, which is used for improving the control quality and efficiency of the focusing process of the camera module.
The embodiment of the invention provides a system for remotely controlling a focusing system of a camera module, which comprises: a background server and a focusing system;
the system comprises a background server and a focusing system, wherein the background server is used for sending a configuration instruction to the focusing system, the configuration instruction is used for pre-configuring production end software account information of the focusing system, and the configuration instruction comprises the production end software account information of the focusing system; the production end software account information of the focusing system comprises first focusing authorization information and first focusing operation setting information;
the focusing system is used for sending a focusing request to the background server, wherein the focusing request comprises second focusing authorization information and second focusing operation setting information;
the background server is further configured to generate a focusing operation instruction after verifying the second focusing authorization information, and send the focusing operation instruction to the focusing system, where the focusing operation instruction includes second focusing operation setting information; the first focusing operation setting information is the same as or different from the second focusing operation setting information;
the focusing system is further configured to, after receiving the focusing operation instruction and after a user configures a focusing environment of the camera module, perform focusing operation on the camera module in the focusing environment according to the second focusing operation setting information, send a focusing result to a background server, and receive and store the focusing result by the background server.
Optionally, the focusing operation information includes a preset sharpness value, the focusing system includes a camera module and an image acquisition system connected to the camera module, the camera module includes the lens and the photosensitive chip, and the camera module is configured to acquire a preset picture while adjusting a position of the lens relative to the photosensitive chip, and output a video stream; the image acquisition system is used for calculating the definition value of a fixed preset area of each frame of picture in the video stream aiming at each frame of picture output by the video stream; when the definition value of the fixed preset area of the frame picture at the current moment in the video stream output reaches the preset definition value, stopping adjusting the position of the lens relative to the photosensitive chip, fixing the position of the lens relative to the photosensitive chip, and storing the focusing parameter of the camera module when the definition value of the fixed preset area of the frame picture at the current moment reaches the preset definition value.
Optionally, the focusing system further includes a display screen, configured to display a sharpness value of a fixed preset area of the frame at the current time when the video stream is output.
Optionally, the focusing system further includes:
a fixed preset test drawing;
after the illumination intensity of the pre-shooting environment where the preset test drawing is located is adjusted and set, the camera module is further used for collecting the picture of the preset test drawing and outputting a video stream while adjusting the position of the lens relative to the photosensitive chip.
Optionally, the fixed preset test drawing includes:
the method comprises the following steps of fixing a preset test drawing set, wherein the preset test drawing set comprises N preset test drawings, and N is 1 or 2 or an integer larger than 2.
Optionally, the image acquisition system is further configured to configure shooting parameters of a camera module including the lens and the photosensitive chip; driving the camera module to enable the camera module to start a shooting function;
the image acquisition system is used for acquiring a preset image through the camera module while adjusting the position of the lens relative to the photosensitive chip, and after outputting a video stream, the image acquisition system is also used for acquiring the video stream; calculating a definition value of a fixed preset area of each frame of picture in a video stream aiming at each frame of picture output by the video stream; and judging whether the definition value of a fixed preset area of the frame picture at the current moment when the video stream is output reaches a preset definition value or not.
Optionally, the background server is further configured to verify that the second focusing authorization information is valid, and generate a focusing operation instruction; and when the second focusing operation setting information is the same as the first focusing operation setting information in the production-end software account information of the focusing system prestored in the database, the second focusing authorization information is valid.
Optionally, the background server is further configured to verify that the second focusing authorization information is valid, and generate a focusing operation instruction; and when the focusing remaining times are smaller than the preset remaining times included in the first focusing authorization information in the production end software account information of the focusing system, the second focusing authorization information is valid.
Optionally, the background server is further configured to verify that the second focusing authorization information is valid, and generate a focusing operation instruction; and when the prestored focusing state included in the first focusing authorization information in the production end software account information of the focusing system is an effective state, the second focusing authorization information is effective.
Optionally, before the focusing system sends a pre-login request to the background server through a production side software account of the focusing system, the focusing system is further configured to send configuration success information to the background server;
the background server is also used for storing the account information of the production end software of the focusing system into a database;
after the background server updates the focusing operation setting information in the database and after the background server verifies the focusing authorization information,
and when the background server judges that the focusing operation setting information in the focusing request is different from the updated focusing operation setting information in the database, the background server is further used for generating the first focusing operation instruction.
Optionally, before the focus system sends a pre-login request to the backend server through a production-side software account of the focus system,
the focusing system is also used for sending configuration success information to the background server;
the background server is also used for storing the account information of the production end software of the focusing system into a database; after the background server verifies the focusing authorization information,
and when the background server judges that the focusing operation setting information in the focusing request is the same as the updated focusing operation setting information in the database, the background server is further used for generating the first focusing operation instruction.
Optionally, the image acquisition system is further configured to acquire and store the focusing parameters of the camera module when the definition value of the fixed preset area of the frame at the current time reaches a preset definition value.
Optionally, the image acquisition system is further configured to send a focusing stopping instruction to the camera module, so that the camera module stores the focusing parameters of the camera module when the definition value of the fixed preset area of the frame at the current time reaches a preset definition value.
Optionally, the image acquisition system is further configured to set parameters of a fixed preset region of the frame, where the parameters of the fixed preset region of the frame include the number of sub-regions included in the fixed preset region, and coordinates of each sub-region or the position and size of each sub-region.
Optionally, the image acquisition system is further configured to set a weighted value of each sub-region in each frame of picture output by the video stream; aiming at each frame of picture output by a video stream, calculating the definition value of each subarea of the frame of picture in the video stream; and according to a weighting algorithm and the weighted value of each subarea in the frame picture, carrying out weighting calculation on the definition values of the subareas corresponding to the weighted values of the subareas in the frame picture to obtain a weighted definition value which is used as the definition value of a fixed preset area of each frame in the video stream.
Optionally, the image acquisition system is further configured to determine whether the sharpness value of each sub-region reaches a target value corresponding to the sub-region; when the definition values of a plurality of subareas which accord with a preset number reach target values corresponding to the subareas, carrying out weighted calculation on the definition values of the subareas corresponding to the weighted values of the subareas in the frame picture according to a weighted algorithm and the weighted value of each subarea in the frame picture to obtain weighted definition values which serve as the definition values of a fixed preset area of each frame in the video stream.
According to the technical scheme, the embodiment of the invention has the following advantages:
the embodiment of the invention provides a system for remotely controlling a focusing system of a camera module, which comprises: the method comprises the steps that a focusing system sends a focusing request to a background server, the background server generates a focusing operation instruction after verifying second focusing authorization information in the focusing request, and sends the focusing operation instruction to the focusing system, the focusing system receives the focusing operation instruction and carries out focusing operation on an image pickup module in a focusing environment according to second focusing operation setting information after configuring the focusing environment of the image pickup module by a user, and a focusing result is sent to the background server. In the scheme, the remote management of the focusing operation of the third party is achieved by adding the software account of the control production end. In the scheme, the problem that the focusing configuration cannot be set and the focusing management and control are disordered is solved by opening the setting of the focusing configuration parameters and the focusing operation verification means in the background server.
Drawings
Fig. 1 is a system diagram for remotely controlling a focusing system of a camera module according to an embodiment of the present invention;
fig. 2 is a structural diagram of a focusing system of a camera module according to an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a system for remotely controlling a focusing system of a camera module, which is used for improving the control quality and efficiency of the focusing process of the camera module.
The embodiment of the invention provides a system for remotely controlling a focusing system of a camera module, which comprises: the method comprises the steps that a focusing system sends a focusing request to a background server, the background server generates a focusing operation instruction after verifying second focusing authorization information in the focusing request, and sends the focusing operation instruction to the focusing system, the focusing system receives the focusing operation instruction and carries out focusing operation on an image pickup module in a focusing environment according to second focusing operation setting information after configuring the focusing environment of the image pickup module by a user, and a focusing result is sent to the background server. In the scheme, the remote management of the focusing operation of the third party is achieved by adding the software account of the control production end. In the scheme, the problem that the focusing configuration cannot be set and the focusing management and control are disordered is solved by opening the setting of the focusing configuration parameters and the focusing operation verification means in the background server.
As shown in fig. 1, a system for remotely controlling a focusing system of a camera module according to an embodiment of the present invention includes: a backend server 110 and a focusing system 120. The background server 110 is configured to send a configuration instruction to the focusing system 120, where the configuration instruction is used to pre-configure production-side software account information of the focusing system 120, and the configuration instruction includes the production-side software account information of the focusing system 120; the production-side software account information of the focusing system 120 includes first focusing authorization information and first focusing operation setting information;
the focusing system 120 is configured to send a focusing request to the backend server 110, where the focusing request includes second focusing authorization information and second focusing operation setting information;
the background server 110 is further configured to generate a focusing operation instruction after verifying the second focusing authorization information, and send the focusing operation instruction to the focusing system 120, where the focusing operation instruction includes second focusing operation setting information; the first focusing operation setting information is the same as or different from the second focusing operation setting information;
the focusing system 120 is further configured to, after receiving the focusing operation instruction and after a user configures a focusing environment of the camera module, perform focusing operation on the camera module in the focusing environment according to the second focusing operation setting information by the focusing system 120, send a focusing result to the backend server 110 by the focusing system 120, and receive and store the focusing result by the backend server 110. Optionally, as shown in fig. 2, the focusing system 120 of the camera module according to the embodiment of the present invention includes a camera module 210 and an image capturing system 220. The image capturing system 220 includes an image capturing box 221 and a processor 222, wherein the image capturing box 221 is communicatively connected to the camera module 210 including the lens and the photo sensor chip, the image capturing box 221 is further communicatively connected to the processor 222, and the processor 222 may be a PC.
The focusing operation information includes a preset sharpness value, the focusing system 120 includes a camera module 210 and an image acquisition system 220 connected to the camera module 210, the camera module 210 includes the lens and the photosensitive chip, and the camera module 210 is configured to acquire a preset picture and output a video stream while adjusting a position of the lens relative to the photosensitive chip; the image acquisition system 220 is configured to calculate a sharpness value of a fixed preset region of each frame of picture in the video stream for each frame of picture output by the video stream; when the definition value of the fixed preset area of the frame at the current moment in the video stream output reaches the preset definition value, stopping adjusting the position of the lens relative to the photosensitive chip, fixing the position of the lens relative to the photosensitive chip, and storing the focusing parameter of the camera module 210 when the definition value of the fixed preset area of the frame at the current moment reaches the preset definition value by the camera module 210.
Optionally, the focusing system 120 further includes a display screen, configured to display a sharpness value of a fixed preset area of the frame at the current time when the video stream is output.
In the embodiment, the definition values of different definition calculation areas are calculated through an algorithm, and the calculated definition values are displayed, so that the focusing effect of the current module is reflected more objectively, the focusing effect is judged without judging whether the imaging is clear through human eyes like the traditional method, and the dependence on subjective judgment of people is reduced.
In addition, in the above scheme, through to focusing effect quantization and visual mode, make the focusing process target in place by one step, can ensure moreover that every module 210 of making a video recording's effect can both be transferred to the best, improve the uniformity of every module 210 of making a video recording's definition greatly.
Optionally, the focusing system 120 further includes:
a fixed preset test drawing;
after the illumination intensity of the pre-shooting environment where the preset test drawing is located is adjusted and set, the camera module 210 is further configured to collect a picture of the preset test drawing while adjusting the position of the lens relative to the photosensitive chip, and output a video stream. Optionally, the fixed preset test drawing includes:
the method comprises the following steps of fixing a preset test drawing set, wherein the preset test drawing set comprises N preset test drawings, and N is 1 or 2 or an integer larger than 2.
In this embodiment, the number of the test drawings is determined according to the test requirements of the module to be focused and the efficiency of the resolution calculation algorithm. The more the number of the test drawings is, the larger the viewing angle area covered by the test drawings is, and the larger the area of the definition of the camera module 210 to be tested is. Meanwhile, the more test drawings are, the more areas needing to calculate definition are, the longer the calculation time is, and the higher the performance requirement on the PC is. If the calculation time is too long, the real-time performance of the sharpness numerical calculation is affected, and therefore the efficiency of the focusing operation is affected. The test drawings need to satisfy the definition test of several important characteristic regions and be uniformly distributed in the whole imaging picture. Generally, the test drawings need to be placed in five feature areas of the middle, top middle, bottom middle, left middle and right middle of the imaged picture.
In the present embodiment, specifically, the pattern edge of the test drawing is clear so as to be very easily and accurately recognized by the sharpness calculation algorithm. The number of the lines of the pattern of the test drawing is enough, so that the value calculated by the definition algorithm is large enough, and the definition camera module 210 with different definition degrees can be better distinguished. The sharpness algorithm is used for calculating the sharpness value by calculating the sharpness of the edge of the pattern according to the characteristics of the sharpness algorithm. Since the difference between the black and white transition values is the largest in the black and white line image, for example, in the 8-bit depth image, the RGB values of the pure black color are (0,0,0), the RGB values of the pure white color are (255,255,255), and the difference between the RGB values of the pure black color and the pure white color is 255 with the maximum 8-bit depth value. Preferably, the test paper is a square or circular test paper with dense black and white lattices or dense black and white stripes, so that the total length of the black and white edges is longer, the effective area contributing to the calculation of the definition value is larger, namely the black and white edge area is larger, the calculated definition value is larger, and the numerical difference of the camera module 210 with the close definition can be better pulled away.
In addition, in the embodiment, because the illumination intensity affects the final imaging of the shooting, too much noise is generated on the imaging picture by the shooting due to too small illumination intensity, and the recognition of the edge of the test pattern by the algorithm is interfered by the too much noise, so that the calculation of the final definition value is affected; too much light can cause overexposure on the imaging picture, so that the color of the test pattern is diluted, the edge of the test pattern is covered by glare, and even the test pattern cannot be shot, thereby influencing the correct calculation of the algorithm on the edge of the test pattern. Therefore, the illumination intensity is controlled. Different camera module 210 is because different, the sensitization chip is different to the bearing capacity of the luminous flux through the aperture, need be according to the camera module 210 of treating the focusing, under the different illumination intensity of test, the module 210's of making a video recording formation of image picture condition, the focusing illumination intensity of every type of module 210 of making a video recording under deciding. Under the condition of the illumination intensity, the test pattern in the imaging picture is very clear under the condition that the focus of the camera module 210 is well adjusted, the pattern color is normal, the edge of the pattern has no stray light, and the whole picture has no obvious noise.
The image acquisition system 220 is further configured to configure shooting parameters of the camera module 210 including the lens and the photosensitive chip; driving the camera module 210 to enable the camera module 210 to start a shooting function;
the image acquisition system 220 is further configured to acquire a preset image through the camera module 210 while adjusting the position of the lens relative to the light sensing chip, and after outputting a video stream, the video stream is acquired; calculating a definition value of a fixed preset area of each frame of picture in a video stream aiming at each frame of picture output by the video stream; and judging whether the definition value of a fixed preset area of the frame picture at the current moment when the video stream is output reaches a preset definition value or not.
In this embodiment, the image capture module 210 may be connected to the image capture box 221 in the image capture system 220.
Configuring shooting parameters of a camera module 210 comprising the lens and the photosensitive chip through the image acquisition system 220;
in the present embodiment, the image capturing box 221 is used to configure the shooting parameters of the camera module 210 including the lens and the photosensitive chip.
The image acquisition system 220 drives the camera module 210, so that the camera module 210 starts a shooting function; in this embodiment, the image capturing module 210 is driven by the image capturing box 221, so that the image capturing module 210 starts a shooting function.
In this embodiment, the image capture box 221 performs parameter configuration on the camera module 210 to be focused, drives the camera module 210 to be focused, and enables the camera module 210 to be focused to output a video stream.
When adjusting the position of the lens relative to the photosensitive chip, through containing the lens with the preset picture is collected by the camera module 210 of the photosensitive chip, after the video stream is output, the system further comprises:
acquiring the video stream by the image acquisition system 220; in this embodiment, the image capture box 221 obtains the video stream output by the camera module 210 and forwards the video stream to the PC;
optionally, before the calculating, by the image acquisition system 220, a sharpness value of a fixed preset region of each frame of picture in the video stream for each frame of picture output by the video stream, the system further includes:
the PC is further used for setting parameters of a fixed preset area of the frame picture, and the parameters of the fixed preset area of the frame picture comprise the number of sub-areas included in the fixed preset area, and the coordinates of each sub-area or the position and the size of each sub-area.
In the PC control client, the calculation regions of definition can be set, including the number of the calculation regions, the coordinates of the calculation regions and the length and width of the calculation regions. For example, the resolution of the video stream is 1000 × 1000, that is, the resolution of the framed picture is 1000 × 1000, five sharpness calculation regions of the center, the top center, the bottom center, the left center, and the right center are provided, the coordinates of the center points of the five calculation regions are (500 ), (500,950), (500,50), (50,500), and (950,500), and the size of each of the five calculation regions is 40 × 40.
In this embodiment, by the image acquisition system 220, for each frame of picture output by a video stream, a sharpness value of a fixed preset region of each frame of picture in the video stream is calculated;
after the PC receives the video stream data transmitted from the image capture box 221, in this embodiment, the PC analyzes each frame in the video stream and calculates the definition value of the custom region to be calculated. The PC frames the video stream transmitted from the image capturing box 221, and separates the image frames in the video stream frame by frame to form one-by-one pictures. And the PC calculates all definition calculation regions of the image obtained by frame splitting through an algorithm.
In this embodiment, before stopping adjusting the position of the lens with respect to the light sensing chip when the sharpness value of the fixed preset area of the frame at the current time when the video stream is output reaches the preset sharpness value, the system further includes:
through the image acquisition system 220, it is determined whether the sharpness value of a fixed preset region of the frame at the current moment when the video stream is output reaches a preset sharpness value.
In the present embodiment, the PC sets a threshold value for the sharpness value of each region, the threshold value being a preset sharpness value, and indicates that the sharpness of a sharpness calculation region is acceptable when the sharpness value of the region exceeds the threshold value set for the region.
Optionally, the background server 110 is further configured to verify that the second focusing authorization information is valid, and generate a focusing operation instruction; when the second focusing operation setting information is the same as the first focusing operation setting information in the production-side software account information of the focusing system 120 prestored in the database, the second focusing authorization information is valid.
Optionally, the background server 110 is further configured to verify that the second focusing authorization information is valid, and generate a focusing operation instruction; the second focusing authorization information includes the remaining focusing times, and when the remaining focusing times are smaller than the preset remaining times included in the first focusing authorization information in the production side software account information of the focusing system 120, the second focusing authorization information is valid.
Optionally, the background server 110 is further configured to verify that the second focusing authorization information is valid, and generate a focusing operation instruction; when the prestored focusing state included in the first focusing authorization information in the production-side software account information of the focusing system 120 is an effective state, the second focusing authorization information is effective.
Optionally, before the focusing system 120 sends a pre-login request to the backend server 110 through a production side software account of the focusing system 120, the focusing system 120 is further configured to send configuration success information to the backend server 110;
the background server 110 is further configured to store the production-side software account information of the focusing system 120 in a database;
after the background server 110 updates the focusing operation setting information in the database, after the background server 110 verifies the focusing authorization information,
when the background server 110 determines that the focusing operation setting information in the focusing request is different from the updated focusing operation setting information in the database, the background server 110 is further configured to generate the first focusing operation instruction.
Optionally, before the focusing system 120 sends a pre-login request to the backend server 110 through a production side software account of the focusing system 120, the focusing system 120 is further configured to send configuration success information to the backend server 110;
the background server 110 is further configured to store the production-side software account information of the focusing system 120 in a database; after the background server 110 verifies the focusing authorization information,
when the background server 110 determines that the focusing operation setting information in the focusing request is the same as the updated focusing operation setting information in the database, the background server 110 is further configured to generate the first focusing operation instruction.
Optionally, the image acquisition system 220 is further configured to acquire and store the focusing parameters of the camera module 210 when the definition value of the fixed preset area of the frame at the current time reaches a preset definition value, of the camera module 210.
In the above scheme, the PC is used to store the focusing parameters of each camera module 210, i.e. record and archive the focusing information, so as to review and retrieve the focusing condition of the module in the future, and better manage the life cycle of each module.
Optionally, the image capturing system 220 is further configured to send a focusing stopping instruction to the camera module 210, so that the camera module 210 stores the focusing parameters of the camera module 210 when the sharpness value of the fixed preset area of the frame at the current time of the camera module 210 reaches a preset sharpness value. In the above scheme, the PC is used to forward the focusing instruction including the focusing parameters to the camera module 210, so as to record and archive the focusing information of each module, so as to review and retrieve the focusing condition of the module in the future, and better manage the life cycle of each module.
Optionally, the image acquisition system 220 is further configured to set a weighted value of each sub-region in each frame of the video stream output; aiming at each frame of picture output by a video stream, calculating the definition value of each subarea of the frame of picture in the video stream; and according to a weighting algorithm and the weighted value of each subarea in the frame picture, carrying out weighting calculation on the definition values of the subareas corresponding to the weighted values of the subareas in the frame picture to obtain a weighted definition value which is used as the definition value of a fixed preset area of each frame in the video stream.
Because the camera modules 210 in different application scenes have different requirements on the definition of different regions in the picture, a set of weighting algorithm needs to be added, the definition value of each region is weighted and calculated according to the actual requirements of a specific module, and finally a final definition score is obtained. All weighting coefficients should add up to 1. For example, when the camera module 210 has a high requirement for the center resolution and a low requirement for the edge resolution, five resolution calculation regions of the center, the upper center, the lower center, the left center, and the right center may be set. The sharpness calculation weights of the five sharpness calculation regions of the middle, upper middle, lower middle, left middle, and right middle may be set to 60%, 10%, and 10%, respectively. In this weighting algorithm, all weighting factors, i.e. the sum of the five weighting factors 60%, 10% and 10%, are equal to 1, i.e. 60% + 10% + 10% + 1. For another example, when the center resolution and the edge resolution of the camera module 210 are required to be the same, five resolution calculation regions, namely, the center, the top, the middle, the bottom, the left, the middle, and the right, may be provided. The sharpness calculation weights of the five sharpness calculation regions of the middle, upper middle, lower middle, left middle, and right middle may be set to be the same, each being 20%. In this weighting algorithm, all weighting factors, i.e. the sum of the five weighting factors 20%, 20% and 20%, are equal to 1, i.e. 20% + 20% + 20% + 20% + 20% + 1. The definition calculation system after weighting is as follows: the definition of each region of which the definition value is to be calculated is multiplied by the weighting coefficient of the region to obtain a product, and then the multipliers calculated by all the regions of which the definition value is to be calculated are added to obtain a sum, namely the definition value of the frame image. For example, in an image with five sharpness calculation regions, the sharpness weighting coefficients of the five sharpness calculation regions are 60%, 10%, and 10%, respectively, and the sharpness values calculated by the five sharpness calculation regions are 1000, 800, 900, 1000, and 700, respectively, and after weighting calculation, the sharpness value of the image is 940. Namely as follows:
1000*60%+800*10%+900*10%+1000*10%+700*10%=940。
optionally, the image acquisition system 220 is further configured to determine whether the sharpness value of each sub-region reaches a target value corresponding to the sub-region; when the definition values of a plurality of subareas which accord with a preset number reach target values corresponding to the subareas, carrying out weighted calculation on the definition values of the subareas corresponding to the weighted values of the subareas in the frame picture according to a weighted algorithm and the weighted value of each subarea in the frame picture to obtain weighted definition values which serve as the definition values of a fixed preset area of each frame in the video stream.
Because the camera modules 210 in different application scenes have different requirements on the definition of different regions in the picture, a set of weighting algorithm needs to be added, the definition value of each region is weighted and calculated according to the actual requirements of a specific module, and finally a final definition score is obtained. All weighting coefficients should add up to 1. For example, when the camera module 210 has a high requirement for the center resolution and a low requirement for the edge resolution, five resolution calculation regions of the center, the upper center, the lower center, the left center, and the right center may be set. The sharpness calculation weights of the five sharpness calculation regions of the middle, upper middle, lower middle, left middle, and right middle may be set to 60%, 10%, and 10%, respectively. In this weighting algorithm, all weighting factors, i.e. the sum of the five weighting factors 60%, 10% and 10%, are equal to 1, i.e. 60% + 10% + 10% + 1. For another example, when the center resolution and the edge resolution of the camera module 210 are required to be the same, five resolution calculation regions, namely, the center, the top, the middle, the bottom, the left, the middle, and the right, may be provided. The sharpness calculation weights of the five sharpness calculation regions of the middle, upper middle, lower middle, left middle, and right middle may be set to be the same, each being 20%. In this weighting algorithm, all weighting factors, i.e. the sum of the five weighting factors 20%, 20% and 20%, are equal to 1, i.e. 20% + 20% + 20% + 20% + 20% + 1. The definition calculation system after weighting is as follows: the definition of each region of which the definition value is to be calculated is multiplied by the weighting coefficient of the region to obtain a product, and then the multipliers calculated by all the regions of which the definition value is to be calculated are added to obtain a sum, namely the definition value of the frame image. For example, in an image with five sharpness calculation regions, the sharpness weighting coefficients of the five sharpness calculation regions are 60%, 10%, and 10%, respectively, and the sharpness values calculated by the five sharpness calculation regions are 1000, 800, 900, 1000, and 700, respectively, and after weighting calculation, the sharpness value of the image is 940. Namely as follows:
1000*60%+800*10%+900*10%+1000*10%+700*10%=940。
optionally, the display may receive an image frame of the focusing process, a resolution calculation area, and a focusing setting interface from the PC. Optionally, the display may receive an image frame of the focusing process, a resolution calculation area, and a focusing setting interface from the PC.
According to the technical scheme, the embodiment of the invention has the following advantages:
the embodiment of the invention provides a system for remotely controlling a focusing system 120 of a camera module, which comprises: the focusing system 120 sends a focusing request to the backend server 110, the backend server 110 generates a focusing operation instruction after verifying second focusing authorization information in the focusing request, and sends the focusing operation instruction to the focusing system 120, after the focusing system 120 receives the focusing operation instruction, and after a user configures a focusing environment of the camera module, the focusing system 120 performs focusing operation on the camera module in the focusing environment according to second focusing operation setting information, and sends a focusing result to the backend server 110. In the scheme, the remote management of the focusing operation of the third party is achieved by adding the software account of the control production end. And, in the above scheme, the problem that the focusing configuration cannot be set and the focusing management and control is disordered is solved by opening the setting of the focusing configuration parameters and the focusing operation verification means in the background server 110.
And, in the above scheme, the problem that the focusing configuration cannot be set is solved by opening the setting of the focusing configuration parameters at the background server 110.
In addition, in the above solution, all configuration parameters are stored in the backend server 110, and the website of the backend server 110 is input through a network account (e.g., a web browsing server), so that the backend server 110 can log in to edit the configuration parameters, thereby solving the problem that the focusing parameters are dead and cannot be modified through an interface. The configuration parameters are edited without time and space limitation, and the method does not need to reach a focusing production site at any time and any place, and is very efficient.
In addition, in the present embodiment, each time the focus operation is performed, the production software applies for a focus permission authorization to the background server 110. When the backend server 110 permits the production side software to perform focusing, the production side software can perform focusing. By modifying the configuration settings of the backend server 110, the production side software is immediately available. When abnormal operation of the production end software is found, the setting of the background server 110 is modified, and the abnormal operation of the production end software can be immediately prevented, so that the remote focusing control operation on a production field in real time is realized, and the safety and reliability of focusing are improved.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product.
The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can store or a data storage device, such as a server, a data center, etc., that is integrated with one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above described systems, apparatuses and units may refer to the corresponding processes in the foregoing system embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and system may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the system according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (9)

1. The utility model provides a system for carry out long-range management and control to the focusing system of module of making a video recording which characterized in that, the system includes: a background server and a focusing system;
the background server is used for sending a configuration instruction to the focusing system, the configuration instruction is used for pre-configuring production end software account information of the focusing system, and the configuration instruction comprises the production end software account information of the focusing system; the production end software account information of the focusing system comprises first focusing authorization information and first focusing operation setting information;
the focusing system is used for sending a focusing request to the background server, wherein the focusing request comprises second focusing authorization information and second focusing operation setting information;
the background server is further configured to generate a focusing operation instruction after verifying the second focusing authorization information, and send the focusing operation instruction to the focusing system, where the focusing operation instruction includes second focusing operation setting information; the first focusing operation setting information is the same as or different from the second focusing operation setting information;
the focusing system is further configured to, after receiving the focusing operation instruction and after a user configures a focusing environment of the camera module, perform focusing operation on the camera module in the focusing environment according to the second focusing operation setting information, send a focusing result to a background server, and receive and store the focusing result by the background server.
2. The system of claim 1, wherein the focusing operation information includes a preset sharpness value, the focusing system includes a camera module and an image capturing system connected to the camera module, the camera module includes the lens and the photo sensor, and the camera module is configured to capture a preset image and output a video stream while adjusting a position of the lens relative to the photo sensor; the image acquisition system is used for calculating the definition value of a fixed preset area of each frame of picture in the video stream aiming at each frame of picture output by the video stream; when the definition value of the fixed preset area of the frame picture at the current moment in the video stream output reaches the preset definition value, stopping adjusting the position of the lens relative to the photosensitive chip, fixing the position of the lens relative to the photosensitive chip, and storing the focusing parameter of the camera module when the definition value of the fixed preset area of the frame picture at the current moment reaches the preset definition value.
3. The system of claim 2, wherein the focusing system further comprises a display screen for displaying a sharpness value of a fixed preset area of the frame picture at a current time when the video stream is output.
4. The system of claim 2, wherein the focusing system further comprises:
a fixed preset test drawing;
after the illumination intensity of the pre-shooting environment where the preset test drawing is located is adjusted and set, the camera module is further used for collecting the picture of the preset test drawing and outputting a video stream while adjusting the position of the lens relative to the photosensitive chip.
5. The system of claim 4, wherein the fixed preset test drawing comprises:
the method comprises the following steps of fixing a preset test drawing set, wherein the preset test drawing set comprises N preset test drawings, and N is 1 or 2 or an integer larger than 2.
6. The system of claim 2, wherein the image capture system is further configured to configure the shooting parameters of a camera module comprising the lens and the light-sensing chip; driving the camera module to enable the camera module to start a shooting function;
the image acquisition system is used for acquiring a preset image through the camera module while adjusting the position of the lens relative to the photosensitive chip, and after outputting a video stream, the image acquisition system is also used for acquiring the video stream; calculating a definition value of a fixed preset area of each frame of picture in a video stream aiming at each frame of picture output by the video stream; and judging whether the definition value of a fixed preset area of the frame picture at the current moment when the video stream is output reaches a preset definition value or not.
7. The system of claim 1, wherein the background server is further configured to verify that the second focusing authorization information is valid, and generate a focusing operation instruction; and when the second focusing operation setting information is the same as the first focusing operation setting information in the production-end software account information of the focusing system prestored in the database, the second focusing authorization information is valid.
8. The system of claim 1, wherein the background server is further configured to verify that the second focusing authorization information is valid, and generate a focusing operation instruction; and when the focusing remaining times are smaller than the preset remaining times included in the first focusing authorization information in the production end software account information of the focusing system, the second focusing authorization information is valid.
9. The system of claim 1, wherein the background server is further configured to verify that the second focusing authorization information is valid, and generate a focusing operation instruction; and when the prestored focusing state included in the first focusing authorization information in the production end software account information of the focusing system is an effective state, the second focusing authorization information is effective.
CN201911150599.6A 2019-11-21 2019-11-21 System for remotely controlling focusing system of camera module Active CN110891143B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911150599.6A CN110891143B (en) 2019-11-21 2019-11-21 System for remotely controlling focusing system of camera module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911150599.6A CN110891143B (en) 2019-11-21 2019-11-21 System for remotely controlling focusing system of camera module

Publications (2)

Publication Number Publication Date
CN110891143A true CN110891143A (en) 2020-03-17
CN110891143B CN110891143B (en) 2021-10-15

Family

ID=69748272

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911150599.6A Active CN110891143B (en) 2019-11-21 2019-11-21 System for remotely controlling focusing system of camera module

Country Status (1)

Country Link
CN (1) CN110891143B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120081594A1 (en) * 2010-09-30 2012-04-05 Nikon Corporation Interchangeable lens, camera body and camera system
CN205080362U (en) * 2015-10-22 2016-03-09 佛山市亿欧光电科技有限公司 Lens focusing device
CN106878622A (en) * 2017-04-20 2017-06-20 长春欧意光电技术有限公司 A kind of automatic focusing processing system and processing method
US20180322718A1 (en) * 2016-02-17 2018-11-08 Tencent Technology (Shenzhen) Company Limited Authorization method, apparatus, and system applied to electronic lock
CN209534786U (en) * 2018-12-03 2019-10-25 北京兴达智联科技有限公司 A kind of electric motor intelligent changes electric system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120081594A1 (en) * 2010-09-30 2012-04-05 Nikon Corporation Interchangeable lens, camera body and camera system
CN205080362U (en) * 2015-10-22 2016-03-09 佛山市亿欧光电科技有限公司 Lens focusing device
US20180322718A1 (en) * 2016-02-17 2018-11-08 Tencent Technology (Shenzhen) Company Limited Authorization method, apparatus, and system applied to electronic lock
CN106878622A (en) * 2017-04-20 2017-06-20 长春欧意光电技术有限公司 A kind of automatic focusing processing system and processing method
CN209534786U (en) * 2018-12-03 2019-10-25 北京兴达智联科技有限公司 A kind of electric motor intelligent changes electric system

Also Published As

Publication number Publication date
CN110891143B (en) 2021-10-15

Similar Documents

Publication Publication Date Title
WO2022057670A1 (en) Real-time focusing method, apparatus and system, and computer-readable storage medium
US8248516B2 (en) Focus detection apparatus and control method therefor
US20110221920A1 (en) Digital photographing apparatus, method of controlling the same, and computer readable storage medium
KR101643321B1 (en) A digital photographing apparatus, a method for controlling the same, and a computer-readable medium
CN114885138A (en) Projection equipment and automatic focusing method
EP4037313A1 (en) White balance synchronization method and apparatus, and terminal device
CN104853112A (en) Method and apparatus for controlling long exposure time
CN110730307A (en) Focusing device of camera module
US10887524B2 (en) Image pickup apparatus, an image processing method and a non-transitory computer-readable medium
US20110310273A1 (en) Resolution adjusting method
CN103004179B (en) Tracking means and tracking
EP3912336B1 (en) Automatic generation of all-in-focus images with a mobile camera
CN110677576B (en) Focusing system of camera module
US9094601B2 (en) Image capture device and audio hinting method thereof in focusing
CN110661981B (en) System for remotely controlling focusing system of camera module
CN110891143B (en) System for remotely controlling focusing system of camera module
CN110730308B (en) Method for remotely controlling focusing system of camera module
CN110855888B (en) Method for remotely controlling focusing system of camera module
CN110730309A (en) Focusing method of camera module
CN210781057U (en) Focusing device of camera module
CN116320335A (en) Projection equipment and method for adjusting projection picture size
JP2011135380A (en) Image capturing apparatus, image sharing method, and image sharing program
CN108449547B (en) Method for controlling a night vision system, storage medium and processor
CN113572968A (en) Image fusion method and device, camera equipment and storage medium
CN115720293B (en) Camera focusing control method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Building 4D, Gongyanhui Science and Technology Industrial Park, No. 160, Xihu West Road, Wujin National High and New Technology Industrial Development Zone, Changzhou City, Jiangsu Province, 213166

Patentee after: Pi Technology (Changzhou) Co.,Ltd.

Address before: 518052 102, building C11, TCL Science Park, 1001 Zhongshan Garden Road, Nanshan District, Shenzhen City, Guangdong Province

Patentee before: SHENZHEN PISOFTTECH TECHNOLOGY Co.,Ltd.