Camera detection and locking method and device based on optical imaging

Through the optical imaging method, two cameras and fill light sources are used to effectively detect and lock the hidden camera, solving the problem of difficulty in detecting hidden cameras in the prior art, and improving the accuracy and intuitiveness of the detection.

CN110166648BActive Publication Date: 2025-04-04NANYANG LIANHUA PHOTOELECTRIC TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN201910491638.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-06-06
Publication Date
2025-04-04
Estimated Expiration
2039-06-06

AI Technical Summary

Technical Problem

The prior art is difficult to effectively detect and eliminate concealed pinhole cameras, especially in various environments.

Method used

The camera detection and locking method based on optical imaging is adopted. By adjusting the imaging parameters and positions of the two cameras, they can take pictures simultaneously, and using fill light sources to provide uniform illumination, the grayscale image is extracted through image processing technology, the grayscale mean deviation is calculated, the third image is obtained to judge the position of the bright spot, and the image is marked and output to lock the hidden camera.

Benefits of technology

Improves the accuracy and reproducibility of detection, reduces misjudgment, and can intuitively image the position of the hidden camera on the screen, providing a method to quickly lock the hidden camera.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110166648B_ABST
    Figure CN110166648B_ABST
Patent Text Reader

Abstract

The present invention discloses a camera detection and locking method and device based on optical imaging. The method includes: adjusting the position of a fill light source so that the fill light source is located on the incident light axis of a first camera lens; controlling the first camera and the second camera to shoot synchronously; calculating the deviation between the grayscale mean of the first grayscale image and the grayscale mean of the second grayscale image, and obtaining a third image based on the deviation: obtaining the coordinates of the position of the bright spot in the third image, marking the coordinates of the position of the bright spot in the output image of the first camera and outputting the image. A coaxial optical structure in which the fill light source is coaxial with the first camera is adopted, which provides more uniform illumination than a traditional paraxial light source, thereby improving visual accuracy and reproducibility; using the grayscale mean value deviation to remove the background noise of the two images, and obtaining the third image through proportional and logarithmic operations, which enhances the contrast between the bright spot and the surrounding pixels, thereby improving the detection accuracy; the output image is marked for quick target locking.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of photoelectric detection, and in particular to a camera detection and locking method and device based on optical imaging. Background Art

[0002] In recent years, with the development of camera technology, cameras are also moving towards miniaturization and micro-miniaturization. Various pinhole cameras and pinhole probes have emerged on the market, which has also caused a lot of social problems. However, under the current technical means, there is no more effective way to detect and eliminate hidden pinhole cameras in various environments. Summary of the invention

[0003] The present invention aims to at least solve the technical problems existing in the prior art, and in particular innovatively proposes a camera detection and locking method and device based on optical imaging.

[0004] In order to achieve the above-mentioned object of the present invention, according to a first aspect of the present invention, the present invention provides a camera detection and locking method based on optical imaging, comprising:

[0005] Adjusting the imaging parameters and / or position of the first camera so that the first camera can face the suspicious area to shoot, and adjusting the imaging parameters and / or position of the second camera so that the shooting area of ​​the second camera overlaps with the shooting area of ​​the first camera; the suspicious area is an area where a camera may be hidden;

[0006] Adjusting the position of the fill light source so that the fill light source is located on the incident light axis of the first camera lens and emits light toward the suspicious area;

[0007] Control the first camera and the second camera to shoot synchronously, receive the output image of the first camera and the output image of the second camera and perform the following operations:

[0008] Step A, extracting a grayscale image of the image output by the first camera, recorded as the first grayscale image; extracting a grayscale image of the image output by the second camera, recorded as the second grayscale image;

[0009] Calculating a deviation between a grayscale mean value of the first grayscale image and a grayscale mean value of the second grayscale image;

[0010] Step B, obtaining the third image according to the following formula:

[0011]

