CN110505371B - Infrared shielding detection method and camera equipment - Google Patents

Infrared shielding detection method and camera equipment Download PDF

Info

Publication number
CN110505371B
CN110505371B CN201810479536.4A CN201810479536A CN110505371B CN 110505371 B CN110505371 B CN 110505371B CN 201810479536 A CN201810479536 A CN 201810479536A CN 110505371 B CN110505371 B CN 110505371B
Authority
CN
China
Prior art keywords
infrared
image
pixel value
sub
pixel
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
CN201810479536.4A
Other languages
Chinese (zh)
Other versions
CN110505371A (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.)
Hangzhou Ezviz Software Co Ltd
Original Assignee
Hangzhou Ezviz Software 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 Ezviz Software Co Ltd filed Critical Hangzhou Ezviz Software Co Ltd
Priority to CN201810479536.4A priority Critical patent/CN110505371B/en
Publication of CN110505371A publication Critical patent/CN110505371A/en
Application granted granted Critical
Publication of CN110505371B publication Critical patent/CN110505371B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01VGEOPHYSICS; GRAVITATIONAL MEASUREMENTS; DETECTING MASSES OR OBJECTS; TAGS
    • G01V8/00Prospecting or detecting by optical means
    • G01V8/10Detecting, e.g. by using light barriers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/50Constructional details
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/50Constructional details
    • H04N23/55Optical parts specially adapted for electronic image sensors; Mounting thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/30Transforming light or analogous information into electric information
    • H04N5/33Transforming infrared radiation

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • General Life Sciences & Earth Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Geophysics (AREA)
  • Studio Devices (AREA)

Abstract

The embodiment of the application provides an infrared shielding detection method and camera equipment. The method is applied to the camera equipment, and infrared light emitted by the infrared emission module is used for illuminating the image acquisition range of the camera equipment. The method comprises the following steps: acquiring an infrared image acquired by camera equipment; and determining that the infrared light emitted by the infrared emission module is blocked according to the pixel value of the infrared image and a preset pixel value range. By applying the scheme provided by the embodiment of the application, the infrared shielding detection can be realized.

Description

