CN112650882A - Video acquisition method, device and system - Google Patents

Video acquisition method, device and system Download PDF

Info

Publication number
CN112650882A
CN112650882A CN201910964359.3A CN201910964359A CN112650882A CN 112650882 A CN112650882 A CN 112650882A CN 201910964359 A CN201910964359 A CN 201910964359A CN 112650882 A CN112650882 A CN 112650882A
Authority
CN
China
Prior art keywords
video
information
current scene
area
image frame
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
Application number
CN201910964359.3A
Other languages
Chinese (zh)
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.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital 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 Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN201910964359.3A priority Critical patent/CN112650882A/en
Publication of CN112650882A publication Critical patent/CN112650882A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/73Querying
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/71Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/90Dynamic range modification of images or parts thereof
    • G06T5/94Dynamic range modification of images or parts thereof based on local image properties, e.g. for local contrast enhancement
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30196Human being; Person
    • G06T2207/30201Face

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Computational Linguistics (AREA)
  • Studio Devices (AREA)

Abstract

The embodiment of the invention provides a video acquisition method, a device and a system, which comprises the following steps: acquiring a first video of a current scene; performing fuzzy processing on a target area of each image frame in the first video to obtain a second video, wherein the target area is an area to be hidden in a current scene corresponding to the first video; and acquiring the position information of the current scene, generating index information at least according to the position information, and associating the second video with the index information so as to search the second video according to the index information. Therefore, index information is generated according to the acquired position information of the current scene, the second video is associated with the index information, the scene shot by the video does not need to be recorded manually, operation can be simplified, and the scheme can meet the video acquisition requirement for multiple scenes. Moreover, the target area to be hidden is subjected to fuzzy processing, so that the privacy information in the current scene cannot be infringed, and the possibility of disputes is reduced.

Description