[0012] Wherein, I(x,y) is the grayscale value of the pixel with position coordinates (x,y) in the third image, I1(x,y) is the grayscale value of the pixel with position coordinates (x,y) in the first grayscale image, I2(x,y) is the grayscale value of the pixel with position coordinates (x,y) in the second grayscale image, α is the deviation between the grayscale mean of the first grayscale image and the grayscale mean of the second grayscale image, x∈[1,M], y∈[1,N], M is the maximum row coordinate of the third image, and N is the maximum column coordinate of the third image;

[0013] Step C, determining whether there is a bright spot in the third image, if there is a bright spot, obtaining the coordinates of the position of the bright spot, marking the coordinates of the position of the bright spot in the image output by the first camera, and using the marked image as the output image; if there is no bright spot, using the image output by the first camera as the output image;

[0014] Step D, displaying the output image through a terminal or a display unit. When there is a mark in the output image, it is considered that a camera is hidden in the suspicious area and the hidden camera is located at the mark. When there is no mark in the output image, it is considered that there is no camera hidden in the suspicious area.

[0015] The beneficial effects of the above technical solution are as follows: the principle of the method is to utilize the cat's eye effect of the hidden camera lens, that is, the reflected light of the light incident on the hidden camera lens will return along the original path and have a small divergence angle; in order to avoid the first camera and the second camera receiving the reflected light of the hidden camera at the same time, or the first camera is far away from the fill light source and cannot receive the reflected light of the hidden camera, thereby causing measurement errors, the present invention adopts a coaxial optical structure in which the fill light source is coaxial with the first camera, which can provide more uniform illumination than the traditional paraxial light source, and improve the accuracy and reproducibility of vision; in image processing, the present method breaks through the jitter introduced by the calculation method of the front and back frames of the video stream, and uses two cameras to synchronously collect images. The present method uses the grayscale average deviation to remove the background noise of the two images, and the contrast between the bright spot and the surrounding pixels in the third image obtained by comparison and logarithmic operation is more obvious, which improves the detection accuracy; in addition, the present invention uses the output image of the first camera as the final image and marks the hidden camera on it, so that the user can quickly lock the position of the hidden camera. The output image is observed in real time through the terminal or display, and the hidden camera within the detection range is intuitively imaged on the screen.

[0016] In order to achieve the above-mentioned object of the present invention, according to a second aspect of the present invention, there is provided a device for performing camera detection and locking based on the camera detection and locking method of the present invention, comprising a movable first camera support mechanism and a second camera support mechanism, a first camera for photographing an area suspected of being provided with a hidden camera, a fill light source arranged on the incident optical axis of the lens of the first camera, a second camera whose photographing area overlaps with the photographing area of ​​the first camera, and a processor;

[0017] The processor receives the output images of the first camera and the second camera, processes them, and outputs an image that is convenient for observing whether there is a hidden camera;

[0018] The synchronous control end of the processor is connected to the shooting trigger end of the first camera and the second camera respectively, and controls the first camera and the second camera to shoot synchronously;

[0019] It also includes a wireless transmission unit and a terminal, wherein the image input end of the wireless transmission unit is connected to the image output end of the processor by wire, and the image output end of the wireless transmission unit is connected to the wireless receiving end of the terminal by wireless communication;

[0020] And / or further comprises a display unit, wherein an input end of the display unit is connected to an image output end of the processor by wire.

[0021] The beneficial effects of the above technical solution are as follows: in addition to the beneficial effects of the camera detection and locking method described in the present invention, the system also has a coaxial optical structure in which a fill light source is coaxial with the first camera, which can provide more uniform illumination than a traditional paraxial light source, thereby improving visual accuracy and reproducibility; and the output image can be intuitively observed on the terminal and the display unit, which has the beneficial effect of more intuitively and quickly locating the actual hidden camera point; and there is also the beneficial effect of making the device movable for measurement through the movable first camera support mechanism and the second camera support mechanism.

