Method and system for detecting hidden camera

By combining lidar and deep-sensing image technology, the intensity correction of infrared light is solved, and the problem of poor detection effect of hidden cameras at longer distances in the prior art is achieved, and a wider detection range and higher Detection accuracy.

CN119233048APending Publication Date: 2024-12-31SHENZHEN MYSEA TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411267610.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-11
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

The existing hidden camera detection methods have poor detection effects at longer distances and are difficult to cover a larger range.

Method used

Using equipment including lidar, image sensor, camera and display, infrared light is used to illuminate the scene through infrared light sources, obtain reflected images of infrared light, and make up the reflected images of infrared light by superimposing the deep-sensing image to determine the target. area.

Benefits of technology

It realizes accurate detection of hidden cameras on a large scale, improving detection accuracy and coverage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119233048A_ABST
    Figure CN119233048A_ABST
Patent Text Reader

Abstract

The invention provides a method and system for detecting a hidden camera, and belongs to the technical field of detection, and the method comprises the steps: a controller controls an infrared light source to start in response to the touch operation of a user on a display, and obtains an infrared image based on an image sensor; the controller controls the laser radar to start, and obtains a deep sensing image; the controller superposes the infrared image and the deep sensing image, and determines a target area image from the infrared image based on a superposing result; the infrared image and the scene image are controlled to be overlapped, a detection area image is determined in the scene image according to an overlapping result, and a corresponding relation exists between the detection area image and the target area image; the controller determines an identifier based on the detection area image and controls the display to display the identifier and the display scene image, and the position of the identifier is overlapped with the position of the detection area image.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of detection, and in particular to a method and system for detecting hidden cameras. Background Art

[0002] In modern society, privacy protection has become increasingly important, especially in public and private spaces. The installation and use of hidden cameras often raises the issue of privacy violations. Hidden cameras are usually designed to be very small and difficult to detect, which makes it possible for them to monitor without being noticed. However, such monitoring behavior often violates the privacy rights of individuals and may even involve illegal behavior.

[0003] To combat this problem, a variety of methods have been developed to detect hidden cameras. These methods include, but are not limited to, the use of radio frequency detectors, which detect the weak electromagnetic waves emitted by cameras when they transmit signals, infrared scanners, which use infrared imaging technology to detect reflections or absorption of light by camera lenses, and specific software applications.

[0004] The detection process of the infrared scanner is relatively simple, but during the detection process, the infrared light will attenuate as the distance increases. When detecting farther away in the room, the effect is poor, resulting in a smaller detection range. Summary of the invention

[0005] The embodiments of the present application provide a method and system for detecting hidden cameras to improve the above-mentioned problems.

[0006] In order to achieve the above objectives, this application adopts the following technical solutions:

[0007] In the first aspect, the present application proposes a method for detecting a hidden camera, which is applicable to a system for detecting a hidden camera. The device includes a device body and an infrared light source, and the device body and the infrared light source are detachably connected. The device body includes a laser radar, an image sensor, a camera, a display, and a controller. The method includes:

[0008] The controller responds to the user's operation of connecting the device body with the infrared light source and controls the camera to start, and the display displays a scene image based on the image information obtained by the camera, and the scene image is an image of the scene to be detected;

[0009] The controller controls the infrared light source to start up in response to the user's touch operation on the display, and acquires an infrared image based on the image sensor; the controller controls the laser radar to start up and acquire a depth image;

[0010] The controller superimposes the infrared image with the depth sensing image, and determines the target area image from the infrared image based on the superposition result;

[0011] Controlling the superposition of the infrared image and the scene image, and determining the detection area image in the scene image according to the superposition result, and the detection area image and the target area image have a corresponding relationship;

[0012] The controller determines a mark based on the detection area image, and controls the display to display the mark and the display scene image, wherein the mark position overlaps with the detection area image position.

[0013] In combination with the first aspect, in some embodiments, the controller responds to the user's operation of connecting the device body and the infrared light source and controls the camera to start, and the display displays a scene image based on the image information obtained by the camera, and the scene image is an image of the scene to be detected, including:

[0014] The controller responds to the user's operation of connecting the device body with the infrared light source, and controls the camera to start at a periodic interval of T, and obtains the display scene image at time 0, t, 2t, 3t.....nt, where T=t, and T, t, and n are all greater than or equal to zero, and n is an integer greater than or equal to 1;

[0015] The controller controls the display to display the multiple display scene images in sequence according to the acquisition order.

[0016] In combination with the first aspect, in some embodiments, the controller controls the infrared light source to start in response to a user's touch operation on the display, and acquires an infrared image based on the image sensor; the controller controls the laser radar to start and acquire a depth image, including:

[0017] The controller responds to the user's touch operation on the display, and controls the infrared light source to start at a periodic interval of T, and obtains multiple infrared images at 0.5t, 1.5t, 2.5t....(n-0.5)t, so that the infrared image is a stroboscopic image.

