[go: up one dir, main page]

CN114554179B - Automatic shooting method, system, terminal and storage medium based on target model - Google Patents

Automatic shooting method, system, terminal and storage medium based on target model Download PDF

Info

Publication number
CN114554179B
CN114554179B CN202210176892.5A CN202210176892A CN114554179B CN 114554179 B CN114554179 B CN 114554179B CN 202210176892 A CN202210176892 A CN 202210176892A CN 114554179 B CN114554179 B CN 114554179B
Authority
CN
China
Prior art keywords
state
glasses
shooting
working
mode
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
Application number
CN202210176892.5A
Other languages
Chinese (zh)
Other versions
CN114554179A (en
Inventor
李政
夏勇峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Beehive Century Technology Co ltd
Original Assignee
Beijing Beehive Century Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Beehive Century Technology Co ltd filed Critical Beijing Beehive Century Technology Co ltd
Priority to CN202210176892.5A priority Critical patent/CN114554179B/en
Publication of CN114554179A publication Critical patent/CN114554179A/en
Application granted granted Critical
Publication of CN114554179B publication Critical patent/CN114554179B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/30Image reproducers
    • H04N13/332Displays for viewing with the aid of special glasses or head-mounted displays [HMD]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/51Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/583Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/10Processing, recording or transmission of stereoscopic or multi-view image signals
    • H04N13/194Transmission of image signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/20Image signal generators
    • H04N13/204Image signal generators using stereoscopic image cameras
    • H04N13/239Image signal generators using stereoscopic image cameras using two 2D image sensors having a relative position equal to or related to the interocular distance
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • H04N19/423Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation characterised by memory arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Data Mining & Analysis (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Library & Information Science (AREA)
  • Databases & Information Systems (AREA)
  • Artificial Intelligence (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Software Systems (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Studio Devices (AREA)

Abstract

The application relates to an automatic shooting method, a system, a terminal and a storage medium based on a target model, which belong to the field of image recognition, wherein the automatic shooting method based on the target model comprises the steps of obtaining state information and a state work comparison table of AR (augmented reality) glasses, wherein the state information comprises a working state and a non-working state; selecting a working mode according to the state information and a state working comparison table, wherein the working mode comprises a shooting mode and an uploading mode; the state work comparison table comprises corresponding relation information between state information and a working mode, wherein the working state corresponds to a shooting mode and the non-working state corresponds to an uploading mode; when the working mode is a shooting mode, shooting pictures by using the AR glasses and storing the pictures in a data storage module in the AR glasses; and when the working mode is the uploading mode, transmitting the pictures stored in the data storage module to the terminal connected with the AR glasses. The application has the effect of improving the use convenience of the AR glasses.

Description

Automatic shooting method, system, terminal and storage medium based on target model
Technical Field
The present application relates to the field of image recognition, and in particular, to an automatic shooting method, system, terminal and storage medium based on a target model.
Background
AR technology generally refers to augmented reality technology; the augmented reality technology is a technology for skillfully fusing virtual information with a real world, and widely uses various technical means such as multimedia, real-time tracking and registration, intelligent interaction, sensing and the like, and applies virtual information such as characters, images, three-dimensional models and the like generated by a computer to the real world after simulation; there are also a number of devices derived from AR technology, with AR spectacles being the most widely used; the AR glasses can realize a plurality of functions, and can be regarded as a micro mobile phone; in the process of using the AR glasses, the inventor finds that the photographing function of the AR glasses will photograph in real time after being started and upload the photographing function to the terminal connected with the AR glasses in real time, and this way causes more traffic consumed by the AR glasses and is inconvenient to use.
Disclosure of Invention
The application provides an automatic shooting method, an automatic shooting system, a terminal and a storage medium based on a target model, which have the characteristic of improving the use convenience of AR glasses.
The application aims to provide an automatic shooting method based on a target model.
The first object of the present application is achieved by the following technical solutions:
an automatic shooting method based on a target model is applied to AR glasses and comprises the following steps:
acquiring state information and a state work comparison table of the AR glasses, wherein the state information comprises a working state and a non-working state;
selecting a working mode according to the state information and a state working comparison table, wherein the working mode comprises a shooting mode and an uploading mode;
the state work comparison table comprises corresponding relation information between state information and a working mode, wherein the working state corresponds to a shooting mode and the non-working state corresponds to an uploading mode;
when the working mode is a shooting mode, shooting pictures by using the AR glasses and storing the pictures in a data storage module in the AR glasses;
and when the working mode is the uploading mode, transmitting the pictures stored in the data storage module to the terminal connected with the AR glasses.
Through adopting above-mentioned technical scheme, judge the state of AR glasses, then compare the state information of AR glasses with the state work comparison table, obtain the operating mode of AR glasses, then carry out different work according to the operating mode of AR glasses for AR glasses shoots respectively under different modes and uploads, through this kind of mode, with real-time shooting function and the real-time uploading function of AR glasses tear apart, only can shoot and upload under the specific mode, the AR glasses has reduced the consumption of AR glasses to the flow, has improved the use convenience of AR glasses.
The present application may be further configured in a preferred embodiment, wherein the method includes the steps of:
acquiring historical state information of the AR glasses, wherein the historical state information comprises wearing state information, charging state information and shooting state information;
the wearing state information refers to that the AR glasses are in a wearing state, the charging state information refers to that the AR glasses are in a charging state, and the shooting state information refers to that the AR glasses are in a shooting state;
the method comprises the steps of classifying historical state information of AR glasses to obtain working states and non-working states, wherein the working states comprise wearing states and shooting states, and the non-working states comprise charging states;
when the AR glasses are in a working state, the working mode of the AR glasses is a shooting mode;
when the AR glasses are in a non-working state, the working mode of the AR glasses is an uploading mode;
and generating a state work comparison table according to the historical state information of the AR glasses and the corresponding working modes, and storing the state work comparison table in a data storage module.
By adopting the technical scheme, the historical state information of the AR glasses is classified, and the historical state information is classified into a working state and a non-working state; then, the working state and the non-working state are specifically classified, the wearing state and the shooting state are divided into the working state, the charging state is divided into the non-working state, then the state information of the AR glasses and the working mode are mutually bound to generate a state working comparison table, and the table is stored in the data storage module so that the AR glasses can be directly called from the data storage module when the table is needed to be used, and the using convenience of the AR glasses is improved.
The present application may be further configured in a preferred example to: before acquiring state information and a state work comparison table of the AR glasses, acquiring on-off information of the AR glasses, wherein the on-off information refers to the on-off state of the AR glasses; the precondition of judging whether the AR glasses are in the working state or not is that the AR glasses are in the starting state.
Through adopting above-mentioned technical scheme, before judging the state of AR glasses, need judge the on-off state of AR glasses, need guarantee that AR glasses are in the start-up state, just can judge the concrete state of AR glasses.
The present application may be further configured in a preferred example to: the step of obtaining the state information of the AR glasses comprises the following steps:
the AR glasses comprise a detection module, distance parameters output by the detection module are obtained, the distance parameters are compared with a preset distance threshold, and if the distance parameters are smaller than the distance threshold, the state information of the AR glasses is stated to be a wearing state;
the AR glasses comprise a shooting module, when shooting information output by the shooting module is received, state information of the AR glasses is stated as shooting state, and the shooting information indicates that the AR glasses are shooting;
the AR glasses comprise a charging module, and when charging information output by the charging module is received, state information of the AR glasses is described as a charging state, and the charging information indicates that the AR glasses are being charged.
Through adopting above-mentioned technical scheme, according to the cooperation of detection module in the AR glasses, shooting module and charging module use, when receiving the information of different module outputs, can judge the current state of AR glasses according to different information, and then can select suitable operating mode.
In a preferred example, when the working mode is a shooting mode, the method may further be configured to determine the picture after the picture is acquired, and the specific steps include:
retrieving a target recognition model, recognizing a picture according to the target recognition model, and if the recognition is successful, storing the picture in a data storage module;
obtaining a next frame of picture, and carrying out similarity matching on the next frame of picture and the picture stored in the data storage module to obtain a similarity value of the two frames of pictures;
comparing the similarity value with a preset similarity threshold value, and if the similarity value is smaller than the preset similarity threshold value, storing the next frame of picture in a data storage module; if the similarity value is larger than a preset similarity threshold value, the next frame of picture is not saved.
By adopting the technical scheme, firstly, the target recognition model is utilized to carry out preliminary judgment on the picture, and if the picture accords with the standard, the picture is stored in the data storage module; and then matching the similarity between the next frame of picture and the picture stored in the data storage module, judging whether the two pictures are similar, and if the similarity exceeds a preset similarity threshold value, not storing the next frame of picture.
The present application may be further configured in a preferred example to: when the working mode is the uploading mode, transmitting the pictures stored in the data storage module to the terminal connected with the AR glasses, receiving the confirmation information sent by the terminal, and clearing the pictures stored in the data storage module after receiving the confirmation information.
By adopting the technical scheme, the data in the data storage module can be cleaned in time, the occurrence of the condition of data redundancy is reduced, and the data processing efficiency of the AR glasses is further improved.
The present application may be further configured in a preferred example to: the AR glasses are connected with the terminal through Bluetooth or NFC.
Through adopting above-mentioned technical scheme, the connection between AR glasses and the terminal is comparatively stable.
The application aims to provide an automatic shooting system based on a target model.
The second object of the present application is achieved by the following technical solutions:
an automatic photographing system based on a target model, comprising:
the acquisition module is used for acquiring the state information and the state work comparison table of the AR glasses;
the selection module is used for selecting a working mode according to the state information and the state working comparison table;
the shooting module is used for shooting pictures by using the AR glasses and storing the pictures in the data storage module in the AR glasses when the working mode is the shooting mode;
and the uploading module is used for transmitting the pictures stored in the data storage module to the terminal connected with the AR glasses when the working mode is the uploading mode.
The application aims at providing an intelligent terminal.
The third object of the present application is achieved by the following technical solutions:
an intelligent terminal comprises a memory and a processor, wherein the memory stores computer program instructions of the automatic shooting method based on a target model, and the computer program instructions can be loaded and executed by the processor.
A fourth object of the present application is to provide a computer medium capable of storing a corresponding program.
The fourth object of the present application is achieved by the following technical solutions:
a computer-readable storage medium storing a computer program capable of being loaded by a processor and executing any one of the above-described object model-based automatic photographing methods.
In summary, the present application includes at least one of the following beneficial technical effects:
the state of the AR glasses is used for judging what working mode is suitable for the AR glasses at the current moment, then the AR glasses in different working modes are correspondingly operated, real-time shooting and real-time uploading of the AR glasses are separated, pictures cannot be uploaded immediately after shooting of the AR glasses is completed, occupation of the AR glasses to flow is reduced, and using convenience of the AR glasses is improved.
Drawings
Fig. 1 is a flow chart of an automatic shooting method based on a target model in an embodiment of the application.
Fig. 2 is a schematic structural diagram of an automatic shooting system based on a target model in an embodiment of the present application.
Reference numerals illustrate: 1. an acquisition module; 2. a selection module; 3. a shooting module; 4. and uploading the module.
Detailed Description
The present embodiment is only for explanation of the present application and is not to be construed as limiting the present application, and modifications to the present embodiment, which may not creatively contribute to the present application as required, are within the scope of the claims of the present application as far as they are protected by patent law.
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying 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 of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Embodiments of the application are described in further detail below with reference to the drawings.
The application provides an automatic shooting method based on a target model, and the main flow of the method is described as follows.
As shown in fig. 1:
step S101: and acquiring the state information and the state work comparison table of the AR glasses.
Step S102: and selecting an operating mode according to the state information and the state operation comparison table.
Step S103: when the working mode is a shooting mode, the AR glasses are used for shooting pictures, and the pictures are stored in a data storage module in the AR glasses.
Step S104: and when the working mode is the uploading mode, transmitting the pictures stored in the data storage module to the terminal connected with the AR glasses.
The AR glasses have shooting functions and uploading functions, the AR glasses automatically shoot in real time and upload in real time in the using process of the AR glasses, and after shooting in real time, the AR glasses upload shot pictures in real time, and the situation can cause the AR glasses to occupy more flow, so that the AR glasses are inconvenient to use; in order to solve the problems, the method provided by the embodiment of the application selects the working mode of the AR glasses through judging the states of the AR glasses, and then performs different works according to different working modes, so that the purpose of separating the real-time shooting function from the real-time uploading function in the AR glasses is achieved, the flow consumption of the AR glasses is reduced, and the use convenience of the AR glasses is improved.
Specifically, in step S101 and step S102, state information and a state work comparison table of AR glasses are first acquired; the state information comprises a working state and a non-working state, wherein the working state refers to that the AR glasses are shooting, the non-working state refers to that the AR glasses are not shooting, then the AR glasses can upload, the states of the AR glasses are classified in the mode, and different working modes are selected according to different states, wherein the working modes comprise a shooting mode and an uploading mode; it can be understood that when the AR glasses are in the working state, the working mode of the AR glasses is illustrated as a shooting mode, and when the AR glasses are in the non-working state, the working mode of the AR glasses is illustrated as an uploading mode.
In the embodiment of the application, before the state work comparison table is obtained, the state work comparison table is required to be built, and then the state work comparison table is built according to the thought, specifically, the history state information of the AR glasses is firstly obtained, wherein the history state information comprises wearing state information, charging state information and shooting state information; the wearing state information refers to that the AR glasses are in a wearing state, the charging state information refers to that the AR glasses are in a charging state, and the shooting state information refers to that the AR glasses are in a shooting state; then, classifying the historical state information of the AR glasses to obtain an operating state and a non-operating state, wherein the operating state comprises a wearing state and a shooting state, and the non-operating state comprises a charging state; when the AR glasses are in the working state, the working mode of the AR glasses is a shooting mode; when the AR glasses are in a non-working state, the working mode of the AR glasses is an uploading mode; establishing a state work comparison table according to the rules and the corresponding relations; namely, a state work comparison table is generated according to the historical state information of the AR glasses and the corresponding working modes, and then the state work comparison table is stored in the data storage module.
After the state work comparison table is stored in the data storage module of the AR glasses, the working mode of the AR glasses can be selected according to the state work table and the state information of the AR glasses; in the embodiment of the application, the AR glasses comprise a control module, a detection module, a shooting module, a charging module and a data storage module; it can be understood that the control module, the detection module, the shooting module, the charging module and the data storage module are all functional modules in the AR glasses, can be in a physical structure or can be in a virtual structure, are not limited herein, and are only used for representing specific functions in the AR glasses; the control module is equivalent to a master control, is connected with the detection module, the shooting module, the charging module and the data storage module, receives information sent by the modules, and adopts relevant processing measures on the information; the data storage module is used for storing information such as a state work comparison table, a temporary picture and the like; the data storage module is equivalent to a local database of the AR glasses, and can store pictures shot by the shooting module in the data storage module.
In the embodiment of the application, the acquisition of the state information of the AR glasses can be realized through the detection module, the shooting module and the charging module; specifically, the detection module is a distance sensor and is used for detecting the distance between the AR glasses and the human body, sending the detected distance parameter to the control module, receiving the distance parameter by the control module, comparing the distance parameter with a preset distance threshold, and if the distance parameter is smaller than the distance threshold, indicating that the state information of the AR glasses is in a wearing state; the distance threshold here represents the maximum distance that the user is in wearing state using AR glasses; when the distance parameter detected by the distance sensor is smaller than the distance threshold value, the user is indicated to wear the AR glasses, and if the distance parameter is larger than the distance threshold value, the user is indicated to not wear the AR glasses; it can be understood that the working mode adopted by the AR glasses is the shooting mode only when the AR glasses are in the wearing state and the shooting state; judging whether the AR glasses are in a shooting state or not by adopting a shooting module in the embodiment of the application; specifically, the shooting module in the embodiment of the application is a built-in shooting device of the AR glasses, shooting or video recording can be performed through the shooting module, when the shooting module works, the shooting module sends shooting information to the control module, and after the control module receives the shooting information, the state information of the AR glasses is indicated to be the shooting state at the moment.
It can be understood that, for steps S101 and S102 in the embodiment of the present application, the operation mode of the AR glasses is selected according to the state information of the AR glasses, so as to distinguish the operation performed by the AR glasses in different states, so that the AR glasses perform photographing and uploading in different states, and in this way, the real-time photographing function and the real-time uploading function of the AR glasses are distinguished.
In the embodiment of the application, before the AR glasses are used, the AR glasses are required to be in a starting state, namely, before the state information and the state work comparison table of the AR glasses are acquired, the starting and stopping information of the AR glasses is acquired, wherein the starting and stopping information refers to the starting or stopping state of the AR glasses.
After the working mode of the AR glasses is determined, different works are carried out according to the working mode; when the working mode is a shooting mode, the AR glasses acquire pictures through the shooting module, and then the shot pictures are stored in the data storage module.
In the embodiment of the application, after the AR glasses acquire the picture through the shooting module, the picture needs to be judged; specifically, firstly, a target recognition model is called, then, a picture is recognized according to the target recognition model, and if the recognition is successful, the picture is stored in a data storage module; obtaining a next frame of picture, and carrying out similarity matching on the next frame of picture and the picture stored in the data storage module to obtain a similarity value of the two frames of pictures; comparing the similarity value with a preset similarity threshold value, and if the similarity value is smaller than the preset similarity threshold value, storing the next frame of picture in a data storage module; if the similarity value is larger than a preset similarity threshold value, the next frame of picture is not saved.
In the embodiment of the application, the AR glasses can shoot and record the video through the shooting module, and when a user records the video by using the AR glasses, the video can be judged through the target recognition model; and for the video, judging the video frames by utilizing the target recognition model and the image recognition algorithm, if the judgment is successful, carrying out video coding on the continuous frames received subsequently until a certain frame is judged to be failed, and stopping video recording.
When the working mode is the uploading mode, the AR glasses transmit the pictures stored in the data storage module to a terminal connected with the AR glasses; in the embodiment of the application, the AR glasses are connected with the terminal through Bluetooth or NFC; after the AR glasses transmit the pictures to the terminal, the terminal sends confirmation information, and after the AR glasses receive the confirmation information, the pictures stored in the data storage module are cleared; by the method, the storage amount of information in the data storage module is reduced, the data processing efficiency of the AR glasses is improved, less data redundancy is caused, and the possibility of errors in data processing caused by more local data is reduced.
The application also provides an automatic shooting system based on the target model, as shown in fig. 2, the automatic shooting system based on the target model comprises an acquisition module 1, a control module and a control module, wherein the acquisition module is used for acquiring the state information and the state work comparison table of the AR glasses; the selection module 2 is used for selecting a working mode according to the state information and the state working comparison table; the shooting module 3 is used for shooting pictures by using the AR glasses and storing the pictures in the data storage module in the AR glasses when the working mode is the shooting mode; and the uploading module 4 is used for transmitting the pictures stored in the data storage module to the terminal connected with the AR glasses when the working mode is the uploading mode.
In order to better execute the program of the method, the application also provides an intelligent terminal, which comprises a memory and a processor.
Wherein the memory may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory may include a storage program area and a storage data area, wherein the storage program area may store instructions for implementing an operating system, instructions for at least one function, instructions for implementing the above-described object model-based automatic photographing method, and the like; the storage data area may store data and the like involved in the above-described object model-based automatic photographing method.
The processor may include one or more processing cores. The processor performs the various functions of the application and processes the data by executing or executing instructions, programs, code sets, or instruction sets stored in memory, calling data stored in memory. The processor may be at least one of an application specific integrated circuit, a digital signal processor, a digital signal processing device, a programmable logic device, a field programmable gate array, a central processing unit, a controller, a microcontroller, and a microprocessor. It will be appreciated that the electronics for implementing the above-described processor functions may be other for different devices, and embodiments of the present application are not particularly limited.
The present application also provides a computer-readable storage medium, for example, comprising: a U-disk, a removable hard disk, a Read Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes. The computer-readable storage medium stores a computer program that can be loaded by a processor and that performs the above-described object model-based automatic photographing method.
The above description is only illustrative of the preferred embodiments of the present application and the principles of the technology being employed. It will be appreciated by persons skilled in the art that the scope of the disclosure referred to in the present application is not limited to the specific combinations of technical features described above, but also covers other technical features which may be formed by any combination of the technical features described above or their equivalents without departing from the spirit of the disclosure. Such as the above-mentioned features and the technical features disclosed in the present application (but not limited to) having similar functions are replaced with each other.

Claims (8)

1. An automatic shooting method based on a target model is applied to AR glasses and is characterized by comprising the following steps:
acquiring state information and a state work comparison table of the AR glasses, wherein the state information comprises a working state and a non-working state; the working state comprises a wearing state and a shooting state; the inactive state includes a charged state;
selecting a working mode according to the state information and a state working comparison table, wherein the working mode comprises a shooting mode and an uploading mode;
the state work comparison table comprises corresponding relation information between state information and a working mode, wherein the working state corresponds to a shooting mode and the non-working state corresponds to an uploading mode;
when the working mode is a shooting mode, shooting pictures by using the AR glasses and storing the pictures in a data storage module in the AR glasses;
when the picture is acquired, the picture needs to be judged, and the specific steps include:
retrieving a target recognition model, recognizing a picture according to the target recognition model, and if the recognition is successful, storing the picture in a data storage module;
obtaining a next frame of picture, and carrying out similarity matching on the next frame of picture and the picture stored in the data storage module to obtain a similarity value of the two frames of pictures;
comparing the similarity value with a preset similarity threshold value, and if the similarity value is smaller than the preset similarity threshold value, storing the next frame of picture in a data storage module; if the similarity value is larger than a preset similarity threshold value, the next frame of picture is not stored;
when the working mode is the uploading mode, transmitting the pictures stored in the data storage module to a terminal connected with the AR glasses;
and transmitting the picture stored in the data storage module to the terminal connected with the AR glasses, receiving the confirmation information sent by the terminal, and clearing the picture stored in the data storage module after receiving the confirmation information.
2. The automatic photographing method based on the object model as claimed in claim 1, wherein the construction of the state work look-up table is required before the state work look-up table is obtained, comprising the steps of:
acquiring historical state information of the AR glasses, wherein the historical state information comprises wearing state information, charging state information and shooting state information;
the wearing state information refers to that the AR glasses are in a wearing state, the charging state information refers to that the AR glasses are in a charging state, and the shooting state information refers to that the AR glasses are in a shooting state;
classifying the historical state information of the AR glasses to obtain a working state and a non-working state;
when the AR glasses are in a working state, the working mode of the AR glasses is a shooting mode;
when the AR glasses are in a non-working state, the working mode of the AR glasses is an uploading mode;
and generating a state work comparison table according to the historical state information of the AR glasses and the corresponding working modes, and storing the state work comparison table in a data storage module.
3. The automatic shooting method based on the target model according to claim 2, wherein before acquiring the state information and the state work comparison table of the AR glasses, the on-off information of the AR glasses is acquired, and the on-off information refers to whether the AR glasses are in an on-off state; the precondition of judging whether the AR glasses are in the working state or not is that the AR glasses are in the starting state.
4. The automatic photographing method based on the object model as claimed in claim 3, wherein the step of acquiring the state information of the AR glasses comprises:
the AR glasses comprise a detection module, distance parameters output by the detection module are obtained, the distance parameters are compared with a preset distance threshold, and if the distance parameters are smaller than the distance threshold, the state information of the AR glasses is stated to be a wearing state;
the AR glasses comprise a shooting module, when shooting information output by the shooting module is received, state information of the AR glasses is stated as shooting state, and the shooting information indicates that the AR glasses are shooting;
the AR glasses comprise a charging module, and when charging information output by the charging module is received, state information of the AR glasses is described as a charging state, and the charging information indicates that the AR glasses are being charged.
5. The automatic photographing method based on the object model according to claim 1, wherein the AR glasses and the terminal are connected through bluetooth or NFC.
6. An automatic photographing system based on a target model, comprising:
the acquisition module (1) is used for acquiring the state information and the state work comparison table of the AR glasses; the state information comprises an operating state and a non-operating state; the working state comprises a wearing state and a shooting state; the inactive state includes a charged state;
the selection module (2) is used for selecting a working mode according to the state information and the state working comparison table, wherein the working mode comprises a shooting mode and an uploading mode; the state work comparison table comprises corresponding relation information between state information and a working mode, wherein the working state corresponds to a shooting mode and the non-working state corresponds to an uploading mode;
the shooting module (3) is used for shooting pictures by using the AR glasses and storing the pictures in the data storage module in the AR glasses when the working mode is the shooting mode;
after the picture is acquired, the picture needs to be judged, and the shooting module (3) is specifically used for:
retrieving a target recognition model, recognizing a picture according to the target recognition model, and if the recognition is successful, storing the picture in a data storage module;
obtaining a next frame of picture, and carrying out similarity matching on the next frame of picture and the picture stored in the data storage module to obtain a similarity value of the two frames of pictures;
comparing the similarity value with a preset similarity threshold value, and if the similarity value is smaller than the preset similarity threshold value, storing the next frame of picture in a data storage module; if the similarity value is larger than a preset similarity threshold value, the next frame of picture is not stored;
the uploading module (4) is used for transmitting the pictures stored in the data storage module to the terminal connected with the AR glasses when the working mode is the uploading mode;
and transmitting the picture stored in the data storage module to the terminal connected with the AR glasses, receiving the confirmation information sent by the terminal, and clearing the picture stored in the data storage module after receiving the confirmation information.
7. An intelligent terminal comprising a memory and a processor, the memory having stored thereon computer program instructions capable of being loaded by the processor and performing the method according to any of claims 1-5.
8. A computer readable storage medium, characterized in that a computer program is stored which can be loaded by a processor and which performs the method according to any of claims 1-5.
CN202210176892.5A 2022-02-24 2022-02-24 Automatic shooting method, system, terminal and storage medium based on target model Active CN114554179B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210176892.5A CN114554179B (en) 2022-02-24 2022-02-24 Automatic shooting method, system, terminal and storage medium based on target model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210176892.5A CN114554179B (en) 2022-02-24 2022-02-24 Automatic shooting method, system, terminal and storage medium based on target model

Publications (2)

Publication Number Publication Date
CN114554179A CN114554179A (en) 2022-05-27
CN114554179B true CN114554179B (en) 2023-08-15

Family

ID=81680165

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210176892.5A Active CN114554179B (en) 2022-02-24 2022-02-24 Automatic shooting method, system, terminal and storage medium based on target model

Country Status (1)

Country Link
CN (1) CN114554179B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115714842B (en) * 2022-11-11 2024-05-17 上海交通大学医学院附属第九人民医院 AR (augmented reality) glasses-based automatic oral implantation operation recording method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111596764A (en) * 2020-05-18 2020-08-28 周庆博 AR glasses face recognition system and method based on android system
CN111897263A (en) * 2020-07-30 2020-11-06 Oppo广东移动通信有限公司 Smart glasses control method, device, storage medium and electronic device
CN112235510A (en) * 2020-10-15 2021-01-15 维沃移动通信有限公司 Shooting method, shooting device, electronic equipment and medium
CN212435844U (en) * 2020-06-02 2021-01-29 深圳增强现实技术有限公司 AR glasses control device and MR glasses system with same

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5137641B2 (en) * 2008-03-19 2013-02-06 キヤノン株式会社 Information processing apparatus, image processing system, image processing method, and program
JPWO2010047336A1 (en) * 2008-10-20 2012-03-22 株式会社キャメロット Image photographing system and image photographing method
CA2950432C (en) * 2014-05-30 2022-01-04 Magic Leap, Inc. Methods and systems for generating virtual content display with a virtual or augmented reality apparatus
CN111488055A (en) * 2019-01-28 2020-08-04 富顶精密组件(深圳)有限公司 Automobile-used augmented reality glasses auxiliary device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111596764A (en) * 2020-05-18 2020-08-28 周庆博 AR glasses face recognition system and method based on android system
CN212435844U (en) * 2020-06-02 2021-01-29 深圳增强现实技术有限公司 AR glasses control device and MR glasses system with same
CN111897263A (en) * 2020-07-30 2020-11-06 Oppo广东移动通信有限公司 Smart glasses control method, device, storage medium and electronic device
CN112235510A (en) * 2020-10-15 2021-01-15 维沃移动通信有限公司 Shooting method, shooting device, electronic equipment and medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
AR技术在用电信息采集系统运维中的应用;张秋雁;张俊玮;丁超;钱威;黎世华;;自动化与仪表(第04期);全文 *

Also Published As

Publication number Publication date
CN114554179A (en) 2022-05-27

Similar Documents

Publication Publication Date Title
CN101273635B (en) Apparatus and method for encoding and decoding multi-view picture using camera parameter, and recording medium storing program for executing the method
CN110533694B (en) Image processing method, device, terminal and storage medium
CN109033985B (en) Commodity identification processing method, device, equipment, system and storage medium
CN113052029A (en) Abnormal behavior supervision method and device based on action recognition and storage medium
CN111144284B (en) Method and device for generating depth face image, electronic equipment and medium
CN109740589B (en) Asynchronous object ROI detection method and system in video mode
CN111027555B (en) License plate recognition method and device and electronic equipment
CN110557633B (en) Image data compression transmission method, system and computer-readable storage medium
CN114554179B (en) Automatic shooting method, system, terminal and storage medium based on target model
CN110232564A (en) A kind of traffic accident law automatic decision method based on multi-modal data
CN110781770A (en) Living body detection method, device and equipment based on face recognition
CN111415338A (en) Method and system for constructing target detection model
US20230206093A1 (en) Music recommendation method and apparatus
CN113409056B (en) Payment method and device, local identification equipment, face payment system and equipment
KR101936947B1 (en) Method for temporal information encoding of the video segment frame-wise features for video recognition
CN115862081A (en) Image acquisition method, device, equipment and computer readable storage medium
CN113139924A (en) Image enhancement method, electronic device and storage medium
CN111104987A (en) Face recognition method and device and electronic equipment
CN116170682B (en) Image acquisition device and method and electronic equipment
CN111723614A (en) Traffic signal lamp identification method and device
CN118115530A (en) Vehicle track generation method and device, electronic equipment and storage medium
JP6027745B2 (en) Image processing device
CN114359216A (en) Image data processing method, device, equipment and storage medium
CN116363542A (en) Off-duty event detection method, apparatus, device and computer readable storage medium
CN113538337A (en) Detection method, detection device and computer readable storage medium

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