[0022] In a preferred embodiment of the present invention, a buffer is provided between the synchronization control end of the processor and the shooting triggering end of the first camera and the second camera.

[0023] The beneficial effects of the above technical solution are: ensuring that the synchronization signal is stable and reliable, achieving speed matching between the high-speed processor and the first camera and the second camera with slower execution speeds, and enhancing the reliability of the device.

[0024] In a preferred embodiment of the present invention, the supplementary light source is an LED broadband light source.

[0025] The beneficial effects of the above technical solution are: it can detect and lock various different cameras. For example, a camera with an infrared blocking filter will cause the monochrome infrared laser fill light to be unable to detect the target. However, this device uses a broadband light source with a wide wavelength range. When there is a filter in the camera, some wavelengths of light can pass through the filter to reach the camera lens to achieve target detection and locking.

[0026] In a preferred embodiment of the present invention, it further comprises a movable light source supporting mechanism for supporting the fill light source.

[0027] The beneficial effect of the above technical solution is that the fill light source is movable, so that the position can be adjusted easily.

[0028] In a preferred embodiment of the present invention, the first camera support mechanism and the second camera support mechanism are integrally arranged;

[0029] The first camera supporting mechanism, the second camera supporting mechanism and the light source supporting mechanism are integrally arranged.

[0030] The beneficial effects of the above technical solution are: saving space and cost.

[0031] In a preferred embodiment of the present invention, the first camera is a color camera.

[0032] The beneficial effect of the above technical solution is that the image output and displayed by the device is a color image, which makes it easier for users to quickly correspond to the real scene and quickly lock the hidden position of the hidden camera. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 It is a schematic diagram of the implementation layout of a device in a specific embodiment of the present invention;

[0034] Figure 2 is a schematic diagram of a first image in a specific implementation manner of the present invention;

[0035] Figure 3 is a schematic diagram of a second image in a specific implementation manner of the present invention;

[0036] Figure 4 is a schematic diagram of a third image in a specific implementation manner of the present invention;

[0037] Figure 5 is a schematic diagram of an output image in a specific implementation manner of the present invention;

[0038] Figure 6 is a schematic structural diagram of a first camera supporting mechanism and a light source supporting mechanism in a specific embodiment of the present invention;

[0039] Figure 7is a structural schematic diagram of a second camera support mechanism in a specific embodiment of the present invention;

[0040] Figure 8 It is a schematic diagram of camera synchronization control in a specific implementation manner of the present invention.

[0041] Reference numerals:

[0042] 1 terminal; 2 processor; 3 first camera; 4 first camera support mechanism; 41 first rotating table; 42 first lifting platform; 43 first platform; 44 first support rod; 45 first roller; 5 fill light source; 6 second camera; 7 second camera support mechanism; 71 second rotating table; 72 second lifting platform; 73 second platform; 74 second support rod; 75 second roller; 8 hidden camera; 9 interference object; 10 first camera receives reflected light spot of hidden camera; 11 first camera receives reflected light spot of interference object; 12 second camera receives reflected light spot of interference object; 13 light source support mechanism. DETAILED DESCRIPTION

[0043] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.

[0044] In the description of the present invention, it is necessary to understand that the terms "longitudinal", "lateral", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating the orientation or position relationship, are based on the orientation or position relationship shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention.

[0045] In the description of the present invention, unless otherwise specified and limited, it should be noted that the terms "installed", "connected" and "connected" should be understood in a broad sense. For example, it can be a mechanical connection or an electrical connection, or it can be the internal connection between two components. It can be a direct connection or an indirect connection through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms can be understood according to the specific circumstances.

[0046] The present invention provides a camera detection and locking method based on optical imaging. In a preferred embodiment, the method comprises:

