A method, device and medium for preventing voyeurism for smart AR glasses
By detecting the location and distance of the flash, obtaining Bluetooth device information and making a pairing connection, it solves the problem of smart AR glasses invading portrait privacy without permission and achieves effective privacy protection.
Patent Information
- Application Number
- CN202111364548.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-17
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2041-11-17
AI Technical Summary
Smart AR glasses can easily invade the privacy of other users' portraits without permission and have privacy leakage flaws.
By detecting the location and distance of the flash, it obtains Bluetooth device information, makes a pairing connection, and sends warning information to prevent sneak shots.
It effectively protects the privacy of personal portraits of smart AR glasses users and prevents unauthorized shooting.
Smart Images

Figure CN114095910B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of anti-secret photography detection, and in particular to an anti-secret photography method, device and medium for smart AR glasses. Background Art
[0002] Augmented Reality (AR) is a technology that calculates the position and angle of a camera image in real time and adds the corresponding image. It is a new technology that "seamlessly" integrates real-world information and virtual-world information. The goal of this technology is to put the virtual world on the screen and interact with the real world. With the development of science and technology network technology, AR technology has been widely used and developed rapidly. The most common of these is smart AR glasses, which are a combination of glasses + camera + flash + microprocessor + micro-projection equipment. They can superimpose virtual data on the real-time image captured by the camera, and display the image in front of the human eye through a micro-projection device.
[0003] As more and more people use smart AR glasses, users of smart AR glasses can use the shooting function on the smart AR glasses to take pictures of other users of smart AR glasses around them, and upload the taken pictures to the storage device for storage to record every moment of life.
[0004] With respect to the above-mentioned related technologies, the inventor believes that although the existing smart AR glasses have the function of photographing other users of smart AR glasses around them, it is easy to infringe on the portrait privacy of other users without their permission, thus resulting in the defect of privacy leakage of users of smart AR glasses. Summary of the invention
[0005] In order to protect the personal portrait privacy of smart AR glasses users, the present application provides an anti-secret photography method, device and medium for smart AR glasses.
[0006] In a first aspect, the present application provides an anti-secret photography method for smart AR glasses, which adopts the following technical solution:
[0007] A method for preventing voyeurism for smart AR glasses, comprising:
[0008] Acquire lighting information, where the lighting information is the lighting of a flash used by the smart AR glasses for taking photos;
[0009] Detecting the location of the light information and obtaining the hidden camera distance information of the hidden camera device corresponding to the light information;
[0010] Based on scanning the Bluetooth devices within the sneak shooting distance information, obtaining the Bluetooth device information of the sneak shooting device;
[0011] Based on the Bluetooth device information, the hidden camera device information is paired and connected, and after the connection is successful, a warning message is generated and sent to the hidden camera device.
[0012] By adopting the above technical solution, when preventing other smart AR glasses from secretly taking pictures, first detect whether there is a flash on at present. If the flash for taking pictures is detected, obtain the light information, then detect the location of the light information, check the secretly taking distance information between the current smart AR glasses and the secretly taking smart AR glasses, then take the current smart AR glasses as the center of the circle and the secretly taking distance information as the radius, obtain all Bluetooth devices in the secretly taking area, and obtain the Bluetooth device information of the secretly taking device based on the secretly taking distance information, finally perform Bluetooth pairing connection between the current smart AR glasses and the secretly taking device information, generate a warning message after the connection is successful, and send the warning message to the secretly taking device to warn the secretly taking person, thereby achieving the effect of protecting the personal portrait privacy of the user of the smart AR glasses.
[0013] In another possible implementation manner, the obtaining of lighting information includes:
[0014] Collect surrounding real-time image information, and perform target detection on the real-time image information to determine whether there is a target light category in the real-time image information;
[0015] If so, input the real-time image information into the trained network model for training to obtain the light feature vector information of the real-time image information;
[0016] Data analysis is performed on the light feature vector information to obtain light information.
[0017] Through the above technical solution, when obtaining lighting information, firstly, the surrounding real-time image information is collected, and the target detection is performed on the real-time image information, and then it is determined whether there is a target lighting category in the real-time image information. If so, the real-time image information is input into the trained network model for training to obtain the lighting feature vector information of the real-time image information, and finally the lighting feature vector information is analyzed to obtain the lighting information, so as to facilitate the subsequent processing of the lighting information.
[0018] In another possible implementation, the collecting of surrounding real-time image information, and performing target detection on the real-time image information to determine whether there is a target light category in the real-time image information includes:
[0019] Performing target detection on the real-time image information to obtain target images corresponding to respective targets in the real-time image information;
[0020] Performing feature extraction on the target image to obtain light features in the target image;
[0021] Based on the light characteristics, it is determined whether a target light category exists in the real-time image information.
[0022] By adopting the above technical solution, when judging whether there is a target light type in the real-time image information, firstly, target detection is performed on the real-time image information to obtain target images corresponding to each target in the real-time image information, then feature extraction is performed on the target image to obtain the light features in the target image, and finally, based on the light features, it is determined whether there is a target light category in the real-time image information, thereby improving the accuracy of judging the target light type.
[0023] In another possible implementation manner, the performing target detection on the real-time image information includes:
[0024] The real-time image information is subjected to denoising processing, and the real-time image information after denoising is subjected to image enhancement processing.
[0025] By adopting the above technical solution, since real-time image information in reality is often affected by the interference of imaging equipment and external environmental noise during the digitization and transmission process, it is necessary to use denoising technology to denoise the real-time image information in order to reduce the noise in the digital image and make the real-time image information more accurate. Then, the denoised real-time image information is enhanced to improve the visual effect of the real-time image information, making the image clearer, thereby achieving the effect of improving the recognition of the real-time image information.
[0026] In another possible implementation, the step of inputting the real-time image information into a trained network model for training further includes:
[0027] Obtaining a lighting training sample, wherein the lighting training sample includes the lighting of a flashlight of the smart AR glasses at different external light intensities;
[0028] A network model is created, and the network model is trained based on the light training samples to obtain a trained network model.
[0029] By adopting the above technical solution, when training the network model, first obtain the light training samples, where the light training samples are the light of the smart AR glasses flash under different external light intensities, then create a network model, and train the network model based on the light training samples, and finally obtain the trained network model, so as to facilitate the subsequent recognition of real-time image information.
[0030] In another possible implementation, the obtaining of the Bluetooth device information of the secretly photographing device based on scanning the Bluetooth devices within the secretly photographing distance information includes:
[0031] After the scanning of the Bluetooth devices within the sneak shot distance information is completed, the location information of each Bluetooth device is obtained;
[0032] Acquire the real-time location information of the current user, and determine whether the distance information between the Bluetooth device location information and the real-time location information satisfies the sneak shot distance information;
[0033] If so, the Bluetooth device information of the hidden camera device is determined.
[0034] By adopting the above technical scheme, when determining the Bluetooth device information of the hidden camera device, the Bluetooth devices within the hidden camera distance information are first scanned. After the scanning of the Bluetooth devices within the hidden camera distance information is completed, the obtained location information of each Bluetooth device and the real-time location information of the current user are compared to determine whether the distance information between the Bluetooth device location information and the real-time location information meets the hidden camera distance information. If so, the Bluetooth device information of the hidden camera device is determined, thereby improving the accuracy of detecting the Bluetooth device information of the hidden camera device.
[0035] In another possible implementation, the method further includes pairing the sneak camera device information based on the Bluetooth device information, generating a warning message after the connection is successful, and sending the warning message to the sneak camera device, and then further including:
[0036] After sending the warning information to the hidden camera device, determining whether the hidden camera device outputs the light information;
[0037] If output, the hidden camera device is located to obtain hidden camera location information and current user location information;
[0038] Producing navigation route information according to the secretly photographed location information and the user location information;
[0039] Control display of the navigation route information.
[0040] By adopting the above technical solution, when the hidden camera device still secretly photographs the user after being prompted, the hidden camera device is located to obtain the hidden camera location information and the current user location information, and navigation route information is generated based on the hidden camera location information and the user location information. The generated navigation route information is controlled and displayed on the smart AR glasses of the secretly photographed user, so that the secretly photographed user can manually warn the secretly photographing person.
[0041] In the second aspect, the present application provides an anti-secret camera device for smart AR glasses, which adopts the following technical solution:
[0042] An anti-secret-shooting device for smart AR glasses, comprising:
[0043] A first acquisition module is used to acquire light information, where the light information is the light of a flash used by the smart AR glasses for taking photos;
[0044] The second acquisition module is used to detect the location of the light information and obtain the hidden camera distance information of the hidden camera device corresponding to the light information;
[0045] A third acquisition module is used to acquire the Bluetooth device information of the hidden camera device based on scanning the Bluetooth devices within the hidden camera distance information;
[0046] The warning module is used to pair and connect the hidden camera device information based on the Bluetooth device information, and after the connection is successful, generate warning information and send the warning information to the hidden camera device.
[0047] By adopting the above technical solution, when preventing other smart AR glasses from secretly taking pictures, first detect whether there is a flash on at present. If the flash for taking pictures is detected, obtain the light information, then detect the location of the light information, check the secretly taking distance information between the current smart AR glasses and the secretly taking smart AR glasses, then take the current smart AR glasses as the center of the circle and the secretly taking distance information as the radius, obtain all Bluetooth devices in the secretly taking area, and obtain the Bluetooth device information of the secretly taking device based on the secretly taking distance information, finally perform Bluetooth pairing connection between the current smart AR glasses and the secretly taking device information, generate a warning message after the connection is successful, and send the warning message to the secretly taking device to warn the secretly taking person, thereby achieving the effect of protecting the personal portrait privacy of the user of the smart AR glasses.
[0048] In a possible implementation, when acquiring the lighting information, the first acquisition module is specifically used to:
[0049] Collect surrounding real-time image information, and perform target detection on the real-time image information to determine whether there is a target light category in the real-time image information;
[0050] If so, input the real-time image information into the trained network model for training to obtain the light feature vector information of the real-time image information;
[0051] Data analysis is performed on the light feature vector information to obtain light information.
[0052] In another possible implementation, the collecting of surrounding real-time image information and performing target detection on the real-time image information to determine whether there is a target light category in the real-time image information is specifically used for:
[0053] Performing target detection on the real-time image information to obtain target images corresponding to respective targets in the real-time image information;
[0054] Performing feature extraction on the target image to obtain light features in the target image;
[0055] Based on the light characteristics, it is determined whether a target light category exists in the real-time image information.
[0056] In another possible implementation manner, the performing target detection on the real-time image information is specifically used for:
[0057] The real-time image information is subjected to denoising processing, and the real-time image information after denoising is subjected to image enhancement processing.
[0058] In another possible implementation, the device further includes: a fourth acquisition module and a creation module, wherein:
[0059] The fourth acquisition module is used to acquire light training samples, where the light training samples include light from a flashlight of the smart AR glasses at different external light intensities;
[0060] The creation module is used to create a network model and train the network model based on the light training sample to obtain a trained network model.
[0061] In another possible implementation, when the third acquisition module acquires the Bluetooth device information of the secretly photographing device based on scanning the Bluetooth devices within the secretly photographing distance information, it is specifically used to:
[0062] After the scanning of the Bluetooth devices within the sneak shot distance information is completed, the location information of each Bluetooth device is obtained;
[0063] Acquire the real-time location information of the current user, and determine whether the distance information between the Bluetooth device location information and the real-time location information satisfies the sneak shot distance information;
[0064] If so, the Bluetooth device information of the hidden camera device is determined.
[0065] In another possible implementation, the device further includes: a determination module, a fifth acquisition module, a production route module, and a control display module, wherein:
[0066] The determination module is used to determine whether the hidden camera device outputs the light information after sending a warning message to the hidden camera device;
[0067] The fifth acquisition module is used to locate the hidden camera device and obtain the hidden camera location information and the current user location information when outputting;
[0068] The route generation module is used to generate navigation route information according to the secretly photographed location information and the user location information;
[0069] The control and display module is used to control and display the navigation route information.
[0070] In a third aspect, the present application provides an electronic device, which adopts the following technical solution:
[0071] An electronic device, comprising:
[0072] one or more processors;
[0073] Memory;
[0074] One or more applications, wherein one or more applications are stored in a memory and configured to be executed by one or more processors, and the one or more programs are configured to: execute an anti-sneak peek method for smart AR glasses as shown in any possible implementation of the first aspect.
[0075] In a fourth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solution:
[0076] A computer-readable storage medium, comprising: storing a computer program that can be loaded and executed by a processor to implement an anti-secret photography method for smart AR glasses shown in any possible implementation method of the first aspect.
[0077] In summary, the present application includes at least one of the following beneficial technical effects:
[0078] 1. By adopting the above technical solution, when preventing other smart AR glasses from secretly taking photos, first detect whether there is a flash on at present. If a flash for taking photos is detected, obtain the light information, then detect the location of the light information, check the secretly taking distance information between the current smart AR glasses and the secretly taking smart AR glasses, then take the current smart AR glasses as the center of the circle and the secretly taking distance information as the radius, obtain all Bluetooth devices in the secretly taking area, and obtain the Bluetooth device information of the secretly taking device based on the secretly taking distance information, finally pair the current smart AR glasses with the secretly taking device information through Bluetooth, generate a warning message after the connection is successful, send the warning message to the secretly taking device, and warn the secretly taking person, thereby achieving the effect of protecting the personal portrait privacy of the user of the smart AR glasses;
[0079] 2. By adopting the above technical solution, when the hidden camera device still secretly photographs the user after being prompted, the hidden camera device is located to obtain the hidden camera location information and the current user location information, and navigation route information is generated based on the hidden camera location information and the user location information. The generated navigation route information is controlled and displayed on the smart AR glasses of the secretly photographed user, so that the secretly photographed user can manually warn the secretly photographing person. BRIEF DESCRIPTION OF THE DRAWINGS
[0080] Figure 1 It is a flowchart of a method for preventing secret photography for smart AR glasses according to an embodiment of the present application;
[0081] Figure 2 It is a structural schematic diagram of an anti-secret-photography device for smart AR glasses according to an embodiment of the present application;
[0082] Figure 3 It is a schematic diagram of the structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0083] The following is combined with Figure 1-3 This application is described in further detail.
[0084] After reading this specification, those skilled in the art may make non-creative modifications to this embodiment as needed, but such modifications are protected by patent law as long as they are within the scope of the claims of this application.
[0085] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0086] In addition, the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article, unless otherwise specified, generally means that the associated objects before and after are in an "or" relationship.
[0087] The embodiments of the present application are further described in detail below in conjunction with the drawings in the specification.
[0088] The embodiment of the present application provides an anti-secret photography method for smart AR glasses, which is executed by an electronic device, which can be a server or a terminal device, wherein the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides cloud computing services. The terminal device can be a smart phone, a tablet computer, a laptop computer, a desktop computer, etc., but is not limited to this. The terminal device and the server can be directly or indirectly connected via wired or wireless communication, and the embodiment of the present application does not limit this. Figure 1 As shown, the method includes:
[0089] Step S10, obtaining lighting information, where the lighting information is the light of the flash used by the smart AR glasses to take photos.
[0090] Specifically, by clicking the shooting button on the smart AR glasses, the smart AR glasses start the camera to shoot other users of the smart AR glasses. During the shooting process, the flash on the smart AR glasses will automatically light up for lighting compensation.
[0091] For example: there are two smart AR glasses wearers, A and B. When wearer A wears the smart AR glasses for entertainment, wearer B uses the smart AR glasses camera function to take a photo of wearer A. Then, wearer A detects and obtains wearer B's lighting information.
[0092] Step S11, detecting the location of the light information, and obtaining the hidden camera distance information of the hidden camera device corresponding to the light information.
[0093] Specifically, after obtaining the light information, the determination is made based on the direction of the light information. For example, voyeur B is taking a voyeuristic photo of user A. Relative to user A, voyeur B is directly north of user A. After locking the direction of the light information, infrared rays are irradiated at the voyeur, and the voyeuristic distance information of the voyeuristic device is determined based on the reflection principle of infrared rays.
[0094] Step S12, based on scanning the Bluetooth devices within the sneak shooting distance information, obtain the Bluetooth device information of the sneak shooting device.
[0095] Specifically, after obtaining the secretly photographed distance information, a circle is drawn with the current secretly photographed person as the center and the distance of the secretly photographed distance information as the radius, and the circle is the secretly photographed range. By scanning the Bluetooth devices within the secretly photographed range, all Bluetooth device information within the secretly photographed area is obtained, and the Bluetooth device information of the secretly photographed device is determined according to the secretly photographed distance information, wherein the Bluetooth device information includes: Bluetooth name and Bluetooth distance.
[0096] Step S13, based on the Bluetooth device information, pair and connect the hidden camera device information, and after the connection is successful, generate a warning message and send the warning message to the hidden camera device.
[0097] Specifically, after obtaining the Bluetooth device information, the Bluetooth pairing function is used to connect to the Bluetooth device information, and after the connection is successful, a warning message is generated, such as: Do not take pictures and other warning terms, and the warning message is transmitted to the voyeur device information via Bluetooth to warn the voyeur.
[0098] Among them, Bluetooth is a radio technology that supports short-distance communication between devices (generally within 10m), and can exchange wireless information between a wide range of devices including mobile phones, PDAs, wireless headsets, laptops, and related peripherals. Using Bluetooth technology can effectively simplify the communication between mobile communication terminal devices, and can also successfully simplify the communication between devices and the Internet.
[0099] In the embodiment of the present application, by adopting the above-mentioned technical solution, when preventing other smart AR glasses from secretly taking pictures, first detect whether there is a flash on at present. If the flash for taking pictures is detected, obtain the light information, then detect the location of the light information, check the secretly taking distance information between the current smart AR glasses and the secretly taking smart AR glasses, and then use the current smart AR glasses as the center of the circle and the secretly taking distance information as the radius to obtain all Bluetooth devices in the secretly taking area, and obtain the Bluetooth device information of the secretly taking device based on the secretly taking distance information, and finally perform Bluetooth pairing connection between the current smart AR glasses and the secretly taking device information, and generate a warning message after the connection is successful, and send the warning message to the secretly taking device to warn the secretly taking person, thereby achieving the effect of protecting the personal portrait privacy of the user of the smart AR glasses.
[0100] In a possible implementation of the embodiment of the present application, step S10 specifically includes step S101 (not shown in the figure), step S102 (not shown in the figure) and step S103 (not shown in the figure), wherein:
[0101] Step S101, collecting surrounding real-time image information, and performing target detection on the real-time image information to determine whether there is a target light category in the real-time image information.
[0102] Specifically, the target detection technology can detect various types of light targets in real-time image information, determine and select each light target type by color and intensity, and the image area within the bounding box is the image area corresponding to the target in the image.
[0103] Step S102: If it exists, the real-time image information is input into the trained network model for training to obtain the light feature vector information of the real-time image information.
[0104] Specifically, feature vectors are extracted from real-time image information. The light colors and intensities that can be formed in the real-time image information are different. For example, an ordinary incandescent lamp can emit a light intensity of about 1256 Lux per watt, and its color is light yellow, while the light intensity of a purple lamp is 120uw / cm2, and its color is dark purple. Therefore, the specific category of the target can be determined through the feature vector of the target. For example, the feature vector "0" represents an incandescent lamp, and the feature vector "1" represents a purple lamp.
[0105] Step S103, performing data analysis on the light feature vector information to obtain light information.
[0106] Specifically, by performing data analysis on the feature vector information and judging the feature vector value, it is determined whether the light feature vector information is a flash used for shooting by the smart AR glasses.
[0107] In a possible implementation manner of the embodiment of the present application, step S101 specifically includes step S1011 (not shown in the figure), step S1012 (not shown in the figure) and step S1013 (not shown in the figure), wherein:
[0108] Step S1011, performing target detection on the real-time image information, and obtaining target images corresponding to each target in the real-time image information.
[0109] Specifically, the task of object detection is to find all the targets (objects) of interest in real-time image information and determine their categories and locations, for example: extracting light information from real-time image information.
[0110] Step S1012, extracting features from the target image to obtain light features in the target image.
[0111] Specifically, the method of extracting light feature information may include: graying the image area corresponding to each target and then binarizing it, and identifying the light intensity and color of the corresponding target in each segmented area according to the boundaries of black and white pixels in the image after the binarization processing.
[0112] Step S1013, determining whether there is a target light category in the real-time image information based on the light characteristics.
[0113] Specifically, different categories of targets may produce different light intensities and colors in the image. For example, incandescent light and ultraviolet light have different light types due to their different intensities and colors. Therefore, the target light category can be determined by the target light characteristics.
[0114] In a possible implementation manner of the embodiment of the present application, step S1011 (not shown in the figure) specifically includes step Sa (not shown in the figure), wherein:
[0115] Step Sa, denoising the real-time image information, and performing image enhancement processing on the denoised real-time image information.
[0116] Specifically, noise can be understood as "factors that hinder people's sensory organs from understanding the received source information." For example, for a black and white picture, its plane brightness distribution is assumed to be f(x, y), then the brightness distribution R(x, y) that interferes with its reception can be called image noise. Common image noises include additive noise, multiplicative noise, quantization noise, and "salt and pepper" noise. Additive noise is unrelated to the image signal intensity, for example: "channel noise" introduced during the image transmission process, the noise of the TV camera scanning the image; multiplicative noise is related to the image signal and often changes with the change of the image signal, for example: the noise in the flying spot scanning image, the TV scanning raster, film grain, etc.; quantization noise is the main noise source of digital images, and its size shows the difference between the digital image and the original image; "salt and pepper" noise, for example: white spots on black images caused by image cutting, black spot noise on white images, errors introduced in the transform domain, and transformation noise caused by the inverse transformation of the image.
[0117] In a possible implementation of the embodiment of the present application, step S102 also includes step S1021 (not shown in the figure) and step S1022 (not shown in the figure), wherein:
[0118] Step S1021, obtaining a light training sample, where the light training sample includes the light of the smart AR glasses flashlight under different external light intensities.
[0119] Specifically, light images of the smart AR glasses flash light under different external light intensities are collected, and then target detection is performed on these images to obtain the light characteristics corresponding to each target. In this way, the sample environment collected is consistent with the environment that the neural network model is to judge in practice, thereby improving the recognition accuracy. At the same time, images are collected for multiple different light targets to increase the richness of the samples, which can also improve the accuracy of the neural network in classifying targets.
[0120] Step S1022: Create a network model, and train the network model based on the light training samples to obtain a trained network model.
[0121] Specifically, after training, the initial neural network model can judge the input light target features, and then output the probability of the target category, and select the category label with the highest probability as the current input light target feature. For example, if the recognition network model inputs the light target feature, the output is the candid flash (70%) and ordinary light (30%), then it should be able to determine that the category of the target corresponding to the light target feature is the candid flash.
[0122] In a possible implementation of the embodiment of the present application, step S12 specifically includes step S121 (not shown in the figure), step S122 (not shown in the figure) and step S123 (not shown in the figure), wherein:
[0123] Step S121, after scanning of the Bluetooth devices within the sneak shot distance information is completed, the location information of each Bluetooth device is obtained.
[0124] Specifically, to locate the position or coordinates of an object in a general space, similar to outdoor GPS satellite positioning, satellite positioning generally requires at least 3 stars to achieve positioning. The same is true for Bluetooth, except that the "satellite" is replaced by a Bluetooth beacon (base station). For example, to locate a person, it is known that there are three fixed Bluetooth beacons indoors, and the coordinates on the vector map (indoor map, on the server side) are known.
[0125] A single base station is a fixed coordinate, which can only determine that a person is on a circle with the fixed coordinate as the center; at least three fixed coordinates are required, and these three circles intersect in space. Through the background indoor positioning algorithm, which is a set of mathematical operations (of course, the actual situation will be more complicated, similar to the vector operations in our high school mathematics), the person's location can be accurately determined.
[0126] Step S122, obtaining the real-time location information of the current user, and determining whether the distance information between the Bluetooth device location information and the real-time location information satisfies the sneak shot distance information.
[0127] Step S123: If the conditions are met, determine the Bluetooth device information of the hidden camera device.
[0128] In a possible implementation of the embodiment of the present application, step S13 further includes step S131 (not shown in the figure), step S132 (not shown in the figure), step S133 (not shown in the figure) and step S134 (not shown in the figure), wherein:
[0129] Step S14, after sending the warning information to the hidden camera device, determine whether the hidden camera device outputs light information.
[0130] Step S15: if output, locate the hidden camera device and obtain the hidden camera location information and the current user location information.
[0131] Specifically, assuming that the hidden camera device is still secretly photographing other smart AR glasses users, the hidden camera device and the secretly photographed smart AR glasses are located through the GPS positioning device to obtain the hidden camera location information and user location information.
[0132] Step S16, generating navigation route information according to the secretly photographed location information and the user location information.
[0133] Specifically, the navigation route of the secretly photographed location information and the user's location information is generated through the GPS navigation system. The GPS navigation system is a radio navigation and positioning system based on 24 global positioning satellites, which provides three-dimensional position, three-dimensional speed and other information to all parts of the world around the clock. It consists of three parts: the first is the ground control part, which consists of a main control station, ground antenna, monitoring station and communication auxiliary system. The second is the space part, which consists of 24 satellites distributed in 6 orbital planes. The third is the user device part, which consists of a GPS receiver and a satellite antenna. The positioning accuracy for civilian use can reach within 10 meters.
[0134] Step S17, controlling the display of navigation route information.
[0135] Specifically, the navigation route information is obtained through the control layer (controller), business layer (service) and data access layer (dao). The data access layer is only responsible for data interaction with the database and reading the data. The business layer needs to write logic code according to the actual business needs of the system. The business logic layer calls the relevant methods of the data access layer to implement interaction with the database and feeds back the execution results to the control layer. The control layer sends the location information to the view renderer, renders the navigation route information, and echoes the navigation route information.
[0136] The above-mentioned embodiment introduces an anti-secret photography method for smart AR glasses from the perspective of method flow. The following embodiment introduces an anti-secret photography device for smart AR glasses from the perspective of a virtual module or a virtual unit. Please refer to the following embodiment for details.
[0137] The present application embodiment provides an anti-secret camera device for smart AR glasses, such as Figure 2 As shown, the anti-secret-shooting device 20 for smart AR glasses may specifically include: a first acquisition module 21, a second acquisition module 22, a third acquisition module 23 and a warning module 24, wherein:
[0138] The first acquisition module 21 is used to acquire light information, where the light information is the light of the flash used by the smart AR glasses for taking photos;
[0139] The second acquisition module 22 is used to detect the location of the light information and obtain the hidden camera distance information of the hidden camera device corresponding to the light information;
[0140] The third acquisition module 23 is used to acquire the Bluetooth device information of the secretly photographing device by scanning the Bluetooth devices within the secretly photographing distance information;
[0141] The warning module 24 is used to pair and connect the hidden camera device information based on the Bluetooth device information, and after the connection is successful, generate a warning message and send the warning message to the hidden camera device.
[0142] A possible implementation of the embodiment of the present application, in a possible implementation, when the first acquisition module 21 acquires the light information, is specifically used to:
[0143] Collect surrounding real-time image information, and perform target detection on the real-time image information to determine whether there is a target light category in the real-time image information;
[0144] If it exists, the real-time image information is input into the trained network model for training to obtain the light feature vector information of the real-time image information;
[0145] Data analysis is performed on the light feature vector information to obtain the light information.
[0146] Another possible implementation of the embodiment of the present application is to collect surrounding real-time image information, perform target detection on the real-time image information, and determine whether there is a target light category in the real-time image information, which is specifically used for:
[0147] Performing target detection on the real-time image information to obtain target images corresponding to each target in the real-time image information;
[0148] Perform feature extraction on the target image to obtain the light features in the target image;
[0149] Based on the light characteristics, it is determined whether a target light category exists in the real-time image information.
[0150] Another possible implementation of the embodiment of the present application is to perform target detection on real-time image information, specifically for:
[0151] The real-time image information is subjected to denoising, and the denoised real-time image information is subjected to image enhancement processing.
[0152] In another possible implementation of the embodiment of the present application, the device 20 further includes: a fourth acquisition module and a creation module, wherein:
[0153] A fourth acquisition module is used to acquire light training samples, where the light training samples include the light of the smart AR glasses flashlight under different external light intensities;
[0154] A creation module is used to create a network model and train the network model based on light training samples to obtain a trained network model.
[0155] In another possible implementation of the embodiment of the present application, when the third acquisition module 23 scans the Bluetooth devices within the sneak-shooting distance information to acquire the Bluetooth device information of the sneak-shooting device, it is specifically used to:
[0156] After scanning the Bluetooth devices within the sneak-shooting distance information, the location information of each Bluetooth device is obtained;
[0157] Obtain the real-time location information of the current user, and determine whether the distance information between the Bluetooth device location information and the real-time location information meets the sneak shot distance information;
[0158] If satisfied, the Bluetooth device information of the hidden camera device is determined.
[0159] In another possible implementation of the embodiment of the present application, the device 20 further includes: a determination module, a fifth acquisition module, a production route module, and a control display module, wherein:
[0160] A determination module, used to determine whether the hidden camera device outputs light information after sending a warning message to the hidden camera device;
[0161] A fifth acquisition module is used to locate the hidden camera device when outputting, and obtain the hidden camera location information and the current user location information;
[0162] A route production module is used to produce navigation route information based on the secretly photographed location information and the user's location information;
[0163] The control display module is used to control and display navigation route information.
[0164] Specifically, the first acquisition module 21, the second acquisition module 22, the third acquisition module 23, the fourth acquisition module and the fifth acquisition module may all be the same modules, or may all be different modules, or may partially be different modules, which is not limited in the embodiments of the present application.
[0165] An electronic device is provided in an embodiment of the present application, such as Figure 3 As shown, Figure 3The electronic device 300 shown includes: a processor 301 and a memory 303. The processor 301 and the memory 303 are connected, such as through a bus 302. Optionally, the electronic device 300 may also include a transceiver 304. It should be noted that in actual applications, the transceiver 304 is not limited to one, and the structure of the electronic device 300 does not constitute a limitation on the embodiments of the present application.
[0166] The processor 301 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. The processor 301 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.
[0167] The bus 302 may include a path to transmit information between the above components. The bus 302 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus 302 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 3 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0168] The memory 303 may be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disk storage (including compressed optical disk, laser disk, optical disk, digital versatile disk, Blu-ray disk, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.
[0169] The memory 303 is used to store the application code for executing the solution of the present application, and the execution is controlled by the processor 301. The processor 301 is used to execute the application code stored in the memory 303 to implement the contents shown in the above method embodiment.
[0170] The electronic devices include, but are not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), and fixed terminals such as digital TVs, desktop computers, etc. It can also be a server, etc. Figure 3 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0171] The embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer-readable storage medium is run on a computer, the computer can execute the corresponding content in the aforementioned method embodiment. Compared with the related art, in the embodiment of the present application, when preventing other smart AR glasses from secretly taking photos, first detect whether there is a flash light on at present. If a flash light for taking photos is detected, the light information is obtained, and then the location of the light information is detected to check the secretly taking distance information between the current smart AR glasses and the secretly taking smart AR glasses. Then, with the current smart AR glasses as the center of the circle and the secretly taking distance information as the radius, all Bluetooth devices in the secretly taking area are obtained, and the Bluetooth device information of the secretly taking device is obtained based on the secretly taking distance information. Finally, the current smart AR glasses are paired with the secretly taking device information by Bluetooth, and a warning message is generated after the connection is successful. The warning message is sent to the secretly taking device to warn the secretly taking person, thereby achieving the effect of protecting the personal portrait privacy of the user of the smart AR glasses.
[0172] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
[0173] The above are only some implementation methods of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A method for preventing sneak shots for smart AR glasses. It is characterized in that include: Acquire lighting information, where the lighting information is the lighting of a flash used by the smart AR glasses for taking photos; Detecting the location of the light information and obtaining the hidden camera distance information of the hidden camera device corresponding to the light information; Based on scanning the Bluetooth devices within the sneak shooting distance information, obtaining the Bluetooth device information of the sneak shooting device; Based on the Bluetooth device information, pair and connect the secretly photographing device information, and after the connection is successful, generate warning information and send the warning information to the secretly photographing device; The obtaining of lighting information includes: Collect surrounding real-time image information, and perform target detection on the real-time image information to determine whether there is a target light category in the real-time image information; If it exists, the real-time image information is input into the trained network model for recognition to obtain the light feature vector information of the real-time image information; Performing data analysis on the light feature vector information to obtain light information; The collecting of surrounding real-time image information and performing target detection on the real-time image information to determine whether there is a target light category in the real-time image information includes: Performing target detection on the real-time image information to obtain target images corresponding to respective targets in the real-time image information; Extracting features from the target image to obtain light features in the target image; extracting light features includes: graying the image area corresponding to each target and then binarizing it, and identifying the light intensity and color of the target in each segmented area according to the boundaries of black and white pixels in the image after the binarization process; Based on the light characteristics, it is determined whether a target light category exists in the real-time image information.
2. According to claim 1, a method for preventing surreptitious photography for smart AR glasses, It is characterized in that The performing target detection on the real-time image information includes: The real-time image information is subjected to denoising processing, and the real-time image information after denoising is subjected to image enhancement processing.
3. The method for preventing surreptitious photography for smart AR glasses according to claim 1, It is characterized in that The step of inputting the real-time image information into the trained network model for training also includes: Obtaining a lighting training sample, wherein the lighting training sample includes the lighting of a flashlight of the smart AR glasses at different external light intensities; A network model is created, and the network model is trained based on the light training samples to obtain a trained network model.
4. The method for preventing surreptitious photography for smart AR glasses according to claim 1, It is characterized in that The method of scanning the Bluetooth devices within the sneak-shooting distance information to obtain the Bluetooth device information of the sneak-shooting device includes: After the scanning of the Bluetooth devices within the sneak shot distance information is completed, the location information of each Bluetooth device is obtained; Acquire the real-time location information of the current user, and determine whether the distance information between the Bluetooth device location information and the real-time location information satisfies the sneak shot distance information; If so, the Bluetooth device information of the hidden camera device is determined.
5. The method for preventing surreptitious photography for smart AR glasses according to claim 1, It is characterized in that Based on the Bluetooth device information, the secretly photographing device information is paired and connected, and after the connection is successful, a warning message is generated and sent to the secretly photographing device, and then it also includes: After sending the warning information to the hidden camera device, determining whether the hidden camera device outputs the light information; If output, the hidden camera device is located to obtain hidden camera location information and current user location information; Producing navigation route information according to the secretly photographed location information and the user location information; Control display of the navigation route information. 6.An anti-secret camera device for smart AR glasses, It is characterized in that include: A first acquisition module is used to acquire light information, where the light information is the light of a flash used by the smart AR glasses for taking photos; The second acquisition module is used to detect the location of the light information and obtain the hidden camera distance information of the hidden camera device corresponding to the light information; A third acquisition module is used to acquire the Bluetooth device information of the hidden camera device based on scanning the Bluetooth devices within the hidden camera distance information; A warning module, used for pairing and connecting the secretly photographing device information based on the Bluetooth device information, and after the connection is successful, generating a warning message and sending the warning message to the secretly photographing device; When acquiring the lighting information, the first acquisition module is used to: Collect surrounding real-time image information, and perform target detection on the real-time image information to determine whether there is a target light category in the real-time image information; If it exists, the real-time image information is input into the trained network model for recognition to obtain the light feature vector information of the real-time image information; Performing data analysis on the light feature vector information to obtain light information; The first acquisition module collects surrounding real-time image information, performs target detection on the real-time image information, and determines whether there is a target light category in the real-time image information, and is used to: Performing target detection on the real-time image information to obtain target images corresponding to respective targets in the real-time image information; Performing feature extraction on the target image to obtain light features in the target image; The method of extracting light features includes: graying the image area corresponding to each target and then binarizing it, and identifying the light intensity and color of the target corresponding to each segmented area in the image according to the boundary of black and white pixels after the binarization process; Based on the light characteristics, it is determined whether a target light category exists in the real-time image information.
7. An electronic device, It is characterized in that It includes: One or more processors; Memory; One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to: execute the anti-secret photography method for smart AR glasses according to any one of claims 1 to 5.
8. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the program is executed by a processor, the anti-secret photography method for smart AR glasses described in any one of claims 1 to 5 is implemented.