Infrared shielding detection method and camera equipment
Technical Field
The application relates to the technical field of video acquisition, in particular to an infrared occlusion detection method and camera equipment.
Background
A camera device, such as a surveillance camera, may take images or record video, providing image recording material or video recording material to a user. Image pickup apparatuses can be classified into general image pickup apparatuses that are sensitive to visible light and infrared image pickup apparatuses that are sensitive to infrared light according to the category of the light-sensitive sensor inside the image pickup apparatus. The infrared imaging apparatus can be applied in an environment where lighting conditions are poor, for example, at night or on rainy days. The infrared camera device can be used for monitoring some important occasions, such as home monitoring, bank monitoring and the like.
In order to better capture an infrared image, the infrared camera device generally further includes an infrared emission module, which can emit infrared light, and when an object is irradiated by the infrared light, the infrared camera device can acquire a clear infrared image of the object.
However, during installation or use of the infrared imaging apparatus, infrared light emitted from the infrared emission module may be blocked by an obstacle. After infrared light is sheltered from, clear infrared image can't be shot to infrared camera equipment, and this will influence infrared camera equipment's normal use. The related art does not have a detection technology for the case that infrared light is blocked.
Disclosure of Invention
An object of the embodiment of the application is to provide an infrared occlusion detection method and a camera device, so as to realize detection of infrared occlusion.
In order to achieve the above object, an embodiment of the present application provides an infrared occlusion detection method, which is applied to a camera device, where infrared light emitted by an infrared emission module is used to illuminate an image acquisition range of the camera device; the method comprises the following steps:
acquiring an infrared image acquired by the camera equipment;
determining that the infrared light emitted by the infrared emission module is shielded according to the pixel value of the infrared image and a preset pixel value range; the pixel value range represents the pixel value range contained in the infrared image when the infrared light emitted by the infrared emission module is blocked.
Optionally, the step of determining that the infrared light emitted by the infrared emission module is blocked according to the pixel value of the infrared image and a preset pixel value range includes:
and determining that the infrared light emitted by the infrared emission module is blocked according to the pixel value of each sub-image area contained in the infrared image and a preset pixel value range.
Optionally, the pixel value range is: a range greater than a first pixel value threshold; the step of determining that the infrared light emitted by the infrared emission module is blocked according to the pixel value in each sub-image area contained in the infrared image and a preset pixel value range comprises the following steps:
determining the mean value of pixel values of all sub-image areas contained in the infrared image;
determining the sub-image area with the pixel value mean value larger than the first pixel value threshold value as a bright sub-image area;
and when the number of the bright sub-image areas is larger than a preset first number threshold, determining that the infrared light emitted by the infrared emission module is blocked.
Optionally, the pixel value range is: a range less than a second pixel value threshold; the step of determining that the infrared light emitted by the infrared emission module is blocked according to the pixel value in each sub-image area contained in the infrared image and a preset pixel value range comprises the following steps:
determining the mean value of pixel values of all sub-image areas contained in the infrared image;
determining the sub-image area with the pixel value mean value smaller than the second pixel value threshold value as a dark sub-image area;
and when the number of the dark sub-image areas is larger than a preset second number threshold, determining that the infrared light emitted by the infrared emission module is blocked.
Optionally, the pixel value range includes: the method comprises the following steps of presetting a pixel value range representing bright pixel points and a pixel value range representing dark pixel points;
the step of determining that the infrared light emitted by the infrared emission module is blocked according to the pixel value in each sub-image area contained in the infrared image and a preset pixel value range comprises the following steps:
counting the number of pixel points corresponding to each pixel value in each sub-image area aiming at each sub-image area contained in the infrared image; calculating the quantity proportion of the bright pixel points and the dark pixel points of the sub-image area according to the quantity of the pixel points corresponding to each pixel value in the sub-image area, the pixel value range of the bright pixel points and the pixel value range of the dark pixel points;
and when the infrared image has a sub-image area with the quantity ratio of bright pixel points larger than a preset first ratio threshold value and a sub-image area with the quantity ratio of dark pixel points larger than a preset second ratio threshold value, determining that the infrared light emitted by the infrared emission module is blocked.
Optionally, the step of determining that the infrared light emitted by the infrared emission module is blocked according to the pixel value of the infrared image and a preset pixel value range includes:
counting the number of pixel points corresponding to each pixel value in the infrared image, and calculating the number proportion of bright pixel points and the number proportion of dark pixel points of the infrared image according to the number of the pixel points corresponding to each pixel value in the infrared image, a preset pixel value range representing bright pixel points and a preset pixel value range representing dark pixel points;
and when the quantity ratio of the bright pixel points of the infrared image is greater than a preset first ratio threshold value and the quantity ratio of the dark pixel points of the infrared image is greater than a preset second ratio threshold value, determining that the infrared light emitted by the infrared emission module is blocked.
Optionally, before determining that the infrared light emitted by the infrared emission module is blocked, the method further includes:
judging whether the camera device is in a night vision acquisition mode, if so, determining that the infrared light emitted by the infrared emission module is blocked according to the pixel value of the infrared image and a preset pixel value range; the night vision acquisition mode is an image acquisition mode for acquiring images by utilizing the infrared emission module.
Optionally, when it is determined that the infrared light emitted by the infrared emission module is blocked, the method further includes:
and alarming in a preset mode.
An embodiment of the present application further provides an image pickup apparatus, including: the device comprises a processor, a memory, an infrared emission module and an image acquisition module; the infrared light emitted by the infrared emission module is used for illuminating the image acquisition range of the camera equipment;
the image acquisition module is used for acquiring an infrared image and storing the infrared image to the memory;
the processor is used for acquiring the infrared image from the memory and determining that the infrared light emitted by the infrared emission module is blocked according to the pixel value of the infrared image and a preset pixel value range; the pixel value range represents the pixel value range contained in the infrared image when the infrared light emitted by the infrared emission module is blocked.
Optionally, the processor is specifically configured to:
and determining that the infrared light emitted by the infrared emission module is blocked according to the pixel value of each sub-image area contained in the infrared image and a preset pixel value range.
Optionally, the pixel value range is: a range greater than a first pixel value threshold; the processor is specifically configured to:
determining the mean value of pixel values of all sub-image areas contained in the infrared image;
determining the sub-image area with the pixel value mean value larger than the first pixel value threshold value as a bright sub-image area;
and when the number of the bright sub-image areas is larger than a preset first number threshold, determining that the infrared light emitted by the infrared emission module is blocked.
Optionally, the pixel value range is: a range less than a second pixel value threshold; the processor is specifically configured to:
determining the mean value of pixel values of all sub-image areas contained in the infrared image;
determining the sub-image area with the pixel value mean value smaller than the second pixel value threshold value as a dark sub-image area;
and when the number of the dark sub-image areas is larger than a preset second number threshold, determining that the infrared light emitted by the infrared emission module is blocked.
Optionally, the pixel value range includes: the method comprises the following steps of presetting a pixel value range representing bright pixel points and a pixel value range representing dark pixel points; the processor is specifically configured to:
counting the number of pixel points corresponding to each pixel value in each sub-image area aiming at each sub-image area contained in the infrared image; calculating the quantity proportion of the bright pixel points and the dark pixel points of the sub-image area according to the quantity of the pixel points corresponding to each pixel value in the sub-image area, the pixel value range of the bright pixel points and the pixel value range of the dark pixel points;
and when the infrared image has a sub-image area with the quantity ratio of bright pixel points larger than a preset first ratio threshold value and a sub-image area with the quantity ratio of dark pixel points larger than a preset second ratio threshold value, determining that the infrared light emitted by the infrared emission module is blocked.
Optionally, the processor is specifically configured to:
counting the number of pixel points corresponding to each pixel value in the infrared image, and calculating the number proportion of bright pixel points and the number proportion of dark pixel points of the infrared image according to the number of the pixel points corresponding to each pixel value in the infrared image, a preset pixel value range representing bright pixel points and a preset pixel value range representing dark pixel points;
and when the quantity ratio of the bright pixel points of the infrared image is greater than a preset first ratio threshold value and the quantity ratio of the dark pixel points of the infrared image is greater than a preset second ratio threshold value, determining that the infrared light emitted by the infrared emission module is blocked.
Optionally, the processor is further configured to:
before the infrared light emitted by the infrared emission module is determined to be shielded, judging whether the camera shooting equipment is in a night vision acquisition mode, if so, determining that the infrared light emitted by the infrared emission module is shielded according to the pixel value of the infrared image and a preset pixel value range; the night vision acquisition mode is an image acquisition mode for acquiring images by utilizing the infrared emission module.
Optionally, the processor is further configured to:
and when the infrared light emitted by the infrared emission module is determined to be shielded, alarming in a preset mode.
The embodiment of the application also provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the infrared occlusion detection method provided by the embodiment of the application is realized. The method comprises the following steps:
acquiring an infrared image acquired by the camera equipment;
determining that the infrared light emitted by the infrared emission module is shielded according to the pixel value of the infrared image and a preset pixel value range; the pixel value range represents the pixel value range contained in the infrared image when the infrared light emitted by the infrared emission module is blocked.
The infrared shielding detection method and the camera device provided by the embodiment of the application can acquire the infrared image acquired by the camera device, and determine that the infrared light emitted by the infrared emission module is shielded according to the pixel value of the infrared image and the preset pixel value range. When the infrared light is blocked, the phenomenon of over-brightness and/or over-darkness can occur in the infrared image collected by the camera equipment, so that the infrared light can be determined to be blocked according to the pixel value range contained in the infrared image and the pixel value of the infrared image when the infrared light emitted by the infrared emission module is blocked. Therefore, the scheme provided by the embodiment of the application can realize the detection of infrared shielding.
Drawings
In order to more clearly illustrate the embodiments of the present application 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 application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 is a schematic flow chart of an infrared occlusion detection method according to an embodiment of the present application;
fig. 2 is a reference diagram of a dividing manner of sub-image regions according to an embodiment of the present application;
FIGS. 3a to 3c are several schematic flow charts of step S102 in FIG. 1;
FIG. 4 is a reference diagram of an infrared image provided by an embodiment of the present application;
fig. 5 is a schematic structural diagram of an image capturing apparatus according to an embodiment of the present application.
Detailed Description
The technical solution in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the described embodiments are merely a few embodiments of the present application and not all 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 application.
In order to realize detection of infrared shielding, the embodiment of the application provides an infrared shielding detection method and camera equipment. The present application will be described in detail below with reference to specific examples.
Fig. 1 is a schematic flow chart of an infrared occlusion detection method according to an embodiment of the present application. The method is applied to the camera equipment, and infrared light emitted by the infrared emission module is used for illuminating the image acquisition range of the camera equipment. The camera equipment can comprise an infrared emission module or not, namely, the infrared emission module is independent of the camera equipment. The infrared emitting module may also be referred to as an infrared lamp. The camera equipment can be a video camera, a mobile phone camera, a monitoring camera and the like. When the camera shooting device shoots the infrared image, the infrared emission module can emit infrared light so as to facilitate the camera shooting device to shoot a clear infrared image. The method of the present embodiment includes the following steps S101 and S102.
Step S101: and acquiring an infrared image acquired by the camera equipment.
The camera equipment can comprise an image acquisition module, and when the infrared image acquired by the camera equipment is acquired, the infrared image acquired by the image acquisition module can be acquired.
The infrared image can be understood as an image obtained by sensing infrared light by a light sensor (sensor). The infrared image is typically a black and white image. After the infrared emitting module emits infrared light, the infrared light can irradiate the object, and the infrared light reflected by the object enters the photosensitive sensor of the camera equipment, so that an infrared image of the object can be obtained. Therefore, the imaging condition of the infrared image can reflect whether the infrared light of the infrared emission module is blocked.
In this embodiment, the infrared light emitted by the infrared emitting module may be near-infrared light. The wavelength range of the near infrared light is 0.76-1.5 μm. In general, a photosensitive sensor in a common camera can sense light in a near infrared region and a visible light region, so that the image pickup apparatus can also be obtained by additionally installing a filter for blocking visible light on the common camera. In this case, a common camera may include at least two image acquisition modes: a non-night vision acquisition mode and a night vision acquisition mode. The infrared image can also be an image acquired by a common camera in a night vision acquisition mode.
In this embodiment, when the image capturing apparatus is in the operating state, step S101 may be executed at preset time intervals, so that whether the infrared light of the infrared emission module is blocked can be detected in real time.
In another embodiment, when acquiring an infrared image captured by a camera device, the method may include: acquiring an image acquired by the camera equipment, detecting whether the image is an infrared image, and if so, executing step S102.
Step S102: and determining that the infrared light emitted by the infrared emission module is blocked according to the pixel value of the infrared image and a preset pixel value range.
The pixel value is a pixel value of a pixel point. The pixel values may range from 0 to 255, where 0 represents pure black and 255 represents pure white. In this embodiment, the pixel value may also be understood as a gray value.
The pixel value range represents a pixel value range included in the infrared image when the infrared light emitted by the infrared emission module is blocked. The pixel value range can be obtained according to a large number of sample infrared images obtained in advance, and the sample infrared images are infrared images when infrared light emitted by the infrared emission module is blocked.
Different sample infrared images can be obtained according to the distance between the barrier and the emitting port of the infrared emitting module.
For example, when an obstacle is large and the obstacle is close to the image pickup apparatus, both infrared light and a lens of the image pickup apparatus are blocked, and an over-bright phenomenon (e.g., a highlight) appears in an infrared image captured by the image pickup apparatus. In this case, the pixel value range may be set to: a range greater than the first pixel value threshold.
When the distance that barrier distance infrared emission module's transmission mouth is very close, the infrared light is all sheltered from, and camera equipment's camera lens is not sheltered from, and camera equipment gathers infrared image and presents the too dark phenomenon (for example a piece of paint black), can set for the pixel value scope under this kind of condition: a range less than the second pixel value threshold. The second pixel value threshold is not greater than the first pixel value threshold.
In both cases, there is also an intermediate state in which an obstacle appears in the infrared image, the obstacle region in the infrared image is an excessively bright region, and the region other than the obstacle is an excessively dark region. In this case, the pixel value range may be set to include: a range of pixel values representing bright pixel points and a range of pixel values representing dark pixel points.
When the step is implemented, various embodiments can be specifically included. For example, when the pixel value range is: when the number of the pixel points is larger than the first pixel value threshold, the number of the pixel points with the pixel values larger than the first pixel value threshold in the infrared image can be determined, and when the number is larger than a preset first number threshold, an over-bright area exists in the infrared image, and at the moment, it can be determined that the infrared light emitted by the infrared emission module is shielded; when the number is not larger than the first number threshold, it is determined that the infrared light emitted by the infrared emission module is not blocked. The number threshold may be a threshold predetermined according to an empirical value.
When the pixel value range is smaller than the second pixel value threshold, the number of pixel points with pixel values smaller than the second pixel value threshold in the infrared image can be determined, and when the number is larger than a preset second number threshold, an excessively dark area exists in the infrared image, and at the moment, the infrared light emitted by the infrared emission module can be determined to be shielded; when the number is not greater than the second number threshold, it is determined that the infrared light emitted by the infrared emission module is not blocked.
When the pixel value range comprises a pixel value range representing a bright pixel point and a pixel value range representing a dark pixel point, determining a first number of pixel points of which the pixel values are in the pixel value range representing the bright pixel point in the infrared image, determining a second number of pixel points of which the pixel values are in the pixel value range representing the dark pixel point in the infrared image, and when the first number is greater than a preset third number threshold and the second number is greater than a preset fourth number threshold, considering that an over-bright area and an over-dark area exist in the infrared image, and determining that the infrared light emitted by the infrared emission module is shielded at the moment; and when the first number is not greater than the third number threshold value and/or the second number is not greater than the fourth number threshold value, determining that the infrared light emitted by the infrared emission module is not blocked.
Wherein the first number threshold may be equal to the second number threshold, the third number threshold may be equal to the fourth number threshold, and the third number threshold and the fourth number threshold may not be equal to the first number threshold or the second number threshold.
In another embodiment, the step may determine whether the infrared image satisfies at least one of the following conditions directly according to the pixel value of the infrared image and a preset pixel value range, and if so, determine that the infrared light emitted by the infrared emitting module is blocked:
an over-bright area with a first preset area exists; an excessively dark area with a second preset area exists; there are third preset area of overly bright regions and fourth preset area of overly dark regions. The over-bright area is an area where the pixel value is in the range of the pixel value representing the bright pixel point, and the over-dark area is an area where the pixel value is in the range of the pixel value representing the dark pixel point. The first predetermined area may be equal to the second predetermined area, the third predetermined area may be equal to the fourth predetermined area, and the third predetermined area and the fourth predetermined area may not be equal to the first predetermined area or the second predetermined area.
As can be seen from the above, the infrared image acquired by the camera device can be acquired, and it is determined that the infrared light emitted by the infrared emission module is blocked according to the pixel value of the infrared image and the preset pixel value range. When the infrared light is blocked, the phenomenon of over-brightness and/or over-darkness can occur in the infrared image collected by the camera equipment, so that the infrared light can be determined to be blocked according to the pixel value range contained in the infrared image and the pixel value of the infrared image when the infrared light emitted by the infrared emission module is blocked. Therefore, the scheme provided by the embodiment can realize the detection of infrared shielding.
In another embodiment of the present application, in order to determine whether the infrared light is blocked more accurately, in the embodiment shown in fig. 1, the step S102 of determining that the infrared light emitted by the infrared emitting module is blocked according to the pixel value of the infrared image and the preset pixel value range may include:
and determining that the infrared light emitted by the infrared emission module is blocked according to the pixel value of each sub-image area contained in the infrared image and a preset pixel value range.
Each sub-image region may be N preset sub-image regions, and N may be an integer of 2 or more. For example, for an image with a height h and a width w, the 9 sub-image regions corresponding to the image may be as shown in fig. 2, where the height of each sub-image region is h/3, and the width of each sub-image region is w/3. In this embodiment, each time the infrared image is acquired, the infrared image may be divided into the respective sub-image areas of the same range.
The respective sub-image areas may also be obtained from other devices. The size of the respective sub-image areas may be different. In this embodiment, each time the infrared image is acquired, each acquired sub-image area may be taken as each sub-image area included in the infrared image.
In an implementation manner of this embodiment, when the pixel value range is greater than the first pixel value threshold, step S102 is performed to determine that the infrared light emitted by the infrared emission module is blocked according to the pixel value in each sub-image region included in the infrared image and a preset pixel value range, and may be performed according to a flowchart shown in fig. 3a, where the step includes the following steps:
step S102-1 a: and determining the mean value of the pixel values of all sub-image areas contained in the infrared image.
For example, for each sub-image region, the ratio of the sum of the pixel values of all the pixel points of the sub-image region to the total number of all the pixel points of the sub-image region may be used as the mean value of the pixel values of the sub-image region.
Step S102-2 a: and determining the sub-image area with the pixel value mean value larger than the first pixel value threshold value as a bright sub-image area.
The larger the pixel value, the closer the image is to white; the smaller the pixel value, the closer the image is to black. The first pixel value threshold T01 may be a threshold that is previously determined empirically, for example, the first pixel value threshold may take a value between 180 and 250.
Step S102-3 a: and when the number of the bright sub-image areas is larger than a preset first number threshold value, determining that the infrared light emitted by the infrared emission module is blocked.
Wherein the first number threshold may be determined according to the total number of sub-image regions of the infrared image and an empirical value. Specifically, the first number threshold may be set to an integer corresponding to M-th of the total number N of sub-image regions of the infrared image, i.e., [ N/M ]. M is an integer of 1 or more and N or less, and M may be N-1. "-" is a minus sign.
For example, there are 9 sub-image regions in the infrared image, where there are 7 sub-image regions whose pixel value mean is greater than the first pixel value threshold, and these 7 sub-image regions are the bright sub-image regions K1. When the first number threshold is 5, the number K1 of the bright sub-image areas is considered to be greater than the first number threshold K01, and it is determined that the infrared light emitted by the infrared emission module is blocked. When the first number threshold is 8, the number K1 of the bright sub-image areas is not larger than the first number threshold K01, and it is determined that the infrared light emitted by the infrared emission module is not blocked.
The embodiment can realize the detection of the infrared shielding, and especially can more accurately realize the detection of the infrared shielding under the condition that the infrared images are all over-bright areas.
In one implementation of this embodiment, when the pixel value range is: when the range is smaller than the second pixel value threshold, step S102 is performed according to the pixel value in each sub-image region included in the infrared image and the preset pixel value range, and the step of determining that the infrared light emitted by the infrared emission module is blocked may be performed according to the flowchart shown in fig. 3b, and specifically includes:
step S102-1 b: and determining the mean value of the pixel values of all sub-image areas contained in the infrared image.
The description of this step can refer to step S102-1a, and is not repeated here.
Step S102-2 b: and determining the sub-image area with the pixel value mean value smaller than the second pixel value threshold value as the dark sub-image area.
The second pixel value threshold may be a threshold determined empirically in advance, for example, the second pixel value threshold may take a value between 30 and 50.
Step S102-3 b: and when the number of the dark sub-image areas is larger than a preset second number threshold, determining that the infrared light emitted by the infrared emission module is blocked.
Wherein the second number threshold may be determined based on a total number of sub-image regions of the infrared image and an empirical value. Specifically, the second number threshold may be set to an integer corresponding to M-th of the total number N of sub-image regions of the infrared image, i.e., [ N/M ]. M is an integer of 1 or more and N or less. M is an integer of 1 or more, and M may be N-1. "-" is a minus sign.
For example, there are 9 sub-image regions in the infrared image, where there are 7 sub-image regions whose pixel value mean value is smaller than the second pixel value threshold, and these 7 sub-image regions are the dark sub-image region K2. When the second number threshold is 5, the number K2 of the dark sub-image regions is considered to be greater than the second number threshold K02, and it is determined that the infrared light emitted by the infrared emission module has been blocked. When the second number threshold is 8, the number K2 of the dark sub-image regions is not considered to be greater than the second number threshold K02, and it is determined that the infrared light emitted by the infrared emission module is not blocked.
The embodiment can realize the detection of the infrared shielding, and especially can more accurately realize the detection of the infrared shielding under the condition that the infrared image is a dark area.
In one implementation of this embodiment, when the pixel value range is: when the preset pixel value range representing the bright pixel point and the preset pixel value range representing the dark pixel point are obtained, step S102 is performed to determine that the infrared light emitted by the infrared emission module is blocked according to the pixel value in each sub-image region included in the infrared image and the preset pixel value range, which may be performed according to the flow diagram shown in fig. 3c, and includes:
step S102-1 c: counting the number of pixel points corresponding to each pixel value in each sub-image area aiming at each sub-image area contained in the infrared image, and calculating the number proportion of the bright pixel points and the number proportion of the dark pixel points in the sub-image area according to the number of the pixel points corresponding to each pixel value in the sub-image area, the pixel value range representing the bright pixel points and the pixel value range representing the dark pixel points.
And for each sub-image area contained in the infrared image, calculating the quantity proportion of bright pixel points and the quantity proportion of dark pixel points of each sub-image area according to the mode of the step S102-1 c.
When the number ratio of the bright pixel points and the number ratio of the dark pixel points in the sub-image area are calculated in this step, the method may specifically include: determining the total number Z1 of first pixel points in the pixel value range representing the bright pixel points according to the number of the pixel points corresponding to each pixel value in the sub-image area: determining the total number Z2 of second pixels in the pixel value range representing dark pixels according to the number of pixels corresponding to each pixel value in the sub-image region; calculating the number proportion of the bright pixel points of the sub-image area according to the formula Z1/Z00; according to the formula Z2/Z00, the number ratio of dark pixel points in the sub-image area is calculated. Wherein Z00 is the total number of pixels in the sub-image region.
For example, a sub-image region contains 100(Z00) pixels, where the number of pixels corresponding to each pixel value in the sub-image region is as follows: the pixel value is 0-10 pixel points, the pixel value is 10-15 pixel points, the pixel value is 30-5 pixel points, the pixel value is 60-20 pixel points, the pixel value is 120-10 pixel points, the pixel value is 200-10 pixel points, the pixel value is 220-15 pixel points, and the pixel value is 240-15 pixel points. The pixel value range B0 representing dark pixels is [0, 40], and the total number Z1 of the first pixels in the range is 30. The pixel value range D0 representing bright pixels is [200, 255], and the total number of second pixels Z2 in the range is 40. According to the formula Z1/Z00, the proportion of the number of bright pixel points in the sub-image region is 30/100-30%, and according to the formula Z2/Z00, the proportion of the number of dark pixel points in the sub-image region is calculated 40/100-40%.
After the number of the pixels corresponding to each pixel value in the sub-image region is counted, a gray value histogram can be generated according to the number of the pixels corresponding to each pixel value, the abscissa of the gray value histogram represents each pixel value, and the ordinate represents the number of the pixels corresponding to each pixel value.
When the number ratio of the bright pixel points and the number ratio of the dark pixel points in the sub-image region are calculated, the number ratio of the bright pixel points and the number ratio of the dark pixel points in the sub-image region can be specifically calculated according to the gray value histogram, the pixel value range representing the bright pixel points and the pixel value range representing the dark pixel points.
Step S102-2 c: and when the sub-image areas with the quantity ratio of the bright pixel points larger than a preset first ratio threshold exist in the infrared image and the sub-image areas with the quantity ratio of the dark pixel points larger than a preset second ratio threshold exist in the infrared image, the fact that the infrared light emitted by the infrared emission module is blocked is determined.
The first proportional threshold and the second proportional threshold may be equal or unequal. Both the first and second proportional thresholds may be predetermined based on empirical values.
According to the step S102-1c, the number ratio of the bright pixel points and the number ratio of the dark pixel points in each sub-image area in the infrared image can be obtained.
In this step, it may be determined whether a sub-image region in which the number ratio of the bright pixel points is greater than a preset first ratio threshold exists in the infrared image, and a sub-image region in which the number ratio of the dark pixel points is greater than a preset second ratio threshold exists, and if so, it is determined that the infrared light emitted by the infrared emission module is blocked. And if the sub-image area with the quantity ratio of the bright pixel points larger than the preset first ratio threshold value does not exist in the infrared image, and/or the sub-image area with the quantity ratio of the dark pixel points larger than the preset second ratio threshold value does not exist, determining that the infrared light emitted by the infrared emission module is not shielded.
When a sub-image region with the number proportion of bright pixel points larger than a first proportion threshold exists in the infrared image, and a sub-image region with the number proportion of dark pixel points larger than a second proportion threshold exists in the infrared image, it is considered that an over-bright region (namely an obstacle region) and an over-dark region (namely a background region outside the obstacle) exist in the infrared image. See the infrared image shown in fig. 4, where the white portion on the left side is an obstacle. When the barrier is away from the infrared emission module by a certain distance, the barrier shields a light path from which infrared light projects to a far place, so that a background area behind the barrier is too dark. In this case, it can be determined that the infrared light emitted from the infrared emission module has been blocked.
The sub-image area with the number ratio of the bright pixel points larger than the first ratio threshold may be the same sub-image area as the sub-image area with the number ratio of the dark pixel points larger than the second ratio threshold, or may be different sub-image areas.
For example, there are 9 sub-image regions in the infrared image, and the number ratio of bright pixel points and the number ratio of dark pixel points in the 9 sub-image regions are respectively: (20%, 11%), (15%, 60%), (58%, 11%), (60%, 7%), (10%, 12%), (72%, 6%), (11%, 54%), (14%, 70%), (10%, 41%). When the first ratio threshold TB0 is 30% and the second ratio threshold TD0 is 50%, it can be determined that the infrared light emitted by the infrared emission module is blocked because the ratio of the number of bright pixel points in the sub-image regions corresponding to (58%, 11%), (60%, 7%) and (72%, 6%) is greater than TB0, and the ratio of the number of bright pixel points in the sub-image regions corresponding to (15%, 60%), (11%, 54%) and (14%, 70%) is greater than TD 0.
In another embodiment, when determining that the infrared light emitted by the infrared emission module is blocked, the method may further include: and when the number of the sub-image areas with the quantity proportion of the bright pixel points larger than the preset first proportion threshold value in the infrared image is larger than the first threshold value and the number of the sub-image areas with the quantity proportion of the dark pixel points larger than the preset second proportion threshold value is larger than the second threshold value, determining that the infrared light emitted by the infrared emission module is blocked. This embodiment enables more accurate determination of infrared occlusion.
The first threshold may be equal to or different from the second threshold. Both the first threshold and the second threshold may be predetermined based on empirical values.
The embodiment can realize the detection of the infrared shielding, and especially can more accurately realize the detection of the infrared shielding under the condition that the infrared image has both an over-bright area and an over-dark area.
In summary, in the embodiment, it is determined that the infrared light emitted by the infrared emission module is blocked according to each sub-image area included in the infrared image, and the pixel value condition of each sub-image area is referred to more fully, so that the accuracy of infrared blocking detection can be improved.
In another embodiment of the present application, the step S102 of determining that the infrared light emitted by the infrared emission module is blocked according to the pixel value of the infrared image and a preset pixel value range may specifically include the following steps 1 and 2.
Step 1: counting the number of pixel points corresponding to each pixel value in the infrared image, and calculating the number proportion of the bright pixel points and the number proportion of the dark pixel points of the infrared image according to the number of the pixel points corresponding to each pixel value in the infrared image, the preset pixel value range representing the bright pixel points and the preset pixel value range representing the dark pixel points.
In this step, when calculating the number ratio of the bright pixel points and the dark pixel points of the infrared image, the method may specifically include: determining the total number Z3 of third pixel points within the pixel value range representing the bright pixel points according to the number of the pixel points corresponding to each pixel value in the infrared image: determining the total number Z4 of fourth pixel points within the pixel value range representing dark pixel points according to the number of pixel points corresponding to each pixel value in the infrared image; calculating the quantity proportion of bright pixel points of the infrared image according to a formula Z3/Z11; according to the formula Z4/Z11, the number proportion of dark pixel points of the infrared image is calculated. Wherein Z11 is the total number of pixel points in the infrared image.
After the number of the pixel points corresponding to each pixel value in the infrared image is counted, a gray value histogram can be generated according to the number of the pixel points corresponding to each pixel value, the abscissa of the gray value histogram represents each pixel value, and the ordinate represents the number of the pixel points corresponding to each pixel value.
When the number ratio of the bright pixel points and the number ratio of the dark pixel points of the infrared image are calculated, the number ratio of the bright pixel points and the number ratio of the dark pixel points of the infrared image can be calculated specifically according to the gray value histogram, the pixel value range representing the bright pixel points and the pixel value range representing the dark pixel points.
Step 2: and when the quantity ratio of the bright pixel points of the infrared image is greater than a preset first ratio threshold and the quantity ratio of the dark pixel points of the infrared image is greater than a preset second ratio threshold, determining that the infrared light emitted by the infrared emission module is blocked.
When the number proportion of the bright pixel points of the infrared image is larger than a preset first proportion threshold value and the number proportion of the dark pixel points of the infrared image is larger than a preset second proportion threshold value, it is considered that both an over-bright area (namely, an obstacle area) and an over-dark area (namely, a background area outside the obstacle) exist in the infrared image. In this case, it can be determined that the infrared light emitted from the infrared emission module has been blocked.
In this embodiment, the number ratio of the bright pixel points and the number ratio of the dark pixel points of the infrared image may be determined, and when the number ratio is greater than the ratio threshold, it is determined that the infrared light emitted by the infrared emitting module is blocked. The embodiment can also realize the detection of the infrared light shielding.
In another embodiment of the present application, before the step S102, before determining that the infrared light emitted by the infrared emission module is blocked, the method may further include:
and judging whether the camera device is in a night vision acquisition mode, and if so, determining that the infrared light emitted by the infrared emission module is shielded according to the pixel value of the infrared image and a preset pixel value range.
The night vision acquisition mode is an image acquisition mode for acquiring images by utilizing an infrared emission module.
In one embodiment, when determining whether the image pickup apparatus is in the night vision acquisition mode, the state of the current infrared transmitting module transmitted by the application layer may be specifically used, and when the state indicates that the infrared transmitting module is in the on state, the image pickup apparatus is determined to be in the night vision acquisition mode; when the state indicates that the infrared transmitting module is in the off state, it is determined that the image pickup apparatus is not in the night vision acquisition mode. The state may be a state value. For example, when the state value is 1, it indicates that the infrared transmitting module is in an on state; when the state value is 0, the infrared transmitting module is in a closed state.
In another embodiment, whether the acquired image acquired by the camera device is an infrared image is detected, and if so, the camera device is determined to be in a night vision acquisition mode.
When detecting whether the image of the camera equipment collection that obtains is infrared image, can include: determining the maximum difference value of RGB color channels of each pixel point aiming at each pixel point of the acquired image acquired by the camera equipment; determining the pixel points with the maximum difference value larger than a preset threshold value in the image as target pixel points, judging whether the proportion of the total number of the target pixel points in the image to the total number of the pixel points in the image is smaller than a preset proportion threshold value, and if so, determining the image as an infrared image.
The preset threshold and the preset proportion threshold can be predetermined according to empirical values. The preset threshold value can be between 40 and 60 pixel values. The preset proportional threshold may take a value between 25% and 35%.
In this embodiment, when the image pickup apparatus is in the night vision acquisition mode, the step of acquiring the infrared image acquired by the image pickup apparatus is executed, and the accuracy of processing can be improved.
In another embodiment of the present application, when it is determined that the infrared light emitted by the infrared emission module is blocked, the image capturing apparatus may further perform an alarm in a preset manner. For example, the image capturing apparatus may transmit a sound prompt representing an alarm, may display a screen prompt representing an alarm, and may transmit alarm information to an associated client.
Fig. 5 is a schematic structural diagram of an image capturing apparatus according to an embodiment of the present application. This embodiment corresponds to the embodiment of the method shown in fig. 1. The image pickup apparatus includes: a processor 501, a memory 502, an infrared emission module 503, and an image acquisition module 504. The infrared light emitted by the infrared emission module 503 is used to illuminate the image capture range of the image capture apparatus.
An image acquisition module 504, configured to acquire an infrared image and store the infrared image in the memory 502;
the processor 501 is configured to acquire an infrared image from the memory 502, and determine that infrared light emitted by the infrared emission module 503 is blocked according to a pixel value of the infrared image and a preset pixel value range; the pixel value range is a pixel value range included in the infrared image when the infrared light emitted by the infrared emission module 503 is blocked.
The Memory 502 may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory 502 may also be at least one storage device located remotely from the processor 501.
The Processor 501 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 another embodiment of the present application, the processor 501 in the embodiment shown in fig. 5 is specifically configured to:
according to the pixel values of the sub-image regions included in the infrared image and the preset pixel value range, it is determined that the infrared light emitted by the infrared emission module 503 is blocked.
In another embodiment of the present application, in the embodiment shown in fig. 5, the pixel value ranges are: a range greater than a first pixel value threshold; the processor 501 is specifically configured to:
determining the mean value of pixel values of all sub-image areas contained in the infrared image;
determining the sub-image area with the pixel value mean value larger than a first pixel value threshold value as a bright sub-image area;
when the number of the bright sub-image areas is greater than the preset first number threshold, it is determined that the infrared light emitted by the infrared emitting module 503 is blocked.
In another embodiment of the present application, in the embodiment shown in fig. 5, the pixel value ranges are: a range less than a second pixel value threshold; the processor 501 is specifically configured to:
determining the mean value of pixel values of all sub-image areas contained in the infrared image;
determining the sub-image area with the pixel value mean value smaller than a second pixel value threshold value as a dark sub-image area;
when the number of the dark sub-image regions is greater than the preset second number threshold, it is determined that the infrared light emitted by the infrared emission module 503 has been blocked.
In another embodiment of the present application, in the embodiment shown in fig. 5, the pixel value range includes: the method comprises the following steps of presetting a pixel value range representing bright pixel points and a pixel value range representing dark pixel points; the processor 501 is specifically configured to:
counting the number of pixel points corresponding to each pixel value in each sub-image area aiming at each sub-image area contained in the infrared image; calculating the quantity proportion of the bright pixel points and the dark pixel points of the sub-image area according to the quantity of the pixel points corresponding to each pixel value in the sub-image area, the pixel value range representing the bright pixel points and the pixel value range representing the dark pixel points;
when there are sub-image regions in the infrared image where the ratio of the number of bright pixel points is greater than the preset first ratio threshold and there are sub-image regions where the ratio of the number of dark pixel points is greater than the preset second ratio threshold, it is determined that the infrared light emitted by the infrared emission module 503 has been blocked.
In another embodiment of the present application, in the embodiment shown in fig. 5, the processor 501 is specifically configured to:
counting the number of pixel points corresponding to each pixel value in the infrared image, and calculating the number proportion of bright pixel points and the number proportion of dark pixel points of the infrared image according to the number of the pixel points corresponding to each pixel value in the infrared image, a preset pixel value range for representing bright pixel points and a preset pixel value range for representing dark pixel points;
when the number ratio of the bright pixel points of the infrared image is greater than the preset first ratio threshold and the number ratio of the dark pixel points of the infrared image is greater than the preset second ratio threshold, it is determined that the infrared light emitted by the infrared emitting module 503 is blocked.
In another embodiment of the present application, in the embodiment shown in fig. 5, the processor 501 is further configured to:
before the infrared light emitted by the infrared emitting module 503 is determined to be blocked, whether the camera device is in a night vision acquisition mode is judged, and if yes, the infrared light emitted by the infrared emitting module 503 is determined to be blocked according to the pixel value of the infrared image and the preset pixel value range; the night vision acquisition mode is an image acquisition mode in which an infrared emission module 503 is used to acquire an image.
In another embodiment of the present application, in the embodiment shown in fig. 5, the processor 501 is further configured to:
when it is determined that the infrared light emitted by the infrared emission module 503 has been blocked, an alarm is given in a preset manner.
Since the device embodiment is obtained based on the method embodiment and has the same technical effect as the method, the technical effect of the device embodiment is not described herein again. For the apparatus embodiment, since it is substantially similar to the method embodiment, it is described relatively simply, and reference may be made to some descriptions of the method embodiment for relevant points.
The embodiment of the application also provides a computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when being executed by a processor, the computer program realizes the infrared occlusion detection method provided by the embodiment of the application. The method comprises the following steps:
acquiring an infrared image acquired by the camera equipment;
determining that the infrared light emitted by the infrared emission module is shielded according to the pixel value of the infrared image and a preset pixel value range; the pixel value range represents the pixel value range contained in the infrared image when the infrared light emitted by the infrared emission module is blocked.
In summary, the present embodiment can acquire the infrared image acquired by the camera device, and determine that the infrared light emitted by the infrared emission module is blocked according to the pixel value of the infrared image and the preset pixel value range. When the infrared light is blocked, the phenomenon of over-brightness and/or over-darkness can occur in the infrared image collected by the camera equipment, so that the infrared light can be determined to be blocked according to the pixel value range contained in the infrared image and the pixel value of the infrared image when the infrared light emitted by the infrared emission module is blocked. Therefore, the scheme provided by the embodiment can realize the detection of infrared shielding.
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.
The above description is only for the preferred embodiment of the present application, and is not intended to limit the scope of the present application. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application are included in the protection scope of the present application.

