A camera dust removal method and system, electronic equipment and storage medium

By acquiring dust observation data of the camera lens and calculating the actual interference area, the dust removal device is automatically activated, solving the problem that the dust removal mechanism in the existing technology cannot make accurate judgments, and improving the shooting effect and equipment life of the camera.

CN116713217BActive Publication Date: 2025-11-28NANJING BESTWAY AUTOMATION SYST
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202310529640.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-11
Publication Date
2025-11-28
Estimated Expiration
2043-05-11

AI Technical Summary

Technical Problem

When existing cameras are used in underground coal mines, the dust removal mechanism cannot accurately determine whether the lens needs cleaning, resulting in frequent operation of the dust removal mechanism or untimely cleaning, which affects the shooting effect and may damage the motor.

Method used

By acquiring dust observation data on the camera lens, the actual interference area of ​​the dust is calculated, and the dust removal device is activated to automatically remove dust when the dust removal conditions are met.

Benefits of technology

It achieves automatic dust removal of camera lenses, improves shooting results, and avoids unnecessary work of the dust removal mechanism and damage to the motor.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116713217B_ABST
    Figure CN116713217B_ABST
Patent Text Reader

Abstract

The application discloses a camera dust removal method and system, electronic equipment and a storage medium. The method comprises the following steps: in the case that it is determined that dust exists on a camera lens, acquiring observation data of the dust on the camera lens, determining dust calculation parameters based on the observation data, determining an actual interference area on the camera lens based on the dust calculation parameters, and starting a dust removal device to remove dust from the camera lens in the case that the actual interference area meets dust removal conditions. Dust is removed based on the actual interference area of the dust attached to the camera lens, automatic dust removal of the camera lens is realized, and the shooting effect of the camera is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] Embodiments of the present application relate to camera lens dust removal technology, and in particular to a camera dust removal method and system, electronic equipment and storage medium. BACKGROUND

[0002] During underground mining operations, the safety of the operation is monitored by a mine intrinsically safe camera, and the camera needs to upload monitoring data to the ground for analysis and processing. Due to the dusty and foggy environment in the coal mine, dust and water mist and other impurities often adhere to the camera lens.

[0003] The existing 5G camera needs to use a dust removal mechanism to clean the camera lens when used underground. The traditional dust removal mechanism can only clean the lens at a set frequency, which can easily cause the lens to be covered with impurities, and the dust removal mechanism does not clean the lens at the cleaning time, resulting in impurities affecting the camera shooting effect, or the dust removal mechanism cleans the lens at the cleaning time, and there is no impurities on the lens, the dust removal mechanism still cleans the lens, resulting in repeated work of the motor, which is easy to damage. SUMMARY

[0004] The present application provides a camera lens dust removal method, system, electronic equipment and storage medium to automatically remove dust from the camera lens.

[0005] In a first aspect, the embodiments of the present application provide a camera lens dust removal method, comprising:

[0006] In the case where it is determined that there is dust on the camera lens, the observation data of the dust on the camera lens is obtained;

[0007] Based on the observation data, the dust calculation parameter is determined, and the actual interference area on the camera lens is determined based on the dust calculation parameter;

[0008] In the case where the actual interference area meets the dust removal condition, the dust removal device is started to remove the dust from the camera lens.

[0009] Optionally, the method further comprises:

[0010] The current dust concentration information on the camera lens is obtained, and in the case where the current dust concentration information is greater than a preset concentration threshold, it is determined that there is dust on the camera lens.

[0011] Optionally, the observation data of the dust on the camera lens is obtained, comprising:

[0012] The incident light intensity of the camera lens is converted to an electrical signal intensity, and the observation data of the dust on the camera lens is determined based on the electrical signal intensity.

[0013] Optionally, the observation data of the dust is an observation coverage area of one or more single dusts on the lens of the camera;

[0014] The method further comprises:

[0015] determining an observation radius of the dust based on the observation coverage area of the single dust;

[0016] determining the actual interference area of the dust on the lens of the camera based on the sum of the observation radius and the halo difference value.

[0017] Optionally, the method further comprises:

[0018] if there are at least two dusts overlapping on the lens of the camera, determining the actual interference area of the dust on the lens of the camera based on the sum of the actual interference areas of the at least two dusts and the area of the overlapping part of the at least two dusts.

[0019] Optionally, the method further comprises:

[0020] if the actual interference area of the dust is greater than or equal to a preset coverage area threshold, determining that the actual interference area meets a dust removal condition;

[0021] if the actual interference area of the dust is less than the preset coverage area threshold, determining that the actual interference area does not meet the dust removal condition.

