WO2020073505A1 - Image processing method, apparatus and device based on image recognition, and storage medium - Google Patents

Image processing method, apparatus and device based on image recognition, and storage medium Download PDF

Info

Publication number
WO2020073505A1
WO2020073505A1 PCT/CN2018/123882 CN2018123882W WO2020073505A1 WO 2020073505 A1 WO2020073505 A1 WO 2020073505A1 CN 2018123882 W CN2018123882 W CN 2018123882W WO 2020073505 A1 WO2020073505 A1 WO 2020073505A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
image
target area
reference image
frame image
Prior art date
Application number
PCT/CN2018/123882
Other languages
French (fr)
Chinese (zh)
Inventor
王义文
王健宗
肖京
Original Assignee
平安科技(深圳)有限公司
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 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2020073505A1 publication Critical patent/WO2020073505A1/en

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B13/00Burglar, theft or intruder alarms
    • G08B13/18Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength
    • G08B13/189Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems
    • G08B13/194Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems using image scanning and comparing systems
    • G08B13/196Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems using image scanning and comparing systems using television cameras
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B13/00Burglar, theft or intruder alarms
    • G08B13/18Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength
    • G08B13/189Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems
    • G08B13/194Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems using image scanning and comparing systems
    • G08B13/196Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems using image scanning and comparing systems using television cameras
    • G08B13/19602Image analysis to detect motion of the intruder, e.g. by frame subtraction
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B13/00Burglar, theft or intruder alarms
    • G08B13/18Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength
    • G08B13/189Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems
    • G08B13/194Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems using image scanning and comparing systems
    • G08B13/196Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems using image scanning and comparing systems using television cameras
    • G08B13/19602Image analysis to detect motion of the intruder, e.g. by frame subtraction
    • G08B13/19613Recognition of a predetermined image pattern or behaviour pattern indicating theft or intrusion