[0018] In combination with the first aspect, in some implementations, the controller superimposes the infrared image with the depth sensing image, and based on the superposition result, determines the target area image from the infrared image, including:

[0019] The controller divides the infrared image into a plurality of first intensity gradient regions based on the infrared reflection intensity in the infrared image;

[0020] Based on the depth sensing image, the controller divides the infrared image into a plurality of distance gradient regions according to the depth sensing distance;

[0021] The controller assigns corresponding infrared intensity change values ​​to the multiple distance gradient regions, wherein the infrared intensity change value is proportional to the distance corresponding to the distance gradient region;

[0022] The controller superimposes the infrared image and the depth sensing image, and assigns the infrared intensity change value corresponding to the distance gradient area to each first intensity gradient area according to the distribution of the distance gradient area, so as to obtain a second intensity gradient area;

[0023] The controller determines a target area image from the plurality of second intensity gradient areas.

[0024] In combination with the first aspect, in some implementations, controlling the infrared image to be superimposed with the scene image, determining a detection area image in the scene image according to the superposition result, and a corresponding relationship between the detection area image and the target area image includes:

[0025] The controller obtains the display scene image at time nt and the infrared image at time (n-0.5)t, and determines the target area image in the infrared image at time (n-0.5)t;

[0026] The controller acquires boundary data based on the target area image, wherein the boundary data is boundary information of the target area image, and the boundary data includes boundary shape and boundary position;

[0027] The controller maps the boundary data to the scene image, and determines the detection area image from the scene image according to the boundary data.

[0028] In combination with the first aspect, in some implementations, the controller determines a marker based on the detection area image, and controls the display to display the marker and the display scene image, wherein the marker position overlaps with the detection area image position, including:

[0029] The controller obtains the detection area image and uploads the detection area image to the cloud server for image recognition;

[0030] The controller assigns different labels to multiple detection images based on the recognition results returned by the cloud server.

[0031] In combination with the first aspect, in some implementations, the controller determines a marker based on the detection area image, and controls the display to display the marker and the display scene image, wherein the marker position overlaps with the detection area image position, including:

[0032] The controller obtains the detection area image, matches the detection area image with the data in the database, and assigns different identifiers to the multiple detection images according to the matching results.

[0033] In combination with the first aspect, in some implementations, the controller determines a marker based on the detection area image, and controls the display to display the marker and the display scene image, wherein the marker position overlaps with the detection area image position, including:

[0034] The controller obtains the detection area image and imports the detection area image into the trained neural network training model;

[0035] The controller assigns different labels to multiple detection images according to the output results of the neural network training model.

[0036] In a second aspect, the embodiment of the present application proposes a system for detecting hidden cameras, which is applicable to a system for detecting hidden cameras. The device includes a device body and an infrared light source, and the device body and the infrared light source are detachably connected. The device body includes a laser radar, an image sensor, a camera, a display, and a controller. The system is configured as follows:

[0037] The controller responds to the user's operation of connecting the device body with the infrared light source and controls the camera to start, and the display displays a scene image based on the image information obtained by the camera, and the scene image is an image of the scene to be detected;

[0038] The controller controls the infrared light source to start up in response to the user's touch operation on the display, and acquires an infrared image based on the image sensor; the controller controls the laser radar to start up and acquire a depth image;

[0039] The controller superimposes the infrared image with the depth sensing image, and determines the target area image from the infrared image based on the superposition result;

[0040] Controlling the superposition of the infrared image and the scene image, and determining the detection area image in the scene image according to the superposition result, and the detection area image and the target area image have a corresponding relationship;

[0041] The controller determines a mark based on the detection area image, and controls the display to display the mark and the display scene image, wherein the mark position overlaps with the detection area image position.

[0042] In conjunction with the second aspect, the system is configured to:

[0043] The controller responds to the user's operation of connecting the device body with the infrared light source and controls the camera to start, and the display displays a scene image based on the image information obtained by the camera. The scene image is an image of the scene to be detected, including:

[0044] The controller responds to the user's operation of connecting the device body with the infrared light source, and controls the camera to start at a periodic interval of T, and obtains the display scene image at time 0, t, 2t, 3t.....nt, where T=t, and T, t, and n are all greater than or equal to zero, and n is an integer greater than or equal to 1;

[0045] The controller controls the display to display the multiple display scene images in sequence according to the acquisition order.

[0046] In conjunction with the second aspect, the system is configured to:

[0047] The controller controls the infrared light source to start in response to a user's touch operation on the display, and acquires an infrared image based on the image sensor; the controller controls the laser radar to start and acquire a depth image, including:

[0048] The controller responds to the user's touch operation on the display, and controls the infrared light source to start at a periodic interval of T, and obtains multiple infrared images at 0.5t, 1.5t, 2.5t....(n-0.5)t, so that the infrared image is a stroboscopic image.

[0049] In conjunction with the second aspect, the system is configured to:

[0050] The controller superimposes the infrared image with the depth image, and based on the superposition result, determines the target area image from the infrared image, including:

[0051] The controller divides the infrared image into a plurality of first intensity gradient regions based on the infrared reflection intensity in the infrared image;

[0052] Based on the depth sensing image, the controller divides the infrared image into a plurality of distance gradient regions according to the depth sensing distance;

[0053] The controller assigns corresponding infrared intensity change values ​​to the multiple distance gradient regions, wherein the infrared intensity change value is proportional to the distance corresponding to the distance gradient region;

[0054] The controller superimposes the infrared image and the depth sensing image, and assigns the infrared intensity change value corresponding to the distance gradient area to each first intensity gradient area according to the distribution of the distance gradient area, so as to obtain a second intensity gradient area;

[0055] The controller determines a target area image from the plurality of second intensity gradient areas.

[0056] In conjunction with the second aspect, the system is configured to:

[0057] Controlling the superposition of the infrared image and the scene image, and determining the detection area image in the scene image according to the superposition result, and the detection area image and the target area image have a corresponding relationship, including:

[0058] The controller obtains the display scene image at time nt and the infrared image at time (n-0.5)t, and determines the target area image in the infrared image at time (n-0.5)t;

[0059] The controller acquires boundary data based on the target area image, wherein the boundary data is boundary information of the target area image, and the boundary data includes boundary shape and boundary position;

[0060] The controller maps the boundary data to the scene image, and determines the detection area image from the scene image according to the boundary data.

[0061] In conjunction with the second aspect, the system is configured to:

[0062] The controller determines a mark based on the detection area image, and controls the display to display the mark and the display scene image, wherein the mark position overlaps with the detection area image position, including:

[0063] The controller obtains the detection area image and uploads the detection area image to the cloud server for image recognition;

[0064] The controller assigns different labels to multiple detection images based on the recognition results returned by the cloud server.

[0065] In conjunction with the second aspect, the system is configured to:

[0066] The controller determines a mark based on the detection area image, and controls the display to display the mark and the display scene image, wherein the mark position overlaps with the detection area image position, including:

[0067] The controller obtains the detection area image, matches the detection area image with the data in the database, and assigns different identifiers to the multiple detection images according to the matching results.

[0068] In conjunction with the second aspect, the system is configured to:

[0069] The controller determines a mark based on the detection area image, and controls the display to display the mark and the display scene image, wherein the mark position overlaps with the detection area image position, including:

[0070] The controller obtains the detection area image and imports the detection area image into the trained neural network training model;

[0071] The controller assigns different labels to multiple detection images according to the output results of the neural network training model.

[0072] A third aspect of an embodiment of the present invention provides an electronic device, the electronic device comprising:

[0073] At least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method proposed in the first aspect of the embodiment of the present invention.

[0074] A fourth aspect of an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method provided in the first aspect of the embodiment of the present invention.

[0075] In summary, the above method and device have the following technical effects:

[0076] The present application proposes a method and system for detecting hidden cameras. The controller first responds to the user's operation of connecting the device body and the infrared light source, and controls the camera to start up. The display displays a scene image based on the image information obtained by the camera, and the scene image is an image of the scene to be detected. Then, the controller responds to the user's touch operation on the display, controls the infrared light source to start up, and obtains an infrared image based on the image sensor; the controller controls the laser radar to start up and obtains a depth-sensing image. Then, the controller superimposes the infrared image with the depth-sensing image, and based on the result of the superposition, determines the target area image from the infrared image. Then, the controller controls the superposition of the infrared image with the scene image, and according to the result of the superposition, determines the detection area image in the scene image. There is a corresponding relationship between the detection area image and the target area image. Finally, the controller determines an identifier based on the detection area image, and controls the display to display the identifier and the scene image, wherein the identifier position overlaps with the detection area image position. The present application proposes a method for detecting hidden cameras, which illuminates a scene with infrared light through an independent infrared light source, then obtains a reflected image of the infrared light, and corrects the intensity of the reflected image of the infrared light by superimposing a depth-sensing image to obtain a more accurate infrared reflected image that can cover a larger detection area. BRIEF DESCRIPTION OF THE DRAWINGS

[0077] Figure 1 A flowchart of a method for detecting hidden cameras proposed in an embodiment of the present application. DETAILED DESCRIPTION

[0078] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0079] The embodiment of the present application proposes a method for detecting hidden cameras, which is applicable to a system for detecting hidden cameras. The device includes a device body and an infrared light source. The device body and the infrared light source are detachably connected. The device body includes a laser radar, an image sensor, a camera, a display, and a controller. In this embodiment, the device body can be an electronic device such as a mobile phone or a tablet, which is not limited here. Please refer to Figure 1 , the method comprises the following steps:

[0080] S101: The controller responds to the user's operation of connecting the device body with the infrared light source and controls the camera to start up, and the display displays a scene image based on the image information obtained by the camera, where the scene image is an image of the scene to be detected.

