CN114125283B - AR (augmented reality) glasses control method and device, electronic equipment and readable storage medium - Google Patents
AR (augmented reality) glasses control method and device, electronic equipment and readable storage medium Download PDFInfo
- Publication number
- CN114125283B CN114125283B CN202111365220.0A CN202111365220A CN114125283B CN 114125283 B CN114125283 B CN 114125283B CN 202111365220 A CN202111365220 A CN 202111365220A CN 114125283 B CN114125283 B CN 114125283B
- Authority
- CN
- China
- Prior art keywords
- photographing
- camera
- image
- state
- instruction
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 239000011521 glass Substances 0.000 title claims abstract description 62
- 238000000034 method Methods 0.000 title claims abstract description 31
- 230000003190 augmentative effect Effects 0.000 title description 3
- 238000004891 communication Methods 0.000 claims description 3
- 238000004590 computer program Methods 0.000 claims description 3
- 230000000694 effects Effects 0.000 abstract description 2
- 238000005516 engineering process Methods 0.000 description 6
- 230000005764 inhibitory process Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000001960 triggered effect Effects 0.000 description 3
- 230000006399 behavior Effects 0.000 description 2
- 230000001010 compromised effect Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/66—Remote control of cameras or camera parts, e.g. by remote control devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/61—Control of cameras or camera modules based on recognised objects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/63—Control of cameras or camera modules by using electronic viewfinders
- H04N23/633—Control of cameras or camera modules by using electronic viewfinders for displaying additional information relating to control or operation of the camera
- H04N23/635—Region indicators; Field of view indicators
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
Abstract
The application relates to the field of control of AR systems, in particular to a control method and device of AR glasses, electronic equipment and a readable storage medium, wherein the method comprises the steps of determining whether a camera of the equipment is in a photographing state after a photographing prohibition instruction is acquired; if the camera is in a photographing state, outputting a closing instruction, wherein the closing instruction is used for controlling the camera of the equipment to be closed. The method has the effect of reducing the probability that the AR glasses users are photographed by others.
Description
Technical Field
The present invention relates to the field of control of AR systems, and in particular, to a method and apparatus for controlling AR glasses, an electronic device, and a readable storage medium.
Background
AR technology, i.e., augmented reality (augmentedreadiness) technology, is a technology that appears to be an attempt towards future technologies; the AR technology is a technology for skillfully fusing virtual information with the real world, and widely uses various technical means such as multimedia, three-dimensional modeling, real-time tracking and registering, intelligent interaction, sensing and the like, and applies virtual information such as characters, images, three-dimensional models, music, videos and the like generated by a computer to the real world after simulation, wherein the two information are mutually complemented, so that the enhancement of the real world is realized.
AR glasses are a digital product mainly used for experience, which is generated by applying AR; at present, some AR experience halls exist, and the experience of AR glasses is provided for users. A camera and a flash lamp are arranged on the ordinary AR glasses, and a user can take a picture of other users by controlling the AR glasses; there are some users who do not want to be photographed by others, but there may still be cases where they are photographed by others with AR glasses, and these photos may be stored or sent to cause leakage, resulting in a poor experience for some users.
Disclosure of Invention
In order to reduce the probability of being photographed by an AR glasses user, the application provides a control method, a device, an electronic device and a storage medium of the AR glasses.
In a first aspect, the present application provides a control method for AR glasses, which adopts the following technical scheme:
a control method of AR glasses, comprising:
after acquiring a photographing prohibition instruction, determining whether a camera of the equipment is in a photographing state;
and if the camera is in a photographing state, outputting a closing instruction, wherein the closing instruction is used for controlling the camera of the equipment to be closed.
Through adopting above-mentioned technical scheme, after electronic equipment obtains the forbidden instruction of shooing, electronic equipment can judge whether the camera is in the state of shooing, if the camera is in the state of shooing, then indicate that user's AR glasses are shooing or about to shoot this moment, afterwards, electronic equipment can export and close the instruction in order to control the camera and close, and then reduced the user and obtained the probability of shooting the image through AR glasses, reduced other AR glasses user's success rate by taking a photograph by force, and then improved user experience.
In one possible implementation manner, the determining whether the camera of the device is in a photographing state includes:
acquiring the state of a flash lamp of the equipment;
and determining whether the camera is in a photographing state or not based on the state of the flash lamp.
Through adopting above-mentioned technical scheme, when under the relatively poor environment of light, the camera want to obtain clear image, needs the assistance of flash light, therefore when the camera got into the state of shooing at this time, the flash light can be bright, consequently can confirm whether the camera is in the state of shooing through judging the state of flash light.
In one possible implementation manner, the determining whether the camera of the device is in a photographing state further includes:
judging whether a preset photographing instruction is being executed or not, wherein the photographing instruction comprises any instruction capable of controlling the camera to enter a photographing state;
if yes, determining that the camera enters a photographing state.
Through adopting above-mentioned technical scheme, under the environment that light satisfied the camera and obtained clear image, the camera got into the state of shooing, but the flash light is not necessarily bright, through judging whether there is the shooting instruction that can make the camera get into the state of shooing this moment, can judge whether the camera can get into the state of shooing promptly, has further improved the rate of accuracy of confirming the camera state.
In one possible implementation, after outputting the shutdown instruction, the method further includes:
and outputting first prompt information, wherein the first prompt information is used for prompting a user to prohibit photographing.
By adopting the technical scheme, after the camera is closed, the user cannot obtain a shot image, and at the moment, the user can repeatedly input an instruction capable of enabling the camera to enter a shooting state; at the moment, the electronic equipment can remind the user by outputting the first prompt information, so that the occurrence of the situation that the user repeatedly inputs instructions is reduced.
In one possible implementation, determining whether there is an offending image, the offending image being an image taken between the camera being turned off;
if yes, outputting a deleting instruction, wherein the deleting instruction is used for deleting the illegal image;
and outputting second prompt information, wherein the second prompt information is used for prompting a user that the illegal image is deleted.
By adopting the technical scheme, before the electronic equipment outputs the warning to control the camera to be closed, if the camera has obtained the shot image and the time of shooting the image is within the preset duration according to the current time, the images belong to the illegal images which should be deleted, so that the probability of leakage of the images of other users is reduced.
In one possible implementation, the determining whether there is a violation image includes:
determining whether a photographed image exists;
if yes, acquiring the shooting time of each shooting image, and acquiring the current time;
and determining whether a violation image exists in the shot images based on the shooting time of each shot image, the current time and a preset duration.
By adopting the technical scheme, the shooting time and the current time of each shooting image can be obtained, each shooting image can be judged, and whether the illegal image exists in the shooting image or not can be determined.
In one possible implementation manner, the acquiring a photographing prohibition instruction includes:
acquiring a photographing prohibition instruction output by preset equipment;
acquiring a locally pre-stored photographing inhibition instruction;
and acquiring photographing prohibition instructions output by the AR glasses of other users.
Through adopting above-mentioned technical scheme, prohibit shooting instruction can be by a plurality of equipment output or prestore then by electronic equipment acquisition, and electronic equipment can control the camera and close after obtaining prohibit shooting instruction, can further reduce other users' probability by taking a photograph by hand.
In a second aspect, the present application provides a control device for AR glasses, which adopts the following technical scheme:
a control device for AR glasses, comprising:
the photographing prohibition instruction acquisition module is used for acquiring photographing prohibition instructions;
the first determining module is used for determining whether the camera of the equipment is in a photographing state or not;
the first output module is used for outputting a closing instruction when the camera is in a photographing state, and the closing instruction is used for controlling the camera of the equipment to be closed.
Through adopting above-mentioned technical scheme, after the device obtains the forbidden instruction of shooing, the device can judge whether the camera is in the state of shooing, if the camera is in the state of shooing, then indicate that user's AR glasses is shooing or is about to shoot this moment, afterwards, the device can export and close the instruction in order to control the camera and close, and then reduced the user and obtained the probability of shooting the image through AR glasses, reduced the success rate of being shot by force to other users, and then improved user experience.
In one possible implementation manner, when the first determining module determines whether the camera of the device is in a photographing state, the method is specifically used for:
acquiring the state of a flash lamp of the equipment;
and determining whether the camera is in a photographing state or not based on the state of the flash lamp.
In one possible implementation manner, when the first determining module determines whether the camera of the device is in a photographing state, the first determining module is further configured to:
judging whether a preset photographing instruction is being executed or not, wherein the photographing instruction is used for controlling the camera to enter a photographing state;
if yes, determining that the camera enters a photographing state.
In one possible implementation, the apparatus further includes:
the second output module is used for outputting first prompt information after the first output module outputs the closing instruction, and the first prompt information is used for prompting a user to prohibit photographing.
In one possible implementation, the apparatus further includes:
the second determining module is used for determining whether an illegal image exists or not, wherein the illegal image is an image shot between the closed cameras;
the deleting module is used for outputting a deleting instruction when determining that the illegal image exists, wherein the deleting instruction is used for deleting the illegal image;
and the third output module is used for outputting second prompt information which is used for prompting the user that the illegal image is deleted.
In one possible implementation, when the second determining module determines whether there is an offending image, it is specifically configured to:
determining whether a photographed image exists;
if yes, acquiring the shooting time of each shooting image, and acquiring the current time;
and determining whether a violation image exists in the shot images based on the shooting time of each shot image, the current time and a preset duration.
In one possible implementation manner, when the photographing prohibition instruction obtaining module obtains the photographing prohibition instruction, the photographing prohibition instruction obtaining module is specifically configured to:
acquiring a photographing prohibition instruction output by preset equipment;
acquiring a locally pre-stored photographing inhibition instruction;
and acquiring photographing prohibition instructions output by the AR glasses of other users.
In a third aspect, the present application provides an electronic device, which adopts the following technical scheme:
an electronic device, the electronic device comprising:
one or more processors;
a 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, the one or more applications configured to: the above control method of AR glasses is performed.
In a fourth aspect, the present application provides a computer readable storage medium, which adopts the following technical scheme:
a computer-readable storage medium, comprising: a computer program capable of being loaded by a processor and executing the control method of AR glasses described above is stored.
In summary, the present application includes at least one of the following beneficial technical effects:
1. after the electronic equipment acquires the photographing prohibition instruction, the electronic equipment can judge whether the camera is in a photographing state, if the camera is in the photographing state, the situation that the AR glasses of the user are photographing or are about to photograph at the moment is indicated, and then the electronic equipment can output a closing instruction to control the camera to close, so that the probability that the user obtains a photographed image through the AR glasses is reduced, the success rate of being photographed by others is reduced, and further user experience is improved;
2. after the camera is closed, the user cannot obtain a shot image, and at the moment, the user may repeatedly input an instruction capable of enabling the camera to enter a shooting state; at the moment, the electronic equipment can remind the user by outputting the first prompt information, so that the occurrence of the situation that the user repeatedly inputs instructions is reduced;
3. before the electronic equipment outputs the warning to control the camera to be closed, if the camera has obtained the shot image and the time of shooting the image is within the preset duration according to the current time, the image belongs to the illegal image which should be deleted, so that the possibility of leakage of images of other users is reduced.
Drawings
Fig. 1 is a flow chart of a control method of AR glasses in an embodiment of the present application;
fig. 2 is a schematic structural diagram of a control device of AR glasses in an embodiment of the present application;
fig. 3 is a schematic structural diagram of an electronic device in an embodiment of the present application.
Detailed Description
The present application is described in further detail below in conjunction with figures 1-3.
Modifications of the embodiments which do not creatively contribute to the invention may be made by those skilled in the art after reading the present specification, but are protected by patent laws only within the scope of protection of the present application.
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
In addition, the term "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. In this context, unless otherwise specified, the term "/" generally indicates that the associated object is an "or" relationship.
In some occasions, the visual scene is not allowed to be photographed, or the target crowd is not allowed to be photographed, and at the moment, if someone takes a photograph in a stealth manner, information of other people is easy to leak. For example, in an AR glasses experience hall, some users do not want to be photographed by others in the process of using AR glasses, at this time, if someone uses AR glasses to photograph them, poor experience can be caused for the users, and meanwhile, the situation that the user uploads or stores the photographed images also exists, so that disclosure of personal privacy is easily caused. The embodiment of the application is exemplified by the scenes in the AR glasses experience library, but the scenes to which the embodiment of the application can be applied are not limited.
The embodiment of the application provides a control method of AR glasses, which is executed by electronic equipment, and referring to FIG. 1, the method comprises a step S101 and a step S102, and is as follows.
Step S101, after a photographing prohibition instruction is acquired, determining whether a camera of the equipment is in a photographing state.
In the embodiment of the present application, the method for acquiring the photographing prohibition instruction includes a step SA1 (not shown in the figure), a step SA2 (not shown in the figure), and a step SA3 (not shown in the figure), wherein:
and step SA1, acquiring a photographing prohibition instruction output by the preset equipment.
Specifically, the preset device should be able to communicate with each AR glasses, so that the photographing prohibition instruction output by the preset device can be acquired by each AR glasses, and the method can output the photographing prohibition instruction to all AR glasses at the same time.
And step SA2, obtaining a locally pre-stored photographing prohibition instruction.
Specifically, a photographing prohibition instruction may be stored locally in advance so that the electronic device can acquire the photographing prohibition instruction, and further, the photographing prohibition instruction stored locally may be acquired by the electronic device at a preset time so as to adapt to different requirements.
And step SA3, obtaining a photographing prohibition instruction output by the AR glasses of other users.
Specifically, each AR glasses should also be capable of communication, and if a user with AR glasses does not want to be photographed by other AR glasses users, the user can output a photographing prohibition instruction through the AR glasses to be received by the AR glasses of the other users.
Step S102, if the camera is in a photographing state, outputting a closing instruction, wherein the closing instruction is used for controlling the camera of the equipment to be closed.
In this embodiment of the present application, when the camera is in a photographing state, the electronic device outputs a closing instruction to control the present device, that is, the camera on the user's current AR glasses, to close, so as to prevent an ongoing photographing behavior or a behavior about to be photographed.
After the electronic equipment obtains the command of prohibiting photographing, the electronic equipment can judge whether the camera is in a photographing state, if the camera is in the photographing state, the fact that the AR glasses of the user are photographing or are about to photograph at the moment is indicated, and then the electronic equipment can output a closing command to control the camera to close, so that the probability that the user obtains a photographed image through the AR glasses is reduced, the success rate of other AR glasses users in photographing is reduced, and user experience is improved.
Further, step S104 (not shown in the figure) is further included after step S102:
step S104, outputting first prompt information, wherein the first prompt information is used for prompting a user to prohibit photographing.
In the embodiment of the application, the AR glasses of the user receive the instructions input by the user and then can trigger a plurality of locally preset photographing instructions, and the camera responds to any photographing instruction to enter a photographing state to prepare for photographing. When the user inputs the instruction but does not obtain the photographed image, the user may repeatedly input the instruction, so as to reduce the occurrence of the situation, the electronic device should output the first prompt information after outputting the closing instruction to close the camera, where the first prompt information may be any one of an audio format, a text format and an image format, and the specific content of the first prompt information is not limited in the embodiment of the present application, so long as the user is convenient to understand that photographing is prohibited.
Further, step S102 may include step S1021 (not shown in the figure) -step S1024 (not shown in the figure), wherein:
step S1021, acquiring the state of a flash lamp of the equipment;
step S1022, determining whether the camera is in a photographing state based on the state of the flash.
Specifically, when the camera wants to obtain a clear image in an environment with poor light, the camera needs the assistance of the flash lamp, so that when the camera enters a photographing state, the flash lamp is in an on state, and whether the camera is in the photographing state can be determined by judging the state of the flash lamp.
In this embodiment of the present application, whether the flash lamp of the present device is in an on or off state may be obtained through the photosensitive component, and whether the flash lamp is in an on or off state may also be determined by obtaining a state of a power supply loop of the flash lamp, and the on may be set up on the AR glasses independently of a camera other than the camera used for photographing, for photographing an image of an area where the flash lamp is located, and determining whether the flash lamp is in an on or off state by means of whether brightness of any area in the photographed image is greater than a preset threshold.
Step S1023, judging whether a preset photographing instruction is executed or not, wherein the photographing instruction is used for controlling the camera to enter a photographing state;
step S1024, if yes, determining that the camera enters a photographing state.
Specifically, under the environment that light satisfies the camera and obtains clear image, when the camera got into the state of shooing, the flash light can not be in the state of opening, through judging whether there is the shooting instruction that can make the camera get into the state of shooing this moment, can judge whether the camera can get into the state of shooing promptly.
Further, the electronic device executes any preset photographing instruction, which may be triggered after receiving an instruction input by a user, may be triggered after receiving an instruction input by another device, or may be triggered automatically after reaching a preset time.
Further, the method further includes step S105 (not shown in the figure) -step S107 (not shown in the figure), as follows.
Step S105, determining whether an illegal image exists, wherein the illegal image is an image shot between the closed cameras.
Specifically, when the electronic device outputs a closing instruction to control the camera to close, it is possible that the camera has captured an image and stored the image, or before the photographing prohibiting instruction output by other users/preset devices is acquired by the electronic device in the AR glasses of the user, the user has captured a photo, so that the personal privacy of other users is more likely to be compromised; it is therefore necessary to first confirm whether there is a offending image in order to reduce the risk of the personal privacy of other users being compromised.
Further, the method comprises the steps of. Determining whether there is a violation image that should perform traversal retrieval of image data for the storage medium of the present device, specifically, step S105 may include step S1051 (not shown in the figure) -step S1053 (not shown in the figure), wherein:
step S1051, determining whether a captured image exists;
step S1052, if yes, acquiring the shooting time of each shot image, and acquiring the current time;
step S1053, determining whether there is a violation image from the captured images based on the capturing time, the current time, and the preset time period of each captured image.
Specifically, the data retrieval is performed on the device, namely, the storage medium in the AR glasses of the user, so as to determine whether the market in the storage medium has a file in an image format, namely, a shot image. And simultaneously acquiring the shooting time of each shot image, namely a specific shooting moment, and simultaneously acquiring the current time. And then calculating the interval duration of each shot image from the current time by the shooting time and the current time of each shot image, and comparing the interval duration corresponding to each shot image with a preset time interval, wherein the shot image with the corresponding interval duration within the preset time duration is the illegal image. Further, the preset duration may be 60S or 30S, and for a specific duration of the preset duration, any specific limitation is not made in the embodiment of the present application, so long as it is convenient to determine a violation image, and the probability of disclosure of personal privacy of other users is reduced.
And step S106, if the fact that the illegal images exist is determined, a deleting instruction is output, and the deleting instruction is used for deleting the illegal images.
In the embodiment of the application, after determining that the illegal images exist, the electronic device can output the deleting instruction to delete all the illegal images, so that the probability of privacy disclosure of other users is further reduced.
And step S107, outputting second prompt information, wherein the second prompt information is used for prompting the user that the illegal images are deleted.
In this embodiment of the present application, after deleting the photo stored in the user storage medium, in order to facilitate user's knowledge, the electronic device should be capable of outputting the second prompt information to remind the user, where the second prompt information may be any one of an audio format, a text format, and an image format, and specific contents of the second prompt information are not specifically limited in this embodiment of the present application, so long as the user is facilitated to understand that the image whose current time is less than the preset time length from the shooting time is deleted.
The above embodiment describes a method for controlling AR glasses from the viewpoint of a method flow, and the following embodiment describes a device for controlling AR glasses from the viewpoint of a virtual module or a virtual unit, specifically the following embodiment.
The embodiment of the present application provides a control device for AR glasses, as shown in fig. 2, the control device 200 may specifically include:
a photographing prohibition instruction acquisition module 201, configured to acquire a photographing prohibition instruction;
a first determining module 202, configured to determine whether a camera of the present device is in a photographing state;
the first output module 203 is configured to output a closing instruction when the camera is in a photographing state, where the closing instruction is used to control the camera of the present apparatus to close.
In one possible implementation manner, when the first determining module 202 determines whether the camera of the present device is in a photographing state, the method is specifically used for:
acquiring the state of a flash lamp of the equipment;
and determining whether the camera is in a photographing state based on the state of the flash lamp.
In one possible implementation, when the first determining module 202 determines whether the camera of the present device is in a photographing state, the method is further used to:
judging whether a preset photographing instruction is being executed or not, wherein the photographing instruction is used for controlling a camera to enter a photographing state;
if yes, determining that the camera enters a photographing state.
In one possible implementation, the apparatus 200 further includes:
the second output module is configured to output a first prompt message after the first output module 203 outputs the close instruction, where the first prompt message is configured to prompt a user to prohibit photographing.
In one possible implementation, the apparatus 200 further includes:
the second determining module is used for determining whether an illegal image exists or not, wherein the illegal image is an image shot between the closed cameras;
the deleting module is used for outputting a deleting instruction when determining that the illegal image exists, and the deleting instruction is used for deleting the illegal image;
and the third output module is used for outputting second prompt information which is used for prompting the user that the illegal image is deleted.
In one possible implementation, when the second determining module determines whether there is an offending image, it is specifically configured to:
determining whether a photographed image exists;
if yes, acquiring the shooting time of each shot image, and acquiring the current time;
and determining whether a violation image exists in the shot images based on the shooting time, the current time and the preset duration of each shot image.
In one possible implementation manner, when the photographing prohibition instruction obtaining module 201 obtains the photographing prohibition instruction, the photographing prohibition instruction obtaining module is specifically configured to:
acquiring a photographing prohibition instruction output by preset equipment;
acquiring a locally pre-stored photographing inhibition instruction;
and acquiring photographing prohibition instructions output by the AR glasses of other users.
In an embodiment of the present application, as shown in fig. 3, an electronic device 300 shown in fig. 3 includes: a processor 301 and a memory 303. Wherein the processor 301 is coupled to the memory 303, such as via a bus 302. Optionally, the electronic device 300 may also include a transceiver 304. It should be noted that, in practical applications, the transceiver 304 is not limited to one, and the structure of the electronic device 300 is not limited to the embodiment of the present application.
The processor 301 may be a CPU (central processing unit), general purpose processor, DSP (digital signal processor), ASIC (application specific integrated circuit), FPGA (field programmable gate array) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. Which may implement or perform the various exemplary logic blocks, modules, and circuits described in connection with this disclosure. Processor 301 may also be a combination that implements computing functionality, e.g., comprising one or more microprocessor combinations, a combination of a DSP and a microprocessor, etc.
Bus 302 may include a path to transfer information between the components. The bus 302 may be a PCI (peripheral component interconnect) bus or an EISA (extended industrial standard architecture) bus, or the like. Bus 302 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in fig. 3, but not only one bus or one type of bus.
The memory 303 may be, but is not limited to, a ROM (read only memory) or other type of static storage device that can store static information and instructions, a RAM (random access memory) or other type of dynamic storage device that can store information and instructions, an EEPROM (electrically erasable programmable read only memory), a CD-ROM (compact disc read only memory) or other optical disc storage, optical disc storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
The memory 303 is used for storing application program codes for executing the present application and is controlled to be executed by the processor 301. The processor 301 is configured to execute the application code stored in the memory 303 to implement what is shown in the foregoing method embodiments.
Among them, electronic devices include, but are not limited to: mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like, and stationary terminals such as digital TVs, desktop computers, and the like. But may also be a server or the like. The electronic device shown in fig. 3 is merely an example and should not be construed to limit the functionality and scope of use of the disclosed embodiments.
The present application provides a computer readable storage medium having a computer program stored thereon, which when run on a computer, causes the computer to perform the corresponding method embodiments described above.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited in order and may be performed in other orders, unless explicitly stated herein. Moreover, at least some of the steps in the flowcharts of the figures may include a plurality of sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, the order of their execution not necessarily being sequential, but may be performed in turn or alternately with other steps or at least a portion of the other steps or stages.
The foregoing is only a partial embodiment of the present application and it should be noted that, for a person skilled in the art, several improvements and modifications can be made without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.
Claims (5)
1. A method for controlling AR glasses, comprising:
after acquiring a photographing prohibition instruction, determining whether a camera of the equipment is in a photographing state; the AR glasses of other users are in communication link with the device, when the other users do not want to be photographed, the AR glasses of other users can send photographing prohibition instructions to the device,
if the camera is in a photographing state, outputting a closing instruction, wherein the closing instruction is used for controlling the camera of the equipment to be closed;
further comprises:
determining whether an illegal image exists, wherein the illegal image is an image shot between the closed cameras;
if yes, outputting a deleting instruction, wherein the deleting instruction is used for deleting the illegal image;
outputting second prompt information, wherein the second prompt information is used for prompting a user that the illegal image is deleted;
the determining whether there is a violation image includes:
determining whether a photographed image exists;
if yes, acquiring the shooting time of each shooting image, and acquiring the current time;
determining whether a violation image exists in the shot images or not based on the shooting time of each shot image, the current time and a preset duration;
the determining whether the camera of the device is in a photographing state includes:
determining a current environment;
acquiring the state of a flash lamp of the equipment in an environment with poor light; the camera which is independent of the camera used for photographing is arranged on the equipment and is used for photographing images of areas where the flash lamps are located, and whether the flash lamps are in an on-state or off-state is determined in a mode that whether the brightness of any area in the photographed images is larger than a preset threshold value or not;
determining whether the camera is in a photographing state based on the state of the flash lamp;
judging whether a preset photographing instruction is executed or not under the condition that light meets the condition that a camera obtains a clear image, wherein the photographing instruction is used for controlling the camera to enter a photographing state;
if yes, determining that the camera enters a photographing state.
2. The method for controlling AR glasses according to claim 1, further comprising, after outputting the closing command:
and outputting first prompt information, wherein the first prompt information is used for prompting a user to prohibit photographing.
3. An AR eyeglass apparatus, comprising:
the photographing prohibition instruction acquisition module is used for acquiring photographing prohibition instructions;
the first determining module is used for determining whether the camera of the equipment is in a photographing state or not; the AR glasses of other users are in communication link with the device, when the other users do not want to be photographed, the AR glasses of other users can send photographing prohibition instructions to the device,
the first output module is used for outputting a closing instruction when the camera is in a photographing state, and the closing instruction is used for controlling the camera of the equipment to be closed;
further comprises:
the second determining module is used for determining whether an illegal image exists or not, wherein the illegal image is an image shot between the closed cameras;
the deleting module is used for outputting a deleting instruction if the illegal image exists, and the deleting instruction is used for deleting the illegal image;
the third output module is used for outputting second prompt information which is used for prompting a user that the illegal image is deleted;
when the second determination module determines whether there is a violation image, it is configured to:
determining whether a photographed image exists;
if yes, acquiring the shooting time of each shooting image, and acquiring the current time;
determining whether a violation image exists in the shot images or not based on the shooting time of each shot image, the current time and a preset duration;
when the first determining module determines whether the camera of the device is in a photographing state, the first determining module is used for:
determining a current environment;
acquiring the state of a flash lamp of the equipment in an environment with poor light; the camera which is independent of the camera used for photographing is arranged on the equipment and is used for photographing images of areas where the flash lamps are located, and whether the flash lamps are in an on-state or off-state is determined in a mode that whether the brightness of any area in the photographed images is larger than a preset threshold value or not;
determining whether the camera is in a photographing state based on the state of the flash lamp;
judging whether a preset photographing instruction is executed or not under the condition that light meets the condition that a camera obtains a clear image, wherein the photographing instruction is used for controlling the camera to enter a photographing state;
if yes, determining that the camera enters a photographing state.
4. An electronic device, comprising:
one or more processors;
a 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, the one or more applications configured to: a method of performing the AR glasses of any one of claims 1-2.
5. A computer-readable storage medium, comprising: a computer program stored which can be loaded by a processor and which performs the method according to any of claims 1-2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111365220.0A CN114125283B (en) | 2021-11-17 | 2021-11-17 | AR (augmented reality) glasses control method and device, electronic equipment and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111365220.0A CN114125283B (en) | 2021-11-17 | 2021-11-17 | AR (augmented reality) glasses control method and device, electronic equipment and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114125283A CN114125283A (en) | 2022-03-01 |
CN114125283B true CN114125283B (en) | 2024-04-09 |
Family
ID=80397263
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111365220.0A Active CN114125283B (en) | 2021-11-17 | 2021-11-17 | AR (augmented reality) glasses control method and device, electronic equipment and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114125283B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102938851A (en) * | 2012-11-28 | 2013-02-20 | 康佳集团股份有限公司 | Set-Top-Box-based automatic standby processing method and Set Top Box |
CN103415839A (en) * | 2012-09-19 | 2013-11-27 | 华为终端有限公司 | Photo processing method and terminal apparatus |
CN106851091A (en) * | 2016-12-23 | 2017-06-13 | 深圳众思科技有限公司 | Control method of electronic device, device and electronic equipment |
CN110839128A (en) * | 2018-08-16 | 2020-02-25 | 杭州海康威视数字技术股份有限公司 | Photographing behavior detection method and device and storage medium |
CN111405149A (en) * | 2019-01-03 | 2020-07-10 | 北京字节跳动网络技术有限公司 | Camera control method and device, camera, electronic equipment and storage medium |
CN211043901U (en) * | 2019-10-09 | 2020-07-17 | 深圳市捷高软件信息有限公司 | Automatic visible light automatic adjustment light filling device in discernment image sensing |
CN111796873A (en) * | 2020-06-09 | 2020-10-20 | 南京景玉信息科技有限公司 | Intelligent privacy protection method and system based on information technology and data processing |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5729407B2 (en) * | 2013-02-28 | 2015-06-03 | カシオ計算機株式会社 | Imaging apparatus, display control method, and program |
US10523639B2 (en) * | 2015-10-30 | 2019-12-31 | International Business Machines Corporation | Privacy preserving wearable computing device |
-
2021
- 2021-11-17 CN CN202111365220.0A patent/CN114125283B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103415839A (en) * | 2012-09-19 | 2013-11-27 | 华为终端有限公司 | Photo processing method and terminal apparatus |
CN102938851A (en) * | 2012-11-28 | 2013-02-20 | 康佳集团股份有限公司 | Set-Top-Box-based automatic standby processing method and Set Top Box |
CN106851091A (en) * | 2016-12-23 | 2017-06-13 | 深圳众思科技有限公司 | Control method of electronic device, device and electronic equipment |
CN110839128A (en) * | 2018-08-16 | 2020-02-25 | 杭州海康威视数字技术股份有限公司 | Photographing behavior detection method and device and storage medium |
CN111405149A (en) * | 2019-01-03 | 2020-07-10 | 北京字节跳动网络技术有限公司 | Camera control method and device, camera, electronic equipment and storage medium |
CN211043901U (en) * | 2019-10-09 | 2020-07-17 | 深圳市捷高软件信息有限公司 | Automatic visible light automatic adjustment light filling device in discernment image sensing |
CN111796873A (en) * | 2020-06-09 | 2020-10-20 | 南京景玉信息科技有限公司 | Intelligent privacy protection method and system based on information technology and data processing |
Non-Patent Citations (1)
Title |
---|
基于人脸识别的无人自拍系统;苏瑞;刘叶彧;王池社;;信息与电脑(理论版);20200125(第02期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN114125283A (en) | 2022-03-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113179368B (en) | Vehicle loss assessment data processing method and device, processing equipment and client | |
Raval et al. | Markit: Privacy markers for protecting visual secrets | |
US20210034885A1 (en) | Automated Capture Of Image Data For Points Of Interest | |
US9350914B1 (en) | Methods of enforcing privacy requests in imaging systems | |
KR101773018B1 (en) | Augmented reality based on imaged object characteristics | |
WO2016192325A1 (en) | Method and device for processing logo on video file | |
JP2014519281A (en) | Automatic optimization of image capture of one or more subjects | |
CN104378542A (en) | Media content processing method and device and terminal device | |
CN105760075B (en) | Creation method, device and the intelligent terminal of operation note | |
CN113923461A (en) | Screen recording method and screen recording system | |
CN105554366A (en) | Multimedia photographing processing method and device and intelligent terminal | |
CN105046167A (en) | Generating method and apparatus for encrypted photo and electronic equipment | |
US20120154439A1 (en) | Apparatus and method for operating multiple object of augmented reality system | |
WO2018042074A1 (en) | A method, apparatus and computer program product for indicating a seam of an image in a corresponding area of a scene | |
CN114125283B (en) | AR (augmented reality) glasses control method and device, electronic equipment and readable storage medium | |
CN106851052B (en) | Control method and electronic equipment | |
CN109636922B (en) | Method and device for presenting augmented reality content | |
CN108776959B (en) | Image processing method and device and terminal equipment | |
CN112074838A (en) | Image capture device and method for secure image storage | |
CN103826061B (en) | Information processing method and electronic device | |
CN112219218A (en) | Method and electronic device for recommending image capture mode | |
KR20240072240A (en) | Interaction anchors in augmented reality scene graphs | |
US20220164581A1 (en) | Region management and control method, device, apparatus and storage medium | |
CN111796754B (en) | Method and device for providing electronic books | |
CN114547631B (en) | Terminal control method and device and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |