CN110544312A - Video display method and device in virtual scene, electronic equipment and storage device - Google Patents
Video display method and device in virtual scene, electronic equipment and storage device Download PDFInfo
- Publication number
- CN110544312A CN110544312A CN201910780432.1A CN201910780432A CN110544312A CN 110544312 A CN110544312 A CN 110544312A CN 201910780432 A CN201910780432 A CN 201910780432A CN 110544312 A CN110544312 A CN 110544312A
- Authority
- CN
- China
- Prior art keywords
- real
- position information
- camera
- target
- abnormal
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 48
- 230000002452 interceptive effect Effects 0.000 claims abstract description 32
- 230000002159 abnormal effect Effects 0.000 claims description 88
- 238000001514 detection method Methods 0.000 claims description 25
- 238000004590 computer program Methods 0.000 claims description 3
- 238000012544 monitoring process Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 5
- 238000007689 inspection Methods 0.000 description 3
- 201000010099 disease Diseases 0.000 description 1
- 208000037265 diseases, disorders, signs and symptoms Diseases 0.000 description 1
- 210000000554 iris Anatomy 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T19/00—Manipulating 3D models or images for computer graphics
- G06T19/006—Mixed reality
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/10—Terrestrial scenes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V2201/00—Indexing scheme relating to image or video recognition or understanding
- G06V2201/08—Detecting or categorising vehicles
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Graphics (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Multimedia (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
the invention provides a video display method and device in a virtual scene, electronic equipment and a storage device; the method comprises the following steps: acquiring a video display instruction, wherein the video display instruction is used for instructing to display real-time videos of one or more target cameras in an interactive picture of the virtual scene; acquiring target position information; the target position information is determined according to the real position information of the target camera, and the real position information is used for representing the position of the target camera in a real scene or the position of a picture acquired by the target camera in the real scene; and accessing the real-time video, and displaying the real-time video in the interactive picture of the virtual scene according to the position indicated by the target position information. The invention is convenient for users to clearly know the position of the object described by the video when the users effectively view the video in real time.
Description
Technical Field
The present invention relates to the field of virtual scenes, and in particular, to a method and an apparatus for displaying a video in a virtual scene, an electronic device, and a storage apparatus.
background
in a three-dimensional virtual scene, such as a virtual scene based on a real scene three-dimensional smart city, various entity elements may be configured, which may represent various entities in a real scene, such as buildings in a real scene, which may be represented by various building elements.
In the prior art, a camera element for representing a camera in reality can be displayed in an interactive interface of a three-dimensional virtual scene, however, the camera position can only be represented, and a user cannot view a camera monitoring object through the interactive interface of the virtual scene, and cannot meet various monitoring requirements of the user.
disclosure of Invention
the invention provides a video display method and device in a virtual scene, electronic equipment and a storage device, and aims to solve the problems that the viewing of a camera monitoring object cannot be realized and various monitoring requirements of users cannot be met in an interactive interface of the existing virtual scene.
According to a first aspect of the present invention, there is provided a video display method in a virtual scene, comprising:
Acquiring a video display instruction, wherein the video display instruction is used for instructing to display real-time videos of one or more target cameras in an interactive picture of the virtual scene;
Determining target position information according to the actual position information of the target camera; the real position information is used for representing the position of the target camera in a real scene or the position of a picture acquired by the target camera in the real scene;
and accessing the real-time video, and displaying the real-time video in the interactive picture of the virtual scene according to the position indicated by the target position information.
Optionally, obtaining a video display instruction includes:
Determining abnormal events according to the data detected by the detection equipment; the detection device comprises at least one of: the system comprises a camera, electronic fence equipment, entrance guard equipment and sensor equipment;
Determining the target camera according to the occurrence position of the abnormal event and the actual position information corresponding to each camera;
And generating the video display indication according to the target camera.
Optionally, the abnormal event includes at least one of:
identifying a preset first abnormal person from a person in a picture acquired by the camera;
identifying the identity of a person using the access control equipment as a preset second abnormal person;
identifying a preset abnormal vehicle from a person in a picture acquired by the camera;
Recognizing the occurrence of a collision accident from the pictures acquired by the camera;
the detection device is operated erroneously;
The quantitative data detected by the sensor device exceeds a preset safety threshold.
Optionally, before determining the target camera according to the occurrence position of the abnormal event and the actual position information corresponding to each camera, the method further includes:
Outputting an abnormal prompt to the outside by using the interactive picture;
And acquiring a viewing request, wherein the viewing request is input by a user aiming at the abnormal reminding.
optionally, after accessing the real-time video, the method further includes:
And displaying the associated description information of the abnormal event in the interactive screen.
Optionally, if the abnormal event includes that a preset first abnormal person is identified from a person in the picture acquired by the camera, the first abnormal person is identified by comparing a current person image in the acquired picture with a preset abnormal person image of the first abnormal person.
optionally, the real position information is two-dimensional real position information in a real scene.
According to a second aspect of the present invention, there is provided a video display apparatus in a virtual scene, comprising:
The indication acquisition module is used for acquiring a video display indication which is used for indicating that the real-time videos of one or more target cameras are displayed in the interactive picture of the virtual scene;
the target position acquisition module is used for acquiring target position information; the target position information is determined according to the real position information of the target camera, and the real position information is used for representing the position of the target camera in a real scene or the position of a picture acquired by the target camera in the real scene;
And the video display module is used for accessing the real-time video and displaying the real-time video in the interactive picture of the virtual scene according to the position indicated by the target position information.
According to a third aspect of the invention, there is provided an electronic device comprising a memory and a processor;
the memory for storing executable instructions of the processor;
The processor is configured to perform the video display method in the virtual scene to which the first aspect and its alternatives relate, via execution of the executable instructions.
According to a fourth aspect of the present invention, there is provided a storage medium having stored thereon a computer program, characterized in that the program, when executed by a processor, implements a method of video display in a virtual scene according to the first aspect and alternatives thereof.
the video display method and device, the electronic equipment and the storage device in the virtual scene can access the real-time video after acquiring the video display instruction and display the real-time video in the interactive picture of the virtual scene. Furthermore, the invention can be convenient for the user to carry out real-time and effective monitoring on the object monitored by the camera through displaying the real-time video.
Meanwhile, the target position information can be determined according to the actual position information of the target camera, and the real-time video is displayed at the position indicated by the target position information, so that the displayed position of the real-time video can be associated with the monitoring, and a user can clearly know the position of an object described by the video when effectively viewing the video in real time.
In the alternative scheme of the invention, the positions of the three-dimensional scene and the two-dimensional video can be seamlessly fused, so that the video can be visually and accurately displayed at the required position.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a flow chart illustrating a method for displaying video in a virtual scene according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating step S11 according to an embodiment of the present invention;
FIG. 3 is a schematic view of an interface for a video display according to an embodiment of the invention;
FIG. 4 is a block diagram of a video display apparatus in a virtual scene according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device in an embodiment of the invention.
Detailed Description
the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The technical solution of the present invention will be described in detail below with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
fig. 1 is a flowchart illustrating a video display method in a virtual scene according to an embodiment of the present invention.
Referring to fig. 1, a method for displaying a video in a virtual scene includes:
s11: a video display indication is obtained.
The video display instruction may be understood as a real-time video for instructing to display one or more target cameras in an interactive picture of the virtual scene, and specifically, if a main body for operating the method is an electronic device, the video display instruction may be specifically understood as a real-time video for instructing the electronic device to display one or more target cameras in an interactive picture of the virtual scene. It may be generated by other devices and sent to the electronic device, may be generated by the electronic device, or may be generated under the interactive operation of the user, and thus, as long as the indication capable of indicating the real-time video display is generated, no matter what form, or what device, the description of the embodiment is not deviated.
The real-time video may be understood as a current video that changes in real time with time, and may be transmitted and played in a media streaming manner, or may be combined with a buffer or other means. Meanwhile, the real-time video may be a real-time video itself collected by a camera, and in some embodiments of this embodiment, the real-time video may also be obtained by further processing according to the real-time video collected by the camera, for example, the real-time video may be subjected to noise reduction processing, or may be subjected to cutting processing, or may be subjected to color processing, and the like.
The target camera can be understood as a camera which is selected from a plurality of cameras and is required to display real-time videos on an interactive interface. In a specific implementation process, the video display indication may carry an identifier of the camera in reality, where the identifier may be, for example, a preset identification number, a uniquely identified device number, or other information bound to the camera, where the other information may be, for example, a camera point, a location point, or the like.
In this embodiment, the electronic device running the above-mentioned method may be connected to each camera, and may also be connected to a management platform, or the electronic device running the above-mentioned method may be the management platform itself, and the management platform may specifically store information of each camera in the real scene in advance, where the information may include, for example, an identifier of the above-mentioned camera.
The virtual scene may be any three-dimensional scene formed by virtual construction, which may be constructed based on a real scene, and thus it can be understood that the embodiment is applied to a real-scene three-dimensional smart city, and meanwhile, the embodiment does not exclude the possibility of being constructed based on a non-real scene.
The entity element in the virtual scene may be any content used for representing an entity structure in a three-dimensional scene, and may also be understood as any entity capable of occupying a certain three-dimensional space in the three-dimensional scene, for example, a building, a vehicle, an animal and plant, a street lamp, a guideboard, a signal lamp, a step, a bridge, a fence, an overhead structure, a road, and the like, where the corresponding entity element is: building elements, vehicle elements, animal and plant elements, street light elements, signpost elements, signal light elements, step elements, bridge elements, fence elements, overhead elements, road elements, and the like.
Fig. 2 is a flowchart illustrating step S11 according to an embodiment of the present invention.
Referring to fig. 2, in one embodiment, step S11 may include:
s111: and determining that an abnormal event occurs according to the data detected by the detection equipment.
The detection device can be understood as any device which exists in a real scene and can detect an event occurring in reality, and the used detection devices can be different according to different events needing to be detected.
The abnormal event can be understood as any event predefined as an abnormal event.
In one embodiment, the detection device may include a camera, for example, at least one of the cameras related to the method according to this embodiment, and the camera may collect a real-time video, and may also be used as a detection device for determining whether an abnormal event occurs.
meanwhile, the embodiment does not exclude the use of a camera which is not used for acquiring the real-time video as the detection equipment, and specifically, a camera of other terminal or computer can be used as the detection equipment. In one example, the camera of the electronic terminal of the inspection staff may be used, the inspection staff may use the electronic terminal to collect the picture or the video at irregular intervals, and then the collected picture or the video may be used to determine whether an abnormal event occurs, if so, the camera of the electronic terminal of the inspection staff may be indicated to be displayed as the target camera to continue the subsequent processing, and other related cameras may also be indicated to be used as the target cameras to continue the subsequent processing.
In addition, the camera serving as the detection device can feed back the identification of the camera so as to determine the target camera, and the camera serving as the detection device can also feed back the position of the camera so as to determine the target camera based on the position.
correspondingly, if the detection device is a camera, the corresponding abnormal event may include at least one of the following:
Identifying a preset first abnormal person from a person in a picture acquired by the camera;
identifying a preset abnormal vehicle from a person in a picture acquired by the camera;
And recognizing the occurrence of the collision accident from the pictures collected by the camera.
The first abnormal person may be any person defined as abnormal, and it is seen whether it is abnormal or not, depending on whether it is defined as abnormal person or not.
The basis of this definition may be deterministic, in one instance the deviant may be a wanted person or a person who has a president, in another instance the person may not necessarily be socially unusual, for example may be a person of a particular age, a particular disease, a particular identity and therefore needs to be particularly noticed, for example may be an elderly person over 80 years, a young child under 10 years, etc.
the basis of the definition may also be uncertain, and in one example, the definition may be freely defined by a human according to historical statistics or a customized configuration, and specifically, for example, some local cities, undesirable sales of cells, misbehaving personnel, and the like may be customized as abnormal personnel.
Meanwhile, whether the person is an abnormal person or not can also be changed according to different requirements, for example, part of the persons who are not allowed to enter or exit through the back door can not be regarded as the abnormal person if the person is shot by the front door camera, and can be regarded as the abnormal person if the person is shot by the back door camera.
In a specific implementation process, if the abnormal event includes that a preset first abnormal person is identified from a person in a picture acquired by the camera, the first abnormal person is identified by comparing a current person image in the acquired picture with a preset abnormal person image of the first abnormal person.
The abnormal vehicles can be, for example, a vehicle with a special photograph, a vehicle with a special size, a vehicle with a special type and the like, wherein the special size can be suitable for a scene with a part of the site with a limited high requirement, and the vehicle with the special type can be suitable for a scene with a part of the site not allowing goods or passenger cars to pass through.
The collision accident can be, for example, a collision between a vehicle and a person, a collision between a vehicle and a vehicle, a collision between a vehicle and a building, and the like, and how to identify the collision accident can be realized through a trained model.
in one embodiment, the detection device may also include an access control device.
The entrance guard equipment can be understood as equipment for verifying the identity when the door is arbitrarily accessed, and the identity can be verified in any mode such as passwords, fingerprints, two-dimensional codes, bar codes, irises and the like.
Correspondingly, if the detection device is an access control device, the corresponding abnormal event may include, for example: and identifying the identity of the person using the access control equipment as a preset second abnormal person. The second abnormal person may be understood by reference to the description of the first abnormal person above.
in one embodiment, the detection device may also include an electronic fence device, a sensor device, etc., and the sensor device may be any device capable of detecting an objective physical world based on physical and chemical principles, such as a temperature sensor, a humidity sensor, an air content sensor, a distance sensor, etc.
Correspondingly, the abnormal event may be, for example, that the quantified data detected by the sensor device exceeds a preset safety threshold.
S114: and determining the target camera according to the occurrence position of the abnormal event and the actual position information corresponding to each camera.
the occurrence location of the abnormal event may be determined, for example, by location information corresponding to the detection device stored in the database, and may be a location of the detection device itself, or a location of a detected object thereof, and for another example, may also be determined by location information reported by the detection device.
in step S114, since the position of the abnormal event is known, the target cameras corresponding to the position of the abnormal event can be compared and determined in combination with different real position information corresponding to different cameras.
After step S114, step S115 may be implemented: and generating the video display indication according to the target camera.
in one embodiment, between step S111 and step S114, the following steps may be further implemented:
S112: and outputting an abnormal prompt to the outside by utilizing the interactive picture.
the exception reminder may be any display content that enables a user to know the occurrence of an exception event through an interactive screen, and may be output externally in the form of a notification or a dialog box, for example.
s113: and acquiring a viewing request, wherein the viewing request is input by a user aiming at the abnormal reminding.
In one example, after the user views the abnormal reminder, corresponding processing may be performed, for example, if the abnormal reminder is output externally in a dialog box, a key capable of triggering generation of the viewing request may be provided in the dialog box, and after the key is pressed, the electronic device may obtain the viewing request.
step S114 may then be understood as being carried out in response to the viewing request.
after step S11, it may include: s12: and acquiring target position information.
the target position information is determined based on the actual position information of the target camera, and may be determined after step S11, or may be stored after being determined in advance before step S11, and further, after the target camera is determined, the stored position information in the corresponding virtual scene may be retrieved.
the real position information may be understood as representing a position of the target camera in a real scene, or a position of a picture acquired by the target camera in the real scene.
In one embodiment, the real position information is two-dimensional real position information in a real scene. In a specific implementation process, the target location information may be determined through a process described later, and the implementation timing may be various.
and determining two-dimensional virtual position information in the virtual scene according to the two-dimensional real position information. For example, two-dimensional coordinates in the real scene, which are two-dimensional real position information, may be projected into the virtual scene, resulting in two-dimensional coordinates in the virtual scene, which are two-dimensional virtual position information.
In one example, the two-dimensional virtual position information may be used as target position information of a camera.
in another example, a specific building element corresponding to the virtual scene may be determined according to the two-dimensional virtual position information; and determining the target position information according to the relative position information of the camera in the specific building corresponding to the specific building element and the position of the specific building element in the virtual scene.
For example, if the position corresponding to the two-dimensional virtual position information is determined as a building element corresponding to a certain building, and if the relative position information indicates that the target camera is located on the roof of the building, the target position information may be determined as the position of the roof of the building element.
In another example, a specific building element corresponding to the virtual scene may be determined according to the two-dimensional virtual position information, and then the position represented by the target position information is determined as the position of the specific building element in the virtual scene, that is, it is not necessary to distinguish which part of the building element is in.
In another example, a specific building may be determined according to the two-dimensional real position information, then the position information of the specific building element corresponding to the specific building in the virtual scene is determined, and then the target position information is determined according to the relative position information of the target camera in the specific building corresponding to the specific building element and the position information of the specific building element in the virtual scene.
therefore, through the above process, a three-dimensional position can be determined based on two-dimensional position information, so that in a virtual scene, a real-time video can be displayed at a specific three-dimensional position, and the real-time video can be more accurately matched with the position corresponding to the real-time video.
After step S12, it may include:
S13: and accessing the real-time video, and displaying the real-time video in the interactive picture of the virtual scene according to the position indicated by the target position information.
In one embodiment, the process of accessing the real-time video may access the video real-time video, for example, to a video management system of a security company.
wherein, according to the position indicated by the target position information, the real-time video is displayed, which can be understood as: the position of the final real-time video is associated with the position indicated by the target position information, which may for example be in its vicinity, but also for example a certain point, a certain line, a certain area of the video window overlapping, being close to, etc. the position indicated by the target position information.
FIG. 3 is a schematic interface diagram of a video display according to an embodiment of the invention.
Referring to fig. 3, the target location information can be understood as the doorway of the north door 1, and further, when displaying the real-time video, the lower line of the window of the real-time video can be set to be located at the upper side of the north door 1, so that it can be easily known that the video corresponds to the location.
In the specific implementation process, the accessed real-time video can be one path or multiple paths. The method comprises the condition of simultaneously accessing different real-time videos of different target position information, the condition of accessing a plurality of real-time videos of the same target position information, the condition of accessing one real-time video of one target position information, and the condition of accessing one real-time video corresponding to a plurality of target position information.
if the same target position information corresponds to a plurality of real-time videos which need to be accessed, the windows of the real-time videos can be uniformly and/or symmetrically distributed relative to the target position information.
In one embodiment, when the real-time video is displayed, the associated description information of the abnormal event may be displayed in the interactive screen.
The association description information may be any information associated with the abnormal event, for example, if the abnormal event is related to an abnormal person, the association description information may be description information of the abnormal person; for example, if the abnormal event is related to an abnormal vehicle, the associated description information may be description information of the abnormal vehicle; in addition, the associated description information may also have location information of the abnormal event.
Therefore, the video display method in the virtual scene provided by the embodiment can access the real-time video after acquiring the video display instruction, and display the real-time video in the interactive picture of the virtual scene. Furthermore, the embodiment can be convenient for the user to carry out real-time and effective monitoring on the object monitored by the camera through displaying the real-time video.
Meanwhile, in the embodiment, the target position information can be determined according to the real position information of the target camera, and then the real-time video is displayed at the position indicated by the target position information, so that the displayed position of the real-time video can be associated with the monitoring, and therefore a user can clearly learn the position of an object described by the video when viewing the video effectively in real time.
In the alternative of the embodiment, the positions of the three-dimensional scene and the two-dimensional video can be seamlessly fused, so that the video can be visually and accurately displayed at the required position.
FIG. 4 is a block diagram of a video display apparatus in a virtual scene according to an embodiment of the present invention.
Referring to fig. 4, the video display apparatus 200 in a virtual scene may include:
video display apparatus in a virtual scene, comprising:
an indication obtaining module 201, configured to obtain a video display indication, where the video display indication is used to indicate that a real-time video of one or more target cameras is displayed in an interactive picture of the virtual scene;
A target position obtaining module 202, configured to obtain target position information; the target position information is determined according to the real position information of the target camera, and the real position information is used for representing the position of the target camera in a real scene or the position of a picture acquired by the target camera in the real scene;
And the video display module 203 is configured to access the real-time video, and display the real-time video in the interactive picture of the virtual scene according to the position indicated by the target position information.
Optionally, the instruction obtaining module 201 is specifically configured to:
determining abnormal events according to the data detected by the detection equipment; the detection device comprises at least one of: the system comprises a camera, electronic fence equipment, entrance guard equipment and sensor equipment;
determining the target camera according to the occurrence position of the abnormal event and the actual position information corresponding to each camera;
And generating the video display indication according to the target camera.
Optionally, the abnormal event includes at least one of:
Identifying a preset first abnormal person from a person in a picture acquired by the camera;
identifying the identity of a person using the access control equipment as a preset second abnormal person;
identifying a preset abnormal vehicle from a person in a picture acquired by the camera;
recognizing the occurrence of a collision accident from the pictures acquired by the camera;
The detection device is operated erroneously;
the quantitative data detected by the sensor device exceeds a preset safety threshold.
optionally, the instruction obtaining module 201 is further specifically configured to:
Before determining the target camera according to the occurrence position of the abnormal event and the actual position information corresponding to each camera, the method further comprises the following steps:
Outputting an abnormal prompt to the outside by using the interactive picture;
And acquiring a viewing request, wherein the viewing request is input by a user aiming at the abnormal reminding.
Optionally, the instruction obtaining module 201 is further specifically configured to:
After accessing the real-time video, the method further comprises the following steps:
and displaying the associated description information of the abnormal event in the interactive screen.
optionally, if the abnormal event includes that a preset first abnormal person is identified from a person in the picture acquired by the camera, the first abnormal person is identified by comparing a current person image in the acquired picture with a preset abnormal person image of the first abnormal person.
Optionally, the real position information is two-dimensional real position information in a real scene.
Therefore, the video display device in the virtual scene provided by the embodiment can access the real-time video after acquiring the video display instruction, and display the real-time video in the interactive picture of the virtual scene. Furthermore, the embodiment can be convenient for the user to carry out real-time and effective monitoring on the object monitored by the camera through displaying the real-time video.
meanwhile, in the embodiment, the target position information can be determined according to the real position information of the target camera, and then the real-time video is displayed at the position indicated by the target position information, so that the displayed position of the real-time video can be associated with the monitoring, and therefore a user can clearly learn the position of an object described by the video when viewing the video effectively in real time.
In the alternative of the embodiment, the positions of the three-dimensional scene and the two-dimensional video can be seamlessly fused, so that the video can be visually and accurately displayed at the required position.
Fig. 5 is a schematic structural diagram of an electronic device in an embodiment of the invention.
referring to fig. 5, an electronic device 30 is provided, which includes:
A processor 31; and the number of the first and second groups,
A memory 32 for storing executable instructions of the processor;
Wherein the processor 31 is configured to perform the above-mentioned method via execution of the executable instructions.
The processor 31 is capable of communicating with the memory 32 via a bus 33.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, wherein the program, when executed by a processor, implements the above-mentioned method.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.
Claims (10)
1. a method for displaying video in a virtual scene, comprising:
acquiring a video display instruction, wherein the video display instruction is used for instructing to display real-time videos of one or more target cameras in an interactive picture of the virtual scene;
acquiring target position information; the target position information is determined according to the real position information of the target camera, and the real position information is used for representing the position of the target camera in a real scene or the position of a picture acquired by the target camera in the real scene;
And accessing the real-time video, and displaying the real-time video in the interactive picture of the virtual scene according to the position indicated by the target position information.
2. The method of claim 1, wherein obtaining a video display indication comprises:
Determining abnormal events according to the data detected by the detection equipment; the detection device comprises at least one of: the system comprises a camera, electronic fence equipment, entrance guard equipment and sensor equipment;
Determining the target camera according to the occurrence position of the abnormal event and the actual position information corresponding to each camera;
and generating the video display indication according to the target camera.
3. The method of claim 2, wherein the exception event comprises at least one of:
Identifying a preset first abnormal person from a person in a picture acquired by the camera;
identifying the identity of a person using the access control equipment as a preset second abnormal person;
Identifying a preset abnormal vehicle from a person in a picture acquired by the camera;
Recognizing the occurrence of a collision accident from the pictures acquired by the camera;
The detection device is operated erroneously;
the quantitative data detected by the sensor device exceeds a preset safety threshold.
4. the method according to claim 2, wherein before determining the target camera according to the occurrence position of the abnormal event and the real position information corresponding to each camera, further comprising:
Outputting an abnormal prompt to the outside by using the interactive picture;
And acquiring a viewing request, wherein the viewing request is input by a user aiming at the abnormal reminding.
5. the method of any of claims 2 to 4, wherein after accessing the real-time video, further comprising:
And displaying the associated description information of the abnormal event in the interactive screen.
6. the method according to any one of claims 2 to 4, wherein if the abnormal event includes a person identifying a preset first abnormal person from the image captured by the camera, the first abnormal person is identified by comparing a current person image in the captured image with a preset abnormal person image of the first abnormal person.
7. the method according to any one of claims 1 to 4, wherein the real position information is two-dimensional real position information in a real scene.
8. a video display apparatus in a virtual scene, comprising:
The indication acquisition module is used for acquiring a video display indication which is used for indicating that the real-time videos of one or more target cameras are displayed in the interactive picture of the virtual scene;
The target position acquisition module is used for acquiring target position information; the target position information is determined according to the real position information of the target camera, and the real position information is used for representing the position of the target camera in a real scene or the position of a picture acquired by the target camera in the real scene;
And the video display module is used for accessing the real-time video and displaying the real-time video in the interactive picture of the virtual scene according to the position indicated by the target position information.
9. an electronic device comprising a memory and a processor;
The memory for storing executable instructions of the processor;
The processor is configured to perform the video display method in the virtual scene of any one of claims 1 to 7 via execution of the executable instructions.
10. a storage medium on which a computer program is stored, the program, when executed by a processor, implementing a method for video display in a virtual scene as claimed in any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910780432.1A CN110544312A (en) | 2019-08-22 | 2019-08-22 | Video display method and device in virtual scene, electronic equipment and storage device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910780432.1A CN110544312A (en) | 2019-08-22 | 2019-08-22 | Video display method and device in virtual scene, electronic equipment and storage device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110544312A true CN110544312A (en) | 2019-12-06 |
Family
ID=68712009
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910780432.1A Pending CN110544312A (en) | 2019-08-22 | 2019-08-22 | Video display method and device in virtual scene, electronic equipment and storage device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110544312A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111447416A (en) * | 2020-04-10 | 2020-07-24 | 北京旷视机器人技术有限公司 | Display method and device of monitoring video and electronic system |
CN111556283A (en) * | 2020-03-18 | 2020-08-18 | 深圳市华橙数字科技有限公司 | Monitoring camera management method and device, terminal and storage medium |
CN112399148A (en) * | 2020-11-11 | 2021-02-23 | 郑州捷安高科股份有限公司 | Virtual monitoring method and device based on virtual three-dimensional scene |
CN113066182A (en) * | 2021-04-16 | 2021-07-02 | 上海安畅网络科技股份有限公司 | Information display method and device, electronic equipment and storage medium |
CN118092719A (en) * | 2024-03-12 | 2024-05-28 | 西安信飞特信息科技有限公司 | Interactive information display method, device, system, equipment and computer storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110234832A1 (en) * | 2010-03-26 | 2011-09-29 | Sony Corporation | Control device, camera system and program |
CN102938827A (en) * | 2012-11-29 | 2013-02-20 | 深圳英飞拓科技股份有限公司 | Stratified monitoring command system and cross-camera virtual tracking method |
CN103384321A (en) * | 2012-05-04 | 2013-11-06 | 霍尼韦尔国际公司 | System and method of post event/alarm analysis in cctv and integrated security systems |
CN103841374A (en) * | 2012-11-27 | 2014-06-04 | 华为技术有限公司 | Display method and system for video monitoring image |
CN104519319A (en) * | 2014-12-11 | 2015-04-15 | 北京中星微电子有限公司 | Method and device for surveillance video display of electronic map |
-
2019
- 2019-08-22 CN CN201910780432.1A patent/CN110544312A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110234832A1 (en) * | 2010-03-26 | 2011-09-29 | Sony Corporation | Control device, camera system and program |
CN103384321A (en) * | 2012-05-04 | 2013-11-06 | 霍尼韦尔国际公司 | System and method of post event/alarm analysis in cctv and integrated security systems |
CN103841374A (en) * | 2012-11-27 | 2014-06-04 | 华为技术有限公司 | Display method and system for video monitoring image |
CN102938827A (en) * | 2012-11-29 | 2013-02-20 | 深圳英飞拓科技股份有限公司 | Stratified monitoring command system and cross-camera virtual tracking method |
CN104519319A (en) * | 2014-12-11 | 2015-04-15 | 北京中星微电子有限公司 | Method and device for surveillance video display of electronic map |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111556283A (en) * | 2020-03-18 | 2020-08-18 | 深圳市华橙数字科技有限公司 | Monitoring camera management method and device, terminal and storage medium |
CN111556283B (en) * | 2020-03-18 | 2022-04-19 | 深圳市华橙数字科技有限公司 | Monitoring camera management method and device, terminal and storage medium |
CN111447416A (en) * | 2020-04-10 | 2020-07-24 | 北京旷视机器人技术有限公司 | Display method and device of monitoring video and electronic system |
CN111447416B (en) * | 2020-04-10 | 2022-06-21 | 北京旷视机器人技术有限公司 | Display method and device of monitoring video and electronic system |
CN112399148A (en) * | 2020-11-11 | 2021-02-23 | 郑州捷安高科股份有限公司 | Virtual monitoring method and device based on virtual three-dimensional scene |
CN113066182A (en) * | 2021-04-16 | 2021-07-02 | 上海安畅网络科技股份有限公司 | Information display method and device, electronic equipment and storage medium |
CN118092719A (en) * | 2024-03-12 | 2024-05-28 | 西安信飞特信息科技有限公司 | Interactive information display method, device, system, equipment and computer storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110544312A (en) | Video display method and device in virtual scene, electronic equipment and storage device | |
US20220270376A1 (en) | Deterioration diagnosis device, deterioration diagnosis system, deterioration diagnosis method, and storage medium for storing program | |
Adam et al. | Robust real-time unusual event detection using multiple fixed-location monitors | |
JP6905850B2 (en) | Image processing system, imaging device, learning model creation method, information processing device | |
WO2019153193A1 (en) | Taxi operation monitoring method, device, storage medium, and system | |
US11417134B2 (en) | Image analysis device, image analysis method, and recording medium | |
CN107452104A (en) | A kind of control method for vehicle and system of the vehicle bayonet socket based on intelligent monitoring | |
JP5992681B2 (en) | Unusual condition detection system for congestion | |
JP2006146378A (en) | Surveillance system using multiple cameras | |
KR102260123B1 (en) | Apparatus for Sensing Event on Region of Interest and Driving Method Thereof | |
CN111325954A (en) | Personnel loss early warning method, device, system and server | |
CN107351132A (en) | A kind of safety detection method based on robot, robot and storage medium | |
JP2005086626A (en) | Wide area monitoring device | |
CN109508576A (en) | A kind of abnormal driving behavioral value method, apparatus and electronic equipment | |
CN112132048A (en) | Community patrol analysis method and system based on computer vision | |
WO2020167155A1 (en) | Method and system for detecting troubling events during interaction with a self-service device | |
CN110717357A (en) | Early warning method and device, electronic equipment and storage medium | |
CN111901562B (en) | A campus-oriented audio and video intelligent monitoring system | |
CN106448161A (en) | Road monitoring method and road monitoring device | |
CN118918697B (en) | Method and device for alarming abnormality of gas-elimination equipment based on real-time data analysis | |
CN110244923B (en) | Image display method and device | |
CN118942159A (en) | A park visitor safety warning method, system and medium based on digital twin | |
KR101686851B1 (en) | Integrated control system using cctv camera | |
KR101355206B1 (en) | A count system of coming and going using image analysis and method thereof | |
CN115546737B (en) | Machine room monitoring method |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20191206 |