[0022] Optionally, the method further comprises:

[0023] determining the actual interference area of different regions on the lens of the camera based on the dust calculation parameter, wherein the regions include a center region and an edge region, and a preset coverage area threshold corresponding to the center region is less than a preset coverage area threshold corresponding to the edge region.

[0024] Optionally, the method further comprises: configuring a reciprocating number of single dust removal and a duration of single dust removal.

[0025] The method further comprises:

[0026] In a second aspect, an embodiment of the present application further provides a camera dust removal system, comprising:

[0027] An observation data obtaining module is configured to obtain observation data of dust on the lens of the camera in a case where it is determined that dust exists on the lens of the camera.

[0028] An interference area calculating module is configured to determine a dust calculation parameter based on the observation data, and determine an actual interference area on the lens of the camera based on the dust calculation parameter.

[0029] A control module is configured to start a dust removal device to remove dust from the lens of the camera in a case where the actual interference area meets a dust removal condition.

[0030] In a third aspect, an electronic device is provided, and the electronic device comprises:

[0031] at least one processor; and

[0032] a memory connected with the at least one processor; wherein

[0033] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to execute the camera dust removal method in any one of the first aspect.

[0034] In a fourth aspect, a computer readable storage medium is provided, and the computer readable storage medium stores computer instructions for enabling a processor to execute the camera dust removal method in any one of the first aspect when the processor executes the computer instructions.

[0035] The present application determines the observation data of dust on the lens of the camera in a case where it is determined that dust exists on the lens of the camera, determines a dust calculation parameter based on the observation data, determines an actual interference area on the lens of the camera based on the dust calculation parameter, and starts a dust removal device to remove dust from the lens of the camera in a case where the actual interference area meets a dust removal condition. Dust is removed based on the actual interference area of dust attached to the lens of the camera, automatic dust removal of the lens of the camera is realized, and the shooting effect of the camera is improved. BRIEF DESCRIPTION OF DRAWINGS

[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0037] Figure 1 is a flowchart of a camera dust removal method provided by the first embodiment of the present application;

[0038] Figure 2 is a structural schematic diagram of a camera dust removal system provided by Embodiment Two of the present application;

[0039] Figure 3 is a structural schematic diagram of a camera dust removal system provided by Embodiment Three of the present application;

[0040] Figure 4 is a structural schematic diagram of an electronic device provided by Embodiment Four of the present application. DETAILED DESCRIPTION

[0041] In order to enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative efforts should fall within the protection scope of the present application.

[0042] It should be noted that the terms "first", "second", and the like in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily indicate a specific order or a chronological sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device that includes a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but can include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0043] Embodiment One

[0044] Figure 1 is a flowchart of a camera dust removal method provided by Embodiment One of the present application. The present embodiment can be applicable to the case of camera dust removal. The method can be executed by a camera dust removal system, which can be realized in the form of hardware and / or software. The camera dust removal system can be configured in an electronic device, such as a camera, a mobile terminal, or the like, which is configured with a camera. As shown in the figure, the method comprises: Figure 1

[0045] S110, in the case where it is determined that dust exists on the camera lens, acquiring observation data of the dust on the camera lens.

[0046] ​The camera can be an electronic instrument with basic functions such as video shooting / transmission and static image capture, can collect images through a lens, and then the images are processed and converted into digital signals recognizable by a computer by a photosensitive component circuit and a control component in the camera, and then the images are restored by software after being input to the computer through a parallel port or a USB connection, for example, a 5G camera. The camera lens can be a photosensitive lens, and a dust sensor is arranged below the surface of the lens.

[0047] Optionally, the observation data of the dust can be the observation coverage area of one or more single dusts on the camera lens.

[0048] The single dust can be dust on the camera lens that is not covered by other dust, or dust that is not covered by other dust at the moment of collecting the observation data.

[0049] By obtaining the observation data of one or more single dusts, the observation coverage area of the obtained dust is not disturbed by other factors, and obtaining the observation data of multiple single dusts can avoid observation data errors or accidental situations, thereby ensuring the accuracy of the observation radius calculated based on the observation coverage area.

[0050] Optionally, the way to determine that there is dust on the camera lens can be: obtaining current dust concentration information on the camera lens, and determining that there is dust on the camera lens if the current dust concentration information is greater than a preset concentration threshold.

[0051] The current dust concentration information on the camera lens can be obtained by the dust sensor. The preset concentration threshold can be set by the user according to the actual situation, which is not limited here.