Video acquisition method, device and system
Technical Field
The invention relates to the technical field of video processing, in particular to a video acquisition method, a video acquisition device and a video acquisition system.
Background
In some scenes, the working process of the staff needs to be recorded in a video acquisition mode so as to conveniently monitor the working process of the staff. Specifically, in the working process, the staff can open the work recorder, gather the video by the work recorder in real time, after work, can upload the video that the work recorder gathered to the platform.
At present, the method for recording the working process of a worker is generally applicable to a single scene in a video acquisition mode, namely, the scene shot by a video cannot be changed. In some cases, the scene captured by the video may change as the position of the photographer changes during the video capture process. In this case, it is necessary to specify the scene captured by the video at each time.
In the related art, it is usually necessary to manually record the current time and the position information of the current scene, and then determine the scene shot by the video at each time according to the recorded time and position information.
It can be understood that such a method requires manual operation, is inconvenient to use, and is difficult to adapt to the video acquisition requirements for multiple scenes.
Disclosure of Invention
The embodiment of the invention aims to provide a video acquisition method, a video acquisition device and a video acquisition system, which are used for simplifying operation and adapting to the video acquisition requirement aiming at multiple scenes. The specific technical scheme is as follows:
the embodiment of the invention provides a video acquisition method, which comprises the following steps:
acquiring a first video of a current scene;
performing fuzzy processing on a target area of each image frame in the first video to obtain a second video, wherein the target area is an area to be hidden in a current scene corresponding to the first video;
acquiring the position information of the current scene, and generating index information at least according to the position information;
and associating the second video with the index information so as to search the second video according to the index information.
Optionally, the target area includes a face image area, and performing a blurring process on the target area of each image frame in the first video to obtain a second video includes:
detecting whether the face image area exists in each image frame of the first video;
if the second video exists, performing fuzzy processing on the face image area of each image frame to obtain the second video;
and if the first video does not exist, taking the first video as the second video.
Optionally, the target region further includes a human body image region, and performing blurring processing on the target region of each image frame in the first video to obtain a second video includes:
detecting whether a human body image area exists in each image frame;
if the second video exists, the human face image area and/or the human body image area of each image frame are subjected to fuzzy processing to obtain the second video.
Optionally, the blurring processing is performed on the target area of each image frame in the first video to obtain a second video, including:
after each image frame of the first video is subjected to fuzzy processing, encrypting the image frame according to a preset encryption rule;
and packaging the encrypted image frame to obtain the second video.
Optionally, the obtaining the position information of the current scene and generating index information according to at least the position information includes:
acquiring the area number of the current scene, and taking the area number as the position information;
acquiring user information, time information and attribute information of a current scene, wherein the user information comprises identity information of a user who acquires the first video;
and generating index information according to at least one of the position information, the user information, the time information and the attribute information of the current scene.
Optionally, the area number of the current scene is obtained in any one of the following manners:
identifying a region code contained in an image frame in the first video;
detecting the wireless radio frequency label information of the current scene, and analyzing the wireless radio frequency label information to obtain the area code of the current scene;
and accessing a preset wireless network of the current scene, and determining the regional code of the current scene according to the current network path time consumption of the preset wireless network.
Optionally, after associating the second video with the index information, the method further includes:
acquiring information to be inquired;
and inquiring the information to be inquired in the stored index information, and determining a second video corresponding to the information to be inquired based on the association between the stored second video and the index information.
The embodiment of the invention also provides a video acquisition device, which comprises:
the acquisition module is used for acquiring a first video of a current scene;
the processing module is used for performing fuzzy processing on a target area of each image frame in the first video to obtain a second video, wherein the target area is an area to be hidden in a current scene corresponding to the first video;
the generating module is used for acquiring the position information of the current scene and generating index information at least according to the position information;
and the association module is used for associating the second video with the index information so as to search the second video according to the index information.
Optionally, the target region includes a face image region, and the processing module is specifically configured to:
detecting whether a face image area exists in each image frame of the first video;
if the image frames exist, carrying out fuzzy processing on the face image area of each image frame to obtain a second video;
and if the first video does not exist, taking the first video as a second video.
Optionally, the target region further includes a human body image region, and the processing module is further configured to:
detecting whether a human body image area exists in each image frame;
if the second video exists, the human face image area and/or the human body image area of each image frame are subjected to fuzzy processing to obtain a second video.
Optionally, the processing module is specifically configured to:
after each image frame of the first video is subjected to fuzzy processing, encrypting the image frame according to a preset encryption rule;
and packaging the encrypted image frame to obtain a second video.
Optionally, the generating module is specifically configured to:
acquiring the area number of the current scene, and taking the area number as position information;
acquiring user information, time information and attribute information of a current scene, wherein the user information comprises identity information of a user acquiring a first video;
and generating index information according to the position information and at least one of the user information, the time information and the attribute information of the current scene.
Optionally, the generating module is configured to acquire the area number of the current scene in any one of the following manners:
identifying a region code contained in an image frame in the first video;
detecting the wireless radio frequency label information of the current scene, and analyzing the wireless radio frequency label information to obtain the area code of the current scene;
and accessing a preset wireless network of the current scene, and determining the regional code of the current scene according to the current network path time consumption of the preset wireless network.
Optionally, the apparatus further comprises:
the query module is used for acquiring information to be queried; and inquiring information to be inquired in the stored index information, and determining a second video corresponding to the information to be inquired based on the association between the stored second video and the index information.
The embodiment of the invention also provides electronic equipment which comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete mutual communication through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing any one of the video acquisition methods when executing the program stored in the memory.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements any of the above-mentioned video capture methods.
Embodiments of the present invention further provide a computer program product containing instructions, which when run on a computer, cause the computer to perform any one of the above-mentioned video capture methods.
According to the video acquisition method, the video acquisition device and the video acquisition system, firstly, a first video of a current scene can be acquired, then, a target area of each image frame in the first video is subjected to fuzzy processing to obtain a second video, wherein the target area is an area to be hidden in the current scene corresponding to the first video, further, position information of the current scene is obtained, index information is generated at least according to the position information, and the second video is associated with the index information so as to search for the second video according to the index information. Therefore, index information is generated according to the acquired position information of the current scene, the second video is associated with the index information, the scene shot by the video does not need to be recorded manually, operation can be simplified, and the scheme can meet the video acquisition requirement for multiple scenes. Moreover, in the obtained second video, the target area to be hidden is subjected to fuzzy processing, so that the privacy information in the current scene cannot be damaged, and the possibility of dispute is reduced.
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, 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 the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a video capture method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a video capture device according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a video capture system according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present 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.
During the video capture process, as the position of the photographer changes, the scene captured by the video may also change. In this case, it is necessary to specify the scene captured by the video at each time. In the related art, it is usually necessary to manually record the current time and the position information of the current scene, and then determine the scene shot by the video at each time according to the recorded time and position information. It can be understood that such a method requires manual operation, is inconvenient to use, and is difficult to adapt to the video acquisition requirements for multiple scenes.
In order to solve the above technical problem, the present invention provides a video capture method, which may be applied to electronic devices, such as a network camera, a mobile terminal, a surveillance camera, and the like, and the embodiments of the present invention are not limited thereto.
The following generally describes a video capture method provided in an embodiment of the present invention, where the video capture method includes:
acquiring a first video of a current scene;
performing fuzzy processing on a target area of each image frame in the first video to obtain a second video, wherein the target area is an area to be hidden in a current scene corresponding to the first video;
acquiring position information of a current scene, and generating index information at least according to the position information;
and associating the second video with the index information so as to search the second video according to the index information.
As can be seen from the above, according to the video acquisition method provided by the embodiment of the present invention, the index information is generated according to the acquired position information of the current scene, and the second video is associated with the index information, so that the scene shot by the video does not need to be manually recorded, and the operation can be simplified, so that the scheme can meet the video acquisition requirement for multiple scenes. Moreover, in the obtained second video, the target area to be hidden is subjected to fuzzy processing, so that the privacy information in the current scene cannot be damaged, and the possibility of dispute is reduced. .
The following describes in detail a video capture method provided by an embodiment of the present invention with reference to specific embodiments.
As shown in fig. 1, a schematic flow chart of a video capture method according to an embodiment of the present invention includes the following steps:
s101: a first video of a current scene is captured.
In the embodiment of the present invention, the current scene may include a plurality of different scenes, or may be a scene that changes continuously, which is not limited specifically.
In one case, the video acquisition method provided by the embodiment of the present invention is applied to a video acquisition device carried by a user, and then, along with a change in an environment where the user is located, a current scene corresponding to a first video acquired by the video acquisition device also changes, that is, the current scene changes along with a change in the environment where the user is located. Or, in another case, the video capturing method provided by the embodiment of the present invention may also be applied to a video capturing device installed at a fixed position, and then, along with a change in a shooting angle or an orientation of the video capturing device, a current scene corresponding to the captured first video may also change, that is, the current scene may change along with a change in a posture of the video capturing device.
For example, the video acquisition device may be a video recorder worn by a cleaner, and then, a current scene corresponding to the first video acquired by the video acquisition device is a room which is being cleaned by the cleaner at present, and when the cleaner changes the room, the current scene may change to a corridor or a new room.
S102: and carrying out fuzzy processing on a target area of each image frame in the first video to obtain a second video.
The target area is an area to be hidden in a current scene corresponding to the first video. For example, the target area may be a face area, a body area, a background area outside the face area and the body area, a license plate area, a logo area, and the like of the vehicle, which may be specifically set according to requirements, and the embodiment of the present invention does not limit this.
For example, when the video acquisition method provided by the embodiment of the invention is applied to a video recorder worn by a cleaner, it can be understood that the areas where the cleaner works are usually the interior of a hotel room, and the areas belong to the privacy areas of the tenants, and if the face images of the tenants are acquired in the first video, the portraits and the privacy of the tenants may be damaged. Therefore, the face image area can be used as the target area, the target area is subjected to fuzzy processing, and the second video is obtained, so that the effect of protecting the privacy of the residents is achieved.
Based on the foregoing, in an implementation manner, when the target region includes a face image region, the step of performing blurring processing on the target region of each image frame in the first video to obtain the second video may be: detecting whether a face image area exists in each image frame of the first video, and if so, performing fuzzy processing on the face image area of each image frame to obtain a second video; and if the first video does not exist, the first video is used as the second video.
Wherein, different algorithms can be used to detect whether a face image region exists in each image frame of the first video. For example, a rectangular feature cascade classifier, a face detection algorithm based on histogram coarse segmentation and singular value features, a eigenface method, a face detection algorithm based on dyadic wavelet transform, and the like may be utilized. Alternatively, in an implementation manner, a face detection model obtained through pre-training may also be used to perform face detection on each image frame of the first video, where the face detection model obtained through pre-training may be a neural network model or a support vector machine model, and the like. The embodiment of the present invention is not limited thereto.
In this step, if it is detected that a face image region exists in a certain image frame, the position coordinates of the face image region in the image frame may be further determined. Therefore, the face image area can be conveniently and rapidly positioned in the follow-up operation, the computing resource can be saved, and the processing efficiency can be improved.
The target region may be a pixel point region occupied by the face image region, or may be a region of a certain preset shape determined according to the position of the face image region, for example, a minimum rectangle corresponding to the pixel point region occupied by the face image region may be used as the first region, and so on. The number of face image areas detected in each image frame in the first video may be one or more.
In one implementation, the detected face image region may be further identified and matched with a pre-stored face database. And if the matching is successful, indicating that the face in the detected face image area is the associated user. For example, continuing the above example, the face in the detected face image area may be a worker at the same company as the cleaner, or may be the cleaner itself. Then, the blurring process is not performed on the face image area. If the matching is unsuccessful, the detected face is a non-associated user, and then the face image area is subjected to fuzzy processing. In this way, the processing of the video can be made more efficient, while facilitating efficient monitoring of the associated user.
In addition, it is understood that, in some cases, the human image area belongs to the privacy area in addition to the human face image area, that is, the target area includes the human image area. In this case, it may also be detected whether a human body image region exists in each image frame, and if so, the human face image region and/or the human body image region of each image frame may be blurred to obtain the second video.
The human body image region may correspond to the detected human face image region, or may be independent from the human face image region, which is not limited specifically.
For example, a human face expansion human body algorithm may be adopted to determine a human body image region corresponding to the human face image region. Or, the face image area and the body image area in the image frame may be identified separately, and then the corresponding relationship between the face image area and the body image area may be determined according to the position relationship between the identified face image area and the body image area.
The human face extension human body algorithm can be a human face extension human body model obtained by training based on a sample image, and the sample image comprises a human face image area and a human body image area corresponding to the human face image area. The human face extension human body model can be obtained by training the following steps: firstly, acquiring a sample image, and respectively extracting a face image area and a human body image area in the sample image by using a preset face algorithm and a human body algorithm; then, inputting each sample image, the face image area corresponding to the sample image and the human body image area into a preset mapping model, and performing iterative adjustment on model parameters in the preset mapping model to obtain a face extended human body model, wherein the face extended human body model can be used for determining the human body image area in the sample image according to the face image area in the sample image.
That is, after the coordinates of the image frame and the face image region in the image frame are input into the face extended human body model, the human body image region corresponding to the face image region in the image frame can be output. Furthermore, the human body image area can be subjected to fuzzy processing, and the privacy of the shot personnel can be further protected.
In this step, the target region may be subjected to a blurring process by using algorithms such as gaussian blurring and mean blurring, and based on the pixel value and the positional relationship of each pixel point in the target region, the blurred pixel value of each pixel point is calculated, and the pixel value of each pixel point in the target region is replaced with the corresponding blurred pixel value. Or, the pixel value of each pixel point in the target region may be directly replaced with a certain preset pixel value. The embodiment of the present invention is not limited to this, as long as the privacy information of the target area in the second video obtained by the blurring process can be hidden.
In addition, in an implementation manner, after each image frame of the first video is subjected to the blurring processing, the image frame may be encrypted according to a preset encryption rule, and then the encrypted image frame is encapsulated to obtain the second video. Therefore, after the second video is acquired and before the second video is played, the decryption rule corresponding to the preset encryption rule needs to be determined, the second video is decrypted according to the decryption rule, the second video can be played, and the information in the second video is acquired, wherein the preset encryption rule and the decryption rule corresponding to the preset encryption rule can be agreed in advance instead of public, so that the security of the second video can be improved, and the risk of data leakage is reduced.
The preset encryption rule may be a preset key, or may also be a preset rule for generating a key, and the like, which is not limited specifically.
S103: and acquiring the position information of the current scene, and generating index information at least according to the position information.
In the embodiment of the present invention, S103 and S102 may be performed simultaneously or sequentially, and are not limited specifically.
In one implementation, the index information may be directly generated according to the position information of the current scene, where the position information of the current scene may include an area number or coordinates of the current scene, and the like. Alternatively, the index information may be generated in common from at least one of a plurality of kinds of information, such as position information, user information, time information, and attribute information of the current scene.
The user information may include identity information of a user who collects the first video, may be manually input by the user when the user starts collecting the first video, may also be information obtained after scanning an identity card of the user, may also be device information of a mobile device carried by the user, may also be collected biometric information of the user, and the like, and is not limited specifically. The time information is the current time, and the attribute information of the current scene may include information such as a place name and a location of the current scene, for example, the attribute information may be information such as a name, an address, and a street of a hotel.
For example, in an implementation manner, a manner of obtaining the location information of the current scene and generating the index information at least according to the location information may be: firstly, acquiring an area number of a current scene, taking the area number as position information, then acquiring user information, time information and attribute information of the current scene, and further generating index information according to the position information, the user information, the time information and the attribute information of the current scene.
The region number of the current scene can be obtained by identifying the region code contained in the image frame of the first video. For example, before entering a room, a cleaner faces a lens of the video capture device to the room number, the video capture device identifies the number in the picture, and the identified number is used as the room number, that is, the area number of the current scene.
Or, the area code of the current scene may also be obtained by detecting the radio frequency tag information of the current scene and analyzing the radio frequency tag information. For example, before entering a room, a cleaner presses a video acquisition device close to a radio frequency tag which is attached to a door in advance, wherein the video acquisition device can be provided with a radio frequency information sensor in advance, so that the video acquisition device can analyze current room number information, namely the area number of a current scene, after reading the radio frequency tag information.
Or, the regional code of the current scene can be determined by accessing a preset wireless network of the current scene and according to the consumed time of the current network path of the preset wireless network. For example, when a cleaner enters a room, the video acquisition equipment is automatically connected to a pre-established WIFI network, and then the current room number information of the video acquisition equipment, namely the area number of the current scene, can be confirmed through time-consuming positioning of a network path.
S104: and associating the second video with the index information so as to search the second video according to the index information.
As can be seen from the foregoing, in the embodiment of the present invention, the current scene includes a plurality of different scenes, and it can be understood that videos captured by different scenes generally have a certain independence and a low relevance. In the embodiment of the present invention, the index information generated at least according to the position information may be associated with the index information, so that when the second video is searched, the second video can be searched according to the position information in the index information, which is convenient for managing and querying the second video.
For example, when searching for the second video, first, information to be queried may be obtained, then, the information to be queried is queried in the stored index information, and the second video corresponding to the information to be queried is determined based on the association between the stored second video and the index information.
As can be seen from the above, according to the video acquisition method provided by the embodiment of the present invention, the index information is generated according to the acquired position information of the current scene, and the second video is associated with the index information, so that the scene shot by the video does not need to be manually recorded, and the operation can be simplified, so that the scheme can meet the video acquisition requirement for multiple scenes. Moreover, in the obtained second video, the target area to be hidden is subjected to fuzzy processing, so that the privacy information in the current scene cannot be damaged, and the possibility of dispute is reduced.
As shown in fig. 2, an embodiment of the present invention further provides a video capture device, where the video capture device includes:
the acquisition module 201 is configured to acquire a first video of a current scene;
the processing module 202 is configured to perform blurring processing on a target area of each image frame in the first video to obtain a second video, where the target area is an area to be hidden in a current scene corresponding to the first video;
a generating module 203, configured to obtain location information of a current scene, and generate index information according to the location information at least;
the associating module 204 is configured to associate the second video with the index information, so as to search for the second video according to the index information.
In one implementation, the target region includes a face image region, and the processing module 202 is specifically configured to:
detecting whether a face image area exists in each image frame of a first video;
if the image frames exist, carrying out fuzzy processing on the face image area of each image frame to obtain a second video;
and if the first video does not exist, the first video is used as the second video.
In one implementation, the target region further includes a human body image region, and the processing module 202 is further configured to:
detecting whether a human body image area exists in each image frame;
if the second video exists, the human face image area and/or the human body image area of each image frame are subjected to fuzzy processing to obtain a second video.
In one implementation, the processing module 202 is specifically configured to:
after each image frame of the first video is subjected to fuzzy processing, encrypting the image frame according to a preset encryption rule;
and packaging the encrypted image frame to obtain a second video.
In one implementation, the generating module 203 is specifically configured to:
acquiring the area number of the current scene, and taking the area number as position information;
acquiring user information, time information and attribute information of a current scene, wherein the user information comprises identity information of a user acquiring a first video;
and generating index information according to at least one of the user information, the time information and the attribute information of the current scene and the position information.
In an implementation manner, the generating module 203 is configured to acquire the area number of the current scene by using any one of the following manners:
identifying a regional code contained in an image frame in a first video;
detecting the wireless radio frequency label information of the current scene, and analyzing the wireless radio frequency label information to obtain the regional code of the current scene;
and accessing a preset wireless network of the current scene, and determining the regional code of the current scene according to the consumed time of the current network path of the preset wireless network.
In one implementation, the apparatus further comprises:
the query module 205 is configured to obtain information to be queried; and inquiring the information to be inquired in the stored index information, and determining the second video corresponding to the information to be inquired based on the association between the stored second video and the index information.
As can be seen from the above, the video acquisition device provided in the embodiment of the present invention generates the index information according to the acquired position information of the current scene, associates the second video with the index information, and does not need to manually record the scene shot by the video, so that the operation can be simplified, and the scheme can meet the video acquisition requirement for multiple scenes. Moreover, in the obtained second video, the target area to be hidden is subjected to fuzzy processing, so that the privacy information in the current scene cannot be damaged, and the possibility of dispute is reduced.
As shown in fig. 3, a schematic structural diagram of a video capture system provided in an embodiment of the present invention is shown, where the system includes:
the capturing device 301 is configured to perform any of the steps of the video capturing method provided in the embodiment of the present invention.
And the storage device 302 is used for storing the video file collected by the collecting device.
For example, after the capturing device 301 associates the second video with the index information, the second video and the index information may be correspondingly stored in the storage device 302, and the storage device 302 establishes a database in which the second video and the index information are stored. Therefore, when the second video is searched subsequently, the corresponding second video can be found through any information in the index information.
As can be seen from the above, in the video acquisition system provided in the embodiment of the present invention, the acquisition device generates the index information according to the acquired position information of the current scene, associates the second video with the index information, and does not need to manually record the scene shot by the video, so that the operation can be simplified, and the scheme can meet the video acquisition requirement for multiple scenes. Moreover, in the obtained second video, the target area to be hidden is subjected to fuzzy processing, so that the privacy information in the current scene cannot be damaged, and the possibility of dispute is reduced.
An embodiment of the present invention further provides an electronic device, as shown in fig. 4, including a processor 401, a communication interface 402, a memory 403, and a communication bus 404, where the processor 401, the communication interface 402, and the memory 403 complete mutual communication through the communication bus 404,
a memory 403 for storing a computer program;
the processor 401, when executing the program stored in the memory 403, implements the following steps:
acquiring a first video of a current scene;
performing fuzzy processing on a target area of each image frame in the first video to obtain a second video, wherein the target area is an area to be hidden in a current scene corresponding to the first video;
acquiring position information of a current scene, and generating index information at least according to the position information;
and associating the second video with the index information so as to search the second video according to the index information.
As can be seen from the above, according to the electronic device provided by the embodiment of the present invention, the index information is generated according to the acquired position information of the current scene, and the second video is associated with the index information, so that the scene shot by the video does not need to be manually recorded, and the operation can be simplified, so that the scheme can meet the video acquisition requirement for multiple scenes. Moreover, in the obtained second video, the target area to be hidden is subjected to fuzzy processing, so that the privacy information in the current scene cannot be damaged, and the possibility of dispute is reduced.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
In yet another embodiment of the present invention, a computer-readable storage medium is further provided, which has instructions stored therein, and when the instructions are executed on a computer, the instructions cause the computer to execute the video capturing method in any one of the above embodiments.
In a further embodiment provided by the present invention, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the video capturing method of any of the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions according to the embodiments of the present application are all or partially generated when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, apparatus embodiments, system embodiments, electronic device embodiments, and storage medium embodiments are substantially similar to method embodiments and therefore are described with relative ease, where relevant with reference to the partial description of the method embodiments.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (11)