[0047] Adjust the imaging parameters and / or position of the first camera 3 so that the first camera 3 can face the suspicious area to shoot, and adjust the imaging parameters and / or position of the second camera 6 so that the shooting area of ​​the second camera 6 overlaps with the shooting area of ​​the first camera 3; the suspicious area is an area where a camera may be hidden;

[0048] Adjust the position of the fill light source 5 so that the fill light source 5 is located on the incident light axis of the lens of the first camera 3 and emits light toward the suspicious area;

[0049] Control the first camera 3 and the second camera 6 to shoot synchronously, receive the output image of the first camera 3 and the output image of the second camera 6 and perform the following operations:

[0050] Step A, extracting a grayscale image of the image output by the first camera 3, recorded as a first grayscale image; extracting a grayscale image of the image output by the second camera 6, recorded as a second grayscale image;

[0051] Calculating a deviation between a grayscale mean value of the first grayscale image and a grayscale mean value of the second grayscale image;

[0052] Step B, obtaining the third image according to the following formula:

[0053]

[0054] Wherein, I(x,y) is the grayscale value of the pixel with position coordinates (x,y) in the third image, I1(x,y) is the grayscale value of the pixel with position coordinates (x,y) in the first grayscale image, I2(x,y) is the grayscale value of the pixel with position coordinates (x,y) in the second grayscale image, α is the deviation between the grayscale mean of the first grayscale image and the grayscale mean of the second grayscale image, x∈[1,M], y∈[1,N], M is the maximum row coordinate of the third image, and N is the maximum column coordinate of the third image;

[0055] Step C, determining whether there is a bright spot in the third image, if there is a bright spot, obtaining the coordinates of the bright spot, marking the coordinates of the bright spot in the image output by the first camera 3, and using the marked image as the output image; if there is no bright spot, using the image output by the first camera 3 as the output image;

[0056] Step D, displaying the output image through the terminal 1 or the display unit. When there is a mark in the output image, it is considered that a camera is hidden in the suspicious area and the hidden camera 8 is located at the mark. When there is no mark in the output image, it is considered that there is no camera 8 hidden in the suspicious area.

[0057] In this embodiment, the imaging parameters of the first camera 3 and the second camera 6 are preferably, but not limited to, focal length, aperture size, etc. The shooting area of ​​the second camera 6 overlaps with the shooting area of ​​the first camera 3, which may be completely or partially overlapped. In order to make the shooting area of ​​the second camera 6 overlap with the shooting area of ​​the first camera 3, preferably, the first camera 3 and the second camera 6 are arranged side by side and close to each other to shoot toward the suspicious area.

[0058] In this embodiment, a grayscale image of the image output by the first camera 3 is extracted and recorded as a first grayscale image. The first grayscale image is as follows: Figure 2 As shown; extract the grayscale image of the second camera 6 output image, recorded as the second grayscale image, the second grayscale image is as shown Figure 3 As shown; preferably, the first grayscale image is obtained by extracting the portion without bright spots in the output image of the first camera 3 and performing grayscale processing, and the second grayscale image is obtained by extracting the portion without bright spots in the output image of the second camera 6 and performing grayscale processing.

[0059] In this embodiment, according to the formula The grayscale images of all pixels in the third image are obtained one by one. The schematic diagram of the third image is as follows Figure 4 shown.

[0060] In this embodiment, the method for determining whether there is a bright spot in the third image is preferably but not limited to using a threshold comparison method, setting a grayscale threshold, and comparing the grayscale value of each pixel in the third image with the grayscale threshold one by one. When the grayscale value of the pixel is greater than or equal to the grayscale threshold, the pixel is considered to be a bright spot pixel, and the position coordinates of these bright spot pixels are saved; when the grayscale value of the pixel is less than the grayscale threshold, the pixel is considered not to be a bright spot pixel, thereby completing the bright spot judgment.