[0052] Optionally, obtaining the current dust concentration information on the camera lens can include obtaining the current dust concentration information of different regions on the camera lens, including a central region and an edge region.

[0053] The preset concentration threshold corresponding to the central region is less than the preset concentration threshold of the edge region.

[0054] The dust sensor detects the dust concentration on the photosensitive lens to accurately determine whether dust is attached to the camera lens, and distinguishes different regions on the camera lens, and sets different preset concentration thresholds based on the actual dust removal needs of different regions, thereby providing a more accurate basis for determining whether dust is attached to the camera lens.

[0055] Optionally, obtaining the observation data of the dust on the camera lens can be converting the incident light intensity of the camera lens into an electrical signal intensity, and determining the observation data of the dust on the camera lens based on the electrical signal intensity.

[0056] The incident light intensity can refer to the number of incident photons per unit time. The electrical signal intensity can be obtained by photoelectric conversion, and the principle can be that the photons transfer energy to the electrons to make them move to form an electric current. For example, using light-sensitive dye molecules to capture the energy of photons, the dye molecules absorb photon energy to separate the negatively charged electrons and positively charged holes in the semiconductor to form an electric current, and the like, which are only illustrative and are not specifically limited.

[0057] Correspondingly, the incident light intensity on the camera lens is proportional to the electrical signal intensity after photoelectric conversion, and the observation data of a single dust, i.e., the observed coverage area, can be obtained by measuring the electrical signal. The principle can be that the object being photographed is imaged on the photoelectric target through the optical system of the camera, and because the brightness of each point of the light image is different, the intensity of light shining on each unit of the target surface is different, resulting in different resistance values of each unit of the target surface. The resistance value of the target unit corresponding to the brighter pixel is smaller, and the resistance value of the target unit corresponding to the darker pixel is larger. Thus, the different brightness of each pixel on an image is manifested as different resistance values of each unit on the target surface, and the original "light image" according to the light and dark distribution becomes a corresponding "electric image", and the observation coverage area of the dust can be obtained based on the corresponding electric image.

[0058] By obtaining the electrical signal intensity by photoelectric conversion of the incident light intensity, the observation data of the dust on the camera lens is obtained based on the electrical signal intensity, and the area of the dust on the camera lens is determined.

[0059] S120, determine the dust calculation parameter based on the observation data, and determine the actual interference area on the camera lens based on the dust calculation parameter.

[0060] The dust calculation parameter can be a data parameter such as the radius of the dust. The actual interference area can be the area that the dust actually interferes with the normal imaging of the camera when it is attached to the camera lens, and correspondingly, it can be the area information that the dust actually interferes with the imaging or normal operation of the camera, which is calculated based on the dust calculation parameter.

[0061] It should be noted that the particles and molecules will produce light scattering phenomenon under the irradiation of light, and at the same time, they will absorb part of the energy of the irradiation light. It can be known that the actual interference area of the dust is greater than the observable area, and therefore, the dust calculation parameter is determined based on the observation parameter to calculate the actual interference area, improve the accuracy of dust removal, and avoid affecting the image quality collected by the camera.

[0062] The dust calculation parameter can be to determine the observation radius of the dust based on the observation coverage area of a single dust, and correspondingly, the determination of the actual interference area of the dust can be to take the sum of the observation radius and the halo difference value as the interference radius of the dust, and determine the actual interference area of the dust attached to the camera lens based on the interference radius.

[0063] The influence range of a single dust on the camera lens can be understood as an approximately circular area, and correspondingly, the observation radius of the dust can be obtained based on the area formula of the circle. If the observation data obtained is the observation coverage area of a single dust, the observation radius of the dust is calculated based on the observation coverage area of the single dust, and the observation radius of the dust is taken as the observation radius of all dusts in the dust group; if the observation data obtained is the observation coverage area of multiple single dusts, the observation radius of each single dust is calculated respectively, and the mean value thereof is taken as the observation radius of all dusts in the dust group, thereby improving the accuracy of the observation radius. The interference radius of the dust in the dust group is calculated through the observation radius of the dust in the dust group, and finally the actual interference area corresponding to the dust group is calculated based on the interference radius of the dust in the dust group.

[0064] The halo difference value can be a preset value determined based on the actual situation, which is not limited here.

[0065] For example, the observation coverage area A of a single dust is detected to be 0.0314mm 2 , so that the observation radius r of the dust is 0.1mm, and the actual interference area S of the single dust is: 3.14*(0.1+halo difference value g)2.