1. A method of video capture, the method comprising:
acquiring a first video of a current scene;
performing fuzzy processing on a target area of each image frame in the first video to obtain a second video, wherein the target area is an area to be hidden in a current scene corresponding to the first video;
acquiring the position information of the current scene, and generating index information at least according to the position information;
and associating the second video with the index information so as to search the second video according to the index information.
2. The method of claim 1, wherein the target region comprises a face image region, and performing a blurring process on the target region of each image frame in the first video to obtain a second video comprises:
detecting whether the face image area exists in each image frame of the first video;
if the second video exists, performing fuzzy processing on the face image area of each image frame to obtain the second video;
and if the first video does not exist, taking the first video as the second video.
3. The method according to claim 1 or 2, wherein the target area further includes a human body image area, and performing the blurring processing on the target area of each image frame in the first video to obtain a second video includes:
detecting whether a human body image area exists in each image frame;
if the second video exists, the human face image area and/or the human body image area of each image frame are subjected to fuzzy processing to obtain the second video.
4. The method according to claim 1 or 2, wherein the blurring processing is performed on the target area of each image frame in the first video to obtain a second video, and the method comprises:
after each image frame of the first video is subjected to fuzzy processing, encrypting the image frame according to a preset encryption rule;
and packaging the encrypted image frame to obtain the second video.
5. The method of claim 1, wherein obtaining the location information of the current scene and generating index information according to at least the location information comprises:
acquiring the area number of the current scene, and taking the area number as the position information;
acquiring user information, time information and attribute information of a current scene, wherein the user information comprises identity information of a user who acquires the first video;
and generating index information according to the position information and at least one of the user information, the time information and the attribute information of the current scene.
6. The method according to claim 5, wherein the area number of the current scene is obtained by any one of the following methods:
identifying a region code contained in an image frame in the first video;
detecting the wireless radio frequency label information of the current scene, and analyzing the wireless radio frequency label information to obtain the area code of the current scene;
and accessing a preset wireless network of the current scene, and determining the regional code of the current scene according to the current network path time consumption of the preset wireless network.
7. The method of claim 1, further comprising, after associating the second video with the index information:
acquiring information to be inquired;
and inquiring the information to be inquired in the stored index information, and determining a second video corresponding to the information to be inquired based on the association between the stored second video and the index information.
8. A video capture device, the device comprising:
the acquisition module is used for acquiring a first video of a current scene;
the processing module is used for performing fuzzy processing on a target area of each image frame in the first video to obtain a second video, wherein the target area is an area to be hidden in a current scene corresponding to the first video;
the generating module is used for acquiring the position information of the current scene and generating index information at least according to the position information;
and the association module is used for associating the second video with the index information so as to search the second video according to the index information.
9. A video acquisition system, the system comprising:
acquisition equipment for performing the video acquisition method steps of any of claims 1-7;
and the storage equipment is used for storing the video file acquired by the acquisition equipment.
10. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 1 to 7 when executing a program stored in the memory.
11. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of claims 1 to 7.
CN201910964359.3A 2019-10-11 2019-10-11 Video acquisition method, device and system Pending CN112650882A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910964359.3A CN112650882A (en) 2019-10-11 2019-10-11 Video acquisition method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910964359.3A CN112650882A (en) 2019-10-11 2019-10-11 Video acquisition method, device and system

