Search

US-20260129285-A1 - ANTI-SNOOPING PROMPT METHOD AND APPARATUS, AND ELECTRONIC DEVICE AND STORAGE MEDIUM

US20260129285A1US 20260129285 A1US20260129285 A1US 20260129285A1US-20260129285-A1

Abstract

An anti-snooping prompt method, apparatus and computer readable medium that avoid the invasion of the photographed person's privacy. The invasion of the photographed person's privacy is avoided by: obtaining environmental image data by a camera apparatus arranged on a wearable device; determining, in response to determining that a photographic device is present in the environmental image data, a photographing angle of the photographic device; and providing an anti-snooping prompt by the wearable device in response to determining, according to the photographing angle, that a user is located within a photographing range of the photographic device.

Inventors

  • Nian Zhang

Assignees

  • BEIJING XIAOMI MOBILE SOFTWARE CO., LTD.

Dates

Publication Date
20260507
Application Date
20220526

Claims (20)

  1. 1 . An anti-snooping prompt method, performed by a wearable device and comprising: obtaining environmental image data by a camera apparatus arranged on the wearable device; determining, in response to determining that a photographic device is present in the environmental image data, a photographing angle of the photographic device; and providing an anti-snooping prompt by the wearable device in response to determining, according to the photographing angle, that a user is located within a photographing range of the photographic device.
  2. 2 . The anti-snooping prompt method according to claim 1 , comprising: determining, by identifying the environmental image data, whether a preset outline corresponding to the photographic device is present in the environmental image data; and determining, on a condition that the preset outline is present in the environmental image data, that the photographic device is present in the environmental image data.
  3. 3 . The anti-snooping prompt method according to claim 2 , wherein determining the photographing angle of the photographic device comprises: determining a lens steering angle of the photographic device in the environmental image data; and determining the photographing angle of the photographic device according to the preset outline and the lens steering angle.
  4. 4 . The anti-snooping prompt method according to claim 3 , wherein determining the lens steering angle of the photographic device in the environmental image data comprises: determining, by capturing a camera of the photographic device in the environmental image data, a lens size and a lens surface angle of the camera; determining a preset photographing range of the camera according to the lens size; and determining, according to the preset photographing range and the lens surface angle, the lens steering angle of the photographic device.
  5. 5 . The anti-snooping prompt method according to claim 1 , comprising: simulating, according to the environmental image data, a first photographing range of the wearable device in a virtual scenario; simulating, according to the photographing angle, a second photographing range of the photographic device in the virtual scenario; and determining, in a condition that an overlap region exists between the first photographing range and the second photographing range in the virtual scenario, that the user is located within the photographing range of the photographic device.
  6. 6 . The anti-snooping prompt method according to claim 1 , wherein the wearable device is a pair of smart glasses, and providing the anti-snooping prompt by the wearable device comprises: determining position coordinates of the photographic device relative to the smart glasses; and providing, according to the position coordinates, the anti-snooping prompt on screens of the smart glasses.
  7. 7 . The anti-snooping prompt method according to claim 1 , comprising: determining, by identifying the environmental image data, whether a body feature is present in the environmental image data; determining, on a condition that the body feature is present in the environmental image data, a body posture corresponding to the body feature; and determining, on a condition that the body posture is a photographing posture, that the photographic device is present in the environmental image data.
  8. 8 . The anti-snooping prompt method according to claim 1 , wherein obtaining the environmental image data comprises: obtaining initial environmental image data by the camera apparatus; determining, according to the initial environmental image data, a scenario type of an environment where the wearable device is located; and obtaining denoised environmental image data by performing denoising processing on the initial environmental image data according to the scenario type.
  9. 9 . (canceled)
  10. 10 . An electronic device, comprising: one or more processors; and a memory used for storing an executable instruction of the one or more processors, wherein the one or more processors are collectively configured to: obtain environmental image data by a camera apparatus arranged on a wearable device; determine, in response to determining that a photographic device is present in the environmental image data, a photographing angle of the photographic device; and provide an anti-snooping prompt by the wearable device in response to determining, according to the photographing angle, that a user is located within a photographing range of the photographic device.
  11. 11 . A non-transitory computer-readable storage medium, storing a computer program instruction, wherein the program instruction, when executed by one or more processors, configures the processors to: obtain environmental image data by a camera apparatus arranged on a wearable device; determine, in response to determining that a photographic device is present in the environmental image data, a photographing angle of the photographic device; and provide an anti-snooping prompt by the wearable device in response to determining, according to the photographing angle, that a user is located within a photographing range of the photographic device.
  12. 12 . The electronic device according to claim 10 , wherein the one or more processors are collectively configured to: determine, by identifying the environmental image data, whether a preset outline corresponding to the photographic device is present in the environmental image data; and determine, on a condition that the preset outline is present in the environmental image data, that the photographic device is present in the environmental image data.
  13. 13 . The electronic device according to claim 12 , wherein determining the photographing angle of the photographic device comprises: determining a lens steering angle of the photographic device in the environmental image data; and determining the photographing angle of the photographic device according to the preset outline and the lens steering angle.
  14. 14 . The electronic device according to claim 13 , wherein determining the lens steering angle of the photographic device in the environmental image data comprises: determining, by capturing a camera of the photographic device in the environmental image data, a lens size and a lens surface angle of the camera; determining a preset photographing range of the camera according to the lens size; and determining, according to the preset photographing range and the lens surface angle, the lens steering angle of the photographic device.
  15. 15 . The electronic device according to claim 10 , wherein the one or more processors are collectively configured to: simulate, according to the environmental image data, a first photographing range of the wearable device in a virtual scenario; simulate, according to the photographing angle, a second photographing range of the photographic device in the virtual scenario; and determine, on a condition that an overlap region exists between the first photographing range and the second photographing range in the virtual scenario, that the user is located within the photographing range of the photographic device.
  16. 16 . The electronic device according to claim 10 , wherein the electronic device is a pair of smart glasses, and providing the anti-snooping prompt by the wearable device comprises: determining position coordinates of the photographic device relative to the smart glasses; and providing, according to the position coordinates, the anti-snooping prompt on screens of the smart glasses.
  17. 17 . The electronic device according to claim 10 , wherein the one or more processors are collectively configured to: determine, by identifying the environmental image data, whether a body feature is present in the environmental image data; determine, on a condition that the body feature is present in the environmental image data, a body posture corresponding to the body feature; and determine, on a condition that the body posture is a photographing posture, that the photographic device is present in the environmental image data.
  18. 18 . The electronic device according to claim 10 , wherein obtaining the environmental image data comprises: obtaining initial environmental image data by the camera apparatus; determining, according to the initial environmental image data, a scenario type of an environment where the wearable device is located; and obtaining denoised environmental image data by performing denoising processing on the initial environmental image data according to the scenario type.
  19. 19 . The non-transitory computer-readable storage medium according to claim 11 , wherein the program instruction, when executed by the one or more processors, configures the processors to: determine, by identifying the environmental image data, whether a preset outline corresponding to the photographic device is present in the environmental image data; and determine, on a condition that the preset outline is present in the environmental image data, that the photographic device is present in the environmental image data.
  20. 20 . The non-transitory computer-readable storage medium according to claim 19 , wherein determining the photographing angle of the photographic device comprises: determining a lens steering angle of the photographic device in the environmental image data; and determining the photographing angle of the photographic device according to the preset outline and the lens steering angle.

Description

CROSS-REFERENCE TO RELATED APPLICATION The present application is a U.S. National Phase of International Patent Application Serial No. PCT/CN2022/095387 filed on May 26, 2022. The contents of the above-cited application are hereby incorporated by reference in their entirety for all purposes. BACKGROUND OF THE INVENTION In the related art, smart devices, such as smartphones, iPads, and unmanned aerial vehicles, are equipped with cameras, and a smart device user, as a photographer, captures image information of a photographed person. In process of image capturing, the photographed person may be photographed unconsciously or without authorization due to the lack of an active prompting function on the smart device, resulting in the privacy disclosure of the photographed person. SUMMARY OF THE INVENTION In order to solve the problem in the related art, the disclosure provides an anti-snooping prompt method and apparatus, an electronic device, and a storage medium. According to a first aspect of an example of the disclosure, an anti-snooping prompt method is provided and includes: obtaining environmental image data by a camera apparatus arranged on the wearable device; determining, in response to determining that a photographic device is present in the environmental image data, a photographing angle of the photographic device; and providing an anti-snooping prompt by the wearable device in response to determining, according to the photographing angle, that a user is located within a photographing range of the photographic device. According to a second aspect of an example of the disclosure, an electronic device is provided and includes: one or more processors; and a memory used for storing an executable instruction of the one or more processors, where the one or more processors are collectively configured to implement, when executing the executable instruction, step of the anti-snooping prompt method described in the first aspect. According to a third aspect of an example of the disclosure, a non-transitory computer-readable storage medium is provided and stores a computer program instruction. The program instruction, when executed by one or more processors, implements step of the anti-snooping prompt method provided in the first aspect. It is to be understood that the above general description and following detailed description are merely for example and explanatory, and cannot limit the disclosure. BRIEF DESCRIPTION OF DRAWINGS Accompanying drawings here, which are incorporated in and constitute a part of this specification, illustrate examples consistent with the disclosure and, together with the specification, serve to explain principles of the disclosure. FIG. 1 is a flow chart of an anti-snooping prompt method illustrated according to an example. FIG. 2 is a sample chart of a wearable device illustrated according to an example. FIG. 3 is a flow chart of a method for confirming a photographing angle illustrated according to an example. FIG. 4 is a sample chart of another anti-snooping prompt method illustrated according to an example. FIG. 5 is a flow chart of yet another anti-snooping prompt method illustrated according to an example. FIG. 6 is a block diagram of an anti-snooping prompt apparatus illustrated according to an example. FIG. 7 is a block diagram of an electronic device illustrated according to an example. DETAILED DESCRIPTION OF THE INVENTION Examples will be described here in detail and their instances are shown in accompanying drawings. When the following description concerning the accompanying drawings, unless otherwise stated, the same reference numbers in different accompanying drawings represent the same or similar elements. Implementations described in the following examples do not represent all implementations consistent with the disclosure. Rather, they are merely instances of an apparatus and a method consistent with some aspects of the disclosure as detailed in the appended claims. It is to be noted that all actions to obtain signals, information, or data in the present application are carried out in compliance with the corresponding data protection regulations and policies of the local country and with the authorization of the owner of the corresponding apparatus. The disclosure relates to the field of intelligent identification, in particular to an anti-snooping prompt method and apparatus, an electronic device and a storage medium. In related art, smart devices such as smartphones, iPads, and unmanned aerial vehicles are equipped with cameras, and a user of a smart device, such as a photographer, captures the image information of a photographed person. In the process of image capturing, the photographed person may be photographed unconsciously or without authorization due to the lack of an active prompting function on the smart device, resulting in the privacy disclosure of the photographed person. Thus, how to effectively alert the photographed person in the case of being photogr