[0066] By setting a halo difference value and taking the sum of the observation radius and the halo difference value as the interference radius of the dust to calculate the actual interference area of the dust, the error caused by the scattering phenomenon of light or the absorption of part of the incident light energy when the dust is under the irradiation of light is reduced.

[0067] Optionally, if there are at least two dusts overlapping and attached on the camera lens, the actual interference area of the dust attached to the camera lens is determined based on the sum of the actual interference areas of the at least two dusts and the area of the overlapping part of the at least two dusts.

[0068] The area of the overlapping part of the at least two dusts can be composed of circular arcs, and correspondingly, the final intersection area is the sum of the arc areas of each sub-circular arc and the area of the internal convex polygon.

[0069] For example, taking the intersection of two single dusts as an example, assuming that the interference radii of the two single dusts are r1 and r2 respectively, and the distance between the centers is d, then the area S of the intersection part of the two single dusts j can be solved by the following formula:

[0070] S j = r1^2 *acos((d^2+r1^2-r2^2) / (2*d*r1))+r2^2*acos((d^2+r2^2-r1^2) / (2

[0071] d*r2))-1 / 2*sqrt((-d+r1+r2)*(d+r1-r2)*(d-r1+r2)*(d+r1+r2))

[0072] Wherein, acos() represents the inverse cosine function, sqrt() represents the square root. Correspondingly, the actual interference area S of the dust attached to the camera lens G may be: S G = 3.14*r1 2+ 3.14*r2 2- S j For the case where the number of dusts attached to each other in the dust group is greater than 2, the theoretical coverage area of each dust is determined based on the interference radius, and the overlapping area of the dusts in the dust group is calculated. The actual interference area of the dust group is obtained by subtracting the sum of the overlapping areas from the sum of the theoretical coverage areas of all dusts in the dust group.

[0073] By calculating the area of the overlapping part of at least two dusts, and calculating the actual interference area of the dust group based on the area of the overlapping part of at least two dusts, the error caused by the scattering of light or the absorption of part of the incident light by the dust under the irradiation of light is further reduced.

[0074] S130, in the case that the actual interference area meets the dust removal condition, the dust removal device is started to remove dust from the camera lens.

[0075] Wherein, the actual interference area meeting the dust removal condition can be that the actual interference area of a single dust or a dust group reaches a preset coverage area threshold. The preset coverage area threshold can be set according to the influence of dust on the camera picture. The higher the clarity or quality requirement of the camera picture, the lower the preset coverage area threshold.

[0076] Optionally, the preset coverage area threshold corresponding to the central region is smaller than the preset coverage area threshold of the edge region.

[0077] By setting different preset coverage area thresholds in different regions of the camera lens, a more accurate starting condition for automatic dust removal of the camera lens is provided.

[0078] Optionally, starting the dust removal device to remove dust on the camera lens can also be by acquiring the area of the dust or dust group on the camera lens, judging whether the actual interference area of the dust or dust group meets the dust removal condition based on the corresponding preset coverage area threshold in the area, and if so, starting the dust removal device to remove dust in the area.

[0079] By acquiring the area of the dust on the camera lens and determining whether the actual interference area of the dust in the area meets the dust removal condition based on the preset coverage area threshold of different areas, the dust removal device is started to remove dust in the area when it is determined that the area on the camera lens meets the dust removal condition, thereby realizing partial dust removal of the camera lens and preventing dust removal from being too frequent and damaging the lens.

[0080] Optionally, if the actual interference area of the dust is greater than or equal to the preset coverage area threshold, it is determined that the actual interference area meets the dust removal condition; if the actual interference area of the dust is less than the preset coverage area threshold, it is determined that the actual interference area does not meet the dust removal condition.

[0081] When it is determined that the actual interference area does not meet the dust removal condition, the actual interference area of the dust on the camera lens is waited to reach the preset threshold.

[0082] The problem of the prior art that when the lens is covered with impurities, the dust removal device does not reach the cleaning time, causing the impurities to affect the shooting effect of the camera, or when the dust removal device reaches the cleaning time, there is no impurity on the lens, and the dust removal device still cleans the lens, causing the motor to work repeatedly and be easily damaged is solved.

[0083] Optionally, the number of reciprocations per single dust removal and the duration of single dust removal can also be pre-configured. Correspondingly, starting dust removal on the camera lens can be based on the number of reciprocations per single dust removal and the duration of single dust removal to automatically remove dust from the camera.