Definitions

  • the present application relates to the field of medical technology, and in particular, to an image processing method, device, device, and storage medium based on image recognition.
  • Image recognition is a method of processing, analyzing and understanding images to identify the objects in the image. This method is widely used in security video surveillance, image retrieval, automatic driving or quality inspection and other fields, giving users life and work Bring great convenience.
  • the staff mainly watch the video data taken for the monitored area to determine whether an abnormal object (such as a stranger) has intruded into the monitored area by comparing every two frames of the video data. It has been found in practice that this image recognition method requires a lot of time and labor resources, resulting in low efficiency of image recognition.
  • Embodiments of the present application provide an image processing method, device, device, and storage medium based on image recognition, which automatically recognizes objects that break into a monitoring area, and improves the efficiency of image recognition.
  • an embodiment of the present application provides an image processing method based on image recognition.
  • the method includes:
  • the reference image refers to the image captured when there is no target object intrusion in the target area ;
  • the matching degree of the target frame image and the reference image is less than a preset threshold, it is determined that the target object intrudes in the target area.
  • an embodiment of the present application provides a base image processing device, which includes:
  • the shooting module is used for shooting the target area by the shooting device to obtain the target video data of the target area.
  • the filtering module is used to filter out target frame images from the target video data according to a preset filtering rule, and obtain a reference image of the target area, where the reference image means that there is no target object intrusion in the target area Images taken at the time.
  • the comparison module is used to compare the feature information of the target frame image with the feature information of the reference image to obtain the matching degree between the target frame image and the reference image.
  • the determining module is configured to determine that the target object intrudes in the target area when the matching degree between the target frame image and the reference image is less than a preset threshold.
  • an embodiment of the present application provides a monitoring device, the device includes: a processor adapted to implement one or more instructions; and a computer-readable storage medium, the computer-readable storage medium storing one or More than one instruction, the one or more instructions are suitable to be loaded by the processor and execute the following steps:
  • the reference image refers to the image captured when there is no target object intrusion in the target area ;
  • the matching degree of the target frame image and the reference image is less than a preset threshold, it is determined that the target object intrudes in the target area.
  • an embodiment of the present application provides a computer-readable storage medium storing one or more instructions, the one or more instructions being suitable for being loaded by a processor and performing the following steps :
  • the reference image refers to the image captured when there is no target object intrusion in the target area ;
  • the matching degree of the target frame image and the reference image is less than a preset threshold, it is determined that the target object intrudes in the target area.
  • objects that break into the monitoring area can be automatically identified based on the image, thereby improving the efficiency of image recognition.
  • FIG. 1 is a schematic flowchart of an image processing method based on image recognition provided by an embodiment of the present application
  • FIG. 2 is a schematic flowchart of an image processing method based on image recognition provided by another embodiment of the present application.
  • FIG. 3 is a schematic structural diagram of an image processing device provided by an embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of a monitoring device provided by another embodiment of the present application.
  • the application example can be executed by a monitoring device, which can include a front-end part, a transmission part, and a back-end part.
  • the front-end part mainly consists of a camera, a sensor, a lens, a gimbal, a protective cover, a bracket, a decoder, etc.
  • transmission part using cables and wires to transmit video, audio or control signals by overhead, underground or laying along the wall, etc .
  • rear part mainly by picture splitter, monitor , Control devices, video storage devices, etc., mainly used for processing the number of videos or images.
  • the example of this application can be applied to security video surveillance scenes to analyze the video data of the scenes to determine whether there are target objects intruding in these scenes.
  • Security video surveillance scenes include video surveillance scenes in residential areas and video surveillance in military areas Scenes or video surveillance scenes of shopping mall warehouses, etc., target objects include strangers or animals, etc.
  • the shooting device of the monitoring device may shoot the monitoring area to obtain video data of the monitoring area.
  • the target frame image is selected from the video data of the monitoring area, and the reference image of the monitoring area is obtained.
  • the reference image is an image in which no target object intrudes in the monitoring area. Compare with the characteristic information of the reference image to obtain the matching degree between the target frame image and the reference image.
  • the matching degree between the target frame image and the reference image is less than the preset threshold, it indicates the difference between the target frame image and the reference image It is relatively large, and it is determined that there is a target object intrusion in the monitoring area.
  • By identifying the target frame image in the video data of the target area it can automatically identify whether there is a target object intrusion in the target area, save labor resources, improve the efficiency of image recognition, and meet the user's automated and intelligent demand for video surveillance , Can effectively ensure the safety of users; in addition, by filtering the video data in the target area, only part of the frame images in the video data need to be identified, and all images in the video data do not need to be identified, further improving The efficiency of image recognition.
  • FIG. 1 is a schematic flowchart of an image processing method based on image recognition provided by an embodiment of the present application.
  • the method of the embodiment of the present application may be executed by the above-mentioned monitoring device.
  • the image processing method based on image recognition includes the following steps.
  • the target area in a target area where a target object such as a stranger or an animal is prohibited from entering, for the user's personal safety and property security, the target area may be photographed by a shooting device to obtain target video data of the target area .
  • the shooting device may refer to a panoramic camera device or a hemisphere camera device, etc.
  • the target area may refer to an entrance area of a residential area, a garage, an area where a warehouse of a shopping mall is located, or a military area.
  • the shooting device of the monitoring device when a sensor in the monitoring device detects that someone, an animal, etc. has entered the monitoring area, the shooting device of the monitoring device is triggered to shoot the monitoring area to obtain video data of the monitoring area, for example, by transmitting through the sensor Infrared spectrum, and receive the reflected infrared spectrum, calculate the time interval between the emitted infrared spectrum and the reflected infrared spectrum, when the time interval is lower than the preset time threshold, determine that there is a human or animal intrusion in the target area, trigger the monitoring equipment The shooting device shoots the monitoring area to obtain video data of the monitoring area.
  • the monitoring device may monitor the target area of a certain period of time. Specifically, set a shooting period for the shooting device when the time is within the shooting period of the shooting device When it is inside, the shooting device of the monitoring device is triggered to shoot the monitoring area to obtain the video data of the monitoring area.
  • the shooting time period can be set according to the time law of the history of the target area breaking into the target object.
  • the shooting time period can refer to The history of the target area breaking into the target object frequency is greater than the preset frequency period, such as the shooting time period refers to 6:00 to 12:00 in the evening.
  • S102 Filter target frame images from target video data according to a preset filtering rule, and obtain a reference image of a target area.
  • the reference image refers to an image that is captured when a target object does not exist in the target area.
  • the monitoring device may filter out the target frame image from the target video data according to a preset filtering rule, and obtain a reference image.
  • the reference image may be obtained from the target video, or It may refer to the acquisition based on the historical video data of the target area, and the reference image refers to an image captured when there is no target object intrusion in the target area.
  • the monitoring device may take the target frame image and the reference image as a whole to obtain the feature information of the target frame image and the reference image.
  • the feature information may refer to a histogram of orientation gradient (Histogram of Oriented Gradient, HOG), at least one of Scale-invariant feature transform (SIFT) or color histogram Color Histogram, which compares the feature information of the target frame image with the feature information of the reference image to obtain the target frame The degree of matching between the image and the reference image; or divide the target frame image and the reference image into multiple sub-pictures, obtain the characteristic information of each sub-picture separately, and determine the relationship between the target frame image and the reference image according to the characteristic information of each sub-picture suitability.
  • HOG histogram of orientation gradient
  • SIFT Scale-invariant feature transform
  • Color Histogram color histogram Color Histogram
  • the greater the matching degree the greater the similarity between the target frame image and the reference image, that is, the smaller the difference between the target frame image and the reference image; conversely, the smaller the matching degree, the target frame image and the reference image The smaller the similarity between the reference images, the greater the difference between the target frame image and the reference image.
  • the partial feature information of the target frame image and the partial feature information of the reference image may be compared to obtain the target frame image and the reference The matching degree of the image.
  • the characteristic information of the target frame image is sampled according to the preset sampling frequency
  • the characteristic information of the reference image is sampled according to the preset sampling frequency
  • the sampling point of the target frame image is The feature information is compared with the feature information of the corresponding sampling point of the reference image to obtain the matching degree of the target frame image and the reference image.
  • all the feature information of the target frame image and the corresponding feature information of the reference image may be compared to obtain the target frame The degree of matching between the image and the reference image.
  • the monitoring device can dynamically select a comparison strategy of feature information according to the stability of the target area.
  • the comparison strategy includes all comparisons and partial comparisons. Yes, specifically, when it is detected that the stability of the target area is greater than or equal to the preset stable value, it indicates that the target area itself does not change much.
  • the background objects inherent in the target area such as lighting and weather
  • the target object breaks The probability of entering is small
  • you can select the part of the feature information to this strategy that is, compare the part of the target frame image with the reference image, and use the matching degree between the target frame image and the reference image; when detecting
  • the stability of the target area is less than the preset stable value, it indicates that the target area itself changes greatly, such as the background changes quickly, the probability of the target object intruding is large
  • you can choose all of the feature information for this strategy that is, the target frame image Compare all the feature information of the reference image with all the feature information of the reference image to the target frame image The degree of match between the reference image.
  • the comparison strategy of the above characteristic information may also be manually selected by the user according to personal needs.
  • the matching degree between the target frame image and the reference image when the matching degree between the target frame image and the reference image is greater than or equal to a preset threshold, it indicates that the difference between the target frame image and the reference image is small, and it is determined that there is no target object intrusion in the target area
  • the matching degree between the target frame image and the reference image is less than the preset threshold, it indicates that the difference between the target frame image and the reference image is large, and it is determined that there is a target object intrusion in the target area.
  • the preset threshold may refer to the difference between the background of the target area and the target object, for example, when the characteristics of the target object (such as color) and the background content of the target area (such as the color of the background ) When it is very close, set the preset threshold to a smaller value. When the difference between the characteristics of the target object (such as color) and the background content of the target area (such as the color of the background) is large, the preset threshold Set the threshold to a larger value. .
  • the monitoring device may output a prompt message, the prompt message is used to prompt the target object to invade
  • the prompt information may be information output in the form of voice, or flashing warning lights, vibration monitoring equipment, and the like.
  • the contact information of the administrator in order to notify the manager in time to deal with the event that the target area intrudes into the target object in a timely manner, when the matching degree between the target frame image and the reference image is less than the preset threshold, the contact information of the administrator is obtained, and the contact information will be The target frame image is sent to the device bound to the administrator's contact information.
  • the contact information includes the administrator's instant messaging account, such as a phone number, WeChat account, or QQ account.
  • objects that break into the monitoring area can be automatically identified based on the image, thereby improving the efficiency of image recognition.
  • FIG. 2 is a schematic flowchart of another image processing method based on image recognition provided by an embodiment of the present application.
  • the method of the embodiment of the present application may be performed by the monitoring device mentioned above.
  • the image processing method based on image recognition includes the following steps.
  • S201 Shoot a target area by a shooting device to obtain target video data of the target area.
  • the temperature information of the target area is obtained by a sensor, and when the temperature information of the target area indicates that the temperature value of the target area is greater than the preset temperature value, the target area is photographed by a shooting device to obtain the target area The step of target video data; or, the step of receiving a shooting instruction for the target area and performing the step of shooting the target area by the shooting device to obtain the target video data of the target area.
  • the monitoring device can trigger the shooting device to shoot video by the parameters in the target area.
  • the temperature information of the target area is obtained through the sensor.
  • the temperature information of the target area indicates that the temperature value of the target area is greater than the preset value At the temperature value, there is an intrusion of a temperature object in the target area.
  • the object may refer to a person or an animal.
  • the shooting device of the monitoring device is triggered to shoot the monitoring area to be monitored Video data for the area.
  • the user can trigger the shooting device to shoot, specifically, receive the shooting instruction sent by the user, and trigger the shooting device of the monitoring device to shoot the monitoring area to obtain video data of the monitoring area, and the user can use touch (such as buttons, Slide or click) or voice to send shooting instructions to the shooting device.
  • touch such as buttons, Slide or click
  • the reference image refers to an image that is captured when there is no target object intruding in the target area.
  • the preset screening rules include screening rules according to scene change parameters, and step S202 includes the following steps S11 to S12.
  • the monitoring device can obtain the reference image and the target frame image according to the scene change parameters of the target area. Specifically, the monitoring device can obtain the historical data of the target area within a preset time period and obtain the target according to the historical data The scene change parameters of the area, and the reference image is obtained according to the scene change parameters of the target area, and the target frame image is selected from the target video data according to the scene change parameters.
  • the monitoring device can obtain the current time, the historical video data of the target area corresponding to the current time, and according to the current time Historical video data determines the scene change parameters of the target area. For example, when the current time is 6:00 in the evening, the monitoring device may obtain historical video data of the target area in the evening from 6:00 to 12:00, based on the The historical video data acquires the scene change parameters of the target area.
  • step S12 includes: when the scene change parameter indicates that the stability of the target area is greater than or equal to a preset stable value, acquiring a multi-frame image of the target object in the historical video data of the target area; the multi-frame image The pixel information of is subjected to averaging to obtain the reference image of the target area, an image is selected from the target video at a first preset time interval, and one frame of image at a time, the selected image is used as the target frame image.
  • the scene change parameter indicates that the stability of the target area is greater than or equal to the preset stable value, it indicates that the target area itself does not change much, such as the background changes slowly, the probability of the target object intruding is small, and the moving speed of the target object intruding in the target area
  • the reference image can be obtained according to the historical video data
  • the monitoring device can obtain the multi-frame image of the target object in the historical video data of the target area, and average the pixel information of the multi-frame image to Obtain the reference image of the target area, and select the image from the target video according to the first preset time interval, and one frame of image at a time, use the selected image as the target frame image, the first preset time interval can be based on the target area Set the time rule of breaking into the target object, for example, the probability of breaking into the target object at night is large, you can set the first preset time interval to a smaller value during working hours (such as 9: 00-17: 00 in the morning
  • step S12 includes: when the scene change parameter indicates that the stability of the target area is less than a preset stable value, selecting images from the target video at a second preset time interval, and each time Select two frames of images at a time; use the first frame of the two frames as the reference image of the target area, and use the second frame of the two frames as the target frame image, the first The shooting time of the frame image is earlier than the shooting time of the second frame image.
  • the scene change parameter indicates that the stability of the target area is less than the preset stable value
  • the historical video data cannot reflect the characteristics of the target area itself, so the reference image can be obtained from the currently captured target video.
  • the monitoring device can obtain the multi-frame image of the target object in the historical video data of the target area.
  • the above scene change parameters include at least one of the background change rate of the target area, the probability of the target object intruding, and the moving speed of the target object in the target area.
  • the above scene change parameters indicate that the stability of the target area is greater than Or equal to the preset stable value may refer to: the background change rate of the target area is less than or equal to the preset change rate, and / or the probability of the target object intruding is less than or equal to the preset probability value, and / or the target object is in the target area
  • the moving speed is less than or equal to the preset speed value;
  • the above scene change parameter indicates that the stability of the target area is less than the preset stable value may refer to: the background change rate of the target area is greater than the preset change rate, and / or the probability of the target object intruding Is greater than the preset probability value, and / or the moving speed of the target object in the target area is greater than the preset speed value.
  • the target frame image and the reference image are divided into multiple sub-images respectively according to a preset division rule, and the feature information of each sub-image in the target frame image and the feature information of each sub-image in the reference image are obtained,
  • the feature information of each sub-image in the target frame image is compared with the feature information of the corresponding sub-image in the reference image to obtain the matching degree between each sub-image in the target frame image and the corresponding sub-image in the reference image , Weighted and sum the determined matching degree to obtain the matching degree between the target frame image and the reference image.
  • the monitoring device may divide the target frame image and the reference image into multiple sub-images respectively according to a preset division rule, and the preset division rule includes horizontal division Rules and / or vertical division rules and / or diagonal division rules, and obtain the feature information of each sub-image in the target frame image, and the feature information of each sub-image in the reference image, and convert each sub-image in the target frame image
  • the feature information of is compared with the feature information of the corresponding sub-image in the reference image to obtain the matching degree between each sub-image in the target frame image and the corresponding sub-image in the reference image.
  • the map sets weights, and the weights of the sub-pictures are used to reflect the influence degree of the sub-pictures on the matching degree between the target frame image and the reference image, and the determined matching degrees are weighted and summed according to the weights of each sub-picture to obtain the target The degree of matching between the frame image and the reference image.
  • each sub-picture in the target frame image includes: setting the weight of the sub-picture according to the probability of the target object appearing in the area indicated in each sub-picture. For example, if the area indicated in the sub-picture is the wall area of the cell, then the The probability of the target object appearing in the area is small, and the weight of the sub-picture can be set to a small value.
  • the area indicated in the sub-picture is the entrance area of the cell.
  • the weight of the graph is set to a larger value.
  • the logistic regression classifier sets the weight of each sub-picture through the change characteristics (ie stability) of the area where the sub-picture is located. Specifically, it has a fixed change characteristic ( (The stability of the area indicated by the sub-picture is greater than or equal to the preset stability)
  • the sub-picture sets a smaller weight, which is a sub-image that does not have a fixed change feature (that is, the stability of the area indicated by the sub-picture is less than the preset stability)
  • the graph sets a larger weight.
  • the area referred to by the sub-picture is the area where the traffic lights at the intersection are located.
  • the traffic signal has a fixed change feature, and the sub-picture can be set to a smaller weight; In the area where the zebra crossing is located, the flow of people usually does not have fixed characteristics, and the sub-graph can be set with a larger weight.
  • the monitoring device may follow a preset division rule Divide the target frame image and the reference image into multiple sub-images respectively, the preset division rules include horizontal division rule and / or vertical division rule and / or diagonal division rule, and obtain the characteristics of each sub-image in the target frame image Information, and feature information of each sub-image in the reference image, compare the feature information of each sub-image in the target frame image with the feature information of the corresponding sub-image in the reference image to obtain each sub-image in the target frame image
  • the matching degree between the corresponding sub-images in the image and the reference image, the number of sub-pictures whose matching degree is less than the preset value is counted, and the matching degree between the target frame image and the reference image is determined according to the number of sub-pictures.
  • the matching degree between the target frame image and the reference image is less than the preset threshold; when the number of sub-pictures is greater than or equal to the preset number threshold, the target frame image and the reference image are determined The matching degree between them is greater than or equal to the preset threshold.
  • S207 Use the object information in the training image as the object information of the target object of the target frame image, and output the object information of the target object.
  • the monitoring device may acquire the object information of the target object (that is, the label of the target object), so that the user can take corresponding measures in time to reduce the target object to the user The harm brought.
  • obtain a matching training image with the target frame image from the database such as obtaining the same training image as the target frame image, or a training image whose similarity to the target frame image is greater than a preset similarity value, and from the database
  • obtain the object information in the training image use the object information in the training image as the object information of the target object of the target frame image, and output the object information of the target object.
  • the object information of the target object includes the identity information of the target object, and / or the log information of the target object, etc.
  • the identity information of the target object includes the name, place of origin, age, etc .; when the target When the object is an animal, the object information of the target object includes the name or type.
  • objects that break into the monitoring area can be automatically identified based on the image, thereby improving the efficiency of image recognition.
  • FIG. 3 is a schematic structural diagram of an image processing apparatus provided by an embodiment of the present application.
  • the apparatus of the embodiment of the present application may be provided in the above-mentioned monitoring device.
  • the device includes:
  • the shooting module 301 is used for shooting a target area by a shooting device to obtain target video data of the target area.
  • the filtering module 302 is configured to filter out target frame images from the target video data according to a preset filtering rule and obtain a reference image of the target area, where the reference image means that there is no target object in the target area Image taken at the time of import.
  • the comparison module 303 is used to compare the feature information of the target frame image with the feature information of the reference image to obtain the matching degree between the target frame image and the reference image.
  • the determining module 304 is configured to determine that the target object intrudes in the target area when the matching degree between the target frame image and the reference image is less than a preset threshold.
  • the shooting module 301 is specifically configured to acquire the temperature information of the target area through a sensor; when the temperature information of the target area indicates that the temperature value of the target area is greater than a preset temperature value, the pass shooting is performed
  • the device shoots the target area to obtain the target video data of the target area; or, receives a shooting instruction for the target area and executes the shooting of the target area by the shooting device to obtain the target of the target area Steps for video data.
  • the preset screening rules include screening rules according to scene change parameters; the screening module 302 is specifically configured to obtain scene change parameters of the target area based on historical video data of the target area, and the scene changes The parameter is used to indicate the stability of the target area; obtain a reference image of the target area according to the scene change parameter of the target area, and filter out the target video from the target video according to the scene change parameter of the target area Target frame image.
  • the screening module 302 is specifically configured to obtain that the target object does not exist in the historical video data of the target area when the scene change parameter indicates that the stability of the target area is greater than or equal to a preset stable value Multi-frame images; averaging the pixel information of the multi-frame images to obtain the reference image of the target area; selecting images from the target video at a first preset time interval, one frame at a time , Use the selected image as the target frame image.
  • the screening module 302 is specifically configured to select an image from the target video at a second preset time interval when the scene change parameter indicates that the stability of the target area is less than a preset stable value, and each Select two frames of images at a time; use the first frame of the two frames as the reference image of the target area, and use the second frame of the two frames as the target frame image, the first The shooting time of the frame image is earlier than the shooting time of the second frame image.
  • the comparison module 303 is specifically configured to divide the target frame image and the reference image into multiple sub-images respectively according to a preset division rule; obtain feature information of each sub-image in the target frame image , And the feature information of each sub-image in the reference image; compare the feature information of each sub-image in the target frame image with the feature information of the corresponding sub-image in the reference image to obtain the The degree of matching between each sub-image in the target frame image and the corresponding sub-image in the reference image; weighting and summing the determined degree of matching to obtain the match between the target frame image and the reference image degree.
  • the obtaining module 305 is configured to obtain a training image matching the target frame image from a database, and obtain object information in the training image from the database, and the database includes multiple training images , And the object information in each training image.
  • the output module 306 is configured to use the object information in the training image as the object information of the target object in the target frame image; and output the object information of the target object.
  • objects that break into the monitoring area can be automatically identified based on the image, thereby improving the efficiency of image recognition.
  • FIG. 4 is a schematic structural diagram of a monitoring device provided by an embodiment of the present application.
  • the monitoring device in this embodiment may include: one or more processors 401; one or more input devices 402 , One or more output devices 403 and memory 404.
  • the processor 401, the input device 402, the output device 403, and the memory 404 are connected via a bus 405.
  • the processor 401 may be a central processing unit (Central Processing Unit, CPU), the processor may also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC ), Ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • the general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the input device 402 may include a touchpad, a fingerprint sensor (for collecting user's fingerprint information and direction information of the fingerprint), a temperature sensor (for acquiring temperature information of the target area), and a shooting device (for acquiring video of the target area Data), a microphone, etc.
  • the output device 403 may include a display (LCD, etc.), a speaker, etc., and the output device 403 may output object information of a target object.
  • the memory 404 may include a read-only memory and a random access memory, and provide instructions and data to the processor 401.
  • a part of the memory 404 may further include a non-volatile random access memory, the memory 404 is used to store a computer program, the computer program includes program instructions, and the processor 401 is used to execute the program instructions stored in the memory 404 to be used to execute a
  • An image processing method based on image recognition is used to perform the following operations:
  • the reference image refers to the image captured when there is no target object intrusion in the target area ;
  • the matching degree of the target frame image and the reference image is less than a preset threshold, it is determined that the target object intrusion exists in the target area.
  • the processor 401 is used to execute the program instructions stored in the memory 404 to perform the following operations:
  • the processor 401 is used to execute the program instructions stored in the memory 404 to perform the following operations:
  • the processor 401 is used to execute the program instructions stored in the memory 404 to perform the following operations:
  • the scene change parameter indicates that the stability of the target area is greater than or equal to a preset stable value, acquire multiple frames of the target object in the historical video data of the target area;
  • An image is selected from the target video at a first preset time interval, and one frame of image at a time, the selected image is used as the target frame image.
  • the processor 401 is used to execute the program instructions stored in the memory 404 to perform the following operations:
  • the scene change parameter indicates that the stability of the target area is less than a preset stable value
  • the first frame of the two frames is used as the reference image of the target area, and the second frame of the two frames is used as the target frame.
  • the first frame of the image is taken early At the shooting time of the second frame image.
  • the processor 401 is used to execute the program instructions stored in the memory 404 to perform the following operations:
  • the processor 401 is used to execute the program instructions stored in the memory 404 to perform the following operations:
  • the database includes multiple training images, and object information in each training image;
  • objects that break into the monitoring area can be automatically identified based on the image, thereby improving the efficiency of image recognition.
  • the processor 401, the input device 402, and the output device 403 described in the embodiments of the present application may execute the implementation methods described in the first and second embodiments of the image processing method based on image recognition provided by the embodiments of the present application It can also implement the implementation of the monitoring device described in the embodiments of the present application, which will not be repeated here.
  • An embodiment of the present application also provides a computer-readable storage medium.
  • the computer-readable storage medium stores a computer program.
  • the computer program includes program instructions.
  • the program instructions are executed by a processor to implement a diagram of the present application. 1 and the image processing method based on image recognition shown in the embodiment of FIG. 2.
  • the computer-readable storage medium may be an internal storage unit of the monitoring device described in any of the foregoing embodiments, such as a hard disk or a memory of the control device.
  • the computer-readable storage medium may also be an external storage device of the control device, for example, a plug-in hard disk equipped on the control device, a smart memory card (Smart, Media, Card, SMC), and secure digital (SD, Digital) ) Card, flash card (Flash Card), etc.
  • the computer-readable storage medium may also include both an internal storage unit of the control device and an external storage device.
  • the computer-readable storage medium is used to store the computer program and other programs and data required by the control device.
  • the computer-readable storage medium may also be used to temporarily store data that has been or will be output.
  • the disclosed control device and method may be implemented in other ways.
  • the device embodiments described above are schematic.
  • the division of the unit may be a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or may Integration into another system, or some features can be ignored, or not implemented.
  • the above is only the specific implementation of this application, but the scope of protection of this application is not limited to this, any person skilled in the art can easily think of various equivalents within the technical scope disclosed in this application Modifications or replacements, these modifications or replacements should be covered within the scope of protection of this application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Image Analysis (AREA)
  • Closed-Circuit Television Systems (AREA)

Abstract

Disclosed are an image processing method, apparatus and device based on image recognition, and a storage medium. The method comprises: a photographing apparatus photographing a target area to obtain target video data of the target area; screening out a target frame image from the target video data according to a pre-set screening rule, and acquiring a reference image of the target area; comparing feature information of the target frame image with feature information of the reference image to obtain the degree of matching between the target frame image and the reference image; and when the degree of matching between the target frame image and the reference image is less than a pre-set threshold value, determining that a target object breaks into the target area, and automatically recognizing the object that breaks into a monitoring area, thereby improving the efficiency of image recognition.

Description

基于图像识别的图像处理方法、装置、设备及存储介质Image processing method, device, equipment and storage medium based on image recognition
本申请要求于2018年10月11日提交中国专利局、申请号为201811186563.9、申请名称为“基于图像识别的图像处理方法、装置、设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application requires the priority of the Chinese patent application submitted to the Chinese Patent Office on October 11, 2018, with the application number 201811186563.9 and the application name "Image Recognition-Based Image Processing Methods, Devices, Equipment, and Storage Media", all of its contents Incorporated by reference in this application.
技术领域Technical field
本申请涉及医疗技术领域,尤其涉及一种基于图像识别的图像处理方法、装置、设备及存储介质。The present application relates to the field of medical technology, and in particular, to an image processing method, device, device, and storage medium based on image recognition.
背景技术Background technique
图像识别是一种对图像进行处理、分析和理解,以识别出图像中的对象的方法,该方法广泛应用于安防视频监控、图像检索、自动驾驶或质量检测等领域,给用户的生活及工作带来极大便利。在安防视频监控领域中,主要通过工作人员观看针对所监控区域拍摄的视频数据,以通过对比视频数据中的每两帧图像来判断监控区域是否存在异常的对象(如陌生人)闯入。实践中发现,该图像识别方法需要耗费大量时间、占用大量的劳动资源,导致图像识别的效率较低。Image recognition is a method of processing, analyzing and understanding images to identify the objects in the image. This method is widely used in security video surveillance, image retrieval, automatic driving or quality inspection and other fields, giving users life and work Bring great convenience. In the field of security video surveillance, the staff mainly watch the video data taken for the monitored area to determine whether an abnormal object (such as a stranger) has intruded into the monitored area by comparing every two frames of the video data. It has been found in practice that this image recognition method requires a lot of time and labor resources, resulting in low efficiency of image recognition.
发明内容Summary of the invention
本申请实施例提供一种基于图像识别的图像处理方法、装置、设备及存储介质,自动地识别出闯入监控区域的对象,提高图像识别的效率。Embodiments of the present application provide an image processing method, device, device, and storage medium based on image recognition, which automatically recognizes objects that break into a monitoring area, and improves the efficiency of image recognition.
第一方面,本申请实施例提供了一种基于图像识别的图像处理方法,该方法包括:In a first aspect, an embodiment of the present application provides an image processing method based on image recognition. The method includes:
通过拍摄装置对目标区域进行拍摄,以得到该目标区域的目标视频数据;Shoot the target area through the shooting device to obtain the target video data of the target area;
按照预设的筛选规则从所述目标视频数据中筛选出目标帧图像,并获取所述目标区域的参考图像,所述参考图像是指所述目标区域不存在目标对象闯入时所拍摄的图像;Filter out the target frame image from the target video data according to the preset filtering rules, and obtain the reference image of the target area, the reference image refers to the image captured when there is no target object intrusion in the target area ;
将所述目标帧图像的特征信息与所述参考图像的特征信息进行比对,以得到所述目标帧图像与所述参考图像之间的匹配度;Comparing feature information of the target frame image with feature information of the reference image to obtain a matching degree between the target frame image and the reference image;
当所述目标帧图像与所述参考图像的匹配度小于预设阈值时,确定所述目标区域中存在所述目标对象闯入。When the matching degree of the target frame image and the reference image is less than a preset threshold, it is determined that the target object intrudes in the target area.
第二方面,本申请实施例提供了一种基图像处理装置,该装置包括:In a second aspect, an embodiment of the present application provides a base image processing device, which includes:
拍摄模块,用于通过拍摄装置对目标区域进行拍摄,以得到该目标区域的目标视频数据。The shooting module is used for shooting the target area by the shooting device to obtain the target video data of the target area.
筛选模块,用于按照预设的筛选规则从所述目标视频数据中筛选出目标帧图像,并获取所述目标区域的参考图像,所述参考图像是指所述目标区域不存在目标对象闯入时所拍摄的图像。The filtering module is used to filter out target frame images from the target video data according to a preset filtering rule, and obtain a reference image of the target area, where the reference image means that there is no target object intrusion in the target area Images taken at the time.
比对模块,用于将所述目标帧图像的特征信息与所述参考图像的特征信息进行比对,以得到所述目标帧图像与所述参考图像之间的匹配度。The comparison module is used to compare the feature information of the target frame image with the feature information of the reference image to obtain the matching degree between the target frame image and the reference image.
确定模块,用于当所述目标帧图像与所述参考图像的匹配度小于预设阈值时,确定所述目标区域中存在所述目标对象闯入。The determining module is configured to determine that the target object intrudes in the target area when the matching degree between the target frame image and the reference image is less than a preset threshold.
第三方面,本申请实施例提供了一种监控设备,该设备包括:处理器,适于实现一条或一条以上指令;以及,计算机可读存储介质,所述计算机可读存储介质存储有一条或一条以上指令,所述一条或一条以上指令适于由处理器加载并执行如下步骤:In a third aspect, an embodiment of the present application provides a monitoring device, the device includes: a processor adapted to implement one or more instructions; and a computer-readable storage medium, the computer-readable storage medium storing one or More than one instruction, the one or more instructions are suitable to be loaded by the processor and execute the following steps:
通过拍摄装置对目标区域进行拍摄,以得到该目标区域的目标视频数据;Shoot the target area through the shooting device to obtain the target video data of the target area;
按照预设的筛选规则从所述目标视频数据中筛选出目标帧图像,并获取所述目标区域的参考图像,所述参考图像是指所述目标区域不存在目标对象闯入时所拍摄的图像;Filter out the target frame image from the target video data according to the preset filtering rules, and obtain the reference image of the target area, the reference image refers to the image captured when there is no target object intrusion in the target area ;
将所述目标帧图像的特征信息与所述参考图像的特征信息进行比对,以得到所述目标帧图像与所述参考图像之间的匹配度;Comparing feature information of the target frame image with feature information of the reference image to obtain a matching degree between the target frame image and the reference image;
当所述目标帧图像与所述参考图像的匹配度小于预设阈值时,确定所述目标区域中存在所述目标对象闯入。When the matching degree of the target frame image and the reference image is less than a preset threshold, it is determined that the target object intrudes in the target area.
第四方面,本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质存储有一条或一条以上指令,所述一条或一条以上指令适于由处理器加载并执行如下步骤:According to a fourth aspect, an embodiment of the present application provides a computer-readable storage medium storing one or more instructions, the one or more instructions being suitable for being loaded by a processor and performing the following steps :
通过拍摄装置对目标区域进行拍摄,以得到该目标区域的目标视频数据;Shoot the target area through the shooting device to obtain the target video data of the target area;
按照预设的筛选规则从所述目标视频数据中筛选出目标帧图像,并获取所述目标区域的参考图像,所述参考图像是指所述目标区域不存在目标对象闯入时所拍摄的图像;Filter out the target frame image from the target video data according to the preset filtering rules, and obtain the reference image of the target area, the reference image refers to the image captured when there is no target object intrusion in the target area ;
将所述目标帧图像的特征信息与所述参考图像的特征信息进行比对,以得到所述目标帧图像与所述参考图像之间的匹配度;Comparing feature information of the target frame image with feature information of the reference image to obtain a matching degree between the target frame image and the reference image;
当所述目标帧图像与所述参考图像的匹配度小于预设阈值时,确定所述目标区域中存在所述目标对象闯入。When the matching degree of the target frame image and the reference image is less than a preset threshold, it is determined that the target object intrudes in the target area.
本申请实施例中,可基于图像自动地识别出闯入监控区域的对象,提高图像识别的效率。In the embodiments of the present application, objects that break into the monitoring area can be automatically identified based on the image, thereby improving the efficiency of image recognition.
附图说明BRIEF DESCRIPTION
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly explain the embodiments of the present application or the technical solutions in the prior art, the following will briefly introduce the drawings required in the embodiments. Obviously, the drawings in the following description are only some of the applications For the embodiment, for those of ordinary skill in the art, without paying any creative labor, other drawings may be obtained based on these drawings.
图1是本申请实施例提供的一种基于图像识别的图像处理方法的流程示意图;1 is a schematic flowchart of an image processing method based on image recognition provided by an embodiment of the present application;
图2是本申请另一实施例提供的一种基于图像识别的图像处理方法的流程示意图;2 is a schematic flowchart of an image processing method based on image recognition provided by another embodiment of the present application;
图3是本申请实施例提供的一种图像处理装置的结构示意图;3 is a schematic structural diagram of an image processing device provided by an embodiment of the present application;
图4是本申请另一实施例提供的一种监控设备的结构示意图。4 is a schematic structural diagram of a monitoring device provided by another embodiment of the present application.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all the embodiments. Based on the embodiments in this application, all other embodiments obtained by a person of ordinary skill in the art without creative work fall within the scope of protection of this application.
本申请实例可以由监控设备来执行,该监控设备可以包括前端部分、传输部分、及后端部分,前端部分:主要由摄像机、传感器、镜头、云台、防护罩、支架、解码器等组成,主要用于拍摄视频、音频或图像等;传输部分:使用电缆、电线采取架空、地埋或沿墙敷设等方式传输视频、音频或控制信号等;后端部分:主要由画面分割器、监视器、控制装置、录像存储装置等,主要用于对视频数或图像进行处理。The application example can be executed by a monitoring device, which can include a front-end part, a transmission part, and a back-end part. The front-end part mainly consists of a camera, a sensor, a lens, a gimbal, a protective cover, a bracket, a decoder, etc. Mainly used for shooting video, audio or images, etc .; transmission part: using cables and wires to transmit video, audio or control signals by overhead, underground or laying along the wall, etc .; rear part: mainly by picture splitter, monitor , Control devices, video storage devices, etc., mainly used for processing the number of videos or images.
本申请实例可以应用于安防视频监控场景中,以通过对场景的视频数据进行分析,判断这些场景中是否有目标对象闯入,安防视频监控场景包括居民小区的视频监控场景、军事区域的视频监控场景或商场仓库的视频监控场景等等,目标对象包括陌生人或动物等等。具体的,为了对监控区域进行监控,监控设备的拍摄装置可以对监控区域进行拍摄,得到监控区域的视频数据。对按照预设的筛选规则从监控区域的视频数据中筛选出目标帧图像,并获取监控区域的参考图像,该参考图像为监控区域不存在目标对象闯入的图像,将目标帧图像的特征信息与参考图像的特征信息进行比对,得到目标帧图像与参考图像之间的匹 配度,当目标帧图像与参考图像的匹配度小于预设阈值时,表明目标帧图像与参考图像之间的差异性较大,确定监控区域存在目标对象闯入。可通过对目标区域的视频数据中的目标帧图像进行识别,可自动识别出目标区域是否存在目标对象闯入,节省劳动资源,提高图像识别的效率,满足用户对视频监控的自动化、智能化需求,可有效的确保用户的安全性;另外,通过对目标区域的视频数据进行筛选,只需要对视频数据中的部分帧图像进行识别,不需要对视频数据中的所有图像进行识别,进一步,提高图像识别的效率。The example of this application can be applied to security video surveillance scenes to analyze the video data of the scenes to determine whether there are target objects intruding in these scenes. Security video surveillance scenes include video surveillance scenes in residential areas and video surveillance in military areas Scenes or video surveillance scenes of shopping mall warehouses, etc., target objects include strangers or animals, etc. Specifically, in order to monitor the monitoring area, the shooting device of the monitoring device may shoot the monitoring area to obtain video data of the monitoring area. According to the preset filtering rules, the target frame image is selected from the video data of the monitoring area, and the reference image of the monitoring area is obtained. The reference image is an image in which no target object intrudes in the monitoring area. Compare with the characteristic information of the reference image to obtain the matching degree between the target frame image and the reference image. When the matching degree between the target frame image and the reference image is less than the preset threshold, it indicates the difference between the target frame image and the reference image It is relatively large, and it is determined that there is a target object intrusion in the monitoring area. By identifying the target frame image in the video data of the target area, it can automatically identify whether there is a target object intrusion in the target area, save labor resources, improve the efficiency of image recognition, and meet the user's automated and intelligent demand for video surveillance , Can effectively ensure the safety of users; in addition, by filtering the video data in the target area, only part of the frame images in the video data need to be identified, and all images in the video data do not need to be identified, further improving The efficiency of image recognition.
请参见图1,是本申请实施例提供的一种基于图像识别的图像处理方法的流程示意图,本申请实施例的所述方法可以由上述提及的监控设备来执行。本实施例中,该基于图像识别的图像处理方法包括以下步骤。Please refer to FIG. 1, which is a schematic flowchart of an image processing method based on image recognition provided by an embodiment of the present application. The method of the embodiment of the present application may be executed by the above-mentioned monitoring device. In this embodiment, the image processing method based on image recognition includes the following steps.
S101、通过拍摄装置对目标区域进行拍摄,以得到该目标区域的目标视频数据。S101. Shoot a target area by a shooting device to obtain target video data of the target area.
本申请实施例中,在禁止陌生人或动物等目标对象闯入的目标区域中,为了用户的人身安全及财产安全,可以通过拍摄装置对目标区域进行拍摄,以得到该目标区域的目标视频数据。该拍摄装置可以是指全景摄像装置或半球摄像装置等,目标区域可以是指居民小区的入口区域、车库、商场的仓库所在区域或军事区域等。In the embodiment of the present application, in a target area where a target object such as a stranger or an animal is prohibited from entering, for the user's personal safety and property security, the target area may be photographed by a shooting device to obtain target video data of the target area . The shooting device may refer to a panoramic camera device or a hemisphere camera device, etc., and the target area may refer to an entrance area of a residential area, a garage, an area where a warehouse of a shopping mall is located, or a military area.
在一个实施例中,通过监控设备中的传感器检测到存在有人或动物等闯入监控区域时,则触发监控设备的拍摄装置对监控区域进行拍摄,得到监控区域的视频数据,例如,通过传感器发射红外光谱,并接收反射的红外光谱,计算发射红外光谱与反射的红外光谱之间的时间间隔,当时间间隔低于预设时间阈值时,确定目标区域存在人或动物闯入,触发监控设备的拍摄装置对监控区域进行拍摄,得到监控区域的视频数据。In one embodiment, when a sensor in the monitoring device detects that someone, an animal, etc. has entered the monitoring area, the shooting device of the monitoring device is triggered to shoot the monitoring area to obtain video data of the monitoring area, for example, by transmitting through the sensor Infrared spectrum, and receive the reflected infrared spectrum, calculate the time interval between the emitted infrared spectrum and the reflected infrared spectrum, when the time interval is lower than the preset time threshold, determine that there is a human or animal intrusion in the target area, trigger the monitoring equipment The shooting device shoots the monitoring area to obtain video data of the monitoring area.
在另一个实施例中,为了降低监控设备处理图像数据压力,监控设备可以对某个时间段的目标区域进行监控,具体的,为拍摄装置设置拍摄时间段,当时间位于拍摄装置的拍摄时间段内时,则触发监控设备的拍摄装置对监控区域进行拍摄,得到监控区域的视频数据,该拍摄时间段可以是根据目标区域历史闯入目标对象的时间规律设置的,该拍摄时间段可以是指目标区域历史闯入目标对象频率大于预设频率的时间段,如该拍摄时间段是指晚间6:00~12:00。In another embodiment, in order to reduce the pressure of the processing device for processing image data, the monitoring device may monitor the target area of a certain period of time. Specifically, set a shooting period for the shooting device when the time is within the shooting period of the shooting device When it is inside, the shooting device of the monitoring device is triggered to shoot the monitoring area to obtain the video data of the monitoring area. The shooting time period can be set according to the time law of the history of the target area breaking into the target object. The shooting time period can refer to The history of the target area breaking into the target object frequency is greater than the preset frequency period, such as the shooting time period refers to 6:00 to 12:00 in the evening.
S102、按照预设的筛选规则从目标视频数据中筛选出目标帧图像,并获取目标区域的参考图像,参考图像是指目标区域不存在目标对象闯入时所拍摄的图像。S102. Filter target frame images from target video data according to a preset filtering rule, and obtain a reference image of a target area. The reference image refers to an image that is captured when a target object does not exist in the target area.
本申请实施例中,为了提高图像识别的效率,监控设备可以按照预设的筛选规则从目标视频数据中筛选出目标帧图像,并获取参考图像,参考图像可以是从目标视频中获取的, 也可以是指根据目标区域的历史视频数据获取的,该参考图像是指目标区域不存在目标对象闯入时所拍摄的图像。In the embodiment of the present application, in order to improve the efficiency of image recognition, the monitoring device may filter out the target frame image from the target video data according to a preset filtering rule, and obtain a reference image. The reference image may be obtained from the target video, or It may refer to the acquisition based on the historical video data of the target area, and the reference image refers to an image captured when there is no target object intrusion in the target area.
S103、将目标帧图像的特征信息与参考图像的特征信息进行比对,以得到目标帧图像与参考图像的匹配度。S103. Compare the feature information of the target frame image with the feature information of the reference image to obtain a matching degree between the target frame image and the reference image.
本申请实施例中,监控设备可以将目标帧图像及参考图像作为一个整体,获取目标帧图像的特征信息及参考图像的特征信息,该特征信息可以是指方向梯度直方图(Histogram of Oriented Gradient,HOG)、尺度不变特征变换(Scale-invariant feature transform,SIFT)或颜色直方图Color Histogram中的至少一种,将目标帧图像的特征信息与参考图像的特征信息进行比对,以得到目标帧图像与参考图像之间的匹配度;或者将目标帧图像及参考图像划分为多个子图,分别获取各个子图的特征信息,根据各个子图的特征信息确定目标帧图像与参考图像之间的匹配度。其中,匹配度越大,表明目标帧图像与参考图像之间的相似度越大,即表明目标帧图像与参考图像之间的差异性越小;反之,匹配度越小,表明目标帧图像与参考图像之间的相似度越小,即表明目标帧图像与参考图像之间的差异性越大。In the embodiment of the present application, the monitoring device may take the target frame image and the reference image as a whole to obtain the feature information of the target frame image and the reference image. The feature information may refer to a histogram of orientation gradient (Histogram of Oriented Gradient, HOG), at least one of Scale-invariant feature transform (SIFT) or color histogram Color Histogram, which compares the feature information of the target frame image with the feature information of the reference image to obtain the target frame The degree of matching between the image and the reference image; or divide the target frame image and the reference image into multiple sub-pictures, obtain the characteristic information of each sub-picture separately, and determine the relationship between the target frame image and the reference image according to the characteristic information of each sub-picture suitability. Among them, the greater the matching degree, the greater the similarity between the target frame image and the reference image, that is, the smaller the difference between the target frame image and the reference image; conversely, the smaller the matching degree, the target frame image and the reference image The smaller the similarity between the reference images, the greater the difference between the target frame image and the reference image.
在一个实施例中,为了提高获取目标帧图像与参考图像之间的匹配度的效率,可以将目标帧图像的部分特征信息与参考图像的部分特征信息进行比对,以得到目标帧图像与参考图像的匹配度,具体的,按照预设的采样频率对目标帧图像的特征信息进行采样处理,及按照预设的采样频率对参考图像的特征信息进行采样处理,将目标帧图像的采样点的特征信息与参考图像对应采样点的特征信息进行比对,以得到目标帧图像与参考图像的匹配度。In one embodiment, in order to improve the efficiency of acquiring the matching degree between the target frame image and the reference image, the partial feature information of the target frame image and the partial feature information of the reference image may be compared to obtain the target frame image and the reference The matching degree of the image. Specifically, the characteristic information of the target frame image is sampled according to the preset sampling frequency, and the characteristic information of the reference image is sampled according to the preset sampling frequency, and the sampling point of the target frame image is The feature information is compared with the feature information of the corresponding sampling point of the reference image to obtain the matching degree of the target frame image and the reference image.
在另一个实施例中,为了提高获取目标帧图像与参考图像之间的匹配度的准确度,可以将目标帧图像的所有特征信息与参考图像的对应的特征信息进行比对,以得到目标帧图像与参考图像的匹配度。In another embodiment, in order to improve the accuracy of acquiring the matching degree between the target frame image and the reference image, all the feature information of the target frame image and the corresponding feature information of the reference image may be compared to obtain the target frame The degree of matching between the image and the reference image.
需要说明的是,为了提高获取目标帧图像与参考图像的匹配度的精度及灵活性,监控设备可以根据目标区域的稳定度动态选择特征信息的比对策略,比对策略包括全部对比和部分比对,具体的,当检测到目标区域的稳定度大于或等于预设稳定值时,表明目标区域本身变化不大,例如背景(如光照、天气等目标区域固有的对象)变化缓慢,目标对象闯入的概率较小,可以选择特征信息的部分对此策略,即将目标帧图像的部分特征信息与参考图像的部分特征信息进行比对,以目标帧图像与参考图像之间的匹配度;当检测到目标区域的稳定度小于预设稳定值时,表明目标区域本身变化较大,例如背景变化较快,目标对象闯入的概率较大,可以选择特征信息的全部对此策略,即将目标帧图像的所有特征信 息与参考图像的所有特征信息进行比对,以目标帧图像与参考图像之间的匹配度。上述特征信息的比对策略还可以是用户根据个人需求手动选择的。It should be noted that, in order to improve the accuracy and flexibility of obtaining the matching degree between the target frame image and the reference image, the monitoring device can dynamically select a comparison strategy of feature information according to the stability of the target area. The comparison strategy includes all comparisons and partial comparisons. Yes, specifically, when it is detected that the stability of the target area is greater than or equal to the preset stable value, it indicates that the target area itself does not change much. For example, the background (objects inherent in the target area such as lighting and weather) changes slowly, and the target object breaks The probability of entering is small, you can select the part of the feature information to this strategy, that is, compare the part of the target frame image with the reference image, and use the matching degree between the target frame image and the reference image; when detecting When the stability of the target area is less than the preset stable value, it indicates that the target area itself changes greatly, such as the background changes quickly, the probability of the target object intruding is large, you can choose all of the feature information for this strategy, that is, the target frame image Compare all the feature information of the reference image with all the feature information of the reference image to the target frame image The degree of match between the reference image. The comparison strategy of the above characteristic information may also be manually selected by the user according to personal needs.
S104、当目标帧图像与参考图像的匹配度小于预设阈值时,确定目标区域中存在目标对象闯入。S104. When the matching degree between the target frame image and the reference image is less than a preset threshold, it is determined that there is a target object intrusion in the target area.
本申请实施例中,当目标帧图像与参考图像之间的匹配度大于或等于预设阈值时,表明目标帧图像与参考图像之间的差异性较小,确定该目标区域不存在目标对象闯入;当目标帧图像与参考图像之间的匹配度小于预设阈值时,表明目标帧图像与参考图像之间的差异性较大,确定该目标区域存在目标对象闯入。为了精确度地识别到目标对象,该预设阈值可以是指目标区域的背景与目标对象的差异设置的,例如,当目标对象的特征(如颜色)与目标区域的背景内容(如背景的颜色)很接近时,将该预设阈值设置为一个较小的值,当目标对象的特征(如颜色)与目标区域的背景内容(如背景的颜色)之间的差别较大时,将该预设阈值设置为一个较大的值。。In the embodiment of the present application, when the matching degree between the target frame image and the reference image is greater than or equal to a preset threshold, it indicates that the difference between the target frame image and the reference image is small, and it is determined that there is no target object intrusion in the target area When the matching degree between the target frame image and the reference image is less than the preset threshold, it indicates that the difference between the target frame image and the reference image is large, and it is determined that there is a target object intrusion in the target area. In order to accurately identify the target object, the preset threshold may refer to the difference between the background of the target area and the target object, for example, when the characteristics of the target object (such as color) and the background content of the target area (such as the color of the background ) When it is very close, set the preset threshold to a smaller value. When the difference between the characteristics of the target object (such as color) and the background content of the target area (such as the color of the background) is large, the preset threshold Set the threshold to a larger value. .
在一个实例中,为了确保用户的人身安全及财产安全,当目标帧图像与参考图像的匹配度小于预设阈值时,监控设备可以输出提示信息,提示信息用于提示目标区域存在目标对象闯入,该提示信息可以是以语音、或闪烁警示灯、振动监控设备等形式输出的信息。In one example, in order to ensure the personal safety and property safety of the user, when the matching degree between the target frame image and the reference image is less than a preset threshold, the monitoring device may output a prompt message, the prompt message is used to prompt the target object to invade The prompt information may be information output in the form of voice, or flashing warning lights, vibration monitoring equipment, and the like.
在一个实施例中,为了及时通知管理人员及时处理目标区域闯入目标对象的事件,当目标帧图像与参考图像的匹配度小于预设阈值时,获取管理员的联系信息,通过该联系信息将该目标帧图像发送至与管理员的联系信息绑定的设备,联系信息包括管理员的即时通信账号,如电话号码、微信账号或QQ账号等。In one embodiment, in order to notify the manager in time to deal with the event that the target area intrudes into the target object in a timely manner, when the matching degree between the target frame image and the reference image is less than the preset threshold, the contact information of the administrator is obtained, and the contact information will be The target frame image is sent to the device bound to the administrator's contact information. The contact information includes the administrator's instant messaging account, such as a phone number, WeChat account, or QQ account.
本申请实施例中,可基于图像自动地识别出闯入监控区域的对象,提高图像识别的效率。In the embodiments of the present application, objects that break into the monitoring area can be automatically identified based on the image, thereby improving the efficiency of image recognition.
请参见图2,是本申请实施例提供的另一种基于图像识别的图像处理方法的流程示意图,本申请实施例的所述方法可以由上述提及的监控设备来执行。本实施例中,该基于图像识别的图像处理方法包括以下步骤。Please refer to FIG. 2, which is a schematic flowchart of another image processing method based on image recognition provided by an embodiment of the present application. The method of the embodiment of the present application may be performed by the monitoring device mentioned above. In this embodiment, the image processing method based on image recognition includes the following steps.
S201、通过拍摄装置对目标区域进行拍摄,以得到该目标区域的目标视频数据。S201. Shoot a target area by a shooting device to obtain target video data of the target area.
在一个实施例中,通过传感器获取目标区域的温度信息,当目标区域的温度信息指示目标区域的温度值大于预设温度值时,执行通过拍摄装置对目标区域进行拍摄,以得到该目标区域的目标视频数据的步骤;或者,接收针对所述目标区域的拍摄指令,执行所述通过拍摄装置对目标区域进行拍摄,以得到该目标区域的目标视频数据的步骤。In one embodiment, the temperature information of the target area is obtained by a sensor, and when the temperature information of the target area indicates that the temperature value of the target area is greater than the preset temperature value, the target area is photographed by a shooting device to obtain the target area The step of target video data; or, the step of receiving a shooting instruction for the target area and performing the step of shooting the target area by the shooting device to obtain the target video data of the target area.
为了降低监控设备处理图像数据压力,监控设备可以由目标区域中的参数触发拍摄装置拍摄视频,具体,通过传感器获取目标区域的温度信息,当目标区域的温度信息指示目标区域的温度值大于预设温度值时,该目标区域存在有温度的对象闯入,该对象可以是指人或动物,为了避免闯入的对象为陌生人或动物,触发监控设备的拍摄装置对监控区域进行拍摄,得到监控区域的视频数据。In order to reduce the pressure of the monitoring device to process image data, the monitoring device can trigger the shooting device to shoot video by the parameters in the target area. Specifically, the temperature information of the target area is obtained through the sensor. When the temperature information of the target area indicates that the temperature value of the target area is greater than the preset value At the temperature value, there is an intrusion of a temperature object in the target area. The object may refer to a person or an animal. In order to avoid the intrusion of a stranger or an animal, the shooting device of the monitoring device is triggered to shoot the monitoring area to be monitored Video data for the area.
或者,可以由用户触发拍摄装置进行拍摄,具体的,接收用户发送的拍摄指令,并触发监控设备的拍摄装置对监控区域进行拍摄,得到监控区域的视频数据,用户可以通过触控(如按键、滑动或点击)或语音等方式向拍摄装置发送拍摄指令。Alternatively, the user can trigger the shooting device to shoot, specifically, receive the shooting instruction sent by the user, and trigger the shooting device of the monitoring device to shoot the monitoring area to obtain video data of the monitoring area, and the user can use touch (such as buttons, Slide or click) or voice to send shooting instructions to the shooting device.
S202、按照预设的筛选规则从目标视频数据中筛选出目标帧图像,并获取目标区域的参考图像,参考图像是指目标区域不存在目标对象闯入时所拍摄的图像。S202. Filter target frame images from target video data according to preset filtering rules, and obtain a reference image of the target area. The reference image refers to an image that is captured when there is no target object intruding in the target area.
在一个实例中,该预设的筛选规则包括按照场景变化参数的筛选规则,步骤S202包括如下步骤S11~S12。In one example, the preset screening rules include screening rules according to scene change parameters, and step S202 includes the following steps S11 to S12.
S11、根据该目标区域的历史视频数据获取所述目标区域的场景变化参数,该场景变化参数用于指示所述目标区域的稳定度。S11. Acquire a scene change parameter of the target area according to historical video data of the target area, where the scene change parameter is used to indicate the stability of the target area.
S12、根据所述目标区域的场景变化参数获取该目标区域的参考图像,并根据所述目标区域的场景变化参数从所述目标视频中筛选出所述目标帧图像。S12. Acquire a reference image of the target area according to the scene change parameters of the target area, and filter out the target frame image from the target video according to the scene change parameters of the target area.
在步骤S11~S12中,监控设备可以根据目标区域的场景变化参数获取参考图像及目标帧图像,具体的,监控设备可以获取预设时间段内该目标区域的历史数据,并根据历史数据获取目标区域的场景变化参数,并根据该目标区域的场景变化参数获取参考图像,并根据场景变化参数从目标视频数据中筛选出目标帧图像。In steps S11 to S12, the monitoring device can obtain the reference image and the target frame image according to the scene change parameters of the target area. Specifically, the monitoring device can obtain the historical data of the target area within a preset time period and obtain the target according to the historical data The scene change parameters of the area, and the reference image is obtained according to the scene change parameters of the target area, and the target frame image is selected from the target video data according to the scene change parameters.
由于在同样的时间段内,目标区域的场景变化参数具有较大相似性,因此,监控设备可以获取当前的时间,获取当前时间对应的目标区域的历史视频数据,根据当前时间对应的目标区域的历史视频数据确定目标区域的场景变化参数。例如,当前时间为晚间6:00时,监控设备可以获取晚间6:00~12:00时间段内的目标区域的历史视频数据,根据晚间6:00~12:00时间段内的目标区域的历史视频数据获取目标区域的场景变化参数。In the same time period, the scene change parameters of the target area have a large similarity. Therefore, the monitoring device can obtain the current time, the historical video data of the target area corresponding to the current time, and according to the current time Historical video data determines the scene change parameters of the target area. For example, when the current time is 6:00 in the evening, the monitoring device may obtain historical video data of the target area in the evening from 6:00 to 12:00, based on the The historical video data acquires the scene change parameters of the target area.
在一个实施例中,步骤S12包括:当场景变化参数指示目标区域的稳定度大于或等于预设稳定值,获取目标区域的历史视频数据中不存在目标对象的多帧图像;对该多帧图像的像素信息进行平均化处理,以得到所述目标区域的参考图像,按照第一预设时间间隔从所述目标视频中选择图像,且每次一帧图像,将选择的图像作为目标帧图像。In one embodiment, step S12 includes: when the scene change parameter indicates that the stability of the target area is greater than or equal to a preset stable value, acquiring a multi-frame image of the target object in the historical video data of the target area; the multi-frame image The pixel information of is subjected to averaging to obtain the reference image of the target area, an image is selected from the target video at a first preset time interval, and one frame of image at a time, the selected image is used as the target frame image.
当场景变化参数指示目标区域的稳定度大于或等于预设稳定值,表明目标区域本身变 化不大,例如背景变化缓慢,目标对象闯入的概率较小,目标对象闯入在目标区域的移动速度小于预设速度,这时可以根据历史视频数据获取参考图像,监控设备可以获取目标区域的历史视频数据中不存在目标对象的多帧图像,对该多帧图像的像素信息进行平均化处理,以得到目标区域的参考图像,并按照第一预设时间间隔从所述目标视频中选择图像,且每次一帧图像,将选择的图像作为目标帧图像,第一预设时间间隔可以根据目标区域闯入目标对象的时间规律设置,例如,在晚间闯入目标对象的概率较大,可以将第一预设时间间隔设置一个较小值,在工作时间段(如早上9:00~17:00)闯入目标对象的概率较小,可以将第一预设时间间隔设置一个较大值。When the scene change parameter indicates that the stability of the target area is greater than or equal to the preset stable value, it indicates that the target area itself does not change much, such as the background changes slowly, the probability of the target object intruding is small, and the moving speed of the target object intruding in the target area If the reference speed is less than the preset speed, the reference image can be obtained according to the historical video data, and the monitoring device can obtain the multi-frame image of the target object in the historical video data of the target area, and average the pixel information of the multi-frame image to Obtain the reference image of the target area, and select the image from the target video according to the first preset time interval, and one frame of image at a time, use the selected image as the target frame image, the first preset time interval can be based on the target area Set the time rule of breaking into the target object, for example, the probability of breaking into the target object at night is large, you can set the first preset time interval to a smaller value during working hours (such as 9: 00-17: 00 in the morning) ) The probability of breaking into the target object is small, and the first preset time interval may be set to a larger value.
在另一个实施例中,步骤S12包括:当所述场景变化参数指示所述目标区域的稳定度小于预设稳定值时,按照第二预设时间间隔从所述目标视频中选择图像,且每次选择两帧图像;将所述两帧图像中的第一帧图像作为所述目标区域的参考图像,将所述两帧图像中的第二帧图像作为所述目标帧图像,所述第一帧图像的拍摄时间早于所述第二帧图像的拍摄时间。In another embodiment, step S12 includes: when the scene change parameter indicates that the stability of the target area is less than a preset stable value, selecting images from the target video at a second preset time interval, and each time Select two frames of images at a time; use the first frame of the two frames as the reference image of the target area, and use the second frame of the two frames as the target frame image, the first The shooting time of the frame image is earlier than the shooting time of the second frame image.
当场景变化参数指示目标区域的稳定度小于预设稳定值时,表明目标区域本身变化较大,例如背景变化较快,目标对象闯入的概率较大,目标对象在目标区域的移动速度大于预设速度,这时历史视频数据不能反映目标区域本身的特征,因此可以从当前拍摄的目标视频获取参考图像,监控设备可以获取目标区域的历史视频数据中不存在目标对象的多帧图像,按照第二预设时间间隔从所述目标视频中选择图像,且每次选择两帧图像;将两帧图像中的第一帧图像作为目标区域的参考图像,将两帧图像中的第二帧图像作为目标帧图像,第一帧图像的拍摄时间早于所述第二帧图像的拍摄时间。When the scene change parameter indicates that the stability of the target area is less than the preset stable value, it indicates that the target area itself changes greatly, for example, the background changes quickly, the probability of the target object intruding is large, and the movement speed of the target object in the target area is faster than the preset Set the speed. At this time, the historical video data cannot reflect the characteristics of the target area itself, so the reference image can be obtained from the currently captured target video. The monitoring device can obtain the multi-frame image of the target object in the historical video data of the target area. Select images from the target video at two preset time intervals, and select two frames of images at a time; use the first frame of the two frames as the reference image of the target area, and the second frame of the two frames as the reference image For the target frame image, the shooting time of the first frame image is earlier than the shooting time of the second frame image.
在一个实施例中,上述场景变化参数包括目标区域的背景变化率,目标对象闯入的概率,目标对象在目标区域的移动速度中的至少一种,上述场景变化参数指示目标区域的稳定度大于或等于预设稳定值可以是指:目标区域的背景变化率小于或等于预设变化率,和/或目标对象闯入的概率小于或等于预设概率值,和/或目标对象在目标区域的移动速度小于或等于预设速度值;上述场景变化参数指示目标区域的稳定度小于预设稳定值可以是指:目标区域的背景变化率大于预设变化率,和/或目标对象闯入的概率大于预设概率值,和/或目标对象在目标区域的移动速度大于预设速度值。In one embodiment, the above scene change parameters include at least one of the background change rate of the target area, the probability of the target object intruding, and the moving speed of the target object in the target area. The above scene change parameters indicate that the stability of the target area is greater than Or equal to the preset stable value may refer to: the background change rate of the target area is less than or equal to the preset change rate, and / or the probability of the target object intruding is less than or equal to the preset probability value, and / or the target object is in the target area The moving speed is less than or equal to the preset speed value; the above scene change parameter indicates that the stability of the target area is less than the preset stable value may refer to: the background change rate of the target area is greater than the preset change rate, and / or the probability of the target object intruding Is greater than the preset probability value, and / or the moving speed of the target object in the target area is greater than the preset speed value.
S203、将目标帧图像的特征信息与参考图像的特征信息进行比对,以得到目标帧图像与参考图像的匹配度。S203. Compare the feature information of the target frame image with the feature information of the reference image to obtain a matching degree between the target frame image and the reference image.
在一个实例中,按照预设的划分规则将目标帧图像和参考图像分别划分为多个子图像, 获取目标帧图像中的每个子图像的特征信息,及参考图像中的每个子图像的特征信息,将目标帧图像中的每个子图像的特征信息与参考图像中的对应子图像的特征信息进行比对,以得到目标帧图像中的每个子图像与参考图像中的对应子图像之间的匹配度,对确定出的匹配度进行加权求和,得到目标帧图像与参考图像之间的匹配度。In one example, the target frame image and the reference image are divided into multiple sub-images respectively according to a preset division rule, and the feature information of each sub-image in the target frame image and the feature information of each sub-image in the reference image are obtained, The feature information of each sub-image in the target frame image is compared with the feature information of the corresponding sub-image in the reference image to obtain the matching degree between each sub-image in the target frame image and the corresponding sub-image in the reference image , Weighted and sum the determined matching degree to obtain the matching degree between the target frame image and the reference image.
为了提高获取目标帧图像与参考图像之间的匹配度的精确度,监控设备可以按照预设的划分规则将目标帧图像和参考图像分别划分为多个子图像,该预设的划分规则包括横向划分规则和/或纵向划分规则和/或斜向划分规则,并获取目标帧图像中的每个子图像的特征信息,及参考图像中的每个子图像的特征信息,将目标帧图像中的每个子图像的特征信息与参考图像中的对应子图像的特征信息进行比对,以得到目标帧图像中的每个子图像与参考图像中的对应子图像之间的匹配度,为目标帧图像中的每个子图设置权重,该子图的权重用于反映该子图对目标帧图像与参考图像之间的匹配度的影响程度,根据每个子图的权重对确定出的匹配度进行加权求和,得到目标帧图像与参考图像之间的匹配度。In order to improve the accuracy of acquiring the matching degree between the target frame image and the reference image, the monitoring device may divide the target frame image and the reference image into multiple sub-images respectively according to a preset division rule, and the preset division rule includes horizontal division Rules and / or vertical division rules and / or diagonal division rules, and obtain the feature information of each sub-image in the target frame image, and the feature information of each sub-image in the reference image, and convert each sub-image in the target frame image The feature information of is compared with the feature information of the corresponding sub-image in the reference image to obtain the matching degree between each sub-image in the target frame image and the corresponding sub-image in the reference image. The map sets weights, and the weights of the sub-pictures are used to reflect the influence degree of the sub-pictures on the matching degree between the target frame image and the reference image, and the determined matching degrees are weighted and summed according to the weights of each sub-picture to obtain the target The degree of matching between the frame image and the reference image.
上述为目标帧图像中的每个子图包括:根据每个子图中所指示的区域出现目标对象的概率设置该子图的权重,例如,子图中所指示的区域为小区的围墙区域,则该区域出现目标对象的概率较小,可以将该子图的权重设置一个较小值,子图中所指示的区域为小区的入口区域,则该区域出现目标对象的概率较大,可以将该子图的权重设置一个较大值。The above is that each sub-picture in the target frame image includes: setting the weight of the sub-picture according to the probability of the target object appearing in the area indicated in each sub-picture. For example, if the area indicated in the sub-picture is the wall area of the cell, then the The probability of the target object appearing in the area is small, and the weight of the sub-picture can be set to a small value. The area indicated in the sub-picture is the entrance area of the cell. The weight of the graph is set to a larger value.
或者通过逻辑回归分类器对目标帧图像的每个子图设置权重,逻辑回归分类器通过子图所在区域的变化特征(即稳定度)设置每个子图的权重,具体的,为具有固定变化特征(即子图所指示区域的稳定度大于或等于预设稳定度)的子图设置较小的权重,为不具备固定变化特征(即子图所指示区域的稳定度小于预设稳定度)的子图设置较大的权重。例:子图所是指的区域为路口交通信号灯所在的区域,交通通信号灯具有固定变化特征,可将该子图设置较小的权重;子图所是指的区域为路口的斑马线所在的区域,斑马线所在的区域人流量通常不具有固定特征,可将该子图设置较大的权重。Or set the weight of each sub-picture of the target frame image through a logistic regression classifier. The logistic regression classifier sets the weight of each sub-picture through the change characteristics (ie stability) of the area where the sub-picture is located. Specifically, it has a fixed change characteristic ( (The stability of the area indicated by the sub-picture is greater than or equal to the preset stability) The sub-picture sets a smaller weight, which is a sub-image that does not have a fixed change feature (that is, the stability of the area indicated by the sub-picture is less than the preset stability) The graph sets a larger weight. Example: The area referred to by the sub-picture is the area where the traffic lights at the intersection are located. The traffic signal has a fixed change feature, and the sub-picture can be set to a smaller weight; In the area where the zebra crossing is located, the flow of people usually does not have fixed characteristics, and the sub-graph can be set with a larger weight.
在一个实施例中,为了提高获取目标帧图像与参考图像之间的匹配度的精确度,并提高获取目标帧图像与参考图像之间的匹配度的效率,监控设备可以按照预设的划分规则将目标帧图像和参考图像分别划分为多个子图像,该预设的划分规则包括横向划分规则和/或纵向划分规则和/或斜向划分规则,并获取目标帧图像中的每个子图像的特征信息,及参考图像中的每个子图像的特征信息,将目标帧图像中的每个子图像的特征信息与参考图像中的对应子图像的特征信息进行比对,以得到目标帧图像中的每个子图像与参考图像中的对应子图像之间的匹配度,统计匹配度小于预设值的子图数量,根据子图的数量确定目标帧 图像与参考图像之间的匹配度。例如,当子图的数量小于预设数量阈值,确定目标帧图像与参考图像之间的匹配度小于预设阈值;当子图的数量大于或等于预设数量阈值,确定目标帧图像与参考图像之间的匹配度大于或等于预设阈值。In one embodiment, in order to improve the accuracy of acquiring the matching degree between the target frame image and the reference image, and to improve the efficiency of acquiring the matching degree between the target frame image and the reference image, the monitoring device may follow a preset division rule Divide the target frame image and the reference image into multiple sub-images respectively, the preset division rules include horizontal division rule and / or vertical division rule and / or diagonal division rule, and obtain the characteristics of each sub-image in the target frame image Information, and feature information of each sub-image in the reference image, compare the feature information of each sub-image in the target frame image with the feature information of the corresponding sub-image in the reference image to obtain each sub-image in the target frame image The matching degree between the corresponding sub-images in the image and the reference image, the number of sub-pictures whose matching degree is less than the preset value is counted, and the matching degree between the target frame image and the reference image is determined according to the number of sub-pictures. For example, when the number of sub-pictures is less than the preset number threshold, it is determined that the matching degree between the target frame image and the reference image is less than the preset threshold; when the number of sub-pictures is greater than or equal to the preset number threshold, the target frame image and the reference image are determined The matching degree between them is greater than or equal to the preset threshold.
S204、当目标帧图像与参考图像的匹配度小于预设阈值时,确定目标区域中存在目标对象闯入。S204. When the matching degree between the target frame image and the reference image is less than a preset threshold, it is determined that there is a target object intrusion in the target area.
S205、从数据库中获取与所述目标帧图像的匹配的训练图像。S205. Acquire a matching training image from the target frame image from the database.
S206、从数据库中获取训练图像中的对象信息,数据库中包括多张训练图像,及每张训练图像中的对象信息。S206. Obtain the object information in the training image from the database, the database includes multiple training images, and the object information in each training image.
S207、将训练图像中的对象信息作为目标帧图像的目标对象的对象信息,输出目标对象的对象信息。S207: Use the object information in the training image as the object information of the target object of the target frame image, and output the object information of the target object.
在步骤S204~S207中,当确定目标区域存在目标对象闯入时,监控设备可以获取目标对象的对象信息(即目标对象的标签),以便于用户可以及时采取相应的措施,降低目标对象给用户带来的危害。具体的,从数据库中获取与目标帧图像的匹配的训练图像,如获取与目标帧图像相同的训练图像,或与目标帧图像的相似度大于预设相似度值的训练图像,并从数据库中获取训练图像中的对象信息,将训练图像中的对象信息作为目标帧图像的目标对象的对象信息,并输出该目标对象的对象信息。当该目标对象为人时,该目标对象的对象信息包括该目标对象的身份信息,和/或该目标对象的反之记录信息等,该目标对象的身份信息包括名字、籍贯、年龄等;当该目标对象为动物时,该目标对象的对象信息包括名称或种类等。In steps S204-S207, when it is determined that a target object intrudes in the target area, the monitoring device may acquire the object information of the target object (that is, the label of the target object), so that the user can take corresponding measures in time to reduce the target object to the user The harm brought. Specifically, obtain a matching training image with the target frame image from the database, such as obtaining the same training image as the target frame image, or a training image whose similarity to the target frame image is greater than a preset similarity value, and from the database Obtain the object information in the training image, use the object information in the training image as the object information of the target object of the target frame image, and output the object information of the target object. When the target object is a person, the object information of the target object includes the identity information of the target object, and / or the log information of the target object, etc. The identity information of the target object includes the name, place of origin, age, etc .; when the target When the object is an animal, the object information of the target object includes the name or type.
本申请实施例中,可基于图像自动地识别出闯入监控区域的对象,提高图像识别的效率。In the embodiments of the present application, objects that break into the monitoring area can be automatically identified based on the image, thereby improving the efficiency of image recognition.
请参见图3,是本申请实施例提供的一种图像处理理装置的结构示意图,本申请实施例的所述装置可以设置在上述提及的监控设备中。本实施例中,该装置包括:Please refer to FIG. 3, which is a schematic structural diagram of an image processing apparatus provided by an embodiment of the present application. The apparatus of the embodiment of the present application may be provided in the above-mentioned monitoring device. In this embodiment, the device includes:
拍摄模块301,用于通过拍摄装置对目标区域进行拍摄,以得到该目标区域的目标视频数据。The shooting module 301 is used for shooting a target area by a shooting device to obtain target video data of the target area.
筛选模块302,用于按照预设的筛选规则从所述目标视频数据中筛选出目标帧图像,并获取所述目标区域的参考图像,所述参考图像是指所述目标区域不存在目标对象闯入时所拍摄的图像。The filtering module 302 is configured to filter out target frame images from the target video data according to a preset filtering rule and obtain a reference image of the target area, where the reference image means that there is no target object in the target area Image taken at the time of import.
比对模块303,用于将所述目标帧图像的特征信息与所述参考图像的特征信息进行比 对,以得到所述目标帧图像与所述参考图像之间的匹配度。The comparison module 303 is used to compare the feature information of the target frame image with the feature information of the reference image to obtain the matching degree between the target frame image and the reference image.
确定模块304,用于当所述目标帧图像与所述参考图像的匹配度小于预设阈值时,确定所述目标区域中存在所述目标对象闯入。The determining module 304 is configured to determine that the target object intrudes in the target area when the matching degree between the target frame image and the reference image is less than a preset threshold.
可选的,拍摄模块301,具体用于通过传感器获取所述目标区域的温度信息;当所述目标区域的温度信息指示所述目标区域的温度值大于预设温度值时,执行所述通过拍摄装置对目标区域进行拍摄,以得到该目标区域的目标视频数据的步骤;或者,接收针对所述目标区域的拍摄指令,执行所述通过拍摄装置对目标区域进行拍摄,以得到该目标区域的目标视频数据的步骤。Optionally, the shooting module 301 is specifically configured to acquire the temperature information of the target area through a sensor; when the temperature information of the target area indicates that the temperature value of the target area is greater than a preset temperature value, the pass shooting is performed The device shoots the target area to obtain the target video data of the target area; or, receives a shooting instruction for the target area and executes the shooting of the target area by the shooting device to obtain the target of the target area Steps for video data.
可选的,所述预设的筛选规则包括按照场景变化参数的筛选规则;筛选模块302,具体用于根据所述目标区域的历史视频数据获取所述目标区域的场景变化参数,所述场景变化参数用于指示所述目标区域的稳定度;根据所述目标区域的场景变化参数获取所述目标区域的参考图像,并根据所述目标区域的场景变化参数从所述目标视频中筛选出所述目标帧图像。Optionally, the preset screening rules include screening rules according to scene change parameters; the screening module 302 is specifically configured to obtain scene change parameters of the target area based on historical video data of the target area, and the scene changes The parameter is used to indicate the stability of the target area; obtain a reference image of the target area according to the scene change parameter of the target area, and filter out the target video from the target video according to the scene change parameter of the target area Target frame image.
可选的,筛选模块302,具体用于当所述场景变化参数指示所述目标区域的稳定度大于或等于预设稳定值,获取所述目标区域的历史视频数据中不存在所述目标对象的多帧图像;对所述多帧图像的像素信息进行平均化处理,以得到所述目标区域的参考图像;按照第一预设时间间隔从所述目标视频中选择图像,且每次一帧图像,将选择的图像作为所述目标帧图像。Optionally, the screening module 302 is specifically configured to obtain that the target object does not exist in the historical video data of the target area when the scene change parameter indicates that the stability of the target area is greater than or equal to a preset stable value Multi-frame images; averaging the pixel information of the multi-frame images to obtain the reference image of the target area; selecting images from the target video at a first preset time interval, one frame at a time , Use the selected image as the target frame image.
可选的,筛选模块302,具体用于当所述场景变化参数指示所述目标区域的稳定度小于预设稳定值时,按照第二预设时间间隔从所述目标视频中选择图像,且每次选择两帧图像;将所述两帧图像中的第一帧图像作为所述目标区域的参考图像,将所述两帧图像中的第二帧图像作为所述目标帧图像,所述第一帧图像的拍摄时间早于所述第二帧图像的拍摄时间。Optionally, the screening module 302 is specifically configured to select an image from the target video at a second preset time interval when the scene change parameter indicates that the stability of the target area is less than a preset stable value, and each Select two frames of images at a time; use the first frame of the two frames as the reference image of the target area, and use the second frame of the two frames as the target frame image, the first The shooting time of the frame image is earlier than the shooting time of the second frame image.
可选的,比对模块303,具体用于按照预设的划分规则将所述目标帧图像和所述参考图像分别划分为多个子图像;获取所述目标帧图像中的每个子图像的特征信息,及所述参考图像中的每个子图像的特征信息;将所述目标帧图像中的每个子图像的特征信息与所述参考图像中的对应子图像的特征信息进行比对,以得到所述目标帧图像中的每个子图像与所述参考图像中的对应子图像之间的匹配度;对确定出的匹配度进行加权求和,得到所述目标帧图像与所述参考图像之间的匹配度。Optionally, the comparison module 303 is specifically configured to divide the target frame image and the reference image into multiple sub-images respectively according to a preset division rule; obtain feature information of each sub-image in the target frame image , And the feature information of each sub-image in the reference image; compare the feature information of each sub-image in the target frame image with the feature information of the corresponding sub-image in the reference image to obtain the The degree of matching between each sub-image in the target frame image and the corresponding sub-image in the reference image; weighting and summing the determined degree of matching to obtain the match between the target frame image and the reference image degree.
可选的,获取模块305,用于从数据库中获取与所述目标帧图像的匹配的训练图像, 从所述数据库中获取所述训练图像中的对象信息,所述数据库中包括多张训练图像,及每张训练图像中的对象信息。Optionally, the obtaining module 305 is configured to obtain a training image matching the target frame image from a database, and obtain object information in the training image from the database, and the database includes multiple training images , And the object information in each training image.
可选的,输出模块306,用于将所述训练图像中的对象信息作为所述目标帧图像中的目标对象的对象信息;输出所述目标对象的对象信息。Optionally, the output module 306 is configured to use the object information in the training image as the object information of the target object in the target frame image; and output the object information of the target object.
本申请实施例中,可基于图像自动地识别出闯入监控区域的对象,提高图像识别的效率。In the embodiments of the present application, objects that break into the monitoring area can be automatically identified based on the image, thereby improving the efficiency of image recognition.
请参见图4,是本申请实施例提供的一种监控设备的结构示意图,如图所示的本实施例中的监控设备可以包括:一个或多个处理器401;一个或多个输入装置402,一个或多个输出装置403和存储器404。上述处理器401、输入装置402、输出装置403和存储器404通过总线405连接。Please refer to FIG. 4, which is a schematic structural diagram of a monitoring device provided by an embodiment of the present application. As shown in the figure, the monitoring device in this embodiment may include: one or more processors 401; one or more input devices 402 , One or more output devices 403 and memory 404. The processor 401, the input device 402, the output device 403, and the memory 404 are connected via a bus 405.
所处理器401可以是中央处理单元(Central Processing Unit,CPU),该处理器还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The processor 401 may be a central processing unit (Central Processing Unit, CPU), the processor may also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC ), Ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
输入装置402可以包括触控板、指纹采传感器(用于采集用户的指纹信息和指纹的方向信息)、温度传感器(用于获取目标区域的温度信息)、拍摄装置(用于获取目标区域的视频数据)、麦克风等,输出装置403可以包括显示器(LCD等)、扬声器等,输出装置403可以输出目标对象的对象信息。The input device 402 may include a touchpad, a fingerprint sensor (for collecting user's fingerprint information and direction information of the fingerprint), a temperature sensor (for acquiring temperature information of the target area), and a shooting device (for acquiring video of the target area Data), a microphone, etc., the output device 403 may include a display (LCD, etc.), a speaker, etc., and the output device 403 may output object information of a target object.
该存储器404可以包括只读存储器和随机存取存储器,并向处理器401提供指令和数据。存储器404的一部分还可以包括非易失性随机存取存储器,存储器404用于存储计算机程序,所述计算机程序包括程序指令,处理器401用于执行存储器404存储的程序指令,以用于执行一种基于图像识别的图像处理方法,即用于执行以下操作:The memory 404 may include a read-only memory and a random access memory, and provide instructions and data to the processor 401. A part of the memory 404 may further include a non-volatile random access memory, the memory 404 is used to store a computer program, the computer program includes program instructions, and the processor 401 is used to execute the program instructions stored in the memory 404 to be used to execute a An image processing method based on image recognition is used to perform the following operations:
通过拍摄装置对目标区域进行拍摄,以得到该目标区域的目标视频数据;Shoot the target area through the shooting device to obtain the target video data of the target area;
按照预设的筛选规则从所述目标视频数据中筛选出目标帧图像,并获取所述目标区域的参考图像,所述参考图像是指所述目标区域不存在目标对象闯入时所拍摄的图像;Filter out the target frame image from the target video data according to the preset filtering rules, and obtain the reference image of the target area, the reference image refers to the image captured when there is no target object intrusion in the target area ;
将所述目标帧图像的特征信息与所述参考图像的特征信息进行比对,以得到所述目标帧图像与所述参考图像之间的匹配度;Comparing feature information of the target frame image with feature information of the reference image to obtain a matching degree between the target frame image and the reference image;
当所述目标帧图像与所述参考图像的匹配度小于预设阈值时,确定所述目标区域中存 在所述目标对象闯入。When the matching degree of the target frame image and the reference image is less than a preset threshold, it is determined that the target object intrusion exists in the target area.
可选的,处理器401用于执行存储器404存储的程序指令,用于执行以下操作:Optionally, the processor 401 is used to execute the program instructions stored in the memory 404 to perform the following operations:
通过传感器获取所述目标区域的温度信息;当所述目标区域的温度信息指示所述目标区域的温度值大于预设温度值时,执行所述通过拍摄装置对目标区域进行拍摄,以得到该目标区域的目标视频数据的步骤;或者,Acquiring temperature information of the target area through a sensor; when the temperature information of the target area indicates that the temperature value of the target area is greater than a preset temperature value, executing the shooting of the target area by the shooting device to obtain the target Steps of target video data in the area; or,
接收针对所述目标区域的拍摄指令,执行所述通过拍摄装置对目标区域进行拍摄,以得到该目标区域的目标视频数据的步骤。Receiving a shooting instruction for the target area, and performing the step of shooting the target area by the shooting device to obtain target video data of the target area.
可选的,处理器401用于执行存储器404存储的程序指令,用于执行以下操作:Optionally, the processor 401 is used to execute the program instructions stored in the memory 404 to perform the following operations:
根据所述目标区域的历史视频数据获取所述目标区域的场景变化参数,所述场景变化参数用于指示所述目标区域的稳定度;Acquiring scene change parameters of the target area according to historical video data of the target area, the scene change parameters being used to indicate the stability of the target area;
根据所述目标区域的场景变化参数获取所述目标区域的参考图像,并根据所述目标区域的场景变化参数从所述目标视频中筛选出所述目标帧图像。Acquire the reference image of the target area according to the scene change parameters of the target area, and filter out the target frame image from the target video according to the scene change parameters of the target area.
可选的,处理器401用于执行存储器404存储的程序指令,用于执行以下操作:Optionally, the processor 401 is used to execute the program instructions stored in the memory 404 to perform the following operations:
当所述场景变化参数指示所述目标区域的稳定度大于或等于预设稳定值,获取所述目标区域的历史视频数据中不存在所述目标对象的多帧图像;When the scene change parameter indicates that the stability of the target area is greater than or equal to a preset stable value, acquire multiple frames of the target object in the historical video data of the target area;
对所述多帧图像的像素信息进行平均化处理,以得到所述目标区域的参考图像;Averaging the pixel information of the multi-frame image to obtain the reference image of the target area;
按照第一预设时间间隔从所述目标视频中选择图像,且每次一帧图像,将选择的图像作为所述目标帧图像。An image is selected from the target video at a first preset time interval, and one frame of image at a time, the selected image is used as the target frame image.
可选的,处理器401用于执行存储器404存储的程序指令,用于执行以下操作:Optionally, the processor 401 is used to execute the program instructions stored in the memory 404 to perform the following operations:
当所述场景变化参数指示所述目标区域的稳定度小于预设稳定值时,按照第二预设时间间隔从所述目标视频中选择图像,且每次选择两帧图像;When the scene change parameter indicates that the stability of the target area is less than a preset stable value, select images from the target video at a second preset time interval, and select two frames of images at a time;
将所述两帧图像中的第一帧图像作为所述目标区域的参考图像,将所述两帧图像中的第二帧图像作为所述目标帧图像,所述第一帧图像的拍摄时间早于所述第二帧图像的拍摄时间。The first frame of the two frames is used as the reference image of the target area, and the second frame of the two frames is used as the target frame. The first frame of the image is taken early At the shooting time of the second frame image.
可选的,处理器401用于执行存储器404存储的程序指令,用于执行以下操作:Optionally, the processor 401 is used to execute the program instructions stored in the memory 404 to perform the following operations:
按照预设的划分规则将所述目标帧图像和所述参考图像分别划分为多个子图像;Divide the target frame image and the reference image into multiple sub-images according to a preset division rule;
获取所述目标帧图像中的每个子图像的特征信息,及所述参考图像中的每个子图像的特征信息;Acquiring feature information of each sub-image in the target frame image, and feature information of each sub-image in the reference image;
将所述目标帧图像中的每个子图像的特征信息与所述参考图像中的对应子图像的特征信息进行比对,以得到所述目标帧图像中的每个子图像与所述参考图像中的对应子图像之 间的匹配度;Comparing the feature information of each sub-image in the target frame image with the feature information of the corresponding sub-image in the reference image to obtain each sub-image in the target frame image and the reference image in the reference image The matching degree between corresponding sub-images;
对确定出的匹配度进行加权求和,得到所述目标帧图像与所述参考图像之间的匹配度。Weighting and summing the determined matching degree to obtain the matching degree between the target frame image and the reference image.
可选的,处理器401用于执行存储器404存储的程序指令,用于执行以下操作:Optionally, the processor 401 is used to execute the program instructions stored in the memory 404 to perform the following operations:
从数据库中获取与所述目标帧图像的匹配的训练图像;Obtain a matching training image from the target frame image from the database;
从所述数据库中获取所述训练图像中的对象信息,所述数据库中包括多张训练图像,及每张训练图像中的对象信息;Obtaining object information in the training images from the database, the database includes multiple training images, and object information in each training image;
将所述训练图像中的对象信息作为所述目标帧图像中的目标对象的对象信息;Use the object information in the training image as the object information of the target object in the target frame image;
输出所述目标对象的对象信息。Output the object information of the target object.
本申请实施例中,可基于图像自动地识别出闯入监控区域的对象,提高图像识别的效率。In the embodiments of the present application, objects that break into the monitoring area can be automatically identified based on the image, thereby improving the efficiency of image recognition.
本申请实施例中所描述的处理器401、输入装置402、输出装置403可执行本申请实施例提供的基于图像识别的图像处理方法的第一实施例和第二实施例中所描述的实现方式,也可执行本申请实施例所描述的监控设备的实现方式,在此不再赘述。The processor 401, the input device 402, and the output device 403 described in the embodiments of the present application may execute the implementation methods described in the first and second embodiments of the image processing method based on image recognition provided by the embodiments of the present application It can also implement the implementation of the monitoring device described in the embodiments of the present application, which will not be repeated here.
本申请实施例中提供还了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令被处理器执行时实现本申请的图1及图2实施例中所示的基于图像识别的图像处理方法。An embodiment of the present application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program. The computer program includes program instructions. The program instructions are executed by a processor to implement a diagram of the present application. 1 and the image processing method based on image recognition shown in the embodiment of FIG. 2.
所述计算机可读存储介质可以是前述任一实施例所述的监控设备的内部存储单元,例如控制设备的硬盘或内存。所述计算机可读存储介质也可以是所述控制设备的外部存储设备,例如所述控制设备上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述计算机可读存储介质还可以既包括所述控制设备的内部存储单元也包括外部存储设备。所述计算机可读存储介质用于存储所述计算机程序以及所述控制设备所需的其他程序和数据。所述计算机可读存储介质还可以用于暂时地存储已经输出或者将要输出的数据。The computer-readable storage medium may be an internal storage unit of the monitoring device described in any of the foregoing embodiments, such as a hard disk or a memory of the control device. The computer-readable storage medium may also be an external storage device of the control device, for example, a plug-in hard disk equipped on the control device, a smart memory card (Smart, Media, Card, SMC), and secure digital (SD, Digital) ) Card, flash card (Flash Card), etc. Further, the computer-readable storage medium may also include both an internal storage unit of the control device and an external storage device. The computer-readable storage medium is used to store the computer program and other programs and data required by the control device. The computer-readable storage medium may also be used to temporarily store data that has been or will be output.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的控制设备和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在 此不再赘述。Those of ordinary skill in the art may realize that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two, in order to clearly explain the hardware and software. Interchangeability, in the above description, the composition and steps of each example have been generally described according to function. Whether these functions are executed in hardware or software depends on the specific application of the technical solution and design constraints. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application. Those skilled in the art can clearly understand that, for the convenience and conciseness of the description, the specific working processes of the control devices and units described above can refer to the corresponding processes in the foregoing method embodiments, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的控制设备和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例是示意性的,例如,所述单元的划分,可以为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。In the several embodiments provided in this application, it should be understood that the disclosed control device and method may be implemented in other ways. For example, the device embodiments described above are schematic. For example, the division of the unit may be a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or may Integration into another system, or some features can be ignored, or not implemented. The above is only the specific implementation of this application, but the scope of protection of this application is not limited to this, any person skilled in the art can easily think of various equivalents within the technical scope disclosed in this application Modifications or replacements, these modifications or replacements should be covered within the scope of protection of this application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (20)

  1. 一种基于图像识别的图像处理方法,其特征在于,包括:An image processing method based on image recognition, characterized in that it includes:
    通过拍摄装置对目标区域进行拍摄,以得到该目标区域的目标视频数据;Shoot the target area through the shooting device to obtain the target video data of the target area;
    按照预设的筛选规则从所述目标视频数据中筛选出目标帧图像,并获取所述目标区域的参考图像,所述参考图像是指所述目标区域不存在目标对象闯入时所拍摄的图像;Filter out the target frame image from the target video data according to the preset filtering rules, and obtain the reference image of the target area, the reference image refers to the image captured when there is no target object intrusion in the target area ;
    将所述目标帧图像的特征信息与所述参考图像的特征信息进行比对,以得到所述目标帧图像与所述参考图像之间的匹配度;Comparing feature information of the target frame image with feature information of the reference image to obtain a matching degree between the target frame image and the reference image;
    当所述目标帧图像与所述参考图像的匹配度小于预设阈值时,确定所述目标区域中存在所述目标对象闯入。When the matching degree of the target frame image and the reference image is less than a preset threshold, it is determined that the target object intrudes in the target area.
  2. 如权利要求1所述的方法,其特征在于,还包括:The method of claim 1, further comprising:
    通过传感器获取所述目标区域的温度信息;当所述目标区域的温度信息指示所述目标区域的温度值大于预设温度值时,执行所述通过拍摄装置对目标区域进行拍摄,以得到该目标区域的目标视频数据的步骤;或者,Acquiring temperature information of the target area through a sensor; when the temperature information of the target area indicates that the temperature value of the target area is greater than a preset temperature value, executing the shooting of the target area by the shooting device to obtain the target Steps of target video data in the area; or,
    接收针对所述目标区域的拍摄指令,执行所述通过拍摄装置对目标区域进行拍摄,以得到该目标区域的目标视频数据的步骤。Receiving a shooting instruction for the target area, and performing the step of shooting the target area by the shooting device to obtain target video data of the target area.
  3. 如权利要求1或2所述的方法,其特征在于,所述预设的筛选规则包括按照场景变化参数的筛选规则;The method according to claim 1 or 2, wherein the preset screening rules include screening rules according to scene change parameters;
    所述按照预设的筛选规则从所述目标视频数据中筛选出目标帧图像,并获取所述目标区域的参考图像,包括:The filtering out the target frame image from the target video data according to the preset filtering rule and acquiring the reference image of the target area includes:
    根据所述目标区域的历史视频数据获取所述目标区域的场景变化参数,所述场景变化参数用于指示所述目标区域的稳定度;Acquiring scene change parameters of the target area according to historical video data of the target area, the scene change parameters being used to indicate the stability of the target area;
    根据所述目标区域的场景变化参数获取所述目标区域的参考图像,并根据所述目标区域的场景变化参数从所述目标视频中筛选出所述目标帧图像。Acquire the reference image of the target area according to the scene change parameters of the target area, and filter out the target frame image from the target video according to the scene change parameters of the target area.
  4. 如权利要求3所述的方法,其特征在于,所述根据所述目标区域的场景变化参数获取所述目标区域的参考图像,并根据所述目标区域的场景变化参数从所述目标视频中筛选出目标帧图像,包括:The method according to claim 3, wherein the reference image of the target area is acquired according to the scene change parameter of the target area, and filtered from the target video according to the scene change parameter of the target area Out target frame image, including:
    当所述场景变化参数指示所述目标区域的稳定度大于或等于预设稳定值,获取所述目标区域的历史视频数据中不存在所述目标对象的多帧图像;When the scene change parameter indicates that the stability of the target area is greater than or equal to a preset stable value, acquire multiple frames of the target object in the historical video data of the target area;
    对所述多帧图像的像素信息进行平均化处理,以得到所述目标区域的参考图像;Averaging the pixel information of the multi-frame image to obtain the reference image of the target area;
    按照第一预设时间间隔从所述目标视频中选择图像,且每次一帧图像,将选择的图像作为所述目标帧图像。An image is selected from the target video at a first preset time interval, and one frame of image at a time, the selected image is used as the target frame image.
  5. 如权利要求3所述的方法,其特征在于,所述根据所述目标区域的场景变化参数获取所述目标区域的参考图像,并根据所述目标区域的场景变化参数从所述目标视频中筛选出目标帧图像,包括:The method according to claim 3, wherein the reference image of the target area is acquired according to the scene change parameter of the target area, and filtered from the target video according to the scene change parameter of the target area Out target frame image, including:
    当所述场景变化参数指示所述目标区域的稳定度小于预设稳定值时,按照第二预设时间间隔从所述目标视频中选择图像,且每次选择两帧图像;When the scene change parameter indicates that the stability of the target area is less than a preset stable value, select images from the target video at a second preset time interval, and select two frames of images at a time;
    将所述两帧图像中的第一帧图像作为所述目标区域的参考图像,将所述两帧图像中的第二帧图像作为所述目标帧图像,所述第一帧图像的拍摄时间早于所述第二帧图像的拍摄时间。The first frame of the two frames is used as the reference image of the target area, and the second frame of the two frames is used as the target frame. The first frame of the image is taken early At the shooting time of the second frame image.
  6. 如权利要求4或5所述的方法,其特征在于,所述将所述目标帧图像的特征信息与所述参考图像的特征信息进行比对,以得到所述目标帧图像与所述参考图像之间的匹配度,包括:The method according to claim 4 or 5, wherein the feature information of the target frame image is compared with the feature information of the reference image to obtain the target frame image and the reference image The degree of matching, including:
    按照预设的划分规则将所述目标帧图像和所述参考图像分别划分为多个子图像;Divide the target frame image and the reference image into multiple sub-images according to a preset division rule;
    获取所述目标帧图像中的每个子图像的特征信息,及所述参考图像中的每个子图像的特征信息;Acquiring feature information of each sub-image in the target frame image, and feature information of each sub-image in the reference image;
    将所述目标帧图像中的每个子图像的特征信息与所述参考图像中的对应子图像的特征信息进行比对,以得到所述目标帧图像中的每个子图像与所述参考图像中的对应子图像之间的匹配度;Comparing the feature information of each sub-image in the target frame image with the feature information of the corresponding sub-image in the reference image to obtain each sub-image in the target frame image and the reference image in the reference image The matching degree between corresponding sub-images;
    对确定出的匹配度进行加权求和,得到所述目标帧图像与所述参考图像之间的匹配度。Weighting and summing the determined matching degree to obtain the matching degree between the target frame image and the reference image.
  7. 如权利要求1所述的方法,其特征在于,所述确定所述目标区域中存在目标对象闯入之后,还包括:The method according to claim 1, wherein after determining that a target object intrudes in the target area, the method further comprises:
    从数据库中获取与所述目标帧图像的匹配的训练图像;Obtain a matching training image from the target frame image from the database;
    从所述数据库中获取所述训练图像中的对象信息,所述数据库中包括多张训练图像,及每张训练图像中的对象信息;Obtaining object information in the training images from the database, the database includes multiple training images, and object information in each training image;
    将所述训练图像中的对象信息作为所述目标帧图像中的目标对象的对象信息;Use the object information in the training image as the object information of the target object in the target frame image;
    输出所述目标对象的对象信息。Output the object information of the target object.
  8. 如权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1, wherein the method further comprises:
    当确定所述目标区域中存在所述目标对象闯入时,输出提示信息,所述提示信息用于提示所述目标区域存在所述目标对象闯入。When it is determined that the target object intrusion exists in the target area, prompt information is output, and the prompt information is used to prompt the target object intrusion in the target area.
  9. 如权利要求1所述的方法,其特征在于,所述通过拍摄装置对目标区域进行拍摄,以得到该目标区域的目标视频数据,包括:The method according to claim 1, wherein the shooting of the target area by the shooting device to obtain target video data of the target area includes:
    当时间位于预设时间段内时,通过拍摄装置对目标区域进行拍摄,以得到该目标区域的目标视频数据,所述预设时间段是指所述目标区域出现所述目标对象的频率大于预设频率的时间段。When the time is within a preset time period, the target area is captured by the shooting device to obtain the target video data of the target area. The preset time period means that the frequency of the target object appearing in the target area is greater than the Set the frequency period.
  10. 一种图像处理装置,其特征在于,包括:An image processing device, characterized in that it includes:
    拍摄模块,用于通过拍摄装置对目标区域进行拍摄,以得到该目标区域的目标视频数据;The shooting module is used to shoot the target area through the shooting device to obtain the target video data of the target area;
    筛选模块,用于按照预设的筛选规则从所述目标视频数据中筛选出目标帧图像,并获取所述目标区域的参考图像,所述参考图像是指所述目标区域不存在目标对象闯入时所拍摄的图像;The filtering module is used to filter out target frame images from the target video data according to a preset filtering rule, and obtain a reference image of the target area, where the reference image means that there is no target object intrusion in the target area Images taken at the time;
    比对模块,用于将所述目标帧图像的特征信息与所述参考图像的特征信息进行比对,以得到所述目标帧图像与所述参考图像之间的匹配度;A comparison module, configured to compare the feature information of the target frame image with the feature information of the reference image to obtain a matching degree between the target frame image and the reference image;
    确定模块,用于当所述目标帧图像与所述参考图像的匹配度小于预设阈值时,确定所述目标区域中存在所述目标对象闯入。The determining module is configured to determine that the target object intrudes in the target area when the matching degree between the target frame image and the reference image is less than a preset threshold.
  11. 如权利要求10所述的装置,其特征在于,还包括:The device of claim 10, further comprising:
    所述拍摄模块,用于通过传感器获取所述目标区域的温度信息;当所述目标区域的温度信息指示所述目标区域的温度值大于预设温度值时,执行所述通过拍摄装置对目标区域进行拍摄,以得到该目标区域的目标视频数据的步骤;或者,接收针对所述目标区域的拍摄指令,执行所述通过拍摄装置对目标区域进行拍摄,以得到该目标区域的目标视频数据的步骤。The shooting module is used for acquiring temperature information of the target area through a sensor; when the temperature information of the target area indicates that the temperature value of the target area is greater than a preset temperature value, the target area is executed by the shooting device Performing shooting to obtain the target video data of the target area; or, receiving a shooting instruction for the target area and performing the step of shooting the target area by the shooting device to obtain the target video data of the target area .
  12. 如权利要求10或11所述的装置,其特征在于,所述预设的筛选规则包括按照场景变化参数的筛选规则;所述筛选模块,用于根据所述目标区域的历史视频数据获取所述目标区域的场景变化参数,所述场景变化参数用于指示所述目标区域的稳定度;根据所述目标区域的场景变化参数获取所述目标区域的参考图像,并根据所述目标区域的场景变化参数从所述目标视频中筛选出所述目标帧图像。The apparatus according to claim 10 or 11, wherein the preset screening rules include screening rules according to scene change parameters; and the screening module is configured to obtain the screening rules based on historical video data of the target area The scene change parameter of the target area, the scene change parameter is used to indicate the stability of the target area; the reference image of the target area is obtained according to the scene change parameter of the target area, and according to the scene change of the target area The parameters select the target frame image from the target video.
  13. 如权利要求12所述的装置,其特征在于,所述筛选模块,用于当所述场景变化 参数指示所述目标区域的稳定度大于或等于预设稳定值,获取所述目标区域的历史视频数据中不存在所述目标对象的多帧图像;对所述多帧图像的像素信息进行平均化处理,以得到所述目标区域的参考图像;按照第一预设时间间隔从所述目标视频中选择图像,且每次一帧图像,将选择的图像作为所述目标帧图像。The apparatus according to claim 12, wherein the screening module is configured to obtain a historical video of the target area when the scene change parameter indicates that the stability of the target area is greater than or equal to a preset stable value There is no multi-frame image of the target object in the data; the pixel information of the multi-frame image is averaged to obtain the reference image of the target area; from the target video at the first preset time interval Select an image, and one frame at a time, use the selected image as the target frame image.
  14. 如权利要求12所述的装置,其特征在于,所述筛选模块,用于当所述场景变化参数指示所述目标区域的稳定度小于预设稳定值时,按照第二预设时间间隔从所述目标视频中选择图像,且每次选择两帧图像;将所述两帧图像中的第一帧图像作为所述目标区域的参考图像,将所述两帧图像中的第二帧图像作为所述目标帧图像,所述第一帧图像的拍摄时间早于所述第二帧图像的拍摄时间。The apparatus according to claim 12, wherein the screening module is configured to, when the scene change parameter indicates that the stability of the target area is less than a preset stable value, to select Select images in the target video, and select two frames of images at a time; use the first frame of the two frames as the reference image of the target area, and the second frame of the two frames as the selected image In the target frame image, the shooting time of the first frame image is earlier than the shooting time of the second frame image.
  15. 如权利要求13或14所述的装置,其特征在于,所述比对模块,用于按照预设的划分规则将所述目标帧图像和所述参考图像分别划分为多个子图像;获取所述目标帧图像中的每个子图像的特征信息,及所述参考图像中的每个子图像的特征信息;将所述目标帧图像中的每个子图像的特征信息与所述参考图像中的对应子图像的特征信息进行比对,以得到所述目标帧图像中的每个子图像与所述参考图像中的对应子图像之间的匹配度;对确定出的匹配度进行加权求和,得到所述目标帧图像与所述参考图像之间的匹配度。The apparatus according to claim 13 or 14, wherein the comparison module is configured to divide the target frame image and the reference image into multiple sub-images respectively according to a preset division rule; Feature information of each sub-image in the target frame image, and feature information of each sub-image in the reference image; the feature information of each sub-image in the target frame image and the corresponding sub-image in the reference image Compare the feature information of to obtain the matching degree between each sub-image in the target frame image and the corresponding sub-image in the reference image; weight and sum the determined matching degrees to obtain the target The degree of matching between the frame image and the reference image.
  16. 如权利要求10所述的装置,其特征在于,还包括:The device of claim 10, further comprising:
    获取模块,用于从数据库中获取与所述目标帧图像的匹配的训练图像;从所述数据库中获取所述训练图像中的对象信息,所述数据库中包括多张训练图像,及每张训练图像中的对象信息;An acquisition module for acquiring a training image matching the target frame image from a database; acquiring object information in the training image from the database, the database includes multiple training images, and each training Object information in the image;
    输出模块,用于将所述训练图像中的对象信息作为所述目标帧图像中的目标对象的对象信息;输出所述目标对象的对象信息。The output module is configured to use the object information in the training image as the object information of the target object in the target frame image; and output the object information of the target object.
  17. 如权利要求10所述的装置,其特征在于,The device according to claim 10, characterized in that
    输出模块,用于当确定所述目标区域中存在所述目标对象闯入时,输出提示信息,所述提示信息用于提示所述目标区域存在所述目标对象闯入。The output module is configured to output prompt information when it is determined that the target object intrudes in the target area, and the prompt information is used to prompt the target object intrusion in the target area.
  18. 如权利要求10所述的装置,其特征在于,The device according to claim 10, characterized in that
    所述拍摄模块,用于当时间位于预设时间段内时,通过拍摄装置对目标区域进行拍摄,以得到该目标区域的目标视频数据,所述预设时间段是指所述目标区域出现所述目标对象的频率大于预设频率的时间段。The shooting module is configured to shoot the target area through the shooting device when the time is within a preset time period to obtain target video data of the target area. The preset time period refers to the location where the target area appears The time period when the frequency of the target object is greater than the preset frequency.
  19. 一种监控设备,其特征在于,包括:A monitoring device, characterized in that it includes:
    处理器,适于实现一条或一条以上指令;以及,A processor, suitable for implementing one or more instructions; and,
    计算机可读存储介质,所述计算机可读存储介质存储有一条或一条以上指令,所述一条或一条以上指令适于由所述处理器加载并执行如权利要求1-9任一项所述的基于图像识别的图像处理方法。A computer-readable storage medium, the computer-readable storage medium stores one or more instructions, the one or more instructions are adapted to be loaded and executed by the processor according to any one of claims 1-9 Image processing method based on image recognition.
  20. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有一条或一条以上指令,所述一条或一条以上指令适于由处理器加载并执行如权利要求1-9任一项所述的基于图像识别的图像处理方法。A computer-readable storage medium, characterized in that the computer-readable storage medium stores one or more instructions, the one or more instructions are suitable for being loaded by a processor and executed as claimed in any one of claims 1-9 Item-based image processing method based on image recognition.