[0081] It is understandable that in this embodiment, the device body and the infrared light source can be connected by relying on a mobile phone interface, or by Bluetooth or wifi, etc., which is not limited here. In this embodiment, taking a mobile phone as an example, after the mobile phone establishes a connection with the infrared light source, the mobile phone can automatically jump to the corresponding APP interface and display an intuitive scene picture on the screen, which is a picture composed of images of the scene to be detected. Multiple pictures can form a continuous video picture.

[0082] In this embodiment, the infrared light source may be a stroboscopic light source. On the one hand, the light intensity of the stroboscopic light source is higher than that of a continuous light source, and the infrared image obtained by the stroboscopic light source is clearer. On the other hand, the infrared light source may be prevented from interfering with the generated video image.

[0083] Specifically, in this embodiment, the controller responds to the user's operation of connecting the device body with the infrared light source, and controls the camera to start at a periodic interval of T, and acquires display scene images at times 0, t, 2t, 3t...nt, where T=t, and T, t, and n are all greater than or equal to zero, and n is an integer greater than or equal to 1. Then, the controller controls the display to display multiple display scene images in sequence according to the acquisition order. In this way, the multiple display scene images constitute multiple frames of the display video.

[0084] S102: The controller controls the infrared light source to start up in response to the user's touch operation on the display, and acquires an infrared image based on the image sensor; the controller controls the laser radar to start up and acquires a depth image.

[0085] It can be understood that in this embodiment, after the real-time video image is displayed, the user can operate from the APP operation interface of the mobile phone, for example, click the "start detection" button, etc. After the controller obtains the start instruction according to the user's operation, the controller can control the infrared light source to start and obtain the infrared image based on the image sensor. At the same time, the controller controls the laser radar on the mobile phone to start and obtain the depth image.

[0086] Specifically, in this embodiment, in order to avoid the infrared light source interfering with the generated video image, the stroboscopic time of the infrared light and the acquisition result of the infrared light image can be staggered with the frame acquisition time. For example, the controller can control the infrared light source to start with a periodic interval of T, and acquire multiple infrared images at 0.5t, 1.5t, 2.5t....(n-0.5)t, so that the infrared image is a stroboscopic image.

[0087] It can be understood that through the above steps, when acquiring the frame image at time nt, the infrared light source is in an off state, and at time (n-0.5)t, the infrared light is at the time point with the highest intensity, and the acquired infrared image is the clearest. At the same time, limited by the existing infrared light source structure, the instantaneous intensity of the stroboscopic light source can reach a higher intensity by the current released instantly by the capacitor, which is much greater than the continuous light source powered by continuous current.

[0088] In the process of acquiring infrared images and frame images, the laser radar is also turned on at the same time. The laser radar generally includes a laser transmitter and receiver that are independent of the camera, so the process of acquiring frame images and infrared images has no effect on the data acquired by the laser radar. The acquisition time of the depth image in this embodiment is consistent with the acquisition time of the infrared light image. Of course, in some other implementations, it can also be a depth image acquired at other time points, which is not limited in this embodiment.

[0089] S103: The controller superimposes the infrared image and the depth sensing image, and determines the target area image from the infrared image based on the superposition result.

[0090] It is understandable that in the prior art, when a camera exists, due to the structure of the camera, the camera will inevitably have a high absorption efficiency for all light, that is, the reflection efficiency for all light is particularly low. Therefore, in the infrared image formed by the reflection of infrared light, the location of the camera must be a "black area", that is, an area with no reflection or less reflection, which is more obvious in the infrared light image. However, after the infrared light is emitted from the light source, the intensity of the infrared light will be correspondingly weakened as the distance changes. For cameras at a longer distance, the "black area" area is not obvious and cannot be accurately detected. Therefore, in this embodiment, in the process of detecting the camera, the depth image and the infrared image can be combined.

[0091] Specifically, in this embodiment, step S103 may include the following steps:

[0092] S1031: The controller divides the infrared image into a plurality of first intensity gradient regions based on the infrared reflection intensity in the infrared image.

[0093] It can be understood that in this embodiment, the controller uses the infrared reflection intensity information extracted from the infrared image to divide the entire infrared image into a plurality of first intensity gradient regions with different infrared reflection intensities according to the differences in these intensity values.

[0094] S1032: Based on the depth sensing image, the controller divides the infrared image into a plurality of distance gradient regions according to the depth sensing distance.

[0095] It can be understood that the controller uses the depth image information obtained from the depth camera to divide the corresponding depth image into several different distance gradient areas according to the depth value of each pixel. Specifically, the controller analyzes each pixel in the depth image, obtains its depth information, and then divides the corresponding area in the depth image into different distance levels according to the depth information. For example, closer objects are divided into one distance gradient area, while farther objects are divided into another distance gradient area.

[0096] S1033: The controller assigns corresponding infrared intensity change values ​​to the plurality of distance gradient regions, wherein the infrared intensity change value is proportional to the distance corresponding to the distance gradient region.