[0084] The configured configuration file has a power failure memory function. The power failure memory function can mean that various running states can be instantly memorized and locked after sudden power failure of the electronic device, and the electronic device still works according to the set state after power on, and continues to be accurate and fresh. The entire working process can be continued without re-setting the program after re-powering on to complete the preset entire working process. The technical solution of the embodiment, by acquiring observation data of dust on the camera lens in the case that there is dust on the camera lens, determining dust calculation parameters based on the observation data, and determining the actual interference area on the camera lens based on the dust calculation parameters, starting the dust removal device to remove dust on the camera lens in the case that the actual interference area meets the dust removal condition. Dust removal is based on the actual interference area of the dust attached to the camera lens, which realizes automatic dust removal of the camera lens and improves the shooting effect of the camera.

[0085] Embodiment two

[0086] Figure 2 is a structural schematic diagram of a camera dust removal system provided by Embodiment two of the present application. As shown in the figure, the device comprises: Figure 2

[0087] An observation data acquisition module 210 is configured to acquire observation data of dust on the camera lens in a case where it is determined that dust exists on the camera lens.

[0088] An interference area calculation module 220 is configured to determine dust calculation parameters based on the observation data, and determine an actual interference area of the dust on the camera lens based on the dust calculation parameters.

[0089] A control module 230 is configured to start a dust removal device to remove dust from the camera lens in a case where the actual interference area meets a dust removal condition.

[0090] Optionally, the camera dust removal system further comprises:

[0091] A dust adhesion determination module is configured to acquire current dust concentration information on the camera lens, and determine that dust exists on the camera lens in a case where the current dust concentration information is greater than a preset concentration threshold.

[0092] Optionally, the camera dust removal system further comprises:

[0093] A dust concentration acquisition module is configured to acquire current dust concentration information on the camera lens through a dust sensor.

[0094] Optionally, the observation data acquisition module 210 comprises:

[0095] An observation data determination unit is configured to convert incident light intensity of the camera lens into electrical signal intensity, and determine observation data of dust on the camera lens based on the electrical signal intensity.

[0096] Optionally, the observation data of the dust is observation coverage area of one or more single dust on the camera lens.

[0097] Optionally, the interference area calculation module 220 comprises:

[0098] An observation radius calculation module is configured to determine observation radius of the dust based on observation coverage area of single dust.

[0099] An actual interference area calculation module is configured to take a sum of the observation radius and the halo difference value as interference radius of the dust, and determine actual interference area of the dust adhered on the camera lens based on the interference radius. ​

[0100] Optionally, the actual interference area calculation module comprises:

[0101] The combination calculation module is configured to, if there are at least two dusts overlapping on the lens of the camera, determine the actual interference area of the dust on the lens of the camera based on the sum of the actual interference areas of the at least two dusts and the area of the overlapping part of the at least two dusts.

[0102] Optionally, the camera dust removal system further comprises:

[0103] The first dust removal condition judgment module is configured to, if the actual interference area of the dust is greater than or equal to the preset coverage area threshold, determine that the actual interference area meets the dust removal condition.

[0104] The second dust removal condition judgment module is configured to, if the actual interference area of the dust is less than the preset coverage area threshold, determine that the actual interference area does not meet the dust removal condition.

[0105] Optionally, the interference area calculation module 220 is specifically configured to:

[0106] determine the actual interference areas of different regions on the lens of the camera based on the dust calculation parameters, the regions comprising a central region and an edge region, and the preset coverage area threshold corresponding to the central region being less than the preset coverage area threshold corresponding to the edge region.

[0107] Optionally, the camera dust removal system further comprises:

[0108] The configuration module is configured to configure the reciprocating number of single dust removal and the duration of single dust removal, and correspondingly, the control module 230 performs automatic dust removal on the camera based on the reciprocating number of single dust removal and the duration of single dust removal.

[0109] The camera dust removal system provided by the embodiment of the application can perform the camera dust removal method provided by any embodiment of the application, and has the corresponding function modules and beneficial effects of performing the method.

[0110] Embodiment three

[0111] Figure 3 is a structural schematic diagram of a dust removal camera provided by embodiment three of the application. As shown in the figure, Figure 3 the dust removal camera comprises a microphone, a camera, a coding board, a main control module, a loudspeaker, an antenna and a dust removal device.

[0112] The main control module comprises a mainboard, a digital communication core board and a 5G module.

[0113] The camera collects a video signal and transmits the signal to the coding board.

[0114] The microphone collects audio signals and transmits the signals to the encoding board.

[0115] The encoding board realizes collection of camera image information, microphone collection, audio output, network isolation output, on-off output, etc.

[0116] The main board is connected with the encoding board and the microphone, realizes a dust removal camera motor control circuit, accesses a 5G module and provides power supply for the 5G module, and connects an antenna (5G four-in-one antenna) to realize 5G communication design and realize page configuration.

[0117] By connecting the 5G to the camera, faster information transmission is realized, and the information transmission speed is improved.

[0118] The main board has a dust removal function, supports custom dust removal time, and the dust removal mode supports power failure saving.

[0119] Optionally, after receiving one rising edge trigger, the single-chip microcomputer drives the DC motor to reciprocate for dust removal once. After receiving N times, the motor needs to be driven to reciprocate N times, each reciprocation can have sufficient time to normally complete a reciprocation period and return to the initial point. The hardware setting (reading different IO configurations, configuring timing time) function is retained, but in the case of not performing hardware configuration, the motor is not allowed to act. The main board records all driving (rising edge) signals sent by the encoding board, and the power failure is invalid, and in the case of not power failure, the execution times need to be consistent with the driving signal times received.

[0120] Support for 5G and wired transmission routing priority setting, and routing switching according to link conditions.

[0121] The main board and the digital communication core board are placed up and down, and the overall volume of the camera is reduced.

[0122] The dust removal camera provided by the embodiment of the application can realize the camera dust removal method provided by any embodiment of the application, has the corresponding function modules and beneficial effects of the execution method.

[0123] Embodiment four

[0124] Figure 4is a structural schematic diagram of an electronic device provided by Embodiment Four of the present application. The electronic device 10 is intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular telephones, smart phones, wearable devices (e.g., headsets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not intended to limit the implementations of the present application described and / or claimed in this document.

[0125] As shown in Figure 4 The electronic device 10 includes at least one processor 11, and a memory, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., connected in communication with the at least one processor 11, wherein the memory stores a computer program executable by the at least one processor. The processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or loaded from the storage unit 18 into the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0126] A plurality of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, a speaker, etc.; a storage unit 18, such as a magnetic disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network, such as the Internet, and / or various telecommunication networks.

[0127] The processor 11 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 performs various methods and processes described above, such as the camera dust removal method.

[0128] In some embodiments, the camera lens dust removal method can be implemented as a computer program tangibly embodied in a computer readable storage medium, e.g., storage unit 18. In some embodiments, part or all of the computer program can be loaded onto and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. One or more steps of the camera lens dust removal method described above can be performed when the computer program is loaded onto RAM 13 and executed by processor 11. Alternatively, in other embodiments, processor 11 can be configured to perform the camera lens dust removal method by any other suitable means, e.g., by means of firmware.

[0129] Various implementations of the systems and techniques described above can be realized in digital electronic circuitry, integrated circuitry, a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on a chip (SOC), a programmable logic device (PLD), a computer hardware, firmware, software, and / or combinations thereof. These various implementations can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.

[0130] Computer programs used to implement the camera lens dust removal method of the present application can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the computer program running on the processor implements the functions / operations specified in the flowcharts and / or the block diagrams. The computer program can execute entirely on a machine, partly on a machine, as a stand-alone software package, partly on a machine and partly on a remote machine or entirely on a remote machine or server.

[0131] Embodiment Five

[0132] Embodiment five of the present application also provides a computer readable storage medium, which stores computer instructions for causing a processor to execute a camera lens dust removal method, the method comprising:

[0133] In a case where it is determined that dust exists on a camera lens, acquiring observation data of the dust on the camera lens;

[0134] determine a dust calculation parameter based on the observation data, and determine an actual interference area on the camera lens based on the dust calculation parameter;

[0135] start a dust removal device to remove dust on the camera lens when the actual interference area meets a dust removal condition.

[0136] In the context of the present application, a computer-readable storage medium can be a tangible medium that can contain or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. Computer-readable storage media can include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium can be a machine-readable signal medium. More specific examples of a machine-readable storage medium will include one or more lines of electrical connections, portable computer disks, hard disk drives, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or Flash memory), optical fibers, portable compact disc read-only memories (CD-ROMs), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0137] To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the electronic device. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.

[0138] The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0139] The computing system can include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system, to solve the defects of large management difficulty and weak business scalability in traditional physical host and VPS service.

[0140] It should be understood that the various forms of flow shown above can be reordered, added to, or have steps deleted. For example, the steps described in the present application can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solutions of the present application can be achieved, which are not limited herein.

