CN113014913B - Method for detecting shielding of in-vehicle monitoring camera in segmented mode - Google Patents

Method for detecting shielding of in-vehicle monitoring camera in segmented mode Download PDF

Info

Publication number
CN113014913B
CN113014913B CN201911320514.4A CN201911320514A CN113014913B CN 113014913 B CN113014913 B CN 113014913B CN 201911320514 A CN201911320514 A CN 201911320514A CN 113014913 B CN113014913 B CN 113014913B
Authority
CN
China
Prior art keywords
mode
shielding
detection
occlusion
installation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911320514.4A
Other languages
Chinese (zh)
Other versions
CN113014913A (en
Inventor
马艳
于康龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hefei Ingenic Technology Co ltd
Original Assignee
Hefei Ingenic 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 Hefei Ingenic Technology Co ltd filed Critical Hefei Ingenic Technology Co ltd
Priority to CN201911320514.4A priority Critical patent/CN113014913B/en
Publication of CN113014913A publication Critical patent/CN113014913A/en
Application granted granted Critical
Publication of CN113014913B publication Critical patent/CN113014913B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/002Diagnosis, testing or measuring for television systems or their details for television cameras
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B25/00Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems
    • G08B25/008Alarm setting and unsetting, i.e. arming or disarming of the security system

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Traffic Control Systems (AREA)
  • Image Analysis (AREA)
  • Closed-Circuit Television Systems (AREA)
  • Image Processing (AREA)

Abstract

The invention provides a method for shielding detection of a sectional mode of a monitoring camera in a vehicle, which comprises the steps of firstly judging a sectional working mode, carrying out sectional mode processing on an installation/starting and detection process, judging whether the installation/starting mode or the shielding detection mode is adopted, entering the installation/starting mode if the installation/starting mode is adopted, carrying out primary shielding screening, and carrying out related detection on a background of the detection process; and if the occlusion detection mode is adopted, entering the occlusion detection mode to carry out occlusion detection. Before the step of judging the segmented working mode, the method also comprises the steps of parameter initialization and current frame sequence number counting. And entering a shielding detection mode, returning a shielding detection result after shielding detection, waiting for the next frame of image, and executing the counting of the sequence number of the current frame.

Description

Method for detecting shielding of in-vehicle monitoring camera in segmented mode
Technical Field
The invention relates to the technical field of intelligent monitoring video processing, in particular to a method for detecting shielding of a monitoring camera in a vehicle in a segmented mode.
Background
With the continuous development of science and technology, particularly the development of intelligent technology and the wide application of the internet, particularly in recent years, the promises of the internet appointment vehicle provide convenience for the travel of the public, and in order to guarantee the personal safety of personnel in the vehicle, a monitoring camera is additionally arranged in the vehicle, so that lawless persons can be deterred, the on-site information in the vehicle can be effectively saved, and a powerful evidence is provided for the criminal marching. The in-vehicle monitoring camera needs to save in-vehicle field information on one hand, and needs to give an alarm on the other hand for self abnormal conditions (such as shielding, moving, damage and the like). Due to the particularity of the application scene in the vehicle, in order to prevent the subjective control of the monitoring camera by personnel, the interface reserved for the user by the common equipment is only an on/off button. And the installation process and the normal detection process of the current equipment are the same detection scheme, so that various false alarms are easily caused in the installation process of the equipment, and the false alarms are difficult to be automatically eliminated in the later period.
However, in the installation process, it cannot be determined when and where the user performs installation, and the user may adjust the position and angle according to personal requirements during installation, and these uncertain factors may cause that the monitoring camera cannot correctly and effectively identify the abnormal conditions of the monitoring camera, thereby causing various false alarms; moreover, due to the uncontrollable device and other reasons, the user can only complete the whole installation work through repeated on/off operations, which seriously affects the user experience.
Disclosure of Invention
The invention aims to perform sectional mode processing on the installation/starting and detection processes, namely an installation/starting mode and a shielding detection mode respectively. The method comprises the steps that an installation/starting mode needs to carry out primary screening of shielding aiming at uncertain factors in an installation process, relevant detection is carried out on a background in a detection process, if the background meets requirements, background initialization is carried out, and meanwhile, a working mode is switched into a shielding detection mode; the occlusion detection mode requires normal occlusion detection. In order to ensure that the system can automatically eliminate false alarm in the installation/starting process and add a shielding early warning time-limited reset module, the method solves the problems in the prior art.
The method comprises the steps of firstly judging a subsection working mode, carrying out subsection mode processing on an installation/starting and detection process, judging whether the installation/starting mode or the shielding detection mode is adopted, entering the installation/starting mode if the installation/starting mode is adopted, carrying out primary screening of shielding, and carrying out related detection on a background of the detection process; and if the occlusion detection mode is adopted, entering the occlusion detection mode to carry out occlusion detection.
Before the step of judging the segmented working mode, the method also comprises the steps of parameter initialization and current frame sequence number counting.
The parameter initialization specifically comprises the following steps:
the working mode signal: ref _ flag is 0, where 0 denotes the installation/start mode and 1 denotes the occlusion detection mode;
current frame sequence number: ind is 0;
shielding the early warning signal: shade _ flag is 0, where 0 denotes no occlusion and 1 denotes occlusion;
a shielding counter: cn is 0.
The counting of the current frame sequence number specifically comprises the following steps:
when a frame image is obtained, the current frame serial number ind is set as ind + 1; the first frame image frame sequence number ind is equal to 1, and so on, and the nth frame image frame sequence number ind is equal to n.
And entering a shielding detection mode, returning a shielding detection result after shielding detection, waiting for the next frame of image, and executing the counting of the serial number of the current frame.
Entering an installation/starting mode, carrying out primary screening of shielding, and carrying out related detection on the background of the detection process, and specifically comprising:
s1, filtering a startup transient process
If the current frame sequence number ind is greater than TIME, executing a current frame sequence number counting step; otherwise, executing to return a shielding detection result, waiting for the next frame of image, and executing the serial number counting of the current frame; wherein TIME is a power-on transient TIME threshold;
s2, shielding early warning time-limited reset
If the occlusion signal shadow _ flag is 1 and the occlusion counter cn is <50, cn is cn + 1;
otherwise, the occlusion early warning signal shade _ flag is equal to 0, and the occlusion counter cn is equal to 0; if the occlusion is not detected again in 50 frames, resetting an occlusion early warning signal shade _ flag;
and S3, initializing a background, enabling a working mode signal ref _ flag to be 1, terminating the installation/starting mode, and directly entering a shielding detection mode for the next frame.
The installation/start-up mode further comprises, before the background initialization of S3: background detection: the background detection comprises shielding preliminary screening and picture shaking detection; and if the shielding preliminary screening result is shielding, the shielding signal shade _ flag is 1, otherwise, the shielding signal shade _ flag is 0.
The entering of the shielding detection mode carries out shielding detection, and specifically comprises: if the occlusion condition is met, the occlusion signal shade _ flag is 1; otherwise, the occlusion signal shade _ flag is 0.
Thus, the present application has the advantages that:
(1) the shielding detection of the monitoring camera in the vehicle is realized through a segmented mode, so that the problem of inconvenient operation such as repeated power failure and restarting in the equipment installation process in the prior art is solved; moreover, the installation/starting mode is added to replace the equipment, and the related reset or restart keys are added, so that the subjective interference of personnel on the equipment can be effectively avoided;
(2) the shielding early warning time-limited reset function is added, so that on one hand, the instantaneity of shielding detection is ensured, and an alarm is given when shielding exists; on the other hand, the fault-tolerant capability of the system is improved, if the monitoring lens is accidentally shielded by personnel in the vehicle to give an alarm, the system can be automatically reset after the personnel recover the lens without shielding for a while, so that the alarm is eliminated;
(3) by filtering the startup transient process, the startup unstable image interference is eliminated, the overall efficiency is improved, and the startup power consumption is reduced;
(4) keyless switching of the segment mode is achieved by the ref _ flag signal.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the principle of the invention.
Fig. 1 is a schematic block diagram of a method to which the present invention relates.
Fig. 2 is a schematic flow chart of an embodiment of the present invention.
Fig. 3 is a block flow diagram of a particular embodiment of the present invention relating to a method.
Detailed Description
In order that the technical contents and advantages of the present invention can be more clearly understood, the present invention will be further described in detail with reference to the accompanying drawings.
As shown in FIG. 1, the invention relates to a method for detecting shielding of a sectional mode of a monitoring camera in a vehicle, which comprises the steps of firstly judging a sectional working mode, carrying out sectional mode processing on an installation/starting and detection process, judging whether the installation/starting mode is an installation/starting mode or a shielding detection mode, entering the installation/starting mode if the installation/starting mode is the installation/starting mode, carrying out primary screening of shielding, and carrying out related detection on a background of the detection process; and if the occlusion detection mode is adopted, entering the occlusion detection mode to perform occlusion detection.
In particular, as shown in fig. 2, the steps of the method of the present invention can be expressed as follows:
the method comprises the following implementation steps:
s1, initializing parameters;
s2, counting the serial number of the current frame;
s3, judging a segmented working mode;
s4, entering an installation/starting mode;
s5, entering a shielding detection mode;
and S6, returning a shielding detection result.
Wherein the content of the first and second substances,
s4, an installation/starting mode comprises the following steps:
s4.1 Filtering boot transient Process
When the computer is started, the transient process is that the image is converged from the black screen to the normal display, the image is unstable in the transient process, the time period is short, but the transient process of the startup is directly filtered in the installation mode, so that the overall efficiency can be improved, and the startup power consumption can be reduced;
s4.2 occlusion early warning time-limited reset
If the shade _ flag is 1 and cn is <50, cn is cn + 1; otherwise, the occlusion early warning signal shade _ flag is equal to 0, and the occlusion counter cn is equal to 0. The part shows that the shielding early warning signal lasts for 50 frames (about 2-5 s) at most, and if the shielding early warning signal exceeds 50 frames, the shade _ flag is forcibly reset; if the occlusion is not detected again in 50 frames, directly resetting an occlusion early warning signal shadow _ flag;
s4.3 terminates the install/start mode with ref _ flag equal to 1, and the next frame directly enters the occlusion detection mode.
The flow of the specific embodiment related to the method of the present invention is shown in fig. 3, wherein the main implementation steps of the method are as follows:
step 1, initializing parameters, wherein the specific parameter meanings and initialization values are as follows:
the working mode signal: ref _ flag is 0, where 0 denotes the installation mode and 1 denotes the occlusion detection mode;
current frame sequence number: ind is 0
Shielding the early warning signal: shade _ flag is 0
A shielding counter: cn ═ 0
Step 2, counting the current frame number
Every time a frame of image is acquired, let ind be ind + 1; the first frame image frame sequence number ind equals to 1, and the rest is repeated, and the nth frame image frame sequence number ind equals to n;
step 3, judging the subsection working mode
If ref _ flag is equal to 0, indicating that the installation/startup mode is entered, executing step 4; if ref _ flag is 1, indicating that the occlusion detection mode is entered, executing step 5;
step 4, entering an installation/starting mode
4.1 Filtering boot transient Process
If ind > TIME, go to step 4.2; otherwise, executing step 6; wherein TIME is a boot transient TIME threshold;
4.2 occlusion early warning time-limited reset
If the shade _ flag is 1 and cn is <50, cn is cn + 1; otherwise, the occlusion early warning signal shade _ flag is equal to 0, and the occlusion counter cn is equal to 0. The part shows that the shielding early warning signal lasts for 50 frames (about 2-5 s) at most, and if the shielding early warning signal exceeds 50 frames, the shade _ flag is forcibly reset; if the occlusion is not detected again in 50 frames, directly resetting an occlusion early warning signal shadow _ flag;
4.3 background detection
The background detection comprises shielding preliminary screening, picture shaking detection and the like; if the shielding preliminary screening result is shielding, the shielding signal shade _ flag is 1, otherwise, the shielding signal shade _ flag is 0;
4.4 background initialization, let ref _ flag equal to 1;
step 5, entering a shielding detection mode and carrying out shielding detection;
if the occlusion condition is met, the occlusion signal shade _ flag is 1; otherwise, the shade _ flag is equal to 0;
and 6, returning the shielding detection result, waiting for the next frame of image, and executing the step 2.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes may be made to the embodiment of the present invention by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (5)

1. A method for shielding detection of a sectional mode of a monitoring camera in a vehicle is characterized by firstly judging a sectional working mode, carrying out sectional mode processing on an installation/starting and detection process, judging whether the installation/starting mode or the shielding detection mode is adopted, entering the installation/starting mode if the installation/starting mode is adopted, carrying out primary shielding screening, and carrying out related detection on a background of the detection process; if the mode is the shielding detection mode, entering the shielding detection mode to carry out shielding detection;
entering an installation/starting mode, carrying out primary screening of shielding, and carrying out related detection on the background of the detection process, and specifically comprising:
s1, filtering a startup transient process
If the current frame sequence number ind is greater than TIME, executing a current frame sequence number counting step; otherwise, returning the occlusion detection result, waiting for the next frame of image, and counting the serial number of the current frame; wherein TIME is a power-on transient TIME threshold;
s2, shielding early warning time-limited reset
If the occlusion signal shade _ flag =1 and the occlusion counter cn <50, cn = cn + 1; otherwise, the occlusion early warning signal shade _ flag =0, and the occlusion counter cn =0;
s3, initializing a background, enabling a working mode signal ref _ flag =1, terminating the installation/starting mode, and directly entering the occlusion detection mode for the next frame;
the installation/start-up mode further includes, before the background initialization at S3: detecting a background; the method specifically comprises shielding preliminary screening and picture shaking detection; if the shielding preliminary screening result is shielding, shielding the early warning signal shade _ flag =1, otherwise shielding the early warning signal shade _ flag =0;
the entering of the shielding detection mode carries out shielding detection, and specifically comprises: if the occlusion condition is satisfied, the occlusion signal shadow _ flag = 1; otherwise, the occlusion signal shadow _ flag = 0.
2. The method for detecting the shielding of the monitoring camera in the vehicle in the sectional mode according to claim 1, wherein before the step of judging the sectional working mode, the method further comprises the steps of initializing parameters and counting the serial number of the current frame.
3. The method for detecting occlusion of a section mode of an in-vehicle monitoring camera according to claim 2, wherein the initialization of parameters specifically comprises:
the working mode signal: ref _ flag =0, where 0 denotes the installation/start mode and 1 denotes the occlusion detection mode;
current frame sequence number: ind =0;
shielding the early warning signal: shade _ flag =0, where 0 denotes no occlusion and 1 denotes occlusion;
a shielding counter: cn = 0.
4. The method for detecting occlusion of a surveillance camera in a vehicle in a segmented mode according to claim 2, wherein the counting of the current frame sequence number specifically comprises:
when a frame image is obtained, the current frame serial number ind = ind + 1; the first frame image frame number ind =1, and so on, the nth frame image frame number ind = n.
5. The method according to claim 1, wherein the entering of the occlusion detection mode further comprises returning an occlusion detection result, waiting for a next frame image, and performing a current frame sequence number counting step after the occlusion detection.
CN201911320514.4A 2019-12-19 2019-12-19 Method for detecting shielding of in-vehicle monitoring camera in segmented mode Active CN113014913B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911320514.4A CN113014913B (en) 2019-12-19 2019-12-19 Method for detecting shielding of in-vehicle monitoring camera in segmented mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911320514.4A CN113014913B (en) 2019-12-19 2019-12-19 Method for detecting shielding of in-vehicle monitoring camera in segmented mode

Publications (2)

Publication Number Publication Date
CN113014913A CN113014913A (en) 2021-06-22
CN113014913B true CN113014913B (en) 2022-09-06

Family

ID=76382363

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911320514.4A Active CN113014913B (en) 2019-12-19 2019-12-19 Method for detecting shielding of in-vehicle monitoring camera in segmented mode

Country Status (1)

Country Link
CN (1) CN113014913B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6545705B1 (en) * 1998-04-10 2003-04-08 Lynx System Developers, Inc. Camera with object recognition/data output
JP2005269081A (en) * 2004-03-17 2005-09-29 Ricoh Co Ltd Image forming apparatus, fault detection method, and fault detection program
WO2018163492A1 (en) * 2017-03-09 2018-09-13 オムロン株式会社 Driving mode switching control device, method, and program

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5455561A (en) * 1994-08-02 1995-10-03 Brown; Russell R. Automatic security monitor reporter
JP5335202B2 (en) * 2007-06-05 2013-11-06 キヤノン株式会社 Imaging apparatus and control method thereof
US10466709B2 (en) * 2013-11-08 2019-11-05 Hitachi, Ltd. Autonomous driving vehicle and autonomous driving system
US9390329B2 (en) * 2014-04-25 2016-07-12 Xerox Corporation Method and system for automatically locating static occlusions
CN107316312A (en) * 2017-06-30 2017-11-03 深圳信路通智能技术有限公司 A kind of video image occlusion detection method and system
US10783381B2 (en) * 2017-08-31 2020-09-22 Tusimple, Inc. System and method for vehicle occlusion detection

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6545705B1 (en) * 1998-04-10 2003-04-08 Lynx System Developers, Inc. Camera with object recognition/data output
JP2005269081A (en) * 2004-03-17 2005-09-29 Ricoh Co Ltd Image forming apparatus, fault detection method, and fault detection program
WO2018163492A1 (en) * 2017-03-09 2018-09-13 オムロン株式会社 Driving mode switching control device, method, and program

Also Published As

Publication number Publication date
CN113014913A (en) 2021-06-22

Similar Documents

Publication Publication Date Title
CN110853076B (en) Target tracking method, device, equipment and storage medium
US9076037B2 (en) Image processing apparatus and method
CN110602488B (en) Day and night type camera device switching abnormity detection method and device and camera device
CN110705461A (en) Image processing method and device
CN113191293B (en) Advertisement detection method, device, electronic equipment, system and readable storage medium
CN110913209B (en) Camera shielding detection method and device, electronic equipment and monitoring system
CN113014913B (en) Method for detecting shielding of in-vehicle monitoring camera in segmented mode
CN109285524B (en) Liquid crystal display, display method thereof, terminal and computer readable storage medium
CN112333441A (en) Camera detection method and device and electronic equipment
CN108847191B (en) Backlight adjusting system, backlight adjusting method and device thereof, and intelligent interaction equipment
CN113038261A (en) Video generation method, device, equipment, system and storage medium
CN114132175B (en) Automobile virtual instrument emergency treatment system and method
CN112616049B (en) Monitoring equipment water mist frost treatment method, device, equipment and medium
CN111861908B (en) Image processing method and device
CN104252385A (en) Event quick response method of Android system
CN113342150A (en) Static electricity recovery method, device, electronic equipment and storage medium
CN113096059A (en) Method for eliminating night light source interference shielding detection of in-vehicle monitoring camera
CN116204371B (en) Monitoring method and device for camera image data stream
CN113012186A (en) Method for background initialization pre-judgment in occlusion detection
JP3492239B2 (en) Image monitoring device
CN112487424A (en) Computer processing system and computer processing method
CN111711748B (en) Control method and device for screen refresh rate, electronic equipment and readable storage medium
CN109040614A (en) A kind of more picture video processor scene processing systems
CN116434098A (en) Motion detection method, device, medium and equipment of network hard disk video recorder
CN117520028A (en) Abnormality recovery method and device 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
GR01 Patent grant
GR01 Patent grant