[0097] It can be understood that since infrared light will attenuate with distance, the reflection intensity of infrared light can be corrected in combination with the distance, that is, corresponding infrared intensity change values ​​are assigned to multiple distance gradient areas. For example, in an area with a distance of 1m, the intensity change value of infrared light is 1 unit, and in an area with a distance of 2m, the intensity change value of infrared light is 2 units. That is, the farther the distance, the greater the infrared intensity change value, that is, the infrared intensity change value is proportional to the distance corresponding to the distance gradient area.

[0098] S1034: The controller superimposes the infrared image and the depth sensing image, and assigns the infrared intensity change value corresponding to the distance gradient area to each first intensity gradient area according to the distribution of the distance gradient area, so as to obtain a second intensity gradient area.

[0099] It can be understood that in this embodiment, after obtaining multiple intensity change values, the controller can assign the change values ​​to the infrared image. Exemplarily, the controller can superimpose the infrared image with the depth image, and then assign the infrared intensity change value corresponding to the distance gradient area to each first intensity gradient area according to the distribution of the distance gradient area to obtain the second intensity gradient area. For example, in the infrared image, a first intensity area has an infrared light reflection intensity of 3 units. After superposition, the area is also superimposed with a distance gradient area with a distance of 1m. The infrared intensity change value corresponding to the distance gradient area with a distance of 1m is 1 unit. Therefore, the reflection intensity corresponding to the second intensity gradient area of ​​the first intensity gradient area after the change value is assigned is the original 3 units plus 1 unit of intensity change value. In the above manner, the problem of unclear infrared light reflection images caused by distance can be improved to a certain extent.

[0100] S1035: The controller determines a target area image from the plurality of second intensity gradient areas.

[0101] It can be understood that in this embodiment, after obtaining multiple second intensity gradient regions, a "black region", that is, a target region image in this application, can be determined from the multiple second intensity gradient regions according to the final reflection intensity value. It should be noted that the condition for defining the "black region" can be a preset value or a data value obtained by using other algorithms, which is not limited here.

[0102] S104: controlling the superposition of the infrared image and the scene image, and determining a detection area image in the scene image according to the superposition result, and there is a corresponding relationship between the detection area image and the target area image.

[0103] It can be understood that in this embodiment, after the target area image is acquired, that is, after it is determined to be a possible camera image, the corresponding image can be determined in the scene image and displayed for the user to observe.

[0104] Specifically, in this embodiment, the controller can obtain the display scene image at time nt and the infrared image at time (n-0.5)t, and determine the target area image in the infrared image at time (n-0.5)t. Then, the controller obtains boundary data based on the target area image, wherein the boundary data is the boundary information of the target area image, and the boundary data includes the boundary shape and the boundary position. Finally, the controller maps the boundary data to the scene image, and determines the detection area image from the scene image based on the boundary data.

[0105] S105: The controller determines a mark based on the detection area image, and controls the display to display the mark and the display scene image, wherein the mark position overlaps with the detection area image position.

[0106] It is understandable that when the image corresponding to the area is displayed, a specific mark is displayed on it at the same time. For example, the mark can be a color mark or a percentage mark of possible degree, which is not limited here. In this embodiment, the process of further image recognition or processing of the image can be a variety of schemes. For the obtained detection area image, the image can also be further image recognized or processed to make the final result more accurate and avoid misleading the result due to the appearance of other objects with low infrared light reflection.

[0107] Exemplarily, as an implementation method, the image processing may be performed by using a cloud service. Specifically, in this implementation method, the controller may obtain the detection area image and upload the detection area image to the cloud server for image recognition. Then, the controller assigns different identifiers to the multiple detection images according to the recognition results returned by the cloud server.

[0108] In some other implementations, the controller may obtain the detection area image, and match the detection area image with the data in the database, and assign different identifiers to the multiple detection images according to the matching results.

[0109] In some other embodiments, the controller may also obtain the detection area image and import the detection area image into a trained neural network training model; the controller assigns different labels to multiple detection images according to the output results of the neural network training model.

[0110] The present application proposes a method for detecting hidden cameras. The controller first responds to the user's operation of connecting the device body and the infrared light source, and controls the camera to start up. The display displays a scene image based on the image information obtained by the camera, and the scene image is an image of the scene to be detected. Then, the controller responds to the user's touch operation on the display, controls the infrared light source to start up, and obtains an infrared image based on the image sensor; the controller controls the laser radar to start up and obtains a depth-sensing image. Then, the controller superimposes the infrared image with the depth-sensing image, and based on the result of the superposition, determines the target area image from the infrared image. Then, the controller controls the superposition of the infrared image with the scene image, and according to the result of the superposition, determines the detection area image in the scene image. There is a corresponding relationship between the detection area image and the target area image. Finally, the controller determines an identifier based on the detection area image, and controls the display to display the identifier and the scene image, wherein the identifier position overlaps with the detection area image position. The present application proposes a method for detecting hidden cameras, which illuminates a scene with infrared light through an independent infrared light source, then obtains a reflected image of the infrared light, and corrects the intensity of the reflected image of the infrared light by superimposing a depth-sensing image to obtain a more accurate infrared reflected image that can cover a larger detection area.