[0141] The above detailed description does not constitute a limitation on the protection scope of the present application. Those skilled in the art should understand that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A method of removing dust from a camera, characterized by, The method comprises: In the case where it is determined that there is dust on the camera lens, observation data of the dust on the camera lens is acquired; Based on the observation data, dust calculation parameters are determined, and based on the dust calculation parameters, the actual interference area of the dust on the camera lens is determined; In the case where the actual interference area meets the dust removal condition, a dust removal device is started to remove the dust on the camera lens; The observation data of the dust is the observed coverage area of one or more single dust on the camera lens; The method further comprises: The observation data acquisition module is configured to, in the case where it is determined that there is dust on the camera lens, acquire observation data of the dust on the camera lens; The interference area calculation module is configured to, based on the observation data, determine dust calculation parameters, and based on the dust calculation parameters, determine the actual interference area of the dust on the camera lens; The control module is configured to, in the case where the actual interference area meets the dust removal condition, start a dust removal device to remove the dust on the camera lens; The method further comprises:

2. The camera duster method of claim 1, wherein, The observation data acquisition module is configured to, in the case where it is determined that there is dust on the camera lens, acquire observation data of the dust on the camera lens; The interference area calculation module is configured to, based on the observation data, determine dust calculation parameters, and based on the dust calculation parameters, determine the actual interference area of the dust on the camera lens; 3. The camera duster method of claim 1, wherein, The control module is configured to, in the case where the actual interference area meets the dust removal condition, start a dust removal device to remove the dust on the camera lens; The method further comprises:

4. The camera duster method of claim 1, wherein, The observation data acquisition module is configured to, in the case where it is determined that there is dust on the camera lens, acquire observation data of the dust on the camera lens; The interference area calculation module is configured to, based on the observation data, determine dust calculation parameters, and based on the dust calculation parameters, determine the actual interference area of the dust on the camera lens; The control module is configured to, in the case where the actual interference area meets the dust removal condition, start a dust removal device to remove the dust on the camera lens; 5. The camera duster method of claim 4, wherein, The method further comprises: The observation data acquisition module is configured to, in the case where it is determined that there is dust on the camera lens, acquire observation data of the dust on the camera lens; 6. The camera lens dust removal method of claim 1, wherein, The interference area calculation module is configured to, based on the observation data, determine dust calculation parameters, and based on the dust calculation parameters, determine the actual interference area of the dust on the camera lens; The control module is configured to, in the case where the actual interference area meets the dust removal condition, start a dust removal device to remove the dust on the camera lens; The method further comprises:

7. A camera dust removal system, characterized by, The observation data acquisition module is configured to, in the case where it is determined that there is dust on the camera lens, acquire observation data of the dust on the camera lens; The interference area calculation module is configured to, based on the observation data, determine dust calculation parameters, and based on the dust calculation parameters, determine the actual interference area of the dust on the camera lens; The control module is configured to, in the case where the actual interference area meets the dust removal condition, start a dust removal device to remove the dust on the camera lens; The method further comprises: The observation data acquisition module is configured to, in the case where it is determined that there is dust on the camera lens, acquire observation data of the dust on the camera lens; The interference area calculation module is configured to, based on the observation data, determine dust calculation parameters, and based on the dust calculation parameters, determine the actual interference area of the dust on the camera lens; The control module is configured to, in the case where the actual interference area meets the dust removal condition, start a dust removal device to remove the dust on the camera lens; The method further comprises: The observation data acquisition module is configured to, in the case where it is determined that there is dust on the camera lens, acquire observation data of the dust on the camera lens; The interference area calculation module is configured to, based on the observation data, determine dust calculation parameters, and based on the dust calculation parameters, determine the actual interference area of the dust on the camera lens; The control module is configured to, in the case where the actual interference area meets the dust removal condition, start a dust removal device to remove the dust on the camera lens; The method further comprises: The observation data acquisition module is configured to, in the case where it is determined that there is dust on the camera lens, acquire observation data of the dust on the camera lens; The interference area calculation module is configured to, based on the observation data, determine dust calculation parameters, and based on the dust calculation parameters, determine the actual interference area of the dust on the camera lens; The control module is configured to, in the case where the actual interference area meets the dust removal condition, start a dust removal device to remove the dust on the camera lens; The method further comprises: The observation data acquisition module is configured to, in the case where it is determined that there is dust on the camera lens, acquire observation data of the dust on the camera lens; The interference area calculation module is configured to, based on the observation data, determine dust calculation parameters, and based on the dust calculation parameters, determine the actual interference area of the dust on the camera lens; The control module is configured to, in the case where the actual interference area meets the dust removal condition, start a dust removal device to remove the dust on the camera lens; The method further comprises: The observation data acquisition module is configured to, in the case where it is determined that there is dust on the camera lens, acquire observation data of the dust on the camera lens; The interference area calculation module is configured to, based on the observation data, determine dust calculation parameters, and based on the dust calculation parameters, determine the actual interference area of the dust on the camera lens; The control module is configured to, in the case where the actual interference area meets the dust removal condition, start a dust removal device to remove the dust on the camera lens; The method further comprises: The observation data acquisition module is configured to, in the case where it is determined that there is dust on the camera lens, acquire observation data of the dust on the camera lens; The interference area calculation module is configured to, based on the observation data, determine dust calculation parameters, and based on the dust calculation parameters, determine the actual interference area of the dust on the camera lens; The control module is configured to, in the case where the actual interference area meets the dust removal condition, start a dust removal device to remove the dust on the camera lens; The method further comprises: The observation data acquisition module is configured to, in the case where it is determined that there is dust on the camera lens, acquire observation data of the dust on the camera lens; The interference area calculation module is configured to, based on the observation data, determine dust calculation parameters, and based on the dust calculation parameters, determine the actual interference area of the dust on the camera lens; The control module is configured to, in the case where the actual interference area meets the dust removal condition, start a dust removal device to remove the dust on the camera lens; The method further comprises: The observation data acquisition module is configured to, in the case where it is determined that there is dust on the camera lens, acquire observation data of the dust on the camera lens; The interference area calculation module is configured to, based on the observation data, determine dust calculation parameters, and based on the dust calculation parameters, determine the actual interference area of the dust on the camera lens; The control module is configured to, in the case where the actual interference area meets the dust removal condition, start a dust removal device to remove the dust on the camera lens; The method further comprises: The observation data acquisition module is configured to, in the case where it is determined that there is dust on the camera lens, acquire observation data of the dust on the camera lens; The interference area calculation module is configured to, based on the observation data, determine dust calculation parameters, and based on the dust calculation parameters, determine the actual interference area of the dust on the camera lens; The control module is configured to, in the case where the actual interference area meets the dust removal condition, start a dust removal device to remove the dust on the camera lens; The method further comprises: The observation data acquisition module is configured to, in the case where it is determined that there is dust on the camera lens, acquire observation data of the dust on the camera lens; The interference area calculation module is configured to, based on the observation data, determine dust calculation parameters, and based on the dust calculation parameters, determine the actual interference area of the dust on the camera lens; The control module is configured to, in the case where the actual interference area meets the dust removal condition, start a dust removal device to remove the dust on the camera lens; The method further comprises: The observation data acquisition module is configured to, in the case where it is determined that there is dust on the camera lens, acquire observation data of the dust on the camera lens; The interference area calculation module is configured to, based on the observation data, determine dust calculation parameters, and based on the dust calculation parameters, determine the actual interference area of the dust on the camera lens; The control module is configured to, in the case where the actual interference area meets the dust removal condition, start a dust removal device to remove the dust on the camera lens; The method further comprises: The observation data acquisition module is configured to, in the case where it is determined that there is dust on the camera lens, acquire observation data of the dust on the camera lens; The interference area calculation module is configured to, based on the observation data, determine dust calculation The observation data of the dust is the observation coverage area of one or more single dust on the lens of the camera; The interference area calculation module comprises an observation radius calculation module and an actual interference area calculation module; The observation radius calculation module is configured to determine the observation radius of the dust based on the observation coverage area of the single dust; The actual interference area calculation module is configured to determine the actual interference area of the dust attached to the lens of the camera based on the sum of the observation radius and the halo difference value as the interference radius of the dust; The actual interference area calculation module comprises a combination calculation module; The combination calculation module is configured to determine the actual interference area of the dust attached to the lens of the camera based on the sum of the actual interference areas of at least two overlapping dusts and the area of the overlapping part of the at least two dusts if there are at least two overlapping dusts attached to the lens of the camera.

8. An electronic device, comprising: The electronic device comprises: at least one processor; and a memory connected to the at least one processor in communication; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to execute the camera dust removal method of any one of claims 1-6.

9. A computer-readable storage medium, characterized in that, The computer readable storage medium stores computer instructions for enabling the processor to execute the camera dust removal method of any one of claims 1-6 when executed.

Citation Information

Patent Citations

  • Intelligent detection and automatic dedusting system for computer case

    CN107783884A

  • Dust detection system and method for photovoltaic panel

    CN109374645A

  • Demister blockage pre-control system, method, equipment and medium

    CN114273315A

  • Method and equipment for measuring unevenness of luster and print

    JP1994222002A