Claims (7)

1. An infrared occlusion detection method is characterized by being applied to a camera device, wherein infrared light emitted by an infrared emission module is used for illuminating an image acquisition range of the camera device; the method comprises the following steps:
acquiring an infrared image acquired by the camera equipment;
determining that the infrared light emitted by the infrared emission module is shielded according to the pixel value of the infrared image and a preset pixel value range; the pixel value range represents the pixel value range contained in the infrared image when the infrared light emitted by the infrared emission module is blocked;
when the pixel value range is a range greater than a first pixel value threshold; the step of determining that the infrared light emitted by the infrared emission module is blocked according to the pixel value of the infrared image and a preset pixel value range comprises the following steps:
determining the mean value of pixel values of all sub-image areas contained in the infrared image; determining the sub-image area with the pixel value mean value larger than the first pixel value threshold value as a bright sub-image area; when the number of the bright sub-image areas is larger than a preset first number threshold, determining that the infrared light emitted by the infrared emission module is blocked;
when the pixel value range is a range less than a second pixel value threshold; the second pixel value threshold is not greater than the first pixel value threshold; the step of determining that the infrared light emitted by the infrared emission module is blocked according to the pixel value of the infrared image and a preset pixel value range comprises the following steps:
determining the mean value of pixel values of all sub-image areas contained in the infrared image; determining the sub-image area with the pixel value mean value smaller than the second pixel value threshold value as a dark sub-image area; when the number of the dark sub-image areas is larger than a preset second number threshold, determining that the infrared light emitted by the infrared emission module is blocked;
when the pixel value range comprises a preset pixel value range representing a bright pixel point and a preset pixel value range representing a dark pixel point; the step of determining that the infrared light emitted by the infrared emission module is blocked according to the pixel value of the infrared image and a preset pixel value range comprises the following steps:
counting the number of pixel points corresponding to each pixel value in each sub-image area aiming at each sub-image area contained in the infrared image; calculating the quantity proportion of the bright pixel points and the dark pixel points of the sub-image area according to the quantity of the pixel points corresponding to each pixel value in the sub-image area, the pixel value range of the bright pixel points and the pixel value range of the dark pixel points; and when the infrared image has a sub-image area with the quantity ratio of bright pixel points larger than a preset first ratio threshold value and a sub-image area with the quantity ratio of dark pixel points larger than a preset second ratio threshold value, determining that the infrared light emitted by the infrared emission module is blocked.
2. The method of claim 1, further comprising, prior to determining that the infrared light emitted by the infrared emission module has been blocked:
judging whether the camera device is in a night vision acquisition mode, if so, determining that the infrared light emitted by the infrared emission module is blocked according to the pixel value of the infrared image and a preset pixel value range; the night vision acquisition mode is an image acquisition mode for acquiring images by utilizing the infrared emission module.
3. The method of claim 1, wherein when it is determined that the infrared light emitted by the infrared emission module has been blocked, further comprising:
and alarming in a preset mode.
4. An image pickup apparatus characterized by comprising: the device comprises a processor, a memory, an infrared emission module and an image acquisition module; the infrared light emitted by the infrared emission module is used for illuminating the image acquisition range of the camera equipment;
the image acquisition module is used for acquiring an infrared image and storing the infrared image to the memory;
the processor is used for acquiring the infrared image from the memory and determining that the infrared light emitted by the infrared emission module is blocked according to the pixel value of the infrared image and a preset pixel value range; the pixel value range represents the pixel value range contained in the infrared image when the infrared light emitted by the infrared emission module is blocked;
when the pixel value range is a range greater than a first pixel value threshold; the processor is specifically configured to:
determining the mean value of pixel values of all sub-image areas contained in the infrared image; determining the sub-image area with the pixel value mean value larger than the first pixel value threshold value as a bright sub-image area; when the number of the bright sub-image areas is larger than a preset first number threshold, determining that the infrared light emitted by the infrared emission module is blocked;
when the pixel value range is a range less than a second pixel value threshold; the second pixel value threshold is not greater than the first pixel value threshold; the processor is specifically configured to:
determining the mean value of pixel values of all sub-image areas contained in the infrared image; determining the sub-image area with the pixel value mean value smaller than the second pixel value threshold value as a dark sub-image area; when the number of the dark sub-image areas is larger than a preset second number threshold, determining that the infrared light emitted by the infrared emission module is blocked;
when the pixel value range comprises a preset pixel value range representing a bright pixel point and a preset pixel value range representing a dark pixel point; the processor is specifically configured to:
counting the number of pixel points corresponding to each pixel value in each sub-image area aiming at each sub-image area contained in the infrared image; calculating the quantity proportion of the bright pixel points and the dark pixel points of the sub-image area according to the quantity of the pixel points corresponding to each pixel value in the sub-image area, the pixel value range of the bright pixel points and the pixel value range of the dark pixel points; and when the infrared image has a sub-image area with the quantity ratio of bright pixel points larger than a preset first ratio threshold value and a sub-image area with the quantity ratio of dark pixel points larger than a preset second ratio threshold value, determining that the infrared light emitted by the infrared emission module is blocked.
5. The device of claim 4, wherein the processor is further configured to:
before the infrared light emitted by the infrared emission module is determined to be shielded, judging whether the camera shooting equipment is in a night vision acquisition mode, if so, determining that the infrared light emitted by the infrared emission module is shielded according to the pixel value of the infrared image and a preset pixel value range; the night vision acquisition mode is an image acquisition mode for acquiring images by utilizing the infrared emission module.
6. The device of claim 4, wherein the processor is further configured to:
and when the infrared light emitted by the infrared emission module is determined to be shielded, alarming in a preset mode.
7. 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 the claims 1-3.
CN201810479536.4A 2018-05-18 2018-05-18 Infrared shielding detection method and camera equipment Active CN110505371B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810479536.4A CN110505371B (en) 2018-05-18 2018-05-18 Infrared shielding detection method and camera equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810479536.4A CN110505371B (en) 2018-05-18 2018-05-18 Infrared shielding detection method and camera equipment

