CN107743209A - A kind of method according to surrounding environment batch (-type) recorded video - Google Patents
A kind of method according to surrounding environment batch (-type) recorded video Download PDFInfo
- Publication number
- CN107743209A CN107743209A CN201710996837.XA CN201710996837A CN107743209A CN 107743209 A CN107743209 A CN 107743209A CN 201710996837 A CN201710996837 A CN 201710996837A CN 107743209 A CN107743209 A CN 107743209A
- Authority
- CN
- China
- Prior art keywords
- surrounding environment
- video
- video data
- moving target
- memory
- 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 26
- 238000013480 data collection Methods 0.000 claims abstract description 12
- 230000006835 compression Effects 0.000 claims abstract description 6
- 238000007906 compression Methods 0.000 claims abstract description 6
- 238000001514 detection method Methods 0.000 claims description 10
- 230000000284 resting effect Effects 0.000 claims description 3
- 238000012806 monitoring device Methods 0.000 claims description 2
- 235000013399 edible fruits Nutrition 0.000 claims 1
- 238000012544 monitoring process Methods 0.000 description 6
- 230000008034 disappearance Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- BQCADISMDOOEFD-UHFFFAOYSA-N Silver Chemical compound [Ag] BQCADISMDOOEFD-UHFFFAOYSA-N 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000005059 dormancy Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 229910052709 silver Inorganic materials 0.000 description 1
- 239000004332 silver Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
- H04N7/188—Capturing isolated or intermittent images triggered by the occurrence of a predetermined event, e.g. an object reaching a predetermined position
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Closed-Circuit Television Systems (AREA)
Abstract
The invention provides a kind of method according to surrounding environment batch (-type) recorded video, it is related to video record field.This method includes:S1, record command is received, creates a recorded file in memory, and gather video data, the video data of collection is cached into internal memory random access memory;Whether S2, detecting in surrounding environment has default feature, if there is the default feature, continues to gather video data, if without the default feature, stops data collection;S3, when the video data in the random access memory reaches a preset value, continue to gather video data, wherein, the residual memory space of the memory is detected, when the residual memory space of the memory is less than preset value, the video data in the random access memory is subjected to video compress;S4, the video data after compression is write into recorded file.
Description
Technical field
The present invention relates to video record field, more particularly to a kind of side according to surrounding environment batch (-type) recorded video
Method.
Background technology
At present, video monitoring system has had been directed to all trades and professions of social life, such as traffic intersection, supermarket, silver
Row, station and residential area etc., at the same time, also match somebody with somebody in guard's work in various large-scale activity places and important defendance region
Many monitoring devices, such as Olympic Games place, People's Square, Expo Site are put.At the same time, due to magnanimity monitor video number
According to appearance, fully rely on the traditional video surveillance system manually supervised and be unable to meet demand, people need it is more intelligent,
Automation, the video monitoring system of autonomy-oriented, therefore intelligent video monitoring system become lifting video monitoring system efficiency
The main direction of development.
It is increasing to possess the electronic product of recording function on the market at present, but these electronic product overwhelming majority are required for
Possess and the caching process that video process provides picture is saved as in larger.However, with the compression of electronic product production cost, how
So that product ensures its equal function while production cost is reduced, such as ensure important letter while memory size is reduced
Breath is not missed, and turns into the focus of industry research to improve the competitiveness of electronic product.
The content of the invention
It is existing to solve it is an object of the present invention to provide a kind of method according to surrounding environment batch (-type) recorded video
When having recorded video in technology video data internal memory it is too high and the problem of cause recording time short.
Especially, the invention provides a kind of method according to surrounding environment batch (-type) recorded video, including:
S1, record command is received, creates a recorded file in memory, and gather video data, by the video of collection
Data buffer storage is into internal memory random access memory;Wherein, video data is the raw image data captured by camera sensor;
Whether S2, detecting in surrounding environment has default feature, if there is the default feature, continues to gather video counts
According to if without the default feature, stopping data collection;
S3, when the video data in the random access memory reaches a preset value, continue to gather video data, wherein,
Detect the residual memory space of the memory, when the residual memory space of the memory is less than preset value, will it is described with
Video data in machine holder carries out video compress;
S4, the video data after compression is write into recorded file.
Alternatively, described preset is characterized as containing moving target in recording region.
Alternatively, detect includes in surrounding environment containing moving target:
Obtain the motion vector data of current encoded frame;
The current encoded frame is subjected to region division, each region corresponds to N number of motion vector, forms a motion vector
Group;
One local similar value is calculated according to each motion vector set, it is similar to obtain the part of the current encoded frame
Value figure, wherein, N is greater than 3 integers for being less than or equal to 9;
Binaryzation is carried out to the local similar value figure, is partitioned into the local similar value figure Jing Guo binaryzation multiple only
Vertical connected domain, using each independent connected domain as a moving target, complete the detection of the moving target.
Alternatively, after the disappearance of the moving target in region is recorded, after stopping data collection, supervising device starts, described
Supervising device detection records in region whether contain moving target.
Alternatively, the supervising device is infrared detector or ultrasonic detector.
Alternatively, after camera device starts, supervising device close or in a dormant state;Stop when camera device receives
Only after the instruction of gathered data, the camera device is in closing or resting state.
Alternatively, the compress mode includes H.26X series, MPEG series etc..
Alternatively, after the disappearance of the moving target in region is recorded, in preset time, record region and do not move mesh
Mark, stops data collection.
The method according to surrounding environment batch (-type) recorded video of the present invention, due to detected in recording process simultaneously around
Whether environment has default feature, purposive recorded video, carries out batch (-type) monitoring to surrounding environment, effectively reduces internal memory,
Extend recording time.
Further, the method containing moving target can quickly identify motion mesh in detection surrounding environment of the invention
Mark, is detected to moving target.
According to the accompanying drawings will be brighter to the detailed description of the specific embodiment of the invention, those skilled in the art
Above-mentioned and other purposes, the advantages and features of the present invention.
Brief description of the drawings
Some specific embodiments of the present invention are described in detail by way of example, and not by way of limitation with reference to the accompanying drawings hereinafter.
Identical reference denotes same or similar part or part in accompanying drawing.It should be appreciated by those skilled in the art that these
What accompanying drawing was not necessarily drawn to scale.In accompanying drawing:
Fig. 1 is the schematic stream of the method according to an embodiment of the invention according to surrounding environment batch (-type) recorded video
Cheng Tu.
Embodiment
Fig. 1 is the schematic stream of the method according to an embodiment of the invention according to surrounding environment batch (-type) recorded video
Cheng Tu.As shown in figure 1, this method includes:
S1, record command is received, creates a recorded file in memory, and gather video data, by the video of collection
Data buffer storage is into internal memory random access memory;Wherein, video data is the raw image data captured by camera sensor;
Whether S2, detecting in surrounding environment has default feature, if there is the default feature, continues to gather video counts
According to if without the default feature, stopping data collection;
S3, when the video data in the random access memory reaches a preset value, continue to gather video data, wherein,
Detect the residual memory space of the memory, when the residual memory space of the memory is less than preset value, will it is described with
Video data in machine holder carries out video compress;
S4, the video data after compression is write into recorded file.
The method according to surrounding environment batch (-type) recorded video of the present invention, due to detected in recording process simultaneously around
Whether environment has default feature, purposive recorded video, carries out batch (-type) monitoring to surrounding environment, effectively reduces internal memory,
Extend recording time.
In one embodiment of the invention, described preset is characterized as containing moving target in recording region.
In order to accurately detect moving target, detect includes in surrounding environment containing moving target:
Obtain the motion vector data of current encoded frame;
The current encoded frame is subjected to region division, each region corresponds to N number of motion vector, forms a motion vector
Group;
One local similar value is calculated according to each motion vector set, it is similar to obtain the part of the current encoded frame
Value figure, wherein, N is greater than 3 integers for being less than or equal to 9;
Binaryzation is carried out to the local similar value figure, is partitioned into the local similar value figure Jing Guo binaryzation multiple only
Vertical connected domain, using each independent connected domain as a moving target, complete the detection of the moving target.
Further, the method containing moving target can quickly identify motion mesh in detection surrounding environment of the invention
Mark, is detected to moving target.
In order to save the energy, equipment loss rate is reduced, after the disappearance of the moving target in region is recorded, is stopped data collection
Afterwards, supervising device starts, and the supervising device detection records in region whether contain moving target.
In one embodiment of the invention, the supervising device is infrared detector or ultrasonic detector.
In the further embodiment of the present invention, after camera device starts, supervising device is closed or in dormancy
State;After camera device receives the instruction to stop data collection, the camera device is in closing or resting state.
In another further embodiment of the present invention, the compress mode includes H.26X series, MPEG series etc..
In another further embodiment of the present invention, after recording the moving target in region and disappearing, when default
In, recording region does not have moving target, stops data collection.
So far, although those skilled in the art will appreciate that detailed herein have shown and described multiple showing for the present invention
Example property embodiment, still, still can be direct according to present disclosure without departing from the spirit and scope of the present invention
It is determined that or derive many other variations or modifications for meeting the principle of the invention.Therefore, the scope of the present invention is understood that and recognized
It is set to and covers other all these variations or modifications.
Claims (8)
- A kind of 1. method according to surrounding environment batch (-type) recorded video, it is characterised in that including:S1, record command is received, creates a recorded file in memory, and gather video data, by the video data of collection Caching is into internal memory random access memory;Wherein, video data is the raw image data captured by camera sensor;Whether S2, detecting in surrounding environment has default feature, if there is the default feature, continues to gather video data, such as Fruit does not have the default feature, stops data collection;S3, when the video data in the random access memory reaches a preset value, continue to gather video data, wherein, detection The residual memory space of the memory, when the residual memory space of the memory is less than preset value, by the random storage Video data in storage carries out video compress;S4, the video data after compression is write into recorded file.
- 2. the method according to claim 1 according to surrounding environment batch (-type) recorded video, it is characterised in that described default It is characterized as recording in region and contains moving target.
- 3. the method according to claim 2 according to surrounding environment batch (-type) recorded video, it is characterised in that around detection Include in environment containing moving target:Obtain the motion vector data of current encoded frame;The current encoded frame is subjected to region division, each region corresponds to N number of motion vector, forms a motion vector set;One local similar value is calculated according to each motion vector set, to obtain the local similar value of the current encoded frame Figure, wherein, N is greater than 3 integers for being less than or equal to 9;Binaryzation is carried out to the local similar value figure, is partitioned into the local similar value figure Jing Guo binaryzation multiple independent Connected domain, using each independent connected domain as a moving target, complete the detection of the moving target.
- 4. the method according to claim 3 according to surrounding environment batch (-type) recorded video, it is characterised in that when recording area After moving target in domain disappears, after stopping data collection, supervising device starts, and the supervising device detection, which is recorded in region, is It is no to contain moving target.
- 5. the method according to claim 4 according to surrounding environment batch (-type) recorded video, it is characterised in that the monitoring Device is infrared detector or ultrasonic detector.
- 6. the method according to claim 5 according to surrounding environment batch (-type) recorded video, it is characterised in that when shooting fills After putting startup, supervising device close or in a dormant state;It is described after camera device receives the instruction to stop data collection Camera device is in closing or resting state.
- 7. the method according to claim 6 according to surrounding environment batch (-type) recorded video, it is characterised in that the compression Mode includes H.26X series, MPEG series etc..
- 8. the method according to claim 7 according to surrounding environment batch (-type) recorded video, it is characterised in that when recording area After moving target in domain disappears, in preset time, recording region does not have moving target, stops data collection.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710996837.XA CN107743209A (en) | 2017-10-19 | 2017-10-19 | A kind of method according to surrounding environment batch (-type) recorded video |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710996837.XA CN107743209A (en) | 2017-10-19 | 2017-10-19 | A kind of method according to surrounding environment batch (-type) recorded video |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107743209A true CN107743209A (en) | 2018-02-27 |
Family
ID=61238033
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710996837.XA Pending CN107743209A (en) | 2017-10-19 | 2017-10-19 | A kind of method according to surrounding environment batch (-type) recorded video |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107743209A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111432128A (en) * | 2020-04-13 | 2020-07-17 | 深圳市华冠科讯电子有限公司 | Video monitoring system with high detection precision |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101330602A (en) * | 2008-04-10 | 2008-12-24 | 王兴忠 | System for monitoring digital video |
CN103188468A (en) * | 2011-12-30 | 2013-07-03 | 支录奎 | Study on useful video recognition video tape recorder |
CN103297739A (en) * | 2012-02-22 | 2013-09-11 | 安凯(广州)微电子技术有限公司 | Method and device for recording audio and video |
CN105245809A (en) * | 2015-09-30 | 2016-01-13 | 小米科技有限责任公司 | Video recording method and video recording device |
US20160014451A1 (en) * | 2011-06-24 | 2016-01-14 | Motorola Mobility Llc | Method And Device For Optimizing Storage Of Recorded Video Programs |
CN105338362A (en) * | 2014-05-26 | 2016-02-17 | 富士通株式会社 | Motion object detection method and motion object detection apparatus |
-
2017
- 2017-10-19 CN CN201710996837.XA patent/CN107743209A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101330602A (en) * | 2008-04-10 | 2008-12-24 | 王兴忠 | System for monitoring digital video |
US20160014451A1 (en) * | 2011-06-24 | 2016-01-14 | Motorola Mobility Llc | Method And Device For Optimizing Storage Of Recorded Video Programs |
CN103188468A (en) * | 2011-12-30 | 2013-07-03 | 支录奎 | Study on useful video recognition video tape recorder |
CN103297739A (en) * | 2012-02-22 | 2013-09-11 | 安凯(广州)微电子技术有限公司 | Method and device for recording audio and video |
CN105338362A (en) * | 2014-05-26 | 2016-02-17 | 富士通株式会社 | Motion object detection method and motion object detection apparatus |
CN105245809A (en) * | 2015-09-30 | 2016-01-13 | 小米科技有限责任公司 | Video recording method and video recording device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111432128A (en) * | 2020-04-13 | 2020-07-17 | 深圳市华冠科讯电子有限公司 | Video monitoring system with high detection precision |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113283344B (en) | Mining conveyor belt deviation detection method based on semantic segmentation network | |
US20070217765A1 (en) | Method and its application for video recorder and player | |
CN105227927A (en) | A kind of monitor video date storage method and device | |
CN101572803A (en) | Customizable automatic tracking system based on video monitoring | |
CN104506819A (en) | Multi-camera real-time linkage mutual feedback tracing system and method | |
US20120075468A1 (en) | Surveillance system and method | |
CN108280953A (en) | Video detecting alarm method and device, storage medium, camera | |
CN102340179B (en) | Network-based multi-station monitoring integrated matrix display control system | |
CN202856897U (en) | Intelligent video monitoring system based on face recognition | |
CN107743209A (en) | A kind of method according to surrounding environment batch (-type) recorded video | |
CN107689971A (en) | A kind of human body behavior system for rapidly identifying under multiple-camera | |
CN116309506A (en) | Edge recognition algorithm-based coal conveying belt coal overflow detection method and system | |
CN106572324A (en) | Energy-efficient smart monitoring device | |
CN115761572A (en) | Power plant smoke monitoring and early warning method and system based on intelligent video analysis | |
CN102137251A (en) | Image monitoring system and method | |
CN114565870B (en) | A vision-based production line control method, device, system, and electronic equipment | |
CN201733373U (en) | High definition face capturing distinguishing camera | |
CN117036325A (en) | Machine vision-based stamping production line abnormality detection and prevention system | |
CN107820061A (en) | Intelligent monitor system based on FPGA | |
CN108024080A (en) | A kind of method using a variety of compress mode recorded videos | |
CN107682675A (en) | A kind of method using a variety of compress mode recorded videos | |
CN205356559U (en) | Intelligent community monitored control system | |
CN213042334U (en) | Security entrance guard's device of face identification | |
CN205385566U (en) | Defeated power transformation device state analytic system based on target identification | |
CN116342481A (en) | A machine vision-based monitoring system and method for slagging in converter flue |
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: 20180227 |