PCT/CN2018/123882 2018-10-11 2018-12-26 Image processing method, apparatus and device based on image recognition, and storage medium WO2020073505A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811186563.9 2018-10-11
CN201811186563.9A CN109166261B (en) 2018-10-11 2018-10-11 Image processing method, device and equipment based on image recognition and storage medium

Publications (1)

Publication Number Publication Date
WO2020073505A1 true WO2020073505A1 (en) 2020-04-16

Family

ID=64877954

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/123882 WO2020073505A1 (en) 2018-10-11 2018-12-26 Image processing method, apparatus and device based on image recognition, and storage medium

Country Status (2)

Country Link
CN (1) CN109166261B (en)
WO (1) WO2020073505A1 (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111722074A (en) * 2020-06-03 2020-09-29 四川蓝景光电技术有限责任公司 LED identification label fault positioning method, device and system
CN111950607A (en) * 2020-07-28 2020-11-17 深圳市元征科技股份有限公司 Reminding method, reminding device and server
CN112040186A (en) * 2020-08-28 2020-12-04 北京市商汤科技开发有限公司 Method, device and equipment for determining activity area of target object and storage medium
CN112037276A (en) * 2020-08-11 2020-12-04 浙江大华技术股份有限公司 Secondary landslide monitoring method and device, electronic equipment and storage medium
CN112380938A (en) * 2020-11-04 2021-02-19 浙江大华技术股份有限公司 Face recognition and temperature measurement method, device, equipment and medium
CN112800888A (en) * 2021-01-15 2021-05-14 中国科学院半导体研究所 Target scoring method and device based on image recognition
CN113076159A (en) * 2021-03-26 2021-07-06 西安万像电子科技有限公司 Image display method and apparatus, storage medium, and electronic device
CN113177481A (en) * 2021-04-29 2021-07-27 北京百度网讯科技有限公司 Target detection method and device, electronic equipment and storage medium
CN113225451A (en) * 2021-04-28 2021-08-06 维沃移动通信(杭州)有限公司 Image processing method and device and electronic equipment
CN113938671A (en) * 2020-07-14 2022-01-14 北京灵汐科技有限公司 Image content analysis method and device, electronic equipment and storage medium
CN113963307A (en) * 2020-07-02 2022-01-21 上海际链网络科技有限公司 Method and device for identifying content on target and acquiring video, storage medium and computer equipment

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109889695A (en) * 2019-02-27 2019-06-14 努比亚技术有限公司 A kind of image-region determines method, terminal and computer readable storage medium
CN111263955A (en) * 2019-02-28 2020-06-09 深圳市大疆创新科技有限公司 Method and device for determining movement track of target object
CN110617873B (en) * 2019-04-26 2022-01-14 深圳市豪视智能科技有限公司 Method for detecting vibration of cable and related product
CN110225299B (en) * 2019-05-06 2022-03-04 平安科技(深圳)有限公司 Video monitoring method and device, computer equipment and storage medium
CN112422601B (en) * 2019-08-23 2022-06-10 阿里巴巴集团控股有限公司 Data processing method and device and electronic equipment
CN110633740B (en) * 2019-09-02 2024-04-09 平安科技(深圳)有限公司 Image semantic matching method, terminal and computer readable storage medium
CN111027376A (en) * 2019-10-28 2020-04-17 中国科学院上海微系统与信息技术研究所 Method and device for determining event map, electronic equipment and storage medium
CN111191498A (en) * 2019-11-07 2020-05-22 腾讯科技(深圳)有限公司 Behavior recognition method and related product
CN110991550B (en) * 2019-12-13 2023-10-17 歌尔科技有限公司 Video monitoring method and device, electronic equipment and storage medium
CN111047458A (en) * 2019-12-17 2020-04-21 江苏恒宝智能系统技术有限公司 Farmland monitoring method
CN111160240B (en) * 2019-12-27 2024-05-24 腾讯科技(深圳)有限公司 Image object recognition processing method and device, intelligent device and storage medium
CN111523608B (en) * 2020-04-30 2023-04-18 上海顺久电子科技有限公司 Image processing method and device
CN112189496A (en) * 2020-09-15 2021-01-08 津市市毛里湖镇自强柑橘农民专业合作社 Crop planting method
CN112967467B (en) * 2021-02-24 2022-07-29 九江学院 Cultural relic anti-theft method, system, mobile terminal and storage medium
CN113076935B (en) * 2021-04-29 2024-06-11 平安国际智慧城市科技股份有限公司 Supervision method, device, server and medium based on image recognition
CN113239224A (en) * 2021-05-14 2021-08-10 百度在线网络技术(北京)有限公司 Abnormal document identification method, device, equipment and storage medium
CN114155508B (en) * 2021-12-08 2024-04-05 北京百度网讯科技有限公司 Road change detection method, device, equipment and storage medium
CN116543330A (en) * 2023-04-13 2023-08-04 北京京东乾石科技有限公司 Crop information storage method, device, electronic equipment and computer readable medium
CN116503815B (en) * 2023-06-21 2024-01-30 宝德计算机系统股份有限公司 Big data-based computer vision processing system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404875A (en) * 2011-11-01 2012-04-04 北京航空航天大学 Distributed type intelligent wireless image sensor network node equipment
CN104581054A (en) * 2014-12-22 2015-04-29 深圳供电局有限公司 Electric transmission line inspecting method and system based on videos
CN105512633A (en) * 2015-12-11 2016-04-20 谭焕玲 Power system dangerous object identification method and apparatus
CN106297130A (en) * 2016-08-22 2017-01-04 国家电网公司 Transmission line of electricity video analysis early warning system
CN106454282A (en) * 2016-12-09 2017-02-22 南京创维信息技术研究院有限公司 Security and protection monitoring method, apparatus and system
EP3270351A1 (en) * 2015-03-11 2018-01-17 Fuji Machine Mfg. Co., Ltd. Component type automated assessment method, component type automated assessment system, method for creating component data for image processing, and system for creating component data for image processing
CN108540762A (en) * 2017-03-01 2018-09-14 武汉摩菲智能科技有限公司 Artificial intelligence security protection camera system and safety protection method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8150155B2 (en) * 2006-02-07 2012-04-03 Qualcomm Incorporated Multi-mode region-of-interest video object segmentation
CN101853504B (en) * 2010-05-07 2012-04-25 厦门大学 Image quality evaluating method based on visual character and structural similarity (SSIM)
EP2669845A3 (en) * 2012-06-01 2014-11-19 Ricoh Company, Ltd. Target recognition system, target recognition method executed by the target recognition system, target recognition program executed on the target recognition system, and recording medium storing the target recognition program
CN103871186A (en) * 2012-12-17 2014-06-18 博立码杰通讯(深圳)有限公司 Security and protection monitoring system and corresponding warning triggering method
CN105844671B (en) * 2016-04-12 2018-06-22 河北大学 A kind of fast background relief method under the conditions of change illumination
CN106525968B (en) * 2016-10-19 2019-06-18 中国人民解放军空军勤务学院 Localization method is imaged in damage probability based on subregion

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404875A (en) * 2011-11-01 2012-04-04 北京航空航天大学 Distributed type intelligent wireless image sensor network node equipment
CN104581054A (en) * 2014-12-22 2015-04-29 深圳供电局有限公司 Electric transmission line inspecting method and system based on videos
EP3270351A1 (en) * 2015-03-11 2018-01-17 Fuji Machine Mfg. Co., Ltd. Component type automated assessment method, component type automated assessment system, method for creating component data for image processing, and system for creating component data for image processing
CN105512633A (en) * 2015-12-11 2016-04-20 谭焕玲 Power system dangerous object identification method and apparatus
CN106297130A (en) * 2016-08-22 2017-01-04 国家电网公司 Transmission line of electricity video analysis early warning system
CN106454282A (en) * 2016-12-09 2017-02-22 南京创维信息技术研究院有限公司 Security and protection monitoring method, apparatus and system
CN108540762A (en) * 2017-03-01 2018-09-14 武汉摩菲智能科技有限公司 Artificial intelligence security protection camera system and safety protection method

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111722074A (en) * 2020-06-03 2020-09-29 四川蓝景光电技术有限责任公司 LED identification label fault positioning method, device and system
CN111722074B (en) * 2020-06-03 2023-06-20 四川蓝景光电技术有限责任公司 LED identification label fault positioning method, device and system
CN113963307A (en) * 2020-07-02 2022-01-21 上海际链网络科技有限公司 Method and device for identifying content on target and acquiring video, storage medium and computer equipment
CN113938671A (en) * 2020-07-14 2022-01-14 北京灵汐科技有限公司 Image content analysis method and device, electronic equipment and storage medium
CN113938671B (en) * 2020-07-14 2023-05-23 北京灵汐科技有限公司 Image content analysis method, image content analysis device, electronic equipment and storage medium
CN111950607A (en) * 2020-07-28 2020-11-17 深圳市元征科技股份有限公司 Reminding method, reminding device and server
CN112037276A (en) * 2020-08-11 2020-12-04 浙江大华技术股份有限公司 Secondary landslide monitoring method and device, electronic equipment and storage medium
CN112040186A (en) * 2020-08-28 2020-12-04 北京市商汤科技开发有限公司 Method, device and equipment for determining activity area of target object and storage medium
CN112380938A (en) * 2020-11-04 2021-02-19 浙江大华技术股份有限公司 Face recognition and temperature measurement method, device, equipment and medium
CN112380938B (en) * 2020-11-04 2024-05-03 浙江大华技术股份有限公司 Face recognition and temperature measurement method, device, equipment and medium
CN112800888A (en) * 2021-01-15 2021-05-14 中国科学院半导体研究所 Target scoring method and device based on image recognition
CN112800888B (en) * 2021-01-15 2023-11-10 中国科学院半导体研究所 Target reporting method and device based on image recognition
CN113076159A (en) * 2021-03-26 2021-07-06 西安万像电子科技有限公司 Image display method and apparatus, storage medium, and electronic device
CN113076159B (en) * 2021-03-26 2024-02-27 西安万像电子科技有限公司 Image display method and device, storage medium and electronic equipment
CN113225451A (en) * 2021-04-28 2021-08-06 维沃移动通信(杭州)有限公司 Image processing method and device and electronic equipment
CN113225451B (en) * 2021-04-28 2023-06-27 维沃移动通信(杭州)有限公司 Image processing method and device and electronic equipment
CN113177481A (en) * 2021-04-29 2021-07-27 北京百度网讯科技有限公司 Target detection method and device, electronic equipment and storage medium
CN113177481B (en) * 2021-04-29 2023-09-29 北京百度网讯科技有限公司 Target detection method, target detection device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN109166261B (en) 2022-06-07
CN109166261A (en) 2019-01-08

Similar Documents

Publication Publication Date Title
WO2020073505A1 (en) Image processing method, apparatus and device based on image recognition, and storage medium
US11410001B2 (en) Method and apparatus for object authentication using images, electronic device, and storage medium
WO2020078229A1 (en) Target object identification method and apparatus, storage medium and electronic apparatus
JP7229662B2 (en) How to issue alerts in a video surveillance system
WO2018223955A1 (en) Target monitoring method, target monitoring device, camera and computer readable medium
US11308777B2 (en) Image capturing apparatus with variable event detecting condition
US11710392B2 (en) Targeted video surveillance processing
RU2628745C2 (en) Protective observation system and relevant method of initializing alarm
WO2020019760A1 (en) Living body detection method, apparatus and system, and electronic device and storage medium
US10373015B2 (en) System and method of detecting moving objects
US20080136934A1 (en) Flame Detecting Method And Device
WO2020094088A1 (en) Image capturing method, monitoring camera, and monitoring system
CN108376246A (en) A kind of identification of plurality of human faces and tracking system and method
US10657783B2 (en) Video surveillance method based on object detection and system thereof
US9811739B2 (en) Surveillance system and surveillance method
CN110569770A (en) Human body intrusion behavior recognition method and device, storage medium and electronic equipment
CN111401239B (en) Video analysis method, device, system, equipment and storage medium
Yuwono et al. Design and implementation of human detection feature on surveillance embedded IP camera
JP5758165B2 (en) Article detection device and stationary person detection device
GB2499449A (en) Surveillance by face recognition using colour display of images
CN113438286B (en) Information pushing method and device, electronic equipment and storage medium
KR101088153B1 (en) Combo type video surveillance system and method thereof
CN114187322A (en) Cross-camera continuous tracking method and device for same object based on different features and scenes, and electronic equipment
CN112738387A (en) Target snapshot method, device and storage medium
CN112837471A (en) Security monitoring method and device for internet contract room

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18936319

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 09.07.2021)

122 Ep: pct application non-entry in european phase

Ref document number: 18936319

Country of ref document: EP

Kind code of ref document: A1