[0111] Based on the same inventive concept, the embodiment of the present application proposes a system for detecting hidden cameras, which is applicable to a system for detecting hidden cameras. The device includes a device body and an infrared light source, and the device body and the infrared light source are detachably connected. The device body includes a laser radar, an image sensor, a camera, a display, and a controller. The system is configured as follows:

[0112] The controller responds to the user's operation of connecting the device body with the infrared light source and controls the camera to start, and the display displays a scene image based on the image information obtained by the camera, and the scene image is an image of the scene to be detected;

[0113] The controller controls the infrared light source to start up in response to the user's touch operation on the display, and acquires an infrared image based on the image sensor; the controller controls the laser radar to start up and acquire a depth image;

[0114] The controller superimposes the infrared image with the depth sensing image, and determines the target area image from the infrared image based on the superposition result;

[0115] Controlling the superposition of the infrared image and the scene image, and determining the detection area image in the scene image according to the superposition result, and the detection area image and the target area image have a corresponding relationship;

[0116] The controller determines a mark based on the detection area image, and controls the display to display the mark and the display scene image, wherein the mark position overlaps with the detection area image position.

[0117] The system is configured to:

[0118] The controller responds to the user's operation of connecting the device body with the infrared light source and controls the camera to start, and the display displays a scene image based on the image information obtained by the camera. The scene image is an image of the scene to be detected, including:

[0119] The controller responds to the user's operation of connecting the device body with the infrared light source, and controls the camera to start at a periodic interval of T, and obtains the display scene image at time 0, t, 2t, 3t.....nt, where T=t, and T, t, and n are all greater than or equal to zero, and n is an integer greater than or equal to 1;

[0120] The controller controls the display to display the multiple display scene images in sequence according to the acquisition order.

[0121] The system is configured to:

[0122] The controller controls the infrared light source to start in response to a user's touch operation on the display, and acquires an infrared image based on the image sensor; the controller controls the laser radar to start and acquire a depth image, including:

[0123] The controller responds to the user's touch operation on the display, and controls the infrared light source to start at a periodic interval of T, and obtains multiple infrared images at 0.5t, 1.5t, 2.5t....(n-0.5)t, so that the infrared image is a stroboscopic image.

[0124] The system is configured to:

[0125] The controller superimposes the infrared image with the depth image, and based on the superposition result, determines the target area image from the infrared image, including:

[0126] The controller divides the infrared image into a plurality of first intensity gradient regions based on the infrared reflection intensity in the infrared image;

[0127] Based on the depth sensing image, the controller divides the infrared image into a plurality of distance gradient regions according to the depth sensing distance;

[0128] The controller assigns corresponding infrared intensity change values ​​to the multiple distance gradient regions, wherein the infrared intensity change value is proportional to the distance corresponding to the distance gradient region;

[0129] The controller superimposes the infrared image and the depth sensing image, and assigns the infrared intensity change value corresponding to the distance gradient area to each first intensity gradient area according to the distribution of the distance gradient area, so as to obtain a second intensity gradient area;

[0130] The controller determines a target area image from the plurality of second intensity gradient areas.

[0131] The system is configured to:

[0132] Controlling the superposition of the infrared image and the scene image, and determining the detection area image in the scene image according to the superposition result, and the detection area image and the target area image have a corresponding relationship, including:

[0133] The controller obtains the display scene image at time nt and the infrared image at time (n-0.5)t, and determines the target area image in the infrared image at time (n-0.5)t;

[0134] The controller acquires boundary data based on the target area image, wherein the boundary data is boundary information of the target area image, and the boundary data includes boundary shape and boundary position;

[0135] The controller maps the boundary data to the scene image, and determines the detection area image from the scene image according to the boundary data.

[0136] The system is configured to:

[0137] The controller determines a mark based on the detection area image, and controls the display to display the mark and the display scene image, wherein the mark position overlaps with the detection area image position, including:

[0138] The controller obtains the detection area image and uploads the detection area image to the cloud server for image recognition;

[0139] The controller assigns different labels to multiple detection images based on the recognition results returned by the cloud server.

[0140] The system is configured to:

[0141] The controller determines a mark based on the detection area image, and controls the display to display the mark and the display scene image, wherein the mark position overlaps with the detection area image position, including:

[0142] The controller obtains the detection area image, matches the detection area image with the data in the database, and assigns different identifiers to the multiple detection images according to the matching results.

[0143] The system is configured to:

[0144] The controller determines a mark based on the detection area image, and controls the display to display the mark and the display scene image, wherein the mark position overlaps with the detection area image position, including:

[0145] The controller obtains the detection area image and imports the detection area image into the trained neural network training model;