[0061] In this embodiment, the method for marking the coordinates of the bright spot position of the image output by the first camera 3 is preferably, but not limited to, changing the colors of the pixels corresponding to the coordinates of all bright spot pixels to green, red, black or other colors that are easy to identify; or obtaining the average coordinates of the bright spot pixels in the light spot, and drawing a prompt box with the average coordinates as the center, such as Figure 5 As shown, the prompt box is circular, which realizes the recognition and locking functions of the hidden camera 8.

[0062] Furthermore, the bright spot pixels are divided into at least one light spot according to the continuity of the position coordinates of the bright spot pixels, and the position coordinates of the bright spot pixels in each light spot are continuous.

[0063] The present invention also provides a camera detection locking device. In a preferred embodiment, the layout diagram of the device is as follows: Figure 1As shown, it includes a movable first camera support mechanism 4 and a second camera support mechanism 7, a first camera 3 for photographing an area suspected to be provided with a hidden camera 8, a fill light source 5 arranged on the incident optical axis of the lens of the first camera 3, a second camera 6 whose photographing area overlaps with the photographing area of ​​the first camera 3, and a processor 2;

[0064] The processor 2 receives the output images of the first camera 3 and the second camera 6, processes them, and outputs an image that is convenient for observing whether there is a hidden camera 8;

[0065] The synchronous control end of the processor 2 is connected to the shooting trigger end of the first camera 3 and the second camera 6 respectively, to control the first camera 3 and the second camera 6 to shoot synchronously;

[0066] It also includes a wireless transmission unit and a terminal 1, wherein the image input end of the wireless transmission unit is connected to the image output end of the processor 2 by wire, and the image output end of the wireless transmission unit is connected to the wireless receiving end of the terminal 1 by wireless communication;

[0067] And / or further includes a display unit, and an input end of the display unit is connected to an image output end of the processor 2 by wire.

[0068] In this embodiment, when the device is working, the fill light source 5 is always on to fill light for the suspicious area, and the first camera 3 and the second camera 6 image the same area. The first camera 3 and the second camera 6 will be debugged and calibrated before use to make the image position information output by the first camera 3 and the second camera 6 correspond one to one. There may be a hidden camera 8 and / or an interference object 9 with a mirror reflection property in the suspicious area. At this time, the image captured by the first camera 3 will have bright spots reflected by the hidden camera 8 and / or the interference object 9, such as Figure 2 As shown, in the first image, there is a reflection spot 10 of the hidden camera 8 received by the first camera 3, and a reflection spot 11 of the interference object 9 received by the first camera 3. In the image captured by the second camera 6, there is only a reflection spot 12 of the interference object 9 received by the second camera 6, and there is no reflection spot of the hidden camera 8.

[0069] In this embodiment, the fill light source 5 can be a laser light source, an incandescent lamp or an LED light source. Preferably, the fill light source 5 is an LED broadband light source, including a 400-1000nm band, which can detect various cameras, such as a camera with an infrared blocking filter (740-1000nm). The filter will cause the device using a monochromatic infrared laser as the fill light source 5 to be unable to detect the hidden camera 8. However, the device uses an LED broadband light source to still detect the hidden camera 8 in the presence of a filter. Preferably, but not limited to, an LED broadband light source with model GY-53BU02R351 CIC is selected.

[0070] In this embodiment, the terminal 1 is preferably, but not limited to, a smart phone, a tablet, etc. The wireless transmission unit is preferably, but not limited to, existing communication modules such as Bluetooth and WI FI. The Bluetooth module is preferably, but not limited to, nRF52832, which is a Jinou low-power Bluetooth Mesh module that uses Nordic's single-mode BLE solution and supports Bluetooth 5.0 protocol. It can communicate with the UART serial port of the processor 2 through the UART serial port. The WIFI module is preferably, but not limited to, the KB3077wifi module, which is a newly launched embedded UART-WiFi (serial port-wireless network) module of Jinbotong Technology, with a built-in TCP / IP protocol stack, and can communicate with the UART serial port of the processor 2 through the UART serial port.

