Camera detection method and related device
Through the combination of infrared emitting units and imaging sensors, active and passive detection complement each other, fast and high-precision detection of pinhole cameras is achieved, and the problems of detection limitations and low efficiency in the prior art are solved, and are suitable for a wide range of scenarios.
Patent Information
- Application Number
- CN202411642299.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-18
- Publication Date
- 2025-01-10
- Estimated Expiration
- 2044-11-18
AI Technical Summary
The existing pinhole camera detection methods have limitations, and cannot effectively detect cameras without infrared fill light, and rely on wireless networks or manual observation, which has low efficiency and limited applicable scenarios.
The infrared emitting unit is used to actively emit infrared light, collect images through infrared imaging sensors, detect retroreflective light spots to discover the camera, and combine passive detection to quickly and with high accuracy, it is suitable for all scenes.
It realizes simple and accurate detection of the sneak shot camera in most application scenarios, reduces natural light interference, improves the accuracy of detection results, automates operations, reduces user operations, and improves detection speed and efficiency.
Smart Images

Figure CN119299663A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a camera detection method and related devices. Background Art
[0002] In order to discover potential pinhole cameras, there are currently three main types of tools on the market: The first type of tool is a software and hardware device that analyzes suspicious Wi-Fi signals and whether there are suspicious devices within the coverage of Wi-Fi routers. This type of tool can automatically analyze abnormally high-intensity signals or search for hidden cameras that are using Wi-Fi communication, and is easy to operate. However, its limitation is that it must rely on wireless network communication. If the pinhole camera does not conduct real-time Wi-Fi communication or is not running, it cannot be discovered. The second type of tool is to use the camera lens of a mobile phone in a dark environment to observe whether there is an infrared light source in the room, but this method can only be used to discover pinhole cameras with infrared fill lights enabled, and requires that the coating of the user's mobile phone camera lens does not completely filter the infrared band. The third type of tool is a tool that actively emits red light / infrared light and the user manually observes whether there is a reflection from the pinhole camera lens. This method is limited by the subjective ability of manual observation, is slow and inefficient, and requires a high level of experience accumulation. Figure 1 Some common pinhole camera deployment scenarios and examples of existing solutions for the first and third categories are shown.
[0003] It can be seen that the above-mentioned existing solutions all have strong limitations. Therefore, how to design a pinhole camera detection solution that is simple to operate and adaptable to a wide range of scenarios is a technical problem that technicians in this field are studying. Summary of the invention
[0004] The embodiments of the present application provide a camera detection method and related devices, which can simply and accurately detect hidden cameras in most application scenarios.
[0005] In a first aspect, an embodiment of the present application provides a camera detection method, which is applied to an electronic device, and the method includes: The infrared light is emitted to the area to be tested by the infrared emission unit; Collecting a first image of the area to be measured by an infrared imaging sensor; Detecting a target position where a retroreflective light spot exists in the first image; A second image is output, wherein the second image is an image in which prompt information is marked in the image where the target position is located, and the prompt information is used to prompt that a camera exists at the target position.
[0006] This method uses an infrared emitting unit to actively emit infrared light and construct a retroreflective effect, which can actively detect hidden cameras in the area to be tested that do not turn on infrared fill light. In addition, since the light actively emitted into the environment in this solution is infrared light, it can greatly reduce natural light interference and improve the accuracy of the detection results. In addition, the entire detection process does not require the user to perform too many operations, with a high degree of automation and simple operation.
[0007] In combination with the first aspect, in a possible implementation manner, the method further includes: A third image of the area to be measured is collected by an infrared imaging sensor, wherein the third image is collected when the infrared emitting unit is not emitting infrared light, and the first image is collected when the infrared emitting unit is emitting infrared light; and a target position where an infrared light source exists in the third image is detected.
[0008] In this method, a passive detection method (a method of not actively emitting infrared light) is also introduced. This passive detection method can quickly and accurately detect pinhole cameras with fill lights. Although the passive detection method cannot complete the detection well in the scene where the hidden camera does not turn on the infrared fill light, the active detection method mentioned above (i.e. the active emission of infrared light) makes up for this defect. The combination of active detection and motion detection not only ensures the detection speed and accuracy, but also can be applied to all scenes.
[0009] In combination with the first aspect, or any of the above possible implementations of the first aspect, in another possible implementation, if the target position of the infrared light source does not exist in the third image, the operation of detecting the target position of the retroreflective light spot in the first image is performed. It can be understood that when one of the active detection and passive inspection methods can detect a result, the other detection method is no longer started, which can effectively save power consumption.
[0010] In combination with the first aspect, or any of the above possible implementations of the first aspect, in another possible implementation, if there is no target position with a retroreflective light spot in the first image, the operation of detecting the target position with an infrared light source in the third image is performed. It can be understood that if one of the active detection and the passive inspection can detect a result, the other detection method is no longer started, which can effectively save power consumption.
[0011] In combination with the first aspect, or any one of the above-mentioned possible implementation methods of the first aspect, in another possible implementation method, the acquiring of the first image of the area to be measured by using the infrared imaging sensor includes: continuously acquiring multiple first images of the area to be measured by using the infrared imaging sensor in the process of changing the acquisition angle, and the timestamps of acquiring the multiple first images are different; the acquiring of the third image of the area to be measured by using the infrared imaging sensor includes: continuously acquiring multiple third images of the area to be measured by using the infrared imaging sensor in the process of changing the acquisition angle, and the timestamps of acquiring the multiple third images are different; wherein, the first image and the third image are acquired alternately in time.
[0012] In this way, the user only needs to perform one continuous scene scan on a suspected area to be tested, without having to scan for active detection and passive detection separately, thereby reducing the user's manual workload and improving the convenience and efficiency of scanning (image acquisition).
[0013] In combination with the first aspect, or any one of the above possible implementations of the first aspect, in another possible implementation, the method further includes: in the process of alternately acquiring the first image and the third image, generating a first parameter according to the depth information in the acquired images, wherein the first parameter represents the expected distance between the electronic device and the surface of the object in the area to be measured; and outputting the first parameter.
[0014] In this way, users can be reminded in time to adjust the scanning distance, thereby improving the scene scanning quality and reducing missed detections.
[0015] In combination with the first aspect, or any one of the above possible implementations of the first aspect, in another possible implementation, the method further includes: in the process of alternately acquiring the first image and the third image, generating a second parameter according to parameters of an accelerometer and / or gyroscope of the electronic device, wherein the second parameter characterizes a desired acquisition angle and / or speed; and outputting the second parameter.
[0016] In this way, the user can be reminded in time to adjust the scanning speed or angle, thereby improving the scene scanning quality and reducing missed detections.
[0017] In combination with the first aspect, or any of the above possible implementations of the first aspect, in another possible implementation, outputting the second image includes: outputting the second image during the process of alternately acquiring the first image and the third image. In this way, the feedback of the detection result is more timely, and the interaction between the user and the electronic device is more intuitive.
[0018] In combination with the first aspect, or any of the above possible implementations of the first aspect, in another possible implementation, outputting the second image includes: after completing the acquisition of the first image and the third image, outputting the second image. In this way, all results can be output at one time, which is convenient for the user to process uniformly.
[0019] In combination with the first aspect, or any one of the above possible implementations of the first aspect, in another possible implementation, in the third image, if the pixel value in a pixel area is higher than the pixel value of the adjacent pixel point in the pixel area and the difference is greater than a first threshold, then the pixel area is the target position.
[0020] In combination with the first aspect, or any one of the above possible implementations of the first aspect, in another possible implementation, the first image is an image formed on the infrared imaging sensor after the infrared light emitted by the infrared emitting unit is reflected by the area to be measured. In the first image, if the reflection signal in a pixel area is higher than the reflection signal of the pixel point adjacent to the pixel area and the difference is greater than a second threshold, then the pixel area is the target position.
[0021] In combination with the first aspect, or any of the foregoing possible implementations of the first aspect, in yet another possible implementation, detecting a target position where a retroreflective light spot exists in the first image includes: Determining a plurality of first positions where the retroreflective cursor exists in a plurality of first images, wherein the plurality of first images are shot at different angles, and the number of first positions in each first image is greater than or equal to 0; Determine a target position from the multiple first positions according to the background information of the multiple first images, wherein the background information of the first image is used to determine the relative position of the first position in the first image in the area to be tested, and if the relative position of the first position in a first image in the area to be tested is the same as the relative position of the first position in other first images in the area to be tested, then the first position in the first image is the target position.
[0022] This method can filter out interference caused by the smooth surface of the object, reduce false detections, and improve detection capabilities.
[0023] In combination with the first aspect, or any of the foregoing possible implementations of the first aspect, in yet another possible implementation, if a target position is detected from the third image, the method further includes: The target position in the third image is mapped to the first image adjacent to the timestamp, wherein the relative position of the target position in the area to be tested before mapping is the same as the relative position of the target position in the area to be tested after mapping; the second image is specifically an image in which prompt information is marked in the image to which the target position is mapped.
[0024] It is understandable that since the image of the environment is completely black, it is not easy for the user to accurately find the position of the abnormal target in the test area. Specifically, the user can see where the target position is in the third image, but it is not easy to determine which position of the target position corresponds to in the test area (because the imaging around the target position is completely black and cannot form a good reference). Therefore, the corresponding position can be circled in the adjacent active detection image (that is, the first image with the infrared emission unit turned on) to facilitate positioning.
[0025] In a second aspect, an embodiment of the present application provides an electronic device, comprising: one or more processors; a memory; wherein the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code includes computer instructions, and the one or more processors call the computer instructions to enable the electronic device to implement the method described in the first aspect or any possible implementation of the first aspect.
[0026] In a third aspect, an embodiment of the present application provides a chip system, which is applied to an electronic device, and the chip system includes one or more processors, and the processors are used to call computer instructions to enable the electronic device to implement the method described in the first aspect or any possible implementation of the first aspect.
[0027] In a fourth aspect, an embodiment of the present application provides a computer program product comprising instructions, which, when executed on an electronic device, enables the electronic device to implement the method described in the first aspect or any possible implementation manner of the first aspect.
[0028] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, comprising instructions, which, when executed on an electronic device, enable the electronic device to implement the method described in the first aspect or any possible implementation manner of the first aspect.
[0029] It should be understood that the description of technical features, technical solutions, beneficial effects or similar language in this application does not imply that all features and advantages can be realized in any single embodiment. On the contrary, it is understood that the description of features or beneficial effects means that specific technical features, technical solutions or beneficial effects are included in at least one embodiment. Therefore, the description of technical features, technical solutions or beneficial effects in this specification does not necessarily refer to the same embodiment. Furthermore, the technical features, technical solutions and beneficial effects described in the present embodiment can also be combined in any appropriate manner. Those skilled in the art will understand that the embodiment can be realized without one or more specific technical features, technical solutions or beneficial effects of a specific embodiment. In other embodiments, additional technical features and beneficial effects can also be identified in a specific embodiment that does not embody all embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] The following is an introduction to the drawings used in the embodiments of the present application.
[0031] Figure 1 This is a schematic diagram of a conventional arrangement scenario of a pinhole camera provided in an embodiment of the present application; Figure 2 is a schematic diagram of an infrared fill light provided in an embodiment of the present application; Figure 3 It is a schematic diagram of the magnification effect of an infrared imaging sensor and an infrared emitting unit provided in an embodiment of the present application; Figure 4 This is a schematic diagram of a retroreflective effect provided by an embodiment of the present application; Figure 5 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application; Figure 6 It is a schematic diagram of a software architecture provided by an embodiment of the present application; Figure 7 It is a flowchart of a camera detection method provided in an embodiment of the present application; Figure 8 This is a schematic diagram of the effect of a retroreflective light spot provided in an embodiment of the present application; Fig. 9 This is a schematic diagram of another effect of a retroreflective light spot provided in an embodiment of the present application; Fig.10 It is a schematic diagram of a flow chart of interference filtering provided by an embodiment of the present application; Fig.11 This is a schematic diagram of an imaging effect of an infrared light source provided in an embodiment of the present application; Fig.12 is a schematic diagram of a display effect of a second image provided in an embodiment of the present application; Fig.13It is a flowchart of another camera detection method provided in an embodiment of the present application; Fig.14 It is a flowchart of another camera detection method provided in an embodiment of the present application; Fig.15 is a schematic diagram of alternately acquiring a first image and a third image provided in an embodiment of the present application; Fig.16 is a schematic diagram of an indication effect of a first parameter provided in an embodiment of the present application; Fig.17 It is a structural schematic diagram of a camera detection device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0032] The terms used in the following embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to be used as limitations to the present application. As used in the specification and appended claims of the present application, the singular expressions "one", "a kind of", "said", "above", "the" and "this" are intended to also include plural expressions, unless there is a clear indication to the contrary in the context. It should also be understood that the term "and / or" used in the present application refers to and includes any or all possible combinations of one or more listed items.
[0033] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.
[0034] The following first introduces the relevant technologies involved in this application.
[0035] (1) A camera with an infrared fill light (such as a pinhole camera), such as Figure 2 As shown, in order to achieve night vision, some cameras are equipped with infrared fill lights 201, which can emit strong infrared light that is invisible to the human eye. After being reflected on the surface of an object, it is received by the camera lens and sensor 202 that can receive infrared light to achieve imaging. When the infrared fill lights of such cameras are working, although they are invisible to the naked eye, other image sensors (such as infrared cameras) with infrared light receiving capabilities can easily capture the illumination light, including some smartphone rear cameras that do not filter out all infrared bands.
[0036] (2) Infrared camera. Infrared cameras may have ranging capabilities (such as TOF cameras) or may not have ranging capabilities. Infrared cameras may be highly integrated modules that integrate infrared imaging sensors and infrared emission units. Figure 3 It is the effect of magnifying the infrared imaging sensor and infrared emitting unit integrated in the infrared camera of the mobile phone. When the infrared emitting unit is not working, the infrared imaging sensor can work alone to capture the existing infrared information in the environment (such as discovering the infrared fill light of the pinhole camera); the infrared emitting unit can also work simultaneously with the infrared imaging sensor to actively emit infrared light to "illuminate" the surrounding environment, and then form an image on the infrared imaging sensor after being reflected by the environment.
[0037] (3) Camera retro-reflection effect, also known as cat's eye effect. All existing cameras on the market (such as pinhole cameras) contain imaging prisms and the lens needs to be exposed outside the hidden object to achieve imaging. Figure 4 As shown, for optical structures such as cameras, when illuminated by an additional light source, the lens will have a relatively obvious strong reflection within a certain angle range. This phenomenon is called the retroreflection effect or cat's eye effect. When the strong reflected light is imaged on the image sensor, a retroreflection light spot is formed, which can be used to discover optical lenses hidden on the surface of conventional objects.
[0038] Exemplarily, the electronic device in the embodiments of the present application may be a smart screen device, a smart television (television, TV), a mobile phone, a tablet computer, an ultra-mobile personal computer (UMPC), a netbook, as well as a cellular phone, a personal digital assistant (PDA), a wearable device (such as a smart watch, a smart bracelet), and other devices with a shooting function. The embodiments of the present application do not impose any special restrictions on the specific form of the electronic device.
[0039] For example, taking the electronic device as a mobile phone, Figure 5 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. That is, exemplarily, Figure 5 The electronic device shown may be a mobile phone.
[0040] like Figure 5As shown, the electronic device may include a processor 110, an external memory interface 120, an internal memory 129, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a subscriber identification module (SIM) card interface 195, and an infrared transmitting unit 196, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, and the like.
[0041] It is to be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0042] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0043] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.
[0044] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0045] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0046] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple groups of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K through the I2C interface, so that the processor 110 communicates with the touch sensor 180K through the I2C bus interface to realize the touch function of the electronic device.
[0047] The I2S interface can be used for audio communication. In some embodiments, the processor 110 can include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to achieve communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 via the I2S interface to achieve the function of answering a call through a Bluetooth headset.
[0048] The PCM interface can also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 can be coupled via a PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface to realize the function of answering calls via a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
[0049] The UART interface is a universal serial data bus for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is generally used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 through the UART interface to implement the function of playing music through a Bluetooth headset.
[0050] The MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to realize the shooting function of the electronic device. The processor 110 and the display screen 194 communicate via the DSI interface to realize the display function of the electronic device.
[0051] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.
[0052] The USB interface 130 is an interface that complies with the USB standard specification, and specifically can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge an electronic device, and can also be used to transfer data between an electronic device and a peripheral device. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other devices, such as AR devices, etc.
[0053] It is understandable that the interface connection relationship between the modules illustrated in the embodiments of the present application is only a schematic illustration and does not constitute a structural limitation on the electronic device. In other embodiments of the present application, the electronic device may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0054] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of an electronic device. While the charging management module 140 is charging the battery 142, it may also power the electronic device through the power management module 141.
[0055] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the internal memory 129, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.
[0056] The wireless communication function of the electronic device can be implemented through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor.
[0057] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0058] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to electronic devices. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
[0059] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.
[0060] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to electronic devices. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, demodulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0061] In some embodiments, the antenna 1 of the electronic device is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).
[0062] The electronic device implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
[0063] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device may include 1 or N display screens 194, where N is a positive integer greater than 1.
[0064] The electronic device can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.
[0065] The ISP is used to process the data fed back by the camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converts it into an image visible to the naked eye. The ISP can also perform algorithm optimization on the noise and brightness of the image. The ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP can be set in the camera 193.
[0066] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP for conversion into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device may include 1 or N cameras 193, where N is a positive integer greater than 1. Optionally, the electronic device includes multiple cameras 193, among which there are infrared cameras (i.e., infrared imaging sensors) and non-infrared cameras (i.e., non-infrared imaging sensors), wherein the infrared camera can capture infrared light and perform imaging.
[0067] Digital signal processors are used to process digital signals. In addition to processing digital image signals, they can also process other digital signals. For example, when an electronic device selects a frequency point, a digital signal processor is used to perform Fourier transform on the frequency point energy.
[0068] Video codecs are used to compress or decompress digital videos. Electronic devices can support one or more video codecs. In this way, electronic devices can play or record videos in multiple coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
[0069] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and continuously self-learn. NPU can realize applications such as intelligent cognition of electronic devices, such as image recognition, face recognition, voice recognition, text understanding, etc.
[0070] The internal memory 129 may include one or more random access memories (RAM) and one or more non-volatile memories (NVM).
[0071] Random access memory may include static random-access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM, for example, the fifth generation DDR SDRAM is generally referred to as DDR5 SDRAM), etc.; non-volatile memory may include disk storage devices and flash memory.
[0072] Flash memory can be divided into NOR FLASH, NAND FLASH, 3D NAND FLASH, etc. according to the operating principle. It can be divided into single-level cell (SLC), multi-level cell (MLC), triple-level cell (TLC), quad-level cell (QLC), etc. according to the storage unit potential level. It can be divided into universal flash storage (UFS), embedded multimedia card (eMMC), etc. according to the storage specification.
[0073] The random access memory can be directly read and written by the processor 110, and can be used to store executable programs (such as machine instructions) of the operating system or other running programs, and can also be used to store user and application data.
[0074] The non-volatile memory may also store executable programs and user and application data, etc., and may be loaded into the random access memory in advance for direct reading and writing by the processor 110 .
[0075] The external memory interface 120 can be used to connect to an external non-volatile memory to expand the storage capacity of the electronic device. The external non-volatile memory communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music and videos are stored in the external non-volatile memory.
[0076] The electronic device can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0077] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.
[0078] The speaker 170A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The electronic device can listen to music or listen to a hands-free call through the speaker 170A.
[0079] The receiver 170B, also called a "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device receives a call or voice message, the voice can be received by placing the receiver 170B close to the human ear.
[0080] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by approaching the microphone 170C with his mouth to input the sound signal into the microphone 170C.
[0081] The earphone interface 170D is used to connect a wired earphone and can be a USB interface 130 or a 3.5 mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.
[0082] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be disposed on the display screen 194 .
[0083] The gyro sensor 180B may be used to determine the motion posture of the electronic device. In some embodiments, the angular velocity of the electronic device around three axes (ie, x, y, and z axes) may be determined by the gyro sensor 180B.
[0084] The magnetic sensor 180D includes a Hall sensor.
[0085] The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device in various directions (generally three axes).
[0086] The distance sensor 180F is used to measure the distance. The electronic device can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device can use the distance sensor 180F to measure the distance to achieve fast focusing.
[0087] The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector such as a photodiode.
[0088] The ambient light sensor 180L is used to sense the brightness of the ambient light. The electronic device can adaptively adjust the brightness of the display screen 194 according to the sensed brightness of the ambient light.
[0089] The fingerprint sensor 180H is used to collect fingerprints. Electronic devices can use the collected fingerprint characteristics to achieve fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.
[0090] The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy.
[0091] The touch sensor 180K is also called a "touch control device". The touch sensor 180K can be set on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a "touch control screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the electronic device, which is different from the position of the display screen 194.
[0092] The buttons 190 include a power button, a volume button, etc. The buttons 190 may be mechanical buttons or touch buttons.
[0093] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback.
[0094] Indicator 192 may be an indicator light, which may be used to indicate charging status, power changes, messages, missed calls, notifications, etc.
[0095] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to or disconnected from the electronic device by inserting the SIM card interface 195 or pulling the SIM card out of the SIM card interface 195.
[0096] The infrared emitting unit 196 is used to emit infrared light (also called infrared signal). In an optional case, the infrared emitting unit 196 can alternate between working and being turned off according to a certain rule, so as to realize the alternating acquisition of images by the infrared camera and the ordinary camera (i.e., non-infrared camera). For example, the infrared camera acquires one frame of image, the ordinary camera acquires one frame of image, the infrared camera acquires one frame of image, the ordinary camera acquires one frame of image, and so on to complete the image acquisition. In the embodiment of the present application, the infrared emitting unit can be controlled to alternate between working and being turned off by the processor 110, and it is also possible that the infrared emitting unit 196 itself is configured with hardware or software to enable it to alternate between working and being turned off. Of course, the infrared emitting unit 196 can also be controlled to alternate between working and being turned off by other mechanisms, and the specific method is not limited here.
[0097] The software system of an electronic device (such as a mobile phone) can adopt a layered architecture, a transaction-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture. This application embodiment takes the Android system with a layered architecture as an example to illustrate the software architecture of a mobile phone. Figure 6 , Figure 6 It is a schematic diagram of the software architecture of the electronic device provided in the embodiment of the present application.
[0098] The layered architecture divides the software into several layers, each with a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into five layers, from top to bottom: application layer, application framework layer (frame), hardware abstraction layer (HAL), driver layer and hardware layer.
[0099] The application layer can include a series of application packages. Figure 6 As shown, the application may include camera, gallery, anomaly detection and other applications. Among them, the camera application can be used to take pictures, for example, to control the mode, method, timing, etc. of taking pictures; the gallery application can display pictures, for example, to display pictures taken by the camera application or pictures obtained by other means. Optionally, the user can view and edit the pictures based on the gallery application; the anomaly detection application can perform anomaly analysis based on the pictures taken (or collected) by the camera application, for example, to analyze whether there is a pinhole camera in the shooting environment. Optionally, the user can control the timing and method of detection through the anomaly detection application, and view the detection results, etc.; Optionally, the anomaly detection application can be a separate application, or it can be configured in the camera application as a function of the camera application.
[0100] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.
[0101] like Figure 6 As shown, the application framework layer is provided with a camera access interface, which provides a camera call and management entry. In addition, the application framework layer may also include a window manager, a content provider, a view system, a resource manager, and the like.
[0102] The window manager is used to manage window programs. The window manager can obtain the size of the display screen, determine whether there is a status bar, lock the screen, capture the screen, etc. The above-mentioned content provider is used to store and obtain data and make the data accessible to the application. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc. The above-mentioned view system can be used to build the display interface of the application. Each display interface can be composed of one or more controls. Generally speaking, controls can include interface elements such as icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, etc. The above-mentioned resource management service provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, etc.
[0103] The hardware abstraction layer (HAL) is an interface layer between the operating system kernel and the hardware circuit, providing HALs corresponding to different application modules of electronic devices. Figure 6 As shown, HAL includes but is not limited to the camera hardware abstraction layer (camera HAL), and algorithms that support specific functions around the camera. Of course, the algorithms mentioned here can also be deployed in other layers, and deployment in the hardware abstraction layer is only a possible implementation method.
[0104] The driver layer is a layer between hardware and software, which includes drivers for various hardware. The driver layer may include camera device drivers, digital signal processor drivers, and image processor drivers. Among them, the camera device driver is used to drive the image sensor of one or more cameras in the camera to collect images and drive the image signal processor to pre-process the image. The digital signal processor driver is used to drive the digital signal processor to process images. The image processor driver is used to drive the graphics processor to process images.
[0105] The hardware layer may include a camera, an image signal processor, a digital signal processor, and an image processor. The camera may include one or more image sensors of the camera (e.g., image sensor 1, image sensor 2, etc.). Optionally, the camera may also include a camera motor, a lens, a TOF sensor, etc. Optionally, the embodiment of the present application includes multiple cameras, including both infrared cameras (i.e., infrared cameras) and ordinary cameras (i.e., non-infrared sensors).
[0106] The following is an example of the workflow of the software system of an electronic device. Assuming that the "abnormal detection" function is deployed in the camera application, the system desktop can receive the user's operation of opening the camera application, such as the user clicking the desktop icon of "camera". In response to the user operation of opening the camera application, the system can start the CameraUI module and display the preview interface.
[0107] The CameraUI module can be responsible for the human-computer interaction of the camera application, such as controlling the display of the preview interface and the interface elements therein, and monitoring and responding to user operations occurring in the preview interface. After starting the camera application, the camera in the camera hardware abstraction layer, such as an infrared camera or an ordinary camera, is called to send an instruction to start the camera application. The camera hardware abstraction layer sends the instruction to the camera device driver of the driver layer, which can start the sensors corresponding to the infrared camera and the ordinary camera, and then collect image light signals through their respective sensors, and transmit the collected image light signals to the image signal processor for preprocessing, and obtain multiple preview stream image frames including the first object, respectively. At this time, the preview stream image frames can be called original image streams. Then, the original image stream is transmitted back to the hardware abstraction layer through the camera device driver.
[0108] The camera hardware abstraction layer can send the original image stream to the algorithm module. Based on the support of the digital signal processor and the image processor, in one example, the algorithm module can call one or more of the strong reflection point detection algorithm, the background auxiliary information extraction algorithm, the conventional smooth object filtering algorithm, the high pixel point detection algorithm, etc. to perform abnormal detection processing on the original image stream to determine the target position in the image, that is, the position where the hidden camera may exist. The algorithm module sends the abnormal detection result to the camera hardware abstraction layer, and the camera hardware abstraction layer returns the image frame containing the abnormal detection result to the camera framework layer. After receiving the image frame from the HAL, the camera framework can pass the image frame to the CameraUI and display the image frame to the user through the user interface.
[0109] The term "user interface (UI)" in the specification, claims and drawings of this application refers to the medium interface for interaction and information exchange between an application or operating system and a user, which realizes the conversion between the internal form of information and the form acceptable to the user. The user interface of an application is source code written in a specific computer language such as Java and extensible markup language (XML). The interface source code is parsed and rendered on an electronic device, and finally presented as content that the user can recognize, such as pictures, text, buttons and other controls. A control, also called a widget, is a basic element of a user interface. Typical controls include a toolbar, menu bar, text box, button, scrollbar, picture and text. The properties and contents of controls in the interface are defined by tags or nodes, such as XML through <textview> 、 <imgview> 、 <videoview>The controls contained in the interface are specified by nodes such as HTML, CSS, and JavaScript. A node corresponds to a control or attribute in the interface. After parsing and rendering, the node is presented as user-visible content. In addition, many applications, such as hybrid applications, usually also contain web pages in their interfaces. A web page, also known as a page, can be understood as a special control embedded in the application interface. A web page is source code written in a specific computer language, such as hypertext markup language (HTML), cascading style sheets (CSS), JavaScript (JS), etc. The web page source code can be loaded and displayed as user-recognizable content by a browser or a web page display component with similar functions to a browser. The specific content contained in a web page is also defined by tags or nodes in the web page source code. For example, HTML is defined by 、 、 <video> 、 <canvas>To define the elements and attributes of a web page.
[0110] The most common form of user interface is graphical user interface (GUI), which refers to a user interface related to computer operation that is displayed in a graphical manner. It can be an icon, window, control or other interface element displayed on the display screen of an electronic device, where a control can include icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets and other visual interface elements.
[0111] See also Figure 7 , Figure 7 is a flow chart of a camera detection method provided in an embodiment of the present application. The method is applied to check whether there is a suspicious camera in the environment. Therefore, the camera detection algorithm can also be called an anomaly detection algorithm. The specific name is not limited here. The method can be based on Figure 5 , Figure 6 The method is implemented based on the hardware architecture and software architecture of the electronic device shown, and can also be implemented based on other architectures. The method includes but is not limited to the following steps: Step S701: emitting infrared light to the area to be tested through an infrared emitting unit.
[0112] The area to be tested here is an area where users are worried about the presence of hidden cameras (such as pinhole cameras), for example, all or part of a hotel room, bathroom, or office. Users are worried about their personal privacy information being secretly photographed, so they can use electronic devices (such as mobile phones) to detect the area to be tested. The infrared transmitter is one of the important devices for completing the detection. The infrared transmitting unit is a device that can emit infrared light. For example, after receiving an instruction to emit infrared light, the infrared transmitting unit can continuously emit infrared light, or it can intermittently emit infrared light according to a certain pattern.
[0113] Step S702: collecting a first image of the area to be measured by using an infrared imaging sensor.
[0114] In an embodiment of the present application, the infrared emitting unit emits infrared light to the area to be measured, with the purpose of making the area to be measured reflect the infrared light so that the infrared imaging sensor on the electronic device can collect the reflected light signal of the area to be measured. The reflected light signal is imaged on the infrared imaging sensor to obtain an image of the area to be measured, which can be referred to as the first image for the convenience of the subsequent description.
[0115] The infrared imaging sensor can collect images continuously or intermittently according to a certain rule, and the first image finally collected may be one or more images.
[0116] Step S703: Detecting a target position where a retroreflective light spot exists in the first image.
[0117] Usually, in a dark environment visible to the human eye, when the infrared emission unit of an electronic device is turned on, if there is a hidden camera (such as a pinhole camera) in the area to be tested, it usually has a strong reflection characteristic, which is much stronger than the reflection performance of most walls, ceilings, furniture, etc. in the environment. The effect presented in the first image after imaging is that the location where the hidden camera exists appears as a retroreflective light spot in the first image, while the surfaces of most objects in the environment are conventional diffuse reflections, resulting in these objects appearing as grayscale images in the first image without retroreflective light spots; Figure 8 As shown, the white bright spot framed by the circle is the retroreflective light spot 801. There is a clear contrast between the retroreflective light spot 801 and the surrounding grayscale image effect. Therefore, the first image can be detected and analyzed to determine whether there is a retroreflective light spot. If there is a retroreflective light spot, there is a high probability that there is a hidden camera at the position corresponding to the retroreflective light spot. If there is no retroreflective light spot, there is basically no hidden camera in the area to be tested.
[0118] For ease of description, the position where the retroreflective light spot exists in the image can be called the target position. It can be understood that if there are multiple hidden cameras in the area to be tested, the result displayed on the first image should be that there are multiple target positions.
[0119] There are many ways to determine whether there is a retroreflective light spot. For example, if the reflection signal in a pixel area is higher than the reflection signal of the adjacent pixel point of the pixel area and the difference is greater than the second threshold, then the pixel area is the target position. The second threshold here is a pre-set value for reference comparison, which can reflect that the difference in the reflection signal is large (for example, a large reflection signal can be specifically manifested as a large pixel value). The second threshold can be set according to experience and scene requirements, or trained by model training.
[0120] In an optional solution, there may be some objects with relatively smooth surfaces in the area to be tested (for example, metal or glass products such as door handles, mirrors, screens, and faucets). The surfaces of these objects also have strong reflective properties, and the infrared light emitted by them will also be imaged as a retroreflective light spot on the infrared imaging sensor, so that the object is mistaken for a hidden camera, which interferes with the detection of the hidden camera; however, the hidden camera and the interfering object with a smooth surface also have differences in characteristics, as follows: the objects in two first images that are close in time (such as adjacent) are not exactly the same, but some objects are the same, such as the same object A and object B. Although the positions of the same object in two adjacent first images are different, their positions in the objective scene of the area to be tested are the same. For any first image, its background information can be combined to determine the position of a specific object in the area to be tested, and for the same object, the position of the object in the area to be tested is the same when determined by the background information of different first images. Based on this characteristic, it can be determined that for the same hidden camera, its position in the area to be tested determined by the background information in different first images is the same, such as Fig. 9 As shown, Fig. 9 Part (a) of 9 / 11 and Fig. 9 921 in part (b) of the figure are the positions of the camera, and the two positions are the same position in the test area; however, objects with smooth surfaces in the test area are different, such as a mirror. In different first images, due to different shooting angles of the first images, the reflection positions on the mirror surface are different. Therefore, the positions of the mirror in the test area identified by the background information of different first images are also different. Fig. 9 As shown, Fig. 9 Part (a) of 912 and Fig. 9 The 922 in part (b) are all positions where smooth objects are presented, and the effects presented by the two positions are at different positions in the area to be tested.
[0121] To this end, the embodiment of the present application also provides a method for determining the target position in the first image, which can filter out the interference caused by the smooth surface of the object and reduce false detection. For example, the high-intensity reflection point (i.e., retroreflective light spot) of each of the multiple first images is detected, and then the time series model is constructed in combination with the background information of each first image to achieve the filtering of conventional smooth objects and output the remaining suspicious lens coordinates (such as the position of the hidden camera). Fig.10 As shown, an active detection algorithm can be introduced to detect the camera. The active detection algorithm includes a strong reflection point detection model, a background auxiliary information extraction model, and a conventional smooth object filtering model. Multiple first images (i.e., infrared image sequences) are input into the active detection algorithm. The strong reflection point detection model performs strong reflection point detection, and the background auxiliary information extraction model extracts the background information of each first image. Then, the conventional smooth object filtering model filters out the lens coordinates based on the information of the strong reflection points and the background information. The strong reflection point detection model can adopt several detection neural network models (such as the YOLO series), and the background auxiliary information extraction model can include but is not limited to contour extraction, corner point detection, optical flow method and other algorithms, which are not specifically limited in this solution.
[0122] For ease of understanding, the following example illustrates the process of filtering conventional smooth objects: First, determine that there are multiple first positions of the retroreflective cursor in multiple first images, the shooting angles of the multiple first images are different, and the number of first positions in each first image is greater than or equal to 0; it can be understood that the user adjusts the shooting angle of the electronic device and captures multiple first images in the test area through the infrared sensor. The shooting angle can change gradually, and the shooting timestamp also changes gradually, so there are some objects in any two first images that are adjacent in time. The same is true.
[0123] Then, the target position is determined from the multiple first positions according to the background information of the multiple first images, wherein the background information of the first image is used to determine the relative position of the first position in the first image in the area to be tested, and the background information can reflect the relative position relationship between the objects in the first image, so the background information can determine the position of any object in the first image in the area to be tested. For example, if the relative position of the first position in a first image in the area to be tested is the same as the relative position of the first position in other first images in the area to be tested, then it can be determined that the first position in the first image has a hidden camera; if the relative position of the first position in a first image in the area to be tested is different from the relative position of the first position in other first images in the area to be tested, then it can be determined that there is an object with a smooth plane in the first position in the first image; based on this rule, the principle of determining the target position is: if the relative position of the first position in a first image in the area to be tested is the same as the relative position of the first position in other first images in the area to be tested, then the first position in the first image is the target position.
[0124] Optionally, the other first images and the one first image may be in an adjacent relationship or may not be in an adjacent relationship. Generally speaking, they only need to have some common objects.
[0125] In the embodiment of the present application, hidden cameras are detected by analyzing retroreflective light spots, which can be referred to as "active detection". The active detection mode can theoretically be applied to all hidden cameras. It does not require the hidden camera to emit infrared light, but it requires the electronic device to enable the infrared emission unit to provide additional infrared light.
[0126] Step S704: collecting a third image of the area to be measured by using an infrared imaging sensor.
[0127] In many cases, if there is a hidden camera in the area to be tested, it is very likely that infrared light will be emitted into the environment. After the infrared light is emitted to the environment and then returned to the environment, it will be imaged on the hidden camera, allowing the hidden camera to capture the content in the environment. The embodiment of the present application uses the characteristic that the hidden camera may emit infrared light into the environment to detect whether there is a hidden camera in the area to be tested. Specifically, it is necessary to first collect an image of the area to be tested by an infrared imaging sensor, and then analyze the image to determine whether there is a hidden camera. For the convenience of description, this image can be called the third image.
[0128] The infrared imaging sensor can collect images continuously or intermittently according to a certain rule, and the third image finally collected may be one or more images.
[0129] Step S705: Detecting a target position where an infrared light source exists in the third image.
[0130] In an environment that is completely black to the human eye (such as a normal living room), usually no active infrared device will continue to work, that is, there should be no near-infrared light in the environment. Therefore, when an infrared imaging sensor (or infrared camera) without an infrared emitting unit turned on is used to observe and shoot the environment, the picture should also be close to completely black. At this time, if an infrared emitting unit is emitting infrared light (for example, the infrared fill light of a pinhole camera is working), then the infrared emitting unit will present a very conspicuous high-pixel value image in the third image, such as Fig.11 As shown, when the infrared fill light 1101 of a device (right part) is photographed by the infrared imaging sensor, the imaging effect of the infrared fill light 1101 on the infrared imaging sensor is a bright high-pixel value image 1102. Therefore, based on this characteristic, it is easy to find the infrared light source by analyzing the third image. For the sake of ease of description, the position where the infrared light source exists in the image can be called the target position. It can be understood that if there are multiple hidden cameras in the area to be tested, the result shown in the third image should be that there are multiple target positions.
[0131] In a specific implementation, the target position of the infrared light source can be detected and located from the third image by using methods such as threshold segmentation and edge detection. The embodiment of the present application does not specifically limit the algorithm for detecting the target position of the infrared light source. For ease of understanding, a method for determining the target position is provided below: in the third image, if the pixel value in a pixel area is higher than the pixel value of the adjacent pixel point of the pixel area and the difference is greater than a first threshold, then the pixel area is the target position. The first threshold here is a pre-set value for reference comparison, which can reflect that the difference in pixel values is large. The first threshold can be set according to experience and scene requirements, or trained by model training.
[0132] In the embodiment of the present application, the hidden camera is detected by detecting the position of the infrared light source, which can be referred to as "passive detection". Passive detection has a low false detection rate and is less affected by interference scenarios. Compared with the common observation using the rear camera of a smartphone, the infrared imaging sensor in the embodiment of the present application is used to capture infrared light, and there is no need to add a filter to filter out the required band of light. Therefore, it can respond to the infrared fill light of the hidden camera more obviously and is not easy to miss.
[0133] Step S706: output the second image.
[0134] The second image is an image in which a prompt message is marked in the image where the target location is located, and the prompt message is used to prompt that there is a camera at the target location. The prompt message can be in the form of text, image, language, or special mark (such as color, box, arrow, etc.), and the specific prompt method is not limited here.
[0135] For example, Fig.12 As shown, there is a target position 1501 in the second image, and a gesture 1502 (ie, indication information) is used to indicate to the user that there is a camera at the target position 1501 .
[0136] In the embodiment of the present application, there are many ways to output (eg, display) the second image, which are described below with examples.
[0137] Method 1: During the process of acquiring the first image and / or the third image, the second image is output. That is to say, when the user scans the area to be tested, the electronic device generates the detection result based on the acquired image in real time or near real time and feeds back the detection result. Optionally, this solution is more suitable for electronic devices with infrared imaging sensor lenses (such as infrared cameras or TOF cameras) behind the display screen. The advantage is that the interaction between the user and the electronic device is more intuitive.
[0138] Method 2: After the acquisition of the first image and / or the third image is completed, the second image is output. That is to say, after the user has completed the scanning of the area to be tested, the test result is fed back to the user based on the overall analysis test result. The advantage of this method is that it can be well applied to electronic devices with infrared imaging sensors (such as TOF cameras) in front. It is inconvenient for the user to watch the screen of the electronic device during scanning, so the overall analysis and feedback of the test result are performed after the entire scan is completed.
[0139] In one case, if the target location is detected by the “active detection” method described in steps S701-S703, then the second image may be an image in which prompt information is marked in the first image where the target location is located.
[0140] In another case, if the target position is detected by the “passive detection” method described in steps S704-S705, then the second image may be an image in which prompt information is marked in the third image where the target position is located.
[0141] In another case, if the target position is detected by the "passive detection" method described in steps S704-S705, the target position in the third image can be mapped to the first image adjacent to the timestamp, wherein the relative position of the target position in the area to be tested before mapping is the same as the relative position of the target position in the area to be tested after mapping; in this case, the second image is specifically an image in which the prompt information is marked in the image to which the target position is mapped. The consideration for doing so is that since the image of the environment is completely black, it is not easy for the user to accurately find the position of the abnormal target position in the area to be tested. Specifically, the user can see where the target position is in the third image, but it is not easy to determine which position in the area to be tested the target position corresponds to (because the imaging around the surrounding target position is completely black and cannot form a good reference). Therefore, the corresponding position can be circled based on the adjacent active detection image (i.e., the first image with the infrared emission unit turned on) to facilitate positioning.
[0142] Regarding the active detection method described in the previous steps S701-S703 and the passive detection method described in steps S704-S705, they can be performed in combination, or only one of the detection methods can be performed. If the two detection methods are performed in combination, there are many situations for the execution timing. For ease of understanding, the following examples are given: In case 1, the active detection of steps S701-S703 is performed first. If there is no target position where the retroreflective light spot exists in the obtained first image, the passive detection of steps S704-S705 is performed; if there is a target position where the retroreflective light spot exists in the obtained first image, the passive detection of steps S704-S705 is not performed. The corresponding process is as follows: Fig.13 shown.
[0143] In case 2, the passive detection of steps S704-S705 is performed first. If the target position of the infrared light source does not exist in the obtained third image, the active detection of steps S701-S703 is performed; if the target position of the infrared light source exists in the obtained third image, the active detection of steps S701-S703 is not performed. The corresponding process is as follows: Fig.14 shown.
[0144] In case three, both the passive detection of steps S704-S705 and the active detection of steps S701-S703 are performed, and the timing is not limited to the order; the detection results of the two detection methods are summarized, and there are many ways to summarize, which are described below with examples: In case 1, the two results are taken as the union, that is, the target position obtained by active detection and the target position obtained by passive detection are both considered as the final target position, and it is determined that there is a camera at the target position.
[0145] In case 2, the intersection of the two results is taken, that is, if a position is identified as a target position by both active detection and passive detection, then the position is identified as the real target position and a camera is identified at the target position.
[0146] In another optional solution, there are many ways to collect the first image and the third image, for example: The method of collecting a first image of the area to be measured by using an infrared imaging sensor includes: continuously collecting a plurality of first images of the area to be measured by using the infrared imaging sensor while changing a collection angle, wherein the timestamps of collecting the plurality of first images are different.
[0147] The method of collecting a third image of the area to be measured by using the infrared imaging sensor includes: continuously collecting a plurality of third images of the area to be measured by using the infrared imaging sensor while changing a collection angle, wherein the plurality of third images have different collection timestamps.
[0148] Optionally, the first image and the third image are captured alternately in time. After the detection function of the electronic device is turned on, the infrared emission unit is alternately turned on and off, and the user holds the electronic device and scans the entire suspected area to be tested. The infrared imaging sensor (such as a TOF camera) on the corresponding electronic device continuously acquires (collects) images (for example, 20 frames per second). Fig.15 As shown, the tth frame is obtained by turning on the infrared emitting unit, the t+1th frame is obtained by not turning on the infrared emitting unit, the t+2th frame is obtained by turning on the infrared emitting unit, the t+3th frame is obtained by not turning on the infrared emitting unit, and so on. The image taken when the infrared emitting unit is turned on is the first image, which is used for active detection, and the image taken when the infrared emitting unit is turned off is the third image, which is used for passive detection. In this way, the user only needs to perform one continuous scene scan on a suspected area to be tested, without having to scan for active detection and passive detection separately, thereby reducing the user's manual workload and improving the convenience and efficiency of scanning (image acquisition).
[0149] In another optional implementation, during the process of acquiring the first image and / or the third image, a first parameter can be generated based on the depth information in the acquired image (e.g., the depth information acquired by the TOF camera), wherein the first parameter represents the expected distance between the electronic device and the surface of the object in the measured area; and then the first parameter is output (e.g., displayed), and the first parameter can be output in the form of text, picture, voice, etc., to remind the user to adjust the shooting distance or position, for example, Fig.16 As shown, the first parameter 1601 is shown. Of course, the first parameter may not be output, but the user may be directly reminded to adjust the distance or position according to the first parameter. In this way, the scene scanning quality can be improved and missed detection can be reduced.
[0150] In another optional implementation, during the process of capturing the first image and / or the third image, a second parameter may be generated based on the parameters of the accelerometer and / or gyroscope of the electronic device, wherein the second parameter represents the desired angle and / or speed of capture; and then the second parameter is output (e.g., displayed). The second parameter may be output in the form of text, image, voice, etc., to remind the user to adjust the shooting angle and / or speed; of course, the second parameter may not be output, but the user may be directly reminded to adjust the angle or speed based on the second parameter. In this way, the scene scanning quality can be improved and missed detection can be reduced.
[0151] exist Figure 7 In the method shown, by introducing an infrared emitting unit to actively emit infrared light and constructing a retroreflective effect, it is possible to actively detect hidden cameras in the area to be tested that do not turn on infrared fill light. In addition, since the light actively emitted into the environment in this solution is infrared light, it can greatly reduce natural light interference and improve the accuracy of the detection results. In addition, the entire detection process does not require the user to perform too many operations, and the degree of automation is high and the operation is simple.
[0152] The method of the embodiment of the present application is described in detail above, and the device of the embodiment of the present application is provided below.
[0153] See also Fig.17 , Fig.17 It is a structural schematic diagram of a camera detection device provided in an embodiment of the present application. The device may be the electronic device mentioned above or a device in the electronic device. The device may include a transmitting unit 1701, a collection unit 1702, a first detection unit 1703 and a first output unit 1704, wherein each unit is described in detail as follows.
[0154] The transmitting unit 1701 is used to transmit infrared light to the area to be tested through an infrared transmitting unit; The acquisition unit 1702 is used to acquire a first image of the area to be measured by using an infrared imaging sensor; A first detection unit 1703 is used to detect a target position where a retroreflective light spot exists in the first image; The first output unit 1704 is used to output a second image, wherein the second image is an image in which prompt information is marked in the image where the target position is located, and the prompt information is used to prompt that a camera exists at the target position.
[0155] This method uses an infrared emitting unit to actively emit infrared light and construct a retroreflective effect, which can actively detect hidden cameras in the area to be tested that do not turn on infrared fill light. In addition, since the light actively emitted into the environment in this solution is infrared light, it can greatly reduce natural light interference and improve the accuracy of the detection results. In addition, the entire detection process does not require the user to perform too many operations, with a high degree of automation and simple operation.
[0156] In a possible implementation, the device further includes: The acquisition unit 1702 is further configured to acquire a third image of the area to be measured by using an infrared imaging sensor, wherein the third image is acquired when the infrared emitting unit does not emit infrared light, and the first image is acquired when the infrared emitting unit emits infrared light; The second detection unit is used to detect a target position where the infrared light source exists in the third image.
[0157] In this method, a passive detection method (a method of not actively emitting infrared light) is also introduced. This passive detection method can quickly and accurately detect pinhole cameras with fill lights. Although the passive detection method cannot complete the detection well in the scene where the hidden camera does not turn on the infrared fill light, the active detection method mentioned above (i.e. the active emission of infrared light) makes up for this defect. The combination of active detection and motion detection not only ensures the detection speed and accuracy, but also can be applied to all scenes.
[0158] In another possible implementation, if the target position of the infrared light source does not exist in the third image, the operation of detecting the target position of the retroreflective light spot in the first image is performed. It can be understood that when one of the active detection and passive inspection methods can detect a result, the other detection method is not started, which can effectively save power consumption.
[0159] In another possible implementation, if there is no target position with a retroreflective light spot in the first image, the operation of detecting the target position with an infrared light source in the third image is performed. It can be understood that if one of the active detection and passive inspection methods can detect a result, the other detection method is not started, which can effectively save power consumption.
[0160] In another possible implementation, in terms of acquiring the first image of the area to be measured by using the infrared imaging sensor, the acquisition unit is specifically used to: continuously acquire multiple first images of the area to be measured by using the infrared imaging sensor while changing the acquisition angle, and the multiple first images are acquired with different timestamps; acquiring the third image of the area to be measured by using the infrared imaging sensor includes: continuously acquiring multiple third images of the area to be measured by using the infrared imaging sensor while changing the acquisition angle, and the multiple third images are acquired with different timestamps; wherein the first image and the third image are acquired alternately in time.
[0161] In this way, the user only needs to perform one continuous scene scan on a suspected area to be tested, without having to scan for active detection and passive detection separately, thereby reducing the user's manual workload and improving the convenience and efficiency of scanning (image acquisition).
[0162] In yet another possible implementation, the device further includes: The second output unit is used to generate a first parameter according to the depth information in the acquired images during the process of alternately acquiring the first image and the third image, wherein the first parameter represents the expected distance between the electronic device and the surface of the object in the area to be measured; and output the first parameter.
[0163] In this way, users can be reminded in time to adjust the scanning distance, thereby improving the scene scanning quality and reducing missed detections.
[0164] In yet another possible implementation, the device further includes: The third output unit is used to generate a second parameter according to the parameters of the accelerometer and / or gyroscope of the electronic device during the process of alternately acquiring the first image and the third image, wherein the second parameter represents the desired acquisition angle and / or speed; and output the second parameter.
[0165] In this way, the user can be reminded in time to adjust the scanning speed or angle, thereby improving the scene scanning quality and reducing missed detections.
[0166] In another possible implementation, in terms of outputting the second image, the first output unit is specifically configured to: output the second image during the process of alternately acquiring the first image and the third image. In this manner, the feedback of the detection result is more timely, and the interaction between the user and the electronic device is more intuitive.
[0167] In another possible implementation, in outputting the second image, the first output unit is specifically configured to: output the second image after the first image and the third image are acquired. In this manner, all results can be output at once, which is convenient for the user to process uniformly.
[0168] In yet another possible implementation, in the third image, if a pixel value in a pixel region is higher than a pixel value of a pixel point adjacent to the pixel region and the difference is greater than a first threshold, the pixel region is the target position.
[0169] In another possible implementation, the first image is an image formed on the infrared imaging sensor after the infrared light emitted by the infrared emitting unit is reflected by the area to be measured. In the first image, if the reflection signal in a pixel area is higher than the reflection signal of the pixel point adjacent to the pixel area and the difference is greater than a second threshold, then the pixel area is the target position.
[0170] In yet another possible implementation, in terms of detecting the target position where the retroreflective light spot exists in the first image, the first detection unit is specifically configured to: Determining a plurality of first positions where the retroreflective cursor exists in a plurality of first images, wherein the plurality of first images are shot at different angles, and the number of first positions in each first image is greater than or equal to 0; Determine a target position from the multiple first positions according to the background information of the multiple first images, wherein the background information of the first image is used to determine the relative position of the first position in the first image in the area to be tested, and if the relative position of the first position in a first image in the area to be tested is the same as the relative position of the first position in other first images in the area to be tested, then the first position in the first image is the target position.
[0171] This method can filter out interference caused by the smooth surface of the object, reduce false detections, and improve detection capabilities.
[0172] In yet another possible implementation, if a target position is detected from the third image, the method further includes: The target position in the third image is mapped to the first image adjacent to the timestamp, wherein the relative position of the target position in the area to be tested before mapping is the same as the relative position of the target position in the area to be tested after mapping; the second image is specifically an image in which prompt information is marked in the image to which the target position is mapped.
[0173] It is understandable that since the image of the environment is completely black, it is not easy for the user to accurately find the position of the abnormal target in the test area. Specifically, the user can see where the target position is in the third image, but it is not easy to determine which position of the target position corresponds to in the test area (because the imaging around the target position is completely black and cannot form a good reference). Therefore, the corresponding position can be circled in the adjacent active detection image (that is, the first image with the infrared emission unit turned on) to facilitate positioning.
[0174] It should be noted that the implementation of each unit can also refer to Figure 7 The corresponding description of the method embodiment shown.
[0175] It should be understood that each step in the above method embodiment provided by the present application can be completed by an integrated logic circuit of hardware in a processor or by instructions in the form of software. The method steps disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware processor, or by a combination of hardware and software modules in a processor.
[0176] The present application also provides an electronic device, which may include: a memory and a processor. The memory may be used to store a computer program; the processor may be used to call the computer program in the memory so that the electronic device executes all or part of the steps in any of the above method embodiments (for example, when there are multiple devices or multiple modules interacting, the steps corresponding to one side of the device or prediction module are executed). Optionally, a possible implementation of the memory and the processor is as mentioned above in the electronic device.
[0177] The present application also provides a chip system, which includes at least one processor for implementing the functions involved in the method executed by the electronic device in any of the above embodiments.
[0178] In one possible design, the chip system also includes a memory, which is used to store program instructions and data, and the memory is located inside or outside the processor.
[0179] The chip system may be composed of the chip, or may include the chip and other discrete devices.
[0180] Optionally, the processor in the chip system may be one or more. The processor may be implemented by hardware or by software. When implemented by hardware, the processor may be a logic circuit, an integrated circuit, etc. When implemented by software, the processor may be a general-purpose processor implemented by reading software code stored in a memory.
[0181] Optionally, the memory in the chip system may also be one or more. The memory may be integrated with the processor or may be separately arranged with the processor, which is not limited in the embodiments of the present application. Exemplarily, the memory may be a non-transient processor, such as a read-only memory ROM, which may be integrated with the processor on the same chip or may be arranged on different chips respectively. The embodiments of the present application do not specifically limit the type of memory and the arrangement of the memory and the processor.
[0182] Exemplarily, the chip system may be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD), or other integrated chips.
[0183] The present application also provides a computer program product, which includes: a computer program (also referred to as code, or instruction), which enables a computer to execute the method executed by the electronic device in any of the above embodiments when the computer program is executed.
[0184] The present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program (also referred to as code or instruction). When the computer program is executed, the computer executes the method executed by the electronic device in any of the above embodiments.
[0185] The various implementation modes of the present application can be combined arbitrarily to achieve different technical effects.
[0186] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it 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. When the computer program instructions are loaded and executed on a computer, the process or function described in this application 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. The 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, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode. 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 includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk), etc.
[0187] Those skilled in the art can understand that to implement all or part of the processes in the above-mentioned embodiments, the processes can be completed by computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. When the programs are executed, they can include the processes of the above-mentioned method embodiments. The aforementioned storage media include: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store program codes.
[0188] In short, the above is only an embodiment of the technical solution of this application, and is not intended to limit the protection scope of this application. Any modification, equivalent replacement, improvement, etc. made according to the disclosure of this application shall be included in the protection scope of this application.< / canvas> < / video> < / videoview> < / imgview> < / textview>
Claims
1. A camera detection method, characterized in that: Applied to electronic equipment, the method comprises: The infrared light is emitted to the area to be tested by the infrared emission unit; Collecting a first image of the area to be measured by an infrared imaging sensor; Detecting a target position where a retroreflective light spot exists in the first image; A second image is output, wherein the second image is an image in which prompt information is marked in the image where the target position is located, and the prompt information is used to prompt that a camera exists at the target position.
2. The method according to claim 1, characterized in that Also includes: collecting a third image of the area to be measured by using an infrared imaging sensor, wherein the third image is collected when the infrared emitting unit does not emit infrared light, and the first image is collected when the infrared emitting unit emits infrared light; A target position where an infrared light source exists in the third image is detected.
3. The method according to claim 2, characterized in that If there is no target position where the infrared light source exists in the third image, the operation of detecting the target position where the retroreflective light spot exists in the first image is performed.
4. The method according to claim 2, characterized in that: If there is no target position where the retroreflective light spot exists in the first image, the operation of detecting the target position where the infrared light source exists in the third image is performed.
5. The method according to any one of claims 2 to 4, characterized in that: The step of collecting a first image of the area to be measured by using an infrared imaging sensor includes: continuously collecting a plurality of first images of the area to be measured by the infrared imaging sensor in the process of changing the collection angle, wherein the timestamps of collecting the plurality of first images are different; The collecting of the third image of the area to be measured by the infrared imaging sensor includes: continuously collecting a plurality of third images of the area to be measured by the infrared imaging sensor in the process of changing the collection angle, wherein the timestamps of collecting the plurality of third images are different; The first image and the third image are acquired alternately in time.
6. The method according to claim 5, characterized in that Also includes: In the process of alternately acquiring the first image and the third image, generating a first parameter according to depth information in the acquired images, wherein the first parameter represents a desired distance between the electronic device and the surface of the object in the area to be measured; Output the first parameter.
7. The method according to claim 5, characterized in that Also includes: In the process of alternately acquiring the first image and the third image, generating a second parameter according to a parameter of an accelerometer and / or a gyroscope of the electronic device, wherein the second parameter represents a desired acquisition angle and / or speed; Output the second parameter.
8. The method according to claim 5, characterized in that The outputting the second image comprises: In the process of alternately acquiring the first image and the third image, a second image is output.
9. The method according to claim 5, characterized in that The outputting the second image comprises: After the acquisition of the first image and the third image is completed, the second image is output.
10. The method according to any one of claims 2 to 4, characterized in that: In the third image, if a pixel value in a pixel region is higher than a pixel value of a pixel point adjacent to the pixel region and the difference is greater than a first threshold, the pixel region is a target position.
11. The method according to any one of claims 1 to 4, characterized in that: The first image is an image formed on the infrared imaging sensor after the infrared light emitted by the infrared emitting unit is reflected by the area to be measured. In the first image, if the reflection signal in a pixel area is higher than the reflection signal of the pixel point adjacent to the pixel area and the difference is greater than a second threshold, then the pixel area is the target position.
12. The method according to any one of claims 1 to 4, characterized in that: The detecting a target position where a retroreflective light spot exists in the first image includes: Determining a plurality of first positions where the retroreflective cursor exists in a plurality of first images, wherein the plurality of first images are shot at different angles, and the number of first positions in each first image is greater than or equal to 0; A target position is determined from the multiple first positions according to the background information of the multiple first images, wherein the background information of the first image is used to determine the relative position of the first position in the first image in the area to be tested, and if the relative position of the first position in a first image in the area to be tested is the same as the relative position of the first position in other first images in the area to be tested, then the first position in the first image is the target position.
13. The method according to any one of claims 2 to 4, characterized in that: If the target position is detected from the third image, the method further includes: The target position in the third image is mapped to the first image adjacent to the timestamp, wherein the relative position of the target position in the area to be tested before mapping is the same as the relative position of the target position in the area to be tested after mapping; the second image is specifically an image in which prompt information is marked in the image to which the target position is mapped.
14. An electronic device, characterized in that: The electronic device comprises: one or more processors; a memory; wherein the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code comprises computer instructions, and the one or more processors call the computer instructions so that the electronic device executes the method as described in any one of claims 1-13.
15. A chip system, characterized in that: The chip system is applied to an electronic device, and the chip system includes one or more processors, and the processor is used to call computer instructions so that the electronic device executes the method as described in any one of claims 1-13.
16. A computer program product comprising instructions, characterized in that When the computer program product is executed on an electronic device, the electronic device is enabled to execute the method according to any one of claims 1 to 3.
17. A computer-readable storage medium comprising instructions, characterized in that: When the instructions are executed on an electronic device, the electronic device is caused to execute the method as claimed in any one of claims 1 to 8.
Citation Information
Patent Citations
Pinhole camera detection method and device based on double-light beam alternate emission
CN108226953A
Portable detection device for hidden camera
CN110351550A
Positioning method and device for hidden camera, equipment and medium
CN110458819A
Camera detection method and device
CN116996662A
Equipment and method for detecting hidden lens based on combined camera
CN118962828A
Cited By
Screen anti-leakage alarm method and system based on multi-view dynamic monitoring, and terminal
CN120974553A
Hidden camera positioning method and system based on infrared detection equipment and medium
CN121033173A