Publications (1)

Publication Number Publication Date
CN112650882A true CN112650882A (en) 2021-04-13

Family

ID=75343257

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910964359.3A Pending CN112650882A (en) 2019-10-11 2019-10-11 Video acquisition method, device and system

Country Status (1)

Country Link
CN (1) CN112650882A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113094212A (en) * 2021-04-30 2021-07-09 杭州海康威视数字技术股份有限公司 Video backup method and device and video backup system
CN113378645A (en) * 2021-05-14 2021-09-10 北京立为智图科技有限公司 Work site work recording method and system with privacy protection function
CN115225832A (en) * 2021-04-21 2022-10-21 海信集团控股股份有限公司 Image acquisition equipment, image encryption processing method, equipment and medium
CN115935433A (en) * 2023-01-09 2023-04-07 北京匠数科技有限公司 Screen real-time privacy protection method and device

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103152556A (en) * 2013-03-15 2013-06-12 云南大学 Surveillance video encryption method for protecting privacy
CN104023255A (en) * 2014-06-23 2014-09-03 北京视博云科技有限公司 Fitness system based on cloud platform and video acquiring device thereof
CN104966266A (en) * 2015-06-04 2015-10-07 福建天晴数码有限公司 Method and system to automatically blur body part
CN105407261A (en) * 2014-08-15 2016-03-16 索尼公司 Image processing device and method, and electronic equipment
CN105933538A (en) * 2016-06-15 2016-09-07 维沃移动通信有限公司 Video finding method for mobile terminal and mobile terminal
CN105975570A (en) * 2016-05-04 2016-09-28 深圳市至壹科技开发有限公司 Geographic position-based video search method and system
CN108537916A (en) * 2018-04-17 2018-09-14 深圳市元征科技股份有限公司 A kind of driving recording information processing method and device based on block chain
CN109299324A (en) * 2018-10-19 2019-02-01 四川巧夺天工信息安全智能设备有限公司 A kind of search method of label type video file
CN109756760A (en) * 2019-01-03 2019-05-14 中国联合网络通信集团有限公司 Generation method, device and the server of video tab
CN110188603A (en) * 2019-04-17 2019-08-30 特斯联(北京)科技有限公司 A kind of privacy divulgence prevention method and its system for intelligence community

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103152556A (en) * 2013-03-15 2013-06-12 云南大学 Surveillance video encryption method for protecting privacy
CN104023255A (en) * 2014-06-23 2014-09-03 北京视博云科技有限公司 Fitness system based on cloud platform and video acquiring device thereof
CN105407261A (en) * 2014-08-15 2016-03-16 索尼公司 Image processing device and method, and electronic equipment
CN104966266A (en) * 2015-06-04 2015-10-07 福建天晴数码有限公司 Method and system to automatically blur body part
CN105975570A (en) * 2016-05-04 2016-09-28 深圳市至壹科技开发有限公司 Geographic position-based video search method and system
CN105933538A (en) * 2016-06-15 2016-09-07 维沃移动通信有限公司 Video finding method for mobile terminal and mobile terminal
CN108537916A (en) * 2018-04-17 2018-09-14 深圳市元征科技股份有限公司 A kind of driving recording information processing method and device based on block chain
CN109299324A (en) * 2018-10-19 2019-02-01 四川巧夺天工信息安全智能设备有限公司 A kind of search method of label type video file
CN109756760A (en) * 2019-01-03 2019-05-14 中国联合网络通信集团有限公司 Generation method, device and the server of video tab
CN110188603A (en) * 2019-04-17 2019-08-30 特斯联(北京)科技有限公司 A kind of privacy divulgence prevention method and its system for intelligence community

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115225832A (en) * 2021-04-21 2022-10-21 海信集团控股股份有限公司 Image acquisition equipment, image encryption processing method, equipment and medium
CN113094212A (en) * 2021-04-30 2021-07-09 杭州海康威视数字技术股份有限公司 Video backup method and device and video backup system
CN113094212B (en) * 2021-04-30 2024-04-02 杭州海康威视数字技术股份有限公司 Video backup method and device and video backup system
CN113378645A (en) * 2021-05-14 2021-09-10 北京立为智图科技有限公司 Work site work recording method and system with privacy protection function
CN115935433A (en) * 2023-01-09 2023-04-07 北京匠数科技有限公司 Screen real-time privacy protection method and device

Similar Documents

Publication Publication Date Title
CN112650882A (en) Video acquisition method, device and system
US7668345B2 (en) Image processing apparatus, image processing system and recording medium for programs therefor
CN109871815B (en) Method and device for inquiring monitoring information
US11748399B2 (en) System and method for training a damage identification model
US20160191856A1 (en) Method and System for Metadata Extraction From Master-Slave Cameras Tracking System
US9947105B2 (en) Information processing apparatus, recording medium, and information processing method
KR101781358B1 (en) Personal Identification System And Method By Face Recognition In Digital Image
CN111797653A (en) Image annotation method and device based on high-dimensional image
US20180278801A1 (en) Image processing apparatus, method of controlling image processing apparatus, and storage medium
CN108959884B (en) Human authentication verification device and method
CN111724496A (en) Attendance checking method, attendance checking device and computer readable storage medium
CN109559336B (en) Object tracking method, device and storage medium
CN113807342A (en) Method and related device for acquiring equipment information based on image
CN113158773B (en) Training method and training device for living body detection model
JP6683889B2 (en) Image retrieval device
CN116127401B (en) Data authority management and control method and system
CN109448193A (en) Identity information recognition methods and device
CN113837006A (en) Face recognition method and device, storage medium and electronic equipment
CN110610178A (en) Image recognition method, device, terminal and computer readable storage medium
CN112687044A (en) Method, system, medium, and apparatus for managing staying person
CN112689120A (en) Monitoring method and device
US11676439B2 (en) Face authentication system and face authentication method
CN112149451B (en) Affinity analysis method and device
CN112069357A (en) Video resource processing method and device, electronic equipment and storage medium
JP7351408B2 (en) Waste management devices, systems, methods and programs

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210413