[0071] In this embodiment, the first camera 3 and / or the second camera 6 can be a black and white camera or a color camera. Preferably, the first camera 3 and / or the second camera 6 selects a color camera of model F22, which can output high-definition color images with a resolution of 1080p and above. The shooting trigger end of the first camera 3 and the shooting trigger end of the second camera 6 can be the Trig terminals of each camera respectively.

[0072] In this embodiment, the synchronization control unit controls the first camera 3 and the second camera 6 to synchronously take photos, and can adopt the technical solution disclosed in the Chinese patent with publication number CN201145766Y in the prior art. The synchronization control unit can also adopt the technical solution disclosed in the Chinese patent with publication number CN207677839U in the prior art, a system for synchronous triggering of multiple cameras for tunnel image acquisition.

[0073] In this embodiment, if Figure 8 The figure shows the camera synchronization control principle diagram of the device. The processor 2 is preferably, but not limited to, a 51 single-chip microcomputer or an embedded chip such as ARM or DSP and its peripheral circuits. Preferably, the processor 2 selects a HiSilicon chip of model Hi3516, and any GPIO pin of the chip can be selected as the synchronization control terminal, such as selecting the GPIO35 pin of Hi3516.

[0074] In a preferred embodiment, Figure 8 As shown, a buffer is provided between the synchronization control end of the processor 2 and the shooting trigger end of the first camera 3 and the second camera 6. The buffer is preferably but not limited to a buffer chip of model 74LVC244 and its peripheral circuits. The specific circuit structure can be found in the chip manual and will not be described here.

[0075] In a preferred embodiment, a movable light source supporting mechanism 13 for supporting the fill light source 5 is also included.

[0076] In this embodiment, any two or three of the first camera support mechanism 4, the second camera support mechanism 7 and the light source support mechanism 13 can be integrally arranged, such as the first camera support mechanism 4 and the second camera support mechanism 7 are integrally arranged; or the first camera support mechanism 4, the second camera support mechanism 7 and the light source support mechanism 13 are integrally arranged; or Figure 6 The first camera supporting mechanism 4 and the light source supporting mechanism 13 are integrally arranged.

[0077] In this embodiment, if Figure 6 As shown, the first camera support mechanism 4 includes, from top to bottom, a first rotating platform 41 for driving the first camera 3 to rotate horizontally at different angles, a first lifting platform 42 for driving the first camera 3 and the first rotating platform 41 to move up and down, a first platform 43 that provides an installation position and a supporting function, two or four first support rods 44 arranged below the first platform 43 to support the first platform 43, and a first roller 45 arranged at the bottom of each first support rod 44 for driving the first camera support mechanism 4 to move. Preferably, the fill light source 5 is directly placed on the first platform 43, and the second camera 6 can also be placed on the first platform 43, which can save space and cost. At this time, the light source support mechanism 13 is a support rod with a fixed height or a lifting platform that can move up and down.

[0078] In this embodiment, if Figure 7 As shown, the second camera support mechanism 7 includes, from top to bottom, a second rotating table 71 for driving the second camera 6 to rotate horizontally at different angles, a second lifting platform 72 for driving the second camera 6 and the second rotating table 71 to move up and down, a second platform 73 that provides an installation position and a supporting function, two or four second support rods 74 that are arranged below the second platform 73 to support the second platform 73, and a second roller 75 that is arranged at the bottom of each second support rod 74 and is used to drive the second camera support mechanism 7 to move.

[0079] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0080] Although the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.

Claims