Publications (2)

Publication Number Publication Date
CN110505371A CN110505371A (en) 2019-11-26
CN110505371B true CN110505371B (en) 2021-07-09

Family

ID=68584304

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810479536.4A Active CN110505371B (en) 2018-05-18 2018-05-18 Infrared shielding detection method and camera equipment

Country Status (1)

Country Link
CN (1) CN110505371B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009080003A (en) * 2007-09-26 2009-04-16 Sumitomo Electric Ind Ltd Imaging apparatus and lens failure diagnosis system
CN201298878Y (en) * 2008-08-14 2009-08-26 广东保千里电子技术有限公司 Camera with wireless remote setting menu
CN102682547A (en) * 2012-05-29 2012-09-19 昆山锐芯微电子有限公司 Warning system
CN102891957A (en) * 2011-07-21 2013-01-23 佛山普立华科技有限公司 Camera
CN103747205A (en) * 2013-12-02 2014-04-23 乐视致新电子科技(天津)有限公司 Method and system for performing monitoring through smart television
CN106650708A (en) * 2017-01-19 2017-05-10 南京航空航天大学 Visual detection method and system for automatic driving obstacles

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101361857B1 (en) * 2007-08-24 2014-02-21 삼성전자주식회사 Method and apparatus photographing using infrared in portable terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009080003A (en) * 2007-09-26 2009-04-16 Sumitomo Electric Ind Ltd Imaging apparatus and lens failure diagnosis system
CN201298878Y (en) * 2008-08-14 2009-08-26 广东保千里电子技术有限公司 Camera with wireless remote setting menu
CN102891957A (en) * 2011-07-21 2013-01-23 佛山普立华科技有限公司 Camera
CN102682547A (en) * 2012-05-29 2012-09-19 昆山锐芯微电子有限公司 Warning system
CN103747205A (en) * 2013-12-02 2014-04-23 乐视致新电子科技(天津)有限公司 Method and system for performing monitoring through smart television
CN106650708A (en) * 2017-01-19 2017-05-10 南京航空航天大学 Visual detection method and system for automatic driving obstacles

