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 PDF

Info

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
Application number
CN201710996837.XA
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.)
Foshan Zhangyang Technology Co Ltd
Original Assignee
Foshan Zhangyang 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 Foshan Zhangyang Technology Co Ltd filed Critical Foshan Zhangyang Technology Co Ltd
Priority to CN201710996837.XA priority Critical patent/CN107743209A/en
Publication of CN107743209A publication Critical patent/CN107743209A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • H04N7/188Capturing isolated or intermittent images triggered by the occurrence of a predetermined event, e.g. an object reaching a predetermined position

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

A kind of method according to surrounding environment batch (-type) recorded video
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)

  1. 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. 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. 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. 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. 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. 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. 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. 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.
CN201710996837.XA 2017-10-19 2017-10-19 A kind of method according to surrounding environment batch (-type) recorded video Pending CN107743209A (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (6)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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
CN110422586B (en) Method, device and equipment for monitoring working state of belt conveyor
CN111163285A (en) High-altitude falling object monitoring method and system and computer readable storage medium
CN105227927A (en) A kind of monitor video date storage method and device
CN102673979B (en) Method and device for judging deviation of conveying belt
CN108280953A (en) Video detecting alarm method and device, storage medium, camera
CN106251567A (en) A kind of Intellective Fire Alarm System
CN107944342A (en) A kind of scrapper conveyor abnormal state detection system based on machine vision
KR20190035186A (en) Intelligent unmanned security system using deep learning technique
CN106034217A (en) Remote face monitoring system and method thereof
CN202856897U (en) Intelligent video monitoring system based on face recognition
CN107743209A (en) A kind of method according to surrounding environment batch (-type) recorded video
US9607210B2 (en) Video surveillance system and method for fraud detection
CN101098463A (en) Intelligent network camera having function of protecting fixed target
CN106572324A (en) Energy-efficient smart monitoring device
CN201830395U (en) Oil well monitoring system
CN201733373U (en) High definition face capturing distinguishing camera
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
CN107623842A (en) A kind of video monitoring image processing system and method
CN102638674A (en) Omnidirectional visual detecting, analyzing and warning system on basis of fisheye correction technology
CN205356559U (en) Intelligent community monitored control system
CN105025228A (en) Method for recording video and images continuously based on picture states
CN109255291A (en) A kind of machining center breaking alarm system
CN108200409A (en) Monitoring system
CN114565870A (en) Production line control method, device and system based on vision, and electronic equipment

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