1. A camera detection and locking method based on optical imaging, characterized in that: include: Adjusting the imaging parameters and / or position of the first camera so that the first camera faces the suspicious area to shoot, and adjusting the imaging parameters and / or position of the second camera so that the shooting area of ​​the second camera overlaps with the shooting area of ​​the first camera; the suspicious area is an area where a camera may be hidden; Adjusting the position of the fill light source so that the fill light source is located on the incident light axis of the first camera lens and emits light toward the suspicious area; The fill light source is coaxial with the first camera, the first camera receives the reflected light from the hidden camera, and the second camera does not receive the reflected light from the hidden camera; Control the first camera and the second camera to shoot synchronously, receive the output image of the first camera and the output image of the second camera and perform the following operations: Step A, extracting a grayscale image of the image output by the first camera, recorded as the first grayscale image; extracting a grayscale image of the image output by the second camera, recorded as the second grayscale image; Calculating a deviation between a grayscale mean value of the first grayscale image and a grayscale mean value of the second grayscale image; Step B, obtaining the third image according to the following formula: Wherein, I(x,y) is the grayscale value of the pixel with position coordinates (x,y) in the third image, I1(x,y) is the grayscale value of the pixel with position coordinates (x,y) in the first grayscale image, I2(x,y) is the grayscale value of the pixel with position coordinates (x,y) in the second grayscale image, α is the deviation between the grayscale mean of the first grayscale image and the grayscale mean of the second grayscale image, x∈[1,M], y∈[1,N], M is the maximum row coordinate of the third image, and N is the maximum column coordinate of the third image; Step C, determining whether there is a bright spot in the third image, if there is a bright spot, obtaining the coordinates of the position of the bright spot, marking the coordinates of the position of the bright spot in the image output by the first camera, and using the marked image as the output image; if there is no bright spot, using the image output by the first camera as the output image; Step D, displaying the output image through a terminal or a display unit. When there is a mark in the output image, it is considered that a camera is hidden in the suspicious area and the hidden camera is located at the mark. When there is no mark in the output image, it is considered that there is no camera hidden in the suspicious area.

2. A camera detection and locking device using the camera detection and locking method according to claim 1, characterized in that: It includes a movable first camera support mechanism and a second camera support mechanism, a first camera for photographing an area suspected of being provided with a hidden camera, a fill light source arranged on the incident optical axis of the lens of the first camera, a second camera whose photographing area overlaps with the photographing area of ​​the first camera, and a processor; The processor receives the output images of the first camera and the second camera, processes them, and outputs an image that is convenient for observing whether there is a hidden camera; The synchronous control end of the processor is connected to the shooting trigger end of the first camera and the second camera respectively, and controls the first camera and the second camera to shoot synchronously; It also includes a wireless transmission unit and a terminal, wherein the image input end of the wireless transmission unit is connected to the image output end of the processor by wire, and the image output end of the wireless transmission unit is connected to the wireless receiving end of the terminal by wireless communication; And / or further comprises a display unit, wherein an input end of the display unit is connected to an image output end of the processor by wire.

3. The camera detection and locking device as claimed in claim 2, characterized in that: A buffer is provided between the synchronization control end of the processor and the shooting triggering ends of the first camera and the second camera.

4. The camera detection and locking device as claimed in claim 2, characterized in that: The fill light source is a LED broadband light source.

5. The camera detection and locking device as claimed in claim 2, characterized in that: It also includes a movable light source supporting mechanism for supporting the fill light source.

6. The camera detection and locking device as claimed in claim 2, characterized in that: The first camera support mechanism and the second camera support mechanism are integrally arranged; The first camera supporting mechanism, the second camera supporting mechanism and the light source supporting mechanism are integrally arranged.

7. The camera detection and locking device as claimed in claim 2, characterized in that: The first camera is a color camera.

Citation Information

Patent Citations

  • Solid picture-taking imaging system of operating microscope

    CN201145766Y

  • System for a polyphaser triggers in step for tunnel image acquisition

    CN207677839U

  • Electrical equipment appearance abnormity detection method based on image comparison

    CN104809732A

  • Tunnel disease monitoring system and method based on spectral analysis

    CN109100364A

  • Camera detection locking device based on optical imaging

    CN209913905U