Also Published As

Publication number Publication date
CN110505371A (en) 2019-11-26

Similar Documents

Publication Publication Date Title
US10070053B2 (en) Method and camera for determining an image adjustment parameter
US9313415B2 (en) Method and system for adjusting exposure settings of video cameras
US8295541B2 (en) System and method for detecting a change in an object scene
US9648285B2 (en) Monitoring method and camera
JP6553624B2 (en) Measurement equipment and system
US9818277B1 (en) Systems and methods for smoke detection
KR102059906B1 (en) Method and image capturing device for detecting fog in a scene
US20180260964A1 (en) System and method for detecting moving object in an image
CN108600736B (en) Terminal light sensation calibration method and device, terminal and storage medium
US9202115B2 (en) Event detection system and method using image analysis
KR102630836B1 (en) Real-time calculation of atmospheric precipitation rates from digital images of the environment in which atmospheric precipitation occurs
Yuwono et al. Design and implementation of human detection feature on surveillance embedded IP camera
KR20180089249A (en) Method for diagnosing fault of camera
CN108875477B (en) Exposure control method, device and system and storage medium
CN110505371B (en) Infrared shielding detection method and camera equipment
WO2012122194A1 (en) System and method for situational awareness and target cueing
US20170270385A1 (en) Image processing by means of cross-correlation
JP2018166308A (en) Camera calibration device
EP3832538A1 (en) Thermal health monitoring sensor
JP2020167500A (en) Image processing apparatus and image processing program
WO2021104648A1 (en) Illumination measurement with distance based weighting
US20040264918A1 (en) Method and apparatus for correcting digital images
US20220239820A1 (en) A computer implemented method and a system for obtaining a camera setting
US10510233B2 (en) Reducing and eliminating the effects of bright lights in a field-of-view of a camera
JP7252815B2 (en) Image processing device and image processing program

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