[0146] The controller assigns different labels to multiple detection images according to the output results of the neural network training model.

[0147] The present application proposes a system for detecting hidden cameras, wherein the controller first responds to the user's operation of connecting the device body and the infrared light source, and controls the camera to start up, and the display displays a scene image based on the image information obtained by the camera, and the scene image is an image of the scene to be detected. Then, the controller responds to the user's touch operation on the display, controls the infrared light source to start up, and obtains an infrared image based on the image sensor; the controller controls the laser radar to start up and obtains a depth-sensing image, and then the controller superimposes the infrared image with the depth-sensing image, and based on the result of the superposition, determines the target area image from the infrared image, and then controls the superposition of the infrared image with the scene image, and based on the result of the superposition, determines the detection area image in the scene image, and there is a corresponding relationship between the detection area image and the target area image. Finally, the controller determines an identifier based on the detection area image, and controls the display to display the identifier and the scene image, wherein the identifier position overlaps with the detection area image position. The present application proposes a method for detecting hidden cameras, which illuminates a scene with infrared light through an independent infrared light source, then obtains a reflected image of the infrared light, and corrects the intensity of the reflected image of the infrared light by superimposing a depth-sensing image to obtain a more accurate infrared reflected image that can cover a larger detection area.

[0148] Based on the same inventive concept, an embodiment of the present application further proposes an electronic device, the electronic device comprising:

[0149] At least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method for detecting hidden cameras according to an embodiment of the present application.

[0150] In addition, to achieve the above-mentioned purpose, an embodiment of the present application further proposes a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the method for detecting hidden cameras of an embodiment of the present application.

[0151] The following is a detailed introduction to the various components of electronic equipment:

[0152] The processor is the control center of the electronic device, which can be a processor or a general term for multiple processing elements. For example, the processor is one or more central processing units (CPU), or an application specific integrated circuit (ASlC), or one or more integrated circuits configured to implement the embodiments of the present invention, such as one or more microprocessors (digital signal processors, DSP), or one or more field programmable gate arrays (field programmable gate arrays, FPGA).

[0153] Optionally, the processor can perform various functions of the electronic device by running or executing a software program stored in the memory, and calling data stored in the memory.

[0154] The memory is used to store the software program for executing the solution of the present invention, and the execution is controlled by the processor. The specific implementation method can refer to the above method embodiment and will not be repeated here.

[0155] Optionally, the memory may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory may be integrated with the processor, or may exist independently and be coupled to the processor through an interface circuit of the electronic device, and the embodiments of the present invention do not specifically limit this.

[0156] A transceiver is used to communicate with a network device or a terminal device.

[0157] Optionally, the transceiver may include a receiver and a transmitter, wherein the receiver is used to implement a receiving function, and the transmitter is used to implement a sending function.

[0158] Optionally, the transceiver may be integrated with the processor, or may exist independently and be coupled to the processor via an interface circuit of the router, which is not specifically limited in the embodiment of the present invention.

[0159] In addition, the technical effects of the electronic device can refer to the technical effects of the data transmission method in the above method embodiment, which will not be repeated here.

[0160] It should be understood that the processor in the embodiment of the present invention may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0161] It should also be understood that the memory in the embodiments of the present invention may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus RAM (DRRAM).

[0162] The above embodiments can be implemented in whole or in part by software, hardware (such as circuits), firmware or any other combination. When implemented using software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When a computer instruction or computer program is loaded or executed on a computer, a process or function according to an embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. Computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a tape), an optical medium (for example, a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.

[0163] It should be understood that the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. A and B can be singular or plural. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship, but it may also indicate an "and / or" relationship. Please refer to the context for specific understanding.

[0164] In the present invention, "at least one" means one or more, and "more than one" means two or more. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can be represented by: a, b, c, ab, a--c, bc, or abc, where a, b, and c can be single or multiple.

[0165] It should be understood that in various embodiments of the present invention, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

[0166] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

Claims

1. A method for detecting hidden cameras, characterized in that: A system for detecting hidden cameras, the device comprising a device body and an infrared light source, the device body and the infrared light source being detachably connected, the device body comprising a laser radar, an image sensor, a camera, a display and a controller, the method comprising: The controller responds to the user's operation of connecting the device body with the infrared light source and controls the camera to start, and the display displays a scene image based on the image information acquired by the camera, and the scene image is an image of the scene to be detected; The controller controls the infrared light source to start up in response to the user's touch operation on the display, and acquires an infrared image based on the image sensor; the controller controls the laser radar to start up and acquire a depth image; The controller superimposes the infrared image with the depth sensing image, and determines a target area image from the infrared image based on the superimposed result; The control superimposes the infrared image with the scene image, and according to the superimposition result, determines a detection area image in the scene image, and there is a corresponding relationship between the detection area image and the target area image; The controller determines a mark based on the detection area image, and controls the display to display the mark and the display scene image, wherein a position of the mark overlaps a position of the detection area image.

2. A method for detecting hidden cameras according to claim 1, characterized in that: The controller controls the camera to start in response to the user's operation of connecting the device body with the infrared light source, and the display displays a scene image based on the image information acquired by the camera, wherein the scene image is an image of the scene to be detected, including: The controller responds to the user's operation of connecting the device body with the infrared light source, and controls the camera to start at a periodic interval of T, and obtain the display scene image at time 0, t, 2t, 3t...nt, where T=t, and T, t, and n are all greater than or equal to zero, and n is an integer greater than or equal to 1; The controller controls the display to display the plurality of display scene images in sequence according to an acquisition order.

3. A method for detecting hidden cameras according to claim 2, characterized in that: The controller controls the infrared light source to start in response to the user's touch operation on the display, and acquires an infrared image based on the image sensor; The controller controls the laser radar to start and obtain a depth image, including: The controller responds to the user's touch operation on the display, and controls the infrared light source to start at a periodic interval of T, and acquires multiple infrared images at 0.5t, 1.5t, 2.5t....(n-0.5)t, so that the infrared image is a stroboscopic image.

4. A method for detecting hidden cameras according to claim 3, characterized in that: The controller superimposes the infrared image with the depth sensing image, and determines a target area image from the infrared image based on the superimposition result, including: The controller divides the infrared image into a plurality of first intensity gradient regions based on the infrared reflection intensity in the infrared image; The controller divides the infrared image into a plurality of distance gradient regions according to the depth sensing distance based on the depth sensing image; The controller assigns corresponding infrared intensity change values ​​to the plurality of distance gradient regions, wherein the infrared intensity change value is proportional to the distance corresponding to the distance gradient region; The controller superimposes the infrared image and the depth sensing image, and assigns the infrared intensity change value corresponding to the distance gradient area to each first intensity gradient area according to the distribution of the distance gradient area, so as to obtain a second intensity gradient area; The controller determines the target area image from a plurality of the second intensity gradient areas.

5. A method for detecting hidden cameras according to claim 4, characterized in that: The controlling superimposes the infrared image with the scene image, and according to the superimposition result, determines a detection area image in the scene image, wherein there is a corresponding relationship between the detection area image and the target area image, including: The controller acquires the display scene image at time nt and the infrared image at time (n-0.5)t, and determines the target area image in the infrared image at time (n-0.5)t; The controller acquires boundary data based on the target area image, wherein the boundary data is boundary information of the target area image, and the boundary data includes a boundary shape and a boundary position; The controller maps the boundary data into the scene image, and determines a detection area image from the scene image according to the boundary data.

6. A method for detecting hidden cameras according to claim 5, characterized in that: The controller determines a mark based on the detection area image, and controls the display to display the mark and the display scene image, wherein the mark position overlaps with the detection area image position, including: The controller acquires the detection area image and uploads the detection area image to a cloud server for image recognition; The controller assigns different identifiers to the plurality of detected images according to the recognition results returned by the cloud server.

7. A method for detecting hidden cameras according to claim 5, characterized in that: The controller determines a mark based on the detection area image, and controls the display to display the mark and the display scene image, wherein the mark position overlaps with the detection area image position, including: The controller obtains the detection area image, matches the detection area image with data in a database, and assigns different identifiers to a plurality of the detection images according to the matching result.

8. A method for detecting hidden cameras according to claim 5, characterized in that: The controller determines a mark based on the detection area image, and controls the display to display the mark and the display scene image, wherein the mark position overlaps with the detection area image position, including: The controller acquires the detection area image and imports the detection area image into a trained neural network training model; The controller assigns different labels to the plurality of detection images according to the output results of the neural network training model.

9. A system for detecting hidden cameras, characterized in that: Applicable to a system for detecting hidden cameras, the device comprises a device body and an infrared light source, the device body and the infrared light source are detachably connected, the device body comprises a laser radar, an image sensor, a camera, a display and a controller, and the system is configured as follows: The controller responds to the user's operation of connecting the device body with the infrared light source and controls the camera to start, and the display displays a scene image based on the image information acquired by the camera, and the scene image is an image of the scene to be detected; The controller controls the infrared light source to start up in response to the user's touch operation on the display, and acquires an infrared image based on the image sensor; the controller controls the laser radar to start up and acquire a depth image; The controller superimposes the infrared image with the depth sensing image, and determines a target area image from the infrared image based on the superimposed result; The control superimposes the infrared image with the scene image, and according to the superimposition result, determines a detection area image in the scene image, and there is a corresponding relationship between the detection area image and the target area image; The controller determines a mark based on the detection area image, and controls the display to display the mark and the display scene image, wherein a position of the mark overlaps a position of the detection area image.

10. An electronic device, characterized in that: The electronic device comprises: at least one processor; and, a memory communicatively coupled to at least one of the processors; Wherein, the memory stores instructions that can be executed by at least one of the processors, and the instructions are executed by at least one of the processors so that at least one of the processors can execute the method proposed in any one of claims 1-8.