WO2018076508A1 - Method and apparatus for security monitoring of greenhouse - Google Patents

Method and apparatus for security monitoring of greenhouse Download PDF

Info

Publication number
WO2018076508A1
WO2018076508A1 PCT/CN2016/111094 CN2016111094W WO2018076508A1 WO 2018076508 A1 WO2018076508 A1 WO 2018076508A1 CN 2016111094 W CN2016111094 W CN 2016111094W WO 2018076508 A1 WO2018076508 A1 WO 2018076508A1
Authority
WO
WIPO (PCT)
Prior art keywords
gesture
monitoring area
monitoring
moving target
verification
Prior art date
Application number
PCT/CN2016/111094
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 WO2018076508A1 publication Critical patent/WO2018076508A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/40Scenes; Scene-specific elements in video content
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/20Movements or behaviour, e.g. gesture recognition
    • G06V40/28Recognition of hand or arm movements, e.g. recognition of deaf sign language
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10016Video; Image sequence
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20212Image combination
    • G06T2207/20224Image subtraction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30196Human being; Person
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30232Surveillance

Definitions

  • the invention relates to the field of monitoring technology, in particular to a method and a device for monitoring the safety of a greenhouse.
  • Planting greenhouses are mostly used for the cultivation of large-scale vegetable plants, which can create economic benefits for users.
  • the safety of growing greenhouses is crucial. At present, the safety of planting greenhouses is mostly ensured by means of personnel care. This method requires the caregiver to pay attention to the surveillance video at all times, which requires more care of the nursing staff and higher labor costs. Moreover, if the caregiver has something to do temporarily, in the case of unattended care, the growth safety of the plants in the greenhouse will not be guaranteed, and may bring greater economic losses to the user.
  • the object of the present invention is to provide a method and a device for monitoring the safety of planting greenhouses, so as to reduce the labor cost, and ensure the growth safety of the plants in the greenhouse in the case of unattended care, and avoid economic loss to the user due to damage to the plants. .
  • the present invention provides the following technical solutions:
  • a method for monitoring the safety of greenhouses comprising:
  • the moving target is required to perform verification at the output After the gesture prompt message, it also includes:
  • the step of outputting the alarm information is performed.
  • the method further includes:
  • the step of outputting the prompt information requesting the motion target to perform the verification gesture is repeatedly performed until the number of repetitions reaches a preset number threshold.
  • the monitoring of the predetermined security monitoring area in the planting greenhouse includes:
  • the predetermined safety monitoring area in the planting greenhouse is monitored during a preset safety monitoring period.
  • the security monitoring area is determined by the following steps:
  • the monitoring area selected by the user is determined as the security monitoring area.
  • a planting greenhouse safety monitoring device comprising:
  • a monitoring module for monitoring a predetermined safety monitoring area in the planting greenhouse
  • a prompt information output module configured to: when the moving target is detected in the security monitoring area, output prompt information requesting the moving target to perform a verification gesture;
  • a verification gesture recognition module configured to capture and identify a verification gesture performed by the moving target
  • a gesture determining module configured to determine whether the verification gesture matches at least one legal gesture in the preset gesture library, and if not, trigger an alarm module;
  • the alarm module is configured to output alarm information.
  • the method further includes:
  • a timeout processing module configured to trigger the alarm module if the verification gesture of the verification gesture is performed by the moving target after the output requires that the verification gesture is not captured within the set duration.
  • the method further includes:
  • a repeating execution module configured to repeatedly perform the step of outputting the prompt information requesting the moving target to perform the verification gesture until the verification gesture is not matched with any one of the gestures in the gesture library, until the number of repetitions The preset number of thresholds is reached.
  • the monitoring module is specifically configured to:
  • the predetermined safety monitoring area in the planting greenhouse is monitored during a preset safety monitoring period.
  • the security monitoring area determining module is further configured to determine the security monitoring area by using the following steps:
  • the monitoring area selected by the user is determined as the security monitoring area.
  • the method further includes a moving target determining module, configured to determine whether there is a moving target in the security monitoring area by:
  • the prompt information for requesting the moving target to perform the verification gesture may be output, and the capturing information may be captured. And identifying the verification gesture performed by the moving target. If the verification gesture does not match any of the legal gestures in the preset gesture library, the motion target may be determined to be an illegal person, and the alarm information may be output. In this way, there is no need to arrange special caregivers to pay attention to the surveillance video, which reduces the labor cost. In the case of unattended care, the growth safety of the plants in the greenhouse is ensured, and the economic loss caused by the damage of the plants is avoided.
  • FIG. 1 is a flow chart showing an implementation of a method for monitoring a greenhouse in a greenhouse according to an embodiment of the present invention
  • FIG. 2 is a schematic structural view of a planting greenhouse safety monitoring device according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of an implementation of a method for monitoring a greenhouse in a greenhouse according to an embodiment of the present invention. The method may include the following steps:
  • image acquisition devices such as cameras
  • the field of view of the image acquisition device can be directly determined as a security monitoring area, or the security monitoring area can be determined according to the user's settings.
  • the security monitoring area can be determined by the following steps:
  • Step 1 Collect an image of the area within the field of view
  • Step 2 Send the area image to the user, so that the user selects the monitoring area based on the area image;
  • Step 3 Determine the monitoring area selected by the user as the security monitoring area.
  • an area image within the field of view of the field of view can be acquired by the image acquisition device. Send the area image to the user. Based on the image of the area, the user can select the monitoring area according to actual needs and return to the selected monitoring area.
  • the monitoring area selected by the user is determined as the security monitoring area.
  • the field of view of the image acquisition device can be adjusted according to the monitoring area selected by the user, and the field of view can be adjusted to an image that can be collected into the security monitoring area.
  • the safety monitoring area can be monitored by the image collecting device to monitor whether there is a moving target in the safety monitoring area, and the moving target may be a human or an animal.
  • the predetermined safety monitoring area in the planting greenhouse can be monitored within a preset safety monitoring time period.
  • the security monitoring time period may be preset, and specifically, may be set by a user or set by default.
  • the image acquisition device When entering the preset safety monitoring time period, the image acquisition device is turned on to monitor the safety monitoring area in the planting greenhouse. Turn off the image capture device outside the security monitoring period.
  • the user refers to the owner or manager of the planting greenhouse.
  • whether there is a moving target in the security monitoring area can be determined by the following steps:
  • the adjacent two frames of images are subjected to a difference operation to obtain an absolute difference of pixel values of each corresponding pixel point, if the absolute difference of the pixel values If the ratio of the number of pixels larger than the preset threshold to the total number of pixels is greater than the preset ratio threshold, it is determined that there is a moving target in the security monitoring area.
  • the images of the security monitoring area may be continuously collected, and the inter-frame difference algorithm may be used to determine whether there is a moving target in the security monitoring area.
  • the interframe difference algorithm is an algorithm for obtaining a moving target contour by performing differential operations on two consecutive frames of a video image sequence. When an abnormal moving target appears in the monitoring scene, there will be obvious differences between the adjacent two frames, and the two frames are subtracted, and the corresponding position of the image, that is, the absolute value of the pixel value difference of the pixel, is determined, and whether it is determined whether Greater than a certain threshold, and then analyze the motion characteristics of the object of the video or image sequence.
  • the adjacent two frames of images may be subjected to a difference operation to obtain an absolute difference of pixel values of each corresponding pixel. If the ratio of the pixel value of the pixel value to the preset threshold is greater than the preset ratio threshold, it may be determined that there is a moving target in the security monitoring area. Otherwise, it may be determined that there is no moving target in the security monitoring area, and Only for normal plants move.
  • a prompt message requesting the moving target to perform the verification gesture may be output.
  • the prompt information may be output by voice, and the prompt information may be outputted by text in a preset display screen in the planting greenhouse.
  • S130 Capture and identify a verification gesture performed by the moving target.
  • the verification gesture performed by the moving target can be captured and recognized by the image acquisition device.
  • step S140 Determine whether the verification gesture matches at least one legal gesture in the preset gesture library, and if not, perform the operation of step S150.
  • a legal gesture may be preset, such as setting a rounding gesture, lifting the two hands up to two gestures, and the like as a legal gesture. Specifically, it can be set by the user or set by default.
  • the preset gesture library can contain one or more legal gestures. The inclusion of multiple legal gestures in the gesture library can improve the matching success rate of the verification gesture and the legal gesture to some extent.
  • the verification gesture After capturing and recognizing the verification gesture performed by the moving target, the verification gesture may be matched with each legal gesture in the gesture library, and if the verification gesture matches at least one legal gesture, the motion target may be determined to be a legal person, It is a legal act to enter and leave the greenhouse.
  • step S150 may be continued.
  • the alarm information may be output. Specifically, an audible alarm or a light alarm can be triggered.
  • the warning information may be sent to the preset terminal, where the preset terminal is a terminal that is pre-registered and verified, and the user can receive the warning information through the preset terminal, and timely process the problem. In this way, the user does not need to frequently view the surveillance video, and can also know whether there are illegal personnel in the current greenhouse.
  • the prompt information that the moving target is required to perform the verification gesture may be output, and the The verification gesture performed by the moving target is recognized. If the verification gesture does not match any of the legal gestures in the preset gesture library, the motion target may be determined to be an illegal person, and the alarm information may be output. In this way, there is no need to arrange special caregivers to pay attention to the surveillance video, which reduces the labor cost. In the case of unattended care, the growth safety of the plants in the greenhouse is ensured, and the economic loss caused by the damage of the plants is avoided.
  • the method may further include the following steps:
  • step S150 If no verification gesture is captured within the set duration, the operation of step S150 is performed.
  • the moving target is an illegal person, it may not be able to perform the corresponding verification gesture, and if the moving target is an animal, it will not perform the corresponding verification gesture. Therefore, after outputting the prompt message requesting the verification target of the moving target, if no verification gesture is captured within the set duration, the alarm information may be directly output, so that the user can handle the situation in time.
  • the setting duration can be set and adjusted according to the actual situation, for example, set to 5 seconds.
  • the step of outputting the prompt information requesting the motion target to perform the verification gesture is repeatedly performed until the number of repetitions reaches the preset number threshold.
  • the moving target performs the verification gesture as a legal gesture, but because of the recognition error, the verification gesture and the gesture library may be determined. A legal gesture does not match.
  • the prompt information that requires the moving target to perform the verification gesture may be repeatedly output until the number of repetitions reaches the preset number threshold, and if the captured and recognized verification gesture still does not match any of the legal gestures in the gesture library, Then you can output alarm information. In this way, the accuracy of the verification gesture recognition can be improved.
  • the preset number threshold can be set and adjusted according to the actual situation, for example, set to 1.
  • the embodiment of the present invention further provides a planting greenhouse safety monitoring device, and a planting greenhouse safety monitoring device described below and a planting greenhouse safety monitoring method described above can be mutually referenced.
  • the device includes the following modules:
  • the monitoring module 210 is configured to monitor a predetermined safety monitoring area in the planting greenhouse
  • the prompt information outputting module 220 is configured to output, when the moving target is detected in the security monitoring area, the prompt information that requires the moving target to perform the verification gesture;
  • a verification gesture recognition module 230 configured to capture and identify a verification gesture performed by the moving target
  • the gesture determining module 240 is configured to determine whether the verification gesture matches at least one legal gesture in the preset gesture library, and if not, trigger the alarm module 250;
  • the alarm module 250 is configured to output alarm information.
  • the prompt information that the moving target is required to perform the verification gesture may be output, and the The verification gesture performed by the moving target is recognized. If the verification gesture does not match any of the legal gestures in the preset gesture library, the motion target may be determined to be an illegal person, and the alarm information may be output. In this way, there is no need to arrange special caregivers to pay attention to the surveillance video, which reduces the labor cost. In the case of unattended care, the growth safety of the plants in the greenhouse is ensured, and the economic loss caused by the damage of the plants is avoided.
  • the method further includes:
  • the timeout processing module is configured to trigger the alarm module 250 after outputting the prompt information for requesting the motion target to perform the verification gesture, if no verification gesture is captured within the set duration.
  • the method further includes:
  • the repeating execution module is configured to repeatedly perform the step of outputting the prompt information requesting the motion target to perform the verification gesture when determining that the verification gesture does not match any of the legal gestures in the gesture library, until the number of repetitions reaches a preset number threshold.
  • the monitoring module 210 is specifically configured to:
  • the predetermined safety monitoring area in the planting greenhouse is monitored during the preset safety monitoring period.
  • the security monitoring area determining module is further configured to determine the security monitoring area by using the following steps:
  • the monitoring area selected by the user is determined as the security monitoring area.
  • the method further includes a moving target determining module, configured to determine whether there is a moving target in the security monitoring area by the following steps:
  • the adjacent two frames of images are subjected to a difference operation to obtain an absolute difference of pixel values of each corresponding pixel point, if the absolute difference of the pixel values If the ratio of the number of pixels larger than the preset threshold to the total number of pixels is greater than the preset ratio threshold, it is determined that there is a moving target in the security monitoring area.
  • the steps of a method or algorithm described in connection with the embodiments disclosed herein can be implemented directly in hardware, a software module executed by a processor, or a combination of both.
  • the software module can be placed in random access memory (RAM), memory, read only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or technical field. Any other form of storage medium known.

Abstract

Disclosed in the present invention are a method and apparatus for security monitoring of a greenhouse. The method comprises: monitoring a pre-determined security monitoring area in a greenhouse; outputting a prompt message that requires a moving target to make a verification gesture when monitoring the moving target in the security monitoring area; capturing and recognizing the verification gesture made by the moving target; determining whether the verification gesture matches at least one valid gesture in a preset gesture library; and outputting alarm information if not. By applying the technical solution provided by the embodiments of the present invention, it is not necessary to arrange a dedicated caregiver to continually pay attention to a monitoring video recording, thereby reducing labor cost, ensuring the security of plants growing in a greenhouse without a person caring for the plants and avoiding economic losses of a user brought on by damage to the plants.

Description

一种种植大棚安全监控方法及装置Method and device for monitoring safety of planting greenhouse
本申请要求于2016年10月31日提交中国专利局、申请号为201610933529.8、发明名称为“一种种植大棚安全监控方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to Chinese Patent Application No. 201610933529.8, entitled "A Method and Device for Monitoring the Safety of Planting Greenhouses" on October 31, 2016, the entire contents of which are incorporated herein by reference. In the application.
技术领域Technical field
本发明涉及监控技术领域,特别是涉及一种种植大棚安全监控方法及装置。The invention relates to the field of monitoring technology, in particular to a method and a device for monitoring the safety of a greenhouse.
背景技术Background technique
随着科学技术的发展进步,种植大棚的发展越来越迅速。种植大棚多数应用于大规模蔬菜植物的种植,可以为用户创造经济效益。With the development of science and technology, the development of planting greenhouses is becoming more and more rapid. Planting greenhouses are mostly used for the cultivation of large-scale vegetable plants, which can create economic benefits for users.
对于用户而言,种植大棚的安全性至关重要。目前,多是通过人员看护的方式保证种植大棚的安全。这种方法需要看护人员时刻关注监控录像,需要耗费看护人员较多精力,人力成本较高。而且,如果看护人员临时有事,在无人看护的情况下,种植大棚内植物的生长安全将无法保证,可能会给用户带来较大的经济损失。For users, the safety of growing greenhouses is crucial. At present, the safety of planting greenhouses is mostly ensured by means of personnel care. This method requires the caregiver to pay attention to the surveillance video at all times, which requires more care of the nursing staff and higher labor costs. Moreover, if the caregiver has something to do temporarily, in the case of unattended care, the growth safety of the plants in the greenhouse will not be guaranteed, and may bring greater economic losses to the user.
发明内容Summary of the invention
本发明的目的是提供一种种植大棚安全监控方法及装置,以降低人力成本,并在无人看护的情况下保证种植大棚内植物的生长安全,避免因植物受到损害而给用户带来经济损失。The object of the present invention is to provide a method and a device for monitoring the safety of planting greenhouses, so as to reduce the labor cost, and ensure the growth safety of the plants in the greenhouse in the case of unattended care, and avoid economic loss to the user due to damage to the plants. .
为解决上述技术问题,本发明提供如下技术方案:In order to solve the above technical problem, the present invention provides the following technical solutions:
一种种植大棚安全监控方法,包括:A method for monitoring the safety of greenhouses, comprising:
对所述种植大棚内预先确定的安全监控区域进行监测;Monitoring a predetermined safety monitoring area in the planting greenhouse;
在监测到所述安全监控区域内有运动目标时,输出要求所述运动目标执行验证手势的提示信息;When it is detected that there is a moving target in the security monitoring area, outputting prompt information requesting the moving target to perform a verification gesture;
捕捉并识别所述运动目标执行的验证手势;Capturing and identifying a verification gesture performed by the moving target;
确定所述验证手势是否与预设的手势库中的至少一个合法手势匹配;Determining whether the verification gesture matches at least one legal gesture in the preset gesture library;
如果否,则输出告警信息。If no, an alarm message is output.
在本发明的一种具体实施方式中,在所述输出要求所述运动目标执行验证 手势的提示信息之后,还包括:In a specific embodiment of the present invention, the moving target is required to perform verification at the output After the gesture prompt message, it also includes:
如果在设定时长内未捕捉到验证手势,则执行所述输出告警信息的步骤。If the verification gesture is not captured within the set duration, the step of outputting the alarm information is performed.
在本发明的一种具体实施方式中,还包括:In a specific implementation manner of the present invention, the method further includes:
在确定所述验证手势与所述手势库中的任意一个合法手势均不匹配时,重复执行所述输出要求所述运动目标执行验证手势的提示信息的步骤,直至重复次数达到预设次数阈值。When it is determined that the verification gesture does not match any of the legal gestures in the gesture library, the step of outputting the prompt information requesting the motion target to perform the verification gesture is repeatedly performed until the number of repetitions reaches a preset number threshold.
在本发明的一种具体实施方式中,所述对所述种植大棚内预先确定的安全监控区域进行监测,包括:In a specific embodiment of the present invention, the monitoring of the predetermined security monitoring area in the planting greenhouse includes:
在预设的安全监控时间段内,对所述种植大棚内预先确定的安全监控区域进行监测。The predetermined safety monitoring area in the planting greenhouse is monitored during a preset safety monitoring period.
在本发明的一种具体实施方式中,通过以下步骤确定所述安全监控区域:In a specific embodiment of the invention, the security monitoring area is determined by the following steps:
采集视场范围内的区域图像;Collecting an image of the area within the field of view;
将所述区域图像发送给用户,以使所述用户基于所述区域图像选择监控区域;Transmitting the area image to a user, so that the user selects a monitoring area based on the area image;
将用户选择的监控区域确定为安全监控区域。The monitoring area selected by the user is determined as the security monitoring area.
在本发明的一种具体实施方式中,通过以下步骤确定在所述安全监控区域内是否有运动目标:In a specific embodiment of the invention, it is determined whether there is a moving target in the security monitoring area by the following steps:
在对所述安全监控区域进行监测的过程中,针对每相邻两帧图像,对该相邻两帧图像进行差分运算,获得每个对应像素点的像素值的绝对差值,如果像素值的绝对差值大于预设阈值的像素点数与总像素点数的比例大于预设比例阈值,则确定所述安全监控区域内有运动目标。In the process of monitoring the security monitoring area, for each adjacent two frames of images, performing differential operations on the adjacent two frames of images to obtain an absolute difference of pixel values of each corresponding pixel point, if the pixel value is If the ratio of the number of pixels whose absolute difference is greater than the preset threshold to the total number of pixels is greater than the preset ratio threshold, it is determined that there is a moving target in the security monitoring area.
一种种植大棚安全监控装置,包括:A planting greenhouse safety monitoring device, comprising:
监测模块,用于对所述种植大棚内预先确定的安全监控区域进行监测;a monitoring module for monitoring a predetermined safety monitoring area in the planting greenhouse;
提示信息输出模块,用于在监测到所述安全监控区域内有运动目标时,输出要求所述运动目标执行验证手势的提示信息;a prompt information output module, configured to: when the moving target is detected in the security monitoring area, output prompt information requesting the moving target to perform a verification gesture;
验证手势识别模块,用于捕捉并识别所述运动目标执行的验证手势;a verification gesture recognition module, configured to capture and identify a verification gesture performed by the moving target;
手势确定模块,用于确定所述验证手势是否与预设的手势库中的至少一个合法手势匹配,如果否,则触发告警模块;a gesture determining module, configured to determine whether the verification gesture matches at least one legal gesture in the preset gesture library, and if not, trigger an alarm module;
所述告警模块,用于输出告警信息。 The alarm module is configured to output alarm information.
在本发明的一种具体实施方式中,还包括:In a specific implementation manner of the present invention, the method further includes:
超时处理模块,用于在所述输出要求所述运动目标执行验证手势的提示信息之后,如果在设定时长内未捕捉到任何验证手势,则触发所述告警模块。And a timeout processing module, configured to trigger the alarm module if the verification gesture of the verification gesture is performed by the moving target after the output requires that the verification gesture is not captured within the set duration.
在本发明的一种具体实施方式中,还包括:In a specific implementation manner of the present invention, the method further includes:
重复执行模块,用于在确定所述验证手势与所述手势库中的任意一个合法手势均不匹配时,重复执行所述输出要求所述运动目标执行验证手势的提示信息的步骤,直至重复次数达到预设次数阈值。a repeating execution module, configured to repeatedly perform the step of outputting the prompt information requesting the moving target to perform the verification gesture until the verification gesture is not matched with any one of the gestures in the gesture library, until the number of repetitions The preset number of thresholds is reached.
在本发明的一种具体实施方式中,所述监测模块,具体用于:In a specific implementation manner of the present invention, the monitoring module is specifically configured to:
在预设的安全监控时间段内,对所述种植大棚内预先确定的安全监控区域进行监测。The predetermined safety monitoring area in the planting greenhouse is monitored during a preset safety monitoring period.
在本发明的一种具体实施方式中,还包括安全监控区域确定模块,用于通过以下步骤确定所述安全监控区域:In a specific implementation manner of the present invention, the security monitoring area determining module is further configured to determine the security monitoring area by using the following steps:
采集视场范围内的区域图像;Collecting an image of the area within the field of view;
将所述区域图像发送给用户,以使所述用户基于所述区域图像选择监控区域;Transmitting the area image to a user, so that the user selects a monitoring area based on the area image;
将用户选择的监控区域确定为安全监控区域。The monitoring area selected by the user is determined as the security monitoring area.
在本发明的一种具体实施方式中,还包括运动目标确定模块,用于通过以下步骤确定在所述安全监控区域内是否有运动目标:In a specific embodiment of the present invention, the method further includes a moving target determining module, configured to determine whether there is a moving target in the security monitoring area by:
在对所述安全监控区域进行监测的过程中,针对每相邻两帧图像,对该相邻两帧图像进行差分运算,获得每个对应像素点的像素值的绝对差值,如果像素值的绝对差值大于预设阈值的像素点数与总像素点数的比例大于预设比例阈值,则确定所述安全监控区域内有运动目标。In the process of monitoring the security monitoring area, for each adjacent two frames of images, performing differential operations on the adjacent two frames of images to obtain an absolute difference of pixel values of each corresponding pixel point, if the pixel value is If the ratio of the number of pixels whose absolute difference is greater than the preset threshold to the total number of pixels is greater than the preset ratio threshold, it is determined that there is a moving target in the security monitoring area.
应用本发明实施例所提供的技术方案,在对种植大棚内安全监控区域进行监测的过程中,如果监测到安全监控区域内有运动目标,则可以输出要求运动目标执行验证手势的提示信息,捕捉并识别运动目标执行的验证手势,如果该验证手势与预设手势库中的任意一个合法手势均不匹配,则可以确定运动目标为非法人员,可以输出告警信息。这样,不需要安排专门的看护人员一直关注监控录像,降低了人力成本,在无人看护的情况下保证了种植大棚内植物的生长安全,避免因植物受到损害而给用户带来经济损失。 Applying the technical solution provided by the embodiment of the present invention, in the process of monitoring the security monitoring area in the planting greenhouse, if there is a moving target in the security monitoring area, the prompt information for requesting the moving target to perform the verification gesture may be output, and the capturing information may be captured. And identifying the verification gesture performed by the moving target. If the verification gesture does not match any of the legal gestures in the preset gesture library, the motion target may be determined to be an illegal person, and the alarm information may be output. In this way, there is no need to arrange special caregivers to pay attention to the surveillance video, which reduces the labor cost. In the case of unattended care, the growth safety of the plants in the greenhouse is ensured, and the economic loss caused by the damage of the plants is avoided.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1为本发明实施例中一种种植大棚安全监控方法的实施流程图;1 is a flow chart showing an implementation of a method for monitoring a greenhouse in a greenhouse according to an embodiment of the present invention;
图2为本发明实施例中一种种植大棚安全监控装置的结构示意图。2 is a schematic structural view of a planting greenhouse safety monitoring device according to an embodiment of the present invention.
具体实施方式detailed description
为了使本技术领域的人员更好地理解本发明方案,下面结合附图和具体实施方式对本发明作进一步的详细说明。显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The present invention will be further described in detail below in conjunction with the drawings and embodiments. It is apparent that the described embodiments are only a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
参见图1所示,为本发明实施例所提供的一种种植大棚安全监控方法的实施流程图,该方法可以包括以下步骤:FIG. 1 is a flowchart of an implementation of a method for monitoring a greenhouse in a greenhouse according to an embodiment of the present invention. The method may include the following steps:
S110:对种植大棚内预先确定的安全监控区域进行监测。S110: Monitoring a predetermined safety monitoring area in the planting greenhouse.
在实际应用中,可以将图像采集设备,如摄像头等安装于种植大棚的安全薄弱环节,如大门处、衔接处等。可以将图像采集设备的视场范围直接确定为安全监控区域,或者,根据用户的设置确定安全监控区域。In practical applications, image acquisition devices, such as cameras, can be installed in the security weak links of the greenhouse, such as the gates and junctions. The field of view of the image acquisition device can be directly determined as a security monitoring area, or the security monitoring area can be determined according to the user's settings.
在本发明的一种具体实施方式中,可以通过以下步骤确定安全监控区域:In a specific embodiment of the present invention, the security monitoring area can be determined by the following steps:
步骤一:采集视场范围内的区域图像;Step 1: Collect an image of the area within the field of view;
步骤二:将区域图像发送给用户,以使用户基于区域图像选择监控区域;Step 2: Send the area image to the user, so that the user selects the monitoring area based on the area image;
步骤三:将用户选择的监控区域确定为安全监控区域。Step 3: Determine the monitoring area selected by the user as the security monitoring area.
为便于描述,将上述三个步骤结合起来进行说明。For the convenience of description, the above three steps are combined for explanation.
在本发明实施例中,可以通过图像采集设备采集其视场范围内的区域图像。将该区域图像发送给用户。用户基于该区域图像可以根据实际需要选择监控区域,并返回选择的监控区域。将用户选择的监控区域确定为安全监控区域。具体的,可以根据用户选择的监控区域,调整图像采集设备的视场范围,将其视场范围调整至能够采集到安全监控区域的图像即可。 In the embodiment of the present invention, an area image within the field of view of the field of view can be acquired by the image acquisition device. Send the area image to the user. Based on the image of the area, the user can select the monitoring area according to actual needs and return to the selected monitoring area. The monitoring area selected by the user is determined as the security monitoring area. Specifically, the field of view of the image acquisition device can be adjusted according to the monitoring area selected by the user, and the field of view can be adjusted to an image that can be collected into the security monitoring area.
预先确定安全监控区域之后,即可通过图像采集设备对该安全监控区域进行监测,监测该安全监控区域内是否有运动目标,运动目标可能为人或动物。After the safety monitoring area is determined in advance, the safety monitoring area can be monitored by the image collecting device to monitor whether there is a moving target in the safety monitoring area, and the moving target may be a human or an animal.
具体的,可以在预设的安全监控时间段内,对种植大棚内预先确定的安全监控区域进行监测。Specifically, the predetermined safety monitoring area in the planting greenhouse can be monitored within a preset safety monitoring time period.
在本发明实施例中,可以预设安全监控时间段,具体的,可以由用户设定或者默认设置。在刚进入到预设的安全监控时间段时,开启图像采集设备,对种植大棚内的安全监控区域进行监测。在安全监控时间段外,关闭图像采集设备。In the embodiment of the present invention, the security monitoring time period may be preset, and specifically, may be set by a user or set by default. When entering the preset safety monitoring time period, the image acquisition device is turned on to monitor the safety monitoring area in the planting greenhouse. Turn off the image capture device outside the security monitoring period.
在本发明实施例中,用户是指种植大棚的所有者或者管理者。In the embodiment of the present invention, the user refers to the owner or manager of the planting greenhouse.
S120:在监测到安全监控区域内有运动目标时,输出要求运动目标执行验证手势的提示信息。S120: When there is a moving target in the security monitoring area, output prompt information that requires the moving target to perform a verification gesture.
在对种植大棚内的安全监控区域进行监测的过程中,可以确定安全监控区域内是否有运动目标。During the monitoring of the safety monitoring area in the planting greenhouse, it is possible to determine whether there is a moving target in the safety monitoring area.
在本发明的一种具体实施方式中,可以通过以下步骤确定安全监控区域内是否有运动目标:In a specific embodiment of the present invention, whether there is a moving target in the security monitoring area can be determined by the following steps:
在对安全监控区域进行监测的过程中,针对每相邻两帧图像,对该相邻两帧图像进行差分运算,获得每个对应像素点的像素值的绝对差值,如果像素值的绝对差值大于预设阈值的像素点数与总像素点数的比例大于预设比例阈值,则确定安全监控区域内有运动目标。In the process of monitoring the security monitoring area, for each adjacent two frames of images, the adjacent two frames of images are subjected to a difference operation to obtain an absolute difference of pixel values of each corresponding pixel point, if the absolute difference of the pixel values If the ratio of the number of pixels larger than the preset threshold to the total number of pixels is greater than the preset ratio threshold, it is determined that there is a moving target in the security monitoring area.
在对安全监控区域进行监测的过程中,可以对安全监控区域的图像进行连续采集,通过帧间差分算法可以确定安全监控区域内是否有运动目标。帧间差分算法是一种通过对视频图像序列的连续两帧图像做差分运算获取运动目标轮廓的算法。在监控场景中出现异常的运动目标时,相邻两帧图像之间会出现较为明显的差别,两帧相减,求得图像对应位置,即像素点的像素值差的绝对值,判断其是否大于某一阈值,进而分析视频或者图像序列的物体运动特性。During the monitoring of the security monitoring area, the images of the security monitoring area may be continuously collected, and the inter-frame difference algorithm may be used to determine whether there is a moving target in the security monitoring area. The interframe difference algorithm is an algorithm for obtaining a moving target contour by performing differential operations on two consecutive frames of a video image sequence. When an abnormal moving target appears in the monitoring scene, there will be obvious differences between the adjacent two frames, and the two frames are subtracted, and the corresponding position of the image, that is, the absolute value of the pixel value difference of the pixel, is determined, and whether it is determined whether Greater than a certain threshold, and then analyze the motion characteristics of the object of the video or image sequence.
针对每相邻两帧图像,可以对该相邻两帧图像进行差分运算,获得每个对应像素点的像素值的绝对差值。如果像素值的绝对差值大于预设阈值的像素点数与总像素点数的比例大于预设比例阈值,则可以确定安全监控区域内有运动目标,否则,可以确定安全监控区域内没有运动目标,可能仅为正常的植物摆 动。For each adjacent two frames of images, the adjacent two frames of images may be subjected to a difference operation to obtain an absolute difference of pixel values of each corresponding pixel. If the ratio of the pixel value of the pixel value to the preset threshold is greater than the preset ratio threshold, it may be determined that there is a moving target in the security monitoring area. Otherwise, it may be determined that there is no moving target in the security monitoring area, and Only for normal plants move.
在确定安全监控区域时,如果确定的安全监控区域的大小合理,则有利于提高对相邻两帧图像进行差分运算的速度。When determining the security monitoring area, if the size of the determined security monitoring area is reasonable, it is advantageous to increase the speed of performing differential operations on adjacent two frames of images.
在监测到安全监控区域内有运动目标时,可以输出要求运动目标执行验证手势的提示信息。具体的,可以通过语音方式输出该提示信息,还可以通过在种植大棚内预设的显示屏以文字方式输出该提示信息。When there is a moving target in the monitored security monitoring area, a prompt message requesting the moving target to perform the verification gesture may be output. Specifically, the prompt information may be output by voice, and the prompt information may be outputted by text in a preset display screen in the planting greenhouse.
S130:捕捉并识别运动目标执行的验证手势。S130: Capture and identify a verification gesture performed by the moving target.
可以理解的是,在输出要求运动目标执行验证手势的提示信息之后,如果运动目标为合法人员,则其应该能够根据提示信息,执行相应的验证手势。通过图像采集设备可以捕捉并识别运动目标执行的验证手势。It can be understood that after outputting the prompt information requesting the verification target of the moving target, if the moving target is a legitimate person, it should be able to execute the corresponding verification gesture according to the prompt information. The verification gesture performed by the moving target can be captured and recognized by the image acquisition device.
S140:确定验证手势是否与预设的手势库中的至少一个合法手势匹配,如果否,则执行步骤S150的操作。S140: Determine whether the verification gesture matches at least one legal gesture in the preset gesture library, and if not, perform the operation of step S150.
在本发明实施例中,可以预先设定合法手势,如将划圆手势,双手手臂向上举起两次手势等设定为合法手势。具体的,可以由用户设定或者默认设置。预设的手势库中可以包含一个或多个合法手势。手势库中包含多个合法手势可以在一定程度上提高验证手势与合法手势的匹配成功率。In the embodiment of the present invention, a legal gesture may be preset, such as setting a rounding gesture, lifting the two hands up to two gestures, and the like as a legal gesture. Specifically, it can be set by the user or set by default. The preset gesture library can contain one or more legal gestures. The inclusion of multiple legal gestures in the gesture library can improve the matching success rate of the verification gesture and the legal gesture to some extent.
当捕捉并识别到运动目标执行的验证手势后,可以将验证手势与手势库中的每个合法手势进行匹配,如果该验证手势与至少一个合法手势匹配,则可以确定运动目标为合法人员,其出入种植大棚均为合法行为。After capturing and recognizing the verification gesture performed by the moving target, the verification gesture may be matched with each legal gesture in the gesture library, and if the verification gesture matches at least one legal gesture, the motion target may be determined to be a legal person, It is a legal act to enter and leave the greenhouse.
如果该验证手势与手势库中的任意一个合法手势均不匹配,则可以确定运动目标不是合法人员,可能为非法人员,在这种情况下,可以继续执行步骤S150的操作。If the verification gesture does not match any of the legal gestures in the gesture library, it may be determined that the motion target is not a legal person, and may be an illegal person. In this case, the operation of step S150 may be continued.
S150:输出告警信息。S150: Output alarm information.
在验证手势与手势库中的任意一个合法手势均不匹配时,可以确定运动目标不是合法人员,可以输出告警信息。具体的,可以触发声音警报或者灯光警报等。或者,可以向预设终端发送警示信息,该预设终端为预先登记验证的终端,用户通过该预设终端可以接收到警示信息,对出现的问题进行及时处理。这样,用户不需要频繁查看监控录像,也可获知当前种植大棚是否有非法人员出入。 When the verification gesture does not match any of the legal gestures in the gesture library, it may be determined that the motion target is not a legal person, and the alarm information may be output. Specifically, an audible alarm or a light alarm can be triggered. Alternatively, the warning information may be sent to the preset terminal, where the preset terminal is a terminal that is pre-registered and verified, and the user can receive the warning information through the preset terminal, and timely process the problem. In this way, the user does not need to frequently view the surveillance video, and can also know whether there are illegal personnel in the current greenhouse.
应用本发明实施例所提供的方法,在对种植大棚内安全监控区域进行监测的过程中,如果监测到安全监控区域内有运动目标,则可以输出要求运动目标执行验证手势的提示信息,捕捉并识别运动目标执行的验证手势,如果该验证手势与预设手势库中的任意一个合法手势均不匹配,则可以确定运动目标为非法人员,可以输出告警信息。这样,不需要安排专门的看护人员一直关注监控录像,降低了人力成本,在无人看护的情况下保证了种植大棚内植物的生长安全,避免因植物受到损害而给用户带来经济损失。Applying the method provided by the embodiment of the present invention, in the process of monitoring the safety monitoring area in the planting greenhouse, if there is a moving target in the safety monitoring area, the prompt information that the moving target is required to perform the verification gesture may be output, and the The verification gesture performed by the moving target is recognized. If the verification gesture does not match any of the legal gestures in the preset gesture library, the motion target may be determined to be an illegal person, and the alarm information may be output. In this way, there is no need to arrange special caregivers to pay attention to the surveillance video, which reduces the labor cost. In the case of unattended care, the growth safety of the plants in the greenhouse is ensured, and the economic loss caused by the damage of the plants is avoided.
在本发明的一个实施例中,在输出要求运动目标执行验证手势的提示信息之后,该方法还可以包括以下步骤:In an embodiment of the present invention, after outputting the prompt information requesting the verification target to perform the verification gesture, the method may further include the following steps:
如果在设定时长内未捕捉到任何验证手势,则执行步骤S150的操作。If no verification gesture is captured within the set duration, the operation of step S150 is performed.
可以理解的是,如果运动目标为非法人员,则其可能无法执行相应的验证手势,另外,如果运动目标为动物,则其更不会执行相应的验证手势。所以,在输出要求运动目标执行验证手势的提示信息之后,如果在设定时长内未捕捉到任何验证手势,则可以直接输出告警信息,以便用户及时对此情况进行处理。It can be understood that if the moving target is an illegal person, it may not be able to perform the corresponding verification gesture, and if the moving target is an animal, it will not perform the corresponding verification gesture. Therefore, after outputting the prompt message requesting the verification target of the moving target, if no verification gesture is captured within the set duration, the alarm information may be directly output, so that the user can handle the situation in time.
设定时长可以根据实际情况进行设定和调整,比如设定为5秒。The setting duration can be set and adjusted according to the actual situation, for example, set to 5 seconds.
在本发明的一个实施例中,还可以包括以下步骤:In an embodiment of the present invention, the following steps may also be included:
在确定验证手势与手势库中的任意一个合法手势均不匹配时,重复执行输出要求运动目标执行验证手势的提示信息的步骤,直至重复次数达到预设次数阈值。When it is determined that the verification gesture does not match any of the legal gestures in the gesture library, the step of outputting the prompt information requesting the motion target to perform the verification gesture is repeatedly performed until the number of repetitions reaches the preset number threshold.
在实际应用中,捕捉或者识别运动目标执行的验证手势,可能存在一定的误差,有可能运动目标执行的是验证手势为合法手势,但因为识别误差,可能会确定验证手势与手势库中的任意一个合法手势均不匹配。在这种情况下,可以重复输出要求运动目标执行验证手势的提示信息,直至重复次数达到预设次数阈值,如果捕捉并识别到的验证手势仍与手势库中的任意一个合法手势均不匹配,则可以输出告警信息。这样,可以提高验证手势识别准确率。In practical applications, there may be some error in capturing or identifying the verification gesture performed by the moving target. It is possible that the moving target performs the verification gesture as a legal gesture, but because of the recognition error, the verification gesture and the gesture library may be determined. A legal gesture does not match. In this case, the prompt information that requires the moving target to perform the verification gesture may be repeatedly output until the number of repetitions reaches the preset number threshold, and if the captured and recognized verification gesture still does not match any of the legal gestures in the gesture library, Then you can output alarm information. In this way, the accuracy of the verification gesture recognition can be improved.
预设次数阈值可以根据实际情况进行设定和调整,比如设置为1。The preset number threshold can be set and adjusted according to the actual situation, for example, set to 1.
相应于上面的方法实施例,本发明实施例还提供了一种种植大棚安全监控装置,下文描述的一种种植大棚安全监控装置与上文描述的一种种植大棚安全监控方法可相互对应参照。 Corresponding to the above method embodiment, the embodiment of the present invention further provides a planting greenhouse safety monitoring device, and a planting greenhouse safety monitoring device described below and a planting greenhouse safety monitoring method described above can be mutually referenced.
参见图2所示,该装置包括以下模块:Referring to Figure 2, the device includes the following modules:
监测模块210,用于对种植大棚内预先确定的安全监控区域进行监测;The monitoring module 210 is configured to monitor a predetermined safety monitoring area in the planting greenhouse;
提示信息输出模块220,用于在监测到安全监控区域内有运动目标时,输出要求运动目标执行验证手势的提示信息;The prompt information outputting module 220 is configured to output, when the moving target is detected in the security monitoring area, the prompt information that requires the moving target to perform the verification gesture;
验证手势识别模块230,用于捕捉并识别运动目标执行的验证手势;a verification gesture recognition module 230, configured to capture and identify a verification gesture performed by the moving target;
手势确定模块240,用于确定验证手势是否与预设的手势库中的至少一个合法手势匹配,如果否,则触发告警模块250;The gesture determining module 240 is configured to determine whether the verification gesture matches at least one legal gesture in the preset gesture library, and if not, trigger the alarm module 250;
告警模块250,用于输出告警信息。The alarm module 250 is configured to output alarm information.
应用本发明实施例所提供的装置,在对种植大棚内安全监控区域进行监测的过程中,如果监测到安全监控区域内有运动目标,则可以输出要求运动目标执行验证手势的提示信息,捕捉并识别运动目标执行的验证手势,如果该验证手势与预设手势库中的任意一个合法手势均不匹配,则可以确定运动目标为非法人员,可以输出告警信息。这样,不需要安排专门的看护人员一直关注监控录像,降低了人力成本,在无人看护的情况下保证了种植大棚内植物的生长安全,避免因植物受到损害而给用户带来经济损失。When the device provided by the embodiment of the present invention is used to monitor the security monitoring area in the greenhouse, if there is a moving target in the security monitoring area, the prompt information that the moving target is required to perform the verification gesture may be output, and the The verification gesture performed by the moving target is recognized. If the verification gesture does not match any of the legal gestures in the preset gesture library, the motion target may be determined to be an illegal person, and the alarm information may be output. In this way, there is no need to arrange special caregivers to pay attention to the surveillance video, which reduces the labor cost. In the case of unattended care, the growth safety of the plants in the greenhouse is ensured, and the economic loss caused by the damage of the plants is avoided.
在本发明的一种具体实施方式中,还包括:In a specific implementation manner of the present invention, the method further includes:
超时处理模块,用于在输出要求运动目标执行验证手势的提示信息之后,如果在设定时长内未捕捉到任何验证手势,则触发告警模块250。The timeout processing module is configured to trigger the alarm module 250 after outputting the prompt information for requesting the motion target to perform the verification gesture, if no verification gesture is captured within the set duration.
在本发明的一种具体实施方式中,还包括:In a specific implementation manner of the present invention, the method further includes:
重复执行模块,用于在确定验证手势与手势库中的任意一个合法手势均不匹配时,重复执行输出要求运动目标执行验证手势的提示信息的步骤,直至重复次数达到预设次数阈值。The repeating execution module is configured to repeatedly perform the step of outputting the prompt information requesting the motion target to perform the verification gesture when determining that the verification gesture does not match any of the legal gestures in the gesture library, until the number of repetitions reaches a preset number threshold.
在本发明的一种具体实施方式中,监测模块210,具体用于:In a specific implementation manner of the present invention, the monitoring module 210 is specifically configured to:
在预设的安全监控时间段内,对种植大棚内预先确定的安全监控区域进行监测。The predetermined safety monitoring area in the planting greenhouse is monitored during the preset safety monitoring period.
在本发明的一种具体实施方式中,还包括安全监控区域确定模块,用于通过以下步骤确定安全监控区域:In a specific implementation manner of the present invention, the security monitoring area determining module is further configured to determine the security monitoring area by using the following steps:
采集视场范围内的区域图像;Collecting an image of the area within the field of view;
将区域图像发送给用户,以使用户基于区域图像选择监控区域; Sending the area image to the user, so that the user selects the monitoring area based on the area image;
将用户选择的监控区域确定为安全监控区域。The monitoring area selected by the user is determined as the security monitoring area.
在本发明的一种具体实施方式中,还包括运动目标确定模块,用于通过以下步骤确定在安全监控区域内是否有运动目标:In a specific embodiment of the present invention, the method further includes a moving target determining module, configured to determine whether there is a moving target in the security monitoring area by the following steps:
在对安全监控区域进行监测的过程中,针对每相邻两帧图像,对该相邻两帧图像进行差分运算,获得每个对应像素点的像素值的绝对差值,如果像素值的绝对差值大于预设阈值的像素点数与总像素点数的比例大于预设比例阈值,则确定安全监控区域内有运动目标。In the process of monitoring the security monitoring area, for each adjacent two frames of images, the adjacent two frames of images are subjected to a difference operation to obtain an absolute difference of pixel values of each corresponding pixel point, if the absolute difference of the pixel values If the ratio of the number of pixels larger than the preset threshold to the total number of pixels is greater than the preset ratio threshold, it is determined that there is a moving target in the security monitoring area.
本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其它实施例的不同之处,各个实施例之间相同或相似部分互相参见即可。对于实施例公开的装置而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on differences from other embodiments, and the same or similar parts of the respective embodiments may be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
专业人员还可以进一步意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。A person skilled in the art will further appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware, computer software or a combination of both, in order to clearly illustrate the hardware and software. Interchangeability, the composition and steps of the various examples have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
结合本文中所公开的实施例描述的方法或算法的步骤可以直接用硬件、处理器执行的软件模块,或者二者的结合来实施。软件模块可以置于随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的存储介质中。The steps of a method or algorithm described in connection with the embodiments disclosed herein can be implemented directly in hardware, a software module executed by a processor, or a combination of both. The software module can be placed in random access memory (RAM), memory, read only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or technical field. Any other form of storage medium known.
本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的技术方案及其核心思想。应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以对本发明进行若干改进和修饰,这些改进和修饰也落入本发明权利要求的保护范围内。 The principles and embodiments of the present invention have been described with reference to specific examples. The description of the above embodiments is only for helping to understand the technical solutions of the present invention and the core ideas thereof. It should be noted that those skilled in the art can make various modifications and changes to the present invention without departing from the spirit and scope of the invention.

Claims (12)

  1. 一种种植大棚安全监控方法,其特征在于,包括:A method for monitoring the safety of a greenhouse, characterized in that it comprises:
    对所述种植大棚内预先确定的安全监控区域进行监测;Monitoring a predetermined safety monitoring area in the planting greenhouse;
    在监测到所述安全监控区域内有运动目标时,输出要求所述运动目标执行验证手势的提示信息;When it is detected that there is a moving target in the security monitoring area, outputting prompt information requesting the moving target to perform a verification gesture;
    捕捉并识别所述运动目标执行的验证手势;Capturing and identifying a verification gesture performed by the moving target;
    确定所述验证手势是否与预设的手势库中的至少一个合法手势匹配;Determining whether the verification gesture matches at least one legal gesture in the preset gesture library;
    如果否,则输出告警信息。If no, an alarm message is output.
  2. 根据权利要求1所述的种植大棚安全监控方法,其特征在于,在所述输出要求所述运动目标执行验证手势的提示信息之后,还包括:The method for monitoring the safety of a greenhouse according to claim 1, further comprising: after the outputting the prompt information that the moving target is required to perform the verification gesture, the method further comprising:
    如果在设定时长内未捕捉到验证手势,则执行所述输出告警信息的步骤。If the verification gesture is not captured within the set duration, the step of outputting the alarm information is performed.
  3. 根据权利要求1所述的种植大棚安全监控方法,其特征在于,还包括:The method for monitoring the safety of a greenhouse according to claim 1, further comprising:
    在确定所述验证手势与所述手势库中的任意一个合法手势均不匹配时,重复执行所述输出要求所述运动目标执行验证手势的提示信息的步骤,直至重复次数达到预设次数阈值。When it is determined that the verification gesture does not match any of the legal gestures in the gesture library, the step of outputting the prompt information requesting the motion target to perform the verification gesture is repeatedly performed until the number of repetitions reaches a preset number threshold.
  4. 根据权利要求1至3任一项所述的种植大棚安全监控方法,其特征在于,所述对所述种植大棚内预先确定的安全监控区域进行监测,包括:The method for monitoring the safety of a greenhouse according to any one of claims 1 to 3, wherein the monitoring of the predetermined safety monitoring area in the planting greenhouse comprises:
    在预设的安全监控时间段内,对所述种植大棚内预先确定的安全监控区域进行监测。The predetermined safety monitoring area in the planting greenhouse is monitored during a preset safety monitoring period.
  5. 根据权利要求1至3任一项所述的种植大棚安全监控方法,其特征在于,通过以下步骤确定所述安全监控区域:The method for monitoring the safety of a greenhouse according to any one of claims 1 to 3, characterized in that the security monitoring area is determined by the following steps:
    采集视场范围内的区域图像;Collecting an image of the area within the field of view;
    将所述区域图像发送给用户,以使所述用户基于所述区域图像选择监控区域;Transmitting the area image to a user, so that the user selects a monitoring area based on the area image;
    将用户选择的监控区域确定为安全监控区域。The monitoring area selected by the user is determined as the security monitoring area.
  6. 根据权利要求1至3任一项所述的种植大棚安全监控方法,其特征在于,通过以下步骤确定在所述安全监控区域内是否有运动目标:The planting greenhouse safety monitoring method according to any one of claims 1 to 3, characterized in that, by means of the following steps, it is determined whether there is a moving target in the safety monitoring area:
    在对所述安全监控区域进行监测的过程中,针对每相邻两帧图像,对该相邻两帧图像进行差分运算,获得每个对应像素点的像素值的绝对差值,如果像 素值的绝对差值大于预设阈值的像素点数与总像素点数的比例大于预设比例阈值,则确定所述安全监控区域内有运动目标。In the process of monitoring the security monitoring area, for each adjacent two frames of images, performing differential operations on the adjacent two frames of images to obtain an absolute difference of pixel values of each corresponding pixel point, if If the ratio of the pixel value of the prime value greater than the preset threshold to the total pixel number is greater than the preset ratio threshold, it is determined that there is a moving target in the security monitoring area.
  7. 一种种植大棚安全监控装置,其特征在于,包括:A planting greenhouse safety monitoring device is characterized in that it comprises:
    监测模块,用于对所述种植大棚内预先确定的安全监控区域进行监测;a monitoring module for monitoring a predetermined safety monitoring area in the planting greenhouse;
    提示信息输出模块,用于在监测到所述安全监控区域内有运动目标时,输出要求所述运动目标执行验证手势的提示信息;a prompt information output module, configured to: when the moving target is detected in the security monitoring area, output prompt information requesting the moving target to perform a verification gesture;
    验证手势识别模块,用于捕捉并识别所述运动目标执行的验证手势;a verification gesture recognition module, configured to capture and identify a verification gesture performed by the moving target;
    手势确定模块,用于确定所述验证手势是否与预设的手势库中的至少一个合法手势匹配,如果否,则触发告警模块;a gesture determining module, configured to determine whether the verification gesture matches at least one legal gesture in the preset gesture library, and if not, trigger an alarm module;
    所述告警模块,用于输出告警信息。The alarm module is configured to output alarm information.
  8. 根据权利要求7所述的种植大棚安全监控装置,其特征在于,还包括:The planting shelter safety monitoring device according to claim 7, further comprising:
    超时处理模块,用于在所述输出要求所述运动目标执行验证手势的提示信息之后,如果在设定时长内未捕捉到验证手势,则触发所述告警模块。And a timeout processing module, configured to trigger the alarm module if the verification gesture is not captured within the set duration after the output requesting the motion target to perform the verification gesture of the verification gesture.
  9. 根据权利要求7所述的种植大棚安全监控装置,其特征在于,还包括:The planting shelter safety monitoring device according to claim 7, further comprising:
    重复执行模块,用于在确定所述验证手势与所述手势库中的任意一个合法手势均不匹配时,重复执行所述输出要求所述运动目标执行验证手势的提示信息的步骤,直至重复次数达到预设次数阈值。a repeating execution module, configured to repeatedly perform the step of outputting the prompt information requesting the moving target to perform the verification gesture until the verification gesture is not matched with any one of the gestures in the gesture library, until the number of repetitions The preset number of thresholds is reached.
  10. 根据权利要求7至9任一项所述的种植大棚安全监控装置,其特征在于,所述监测模块,具体用于:The planting greenhouse safety monitoring device according to any one of claims 7 to 9, wherein the monitoring module is specifically configured to:
    在预设的安全监控时间段内,对所述种植大棚内预先确定的安全监控区域进行监测。The predetermined safety monitoring area in the planting greenhouse is monitored during a preset safety monitoring period.
  11. 根据权利要求7至9任一项所述的种植大棚安全监控装置,其特征在于,还包括安全监控区域确定模块,用于通过以下步骤确定所述安全监控区域:The planting greenhouse safety monitoring device according to any one of claims 7 to 9, further comprising a safety monitoring area determining module, configured to determine the safety monitoring area by the following steps:
    采集视场范围内的区域图像;Collecting an image of the area within the field of view;
    将所述区域图像发送给用户,以使所述用户基于所述区域图像选择监控区域;Transmitting the area image to a user, so that the user selects a monitoring area based on the area image;
    将用户选择的监控区域确定为安全监控区域。The monitoring area selected by the user is determined as the security monitoring area.
  12. 根据权利要求7至9任一项所述的种植大棚安全监控装置,其特征在于,还包括运动目标确定模块,用于通过以下步骤确定在所述安全监控区域内 是否有运动目标:The planting greenhouse safety monitoring device according to any one of claims 7 to 9, further comprising a moving target determining module, configured to determine in the safety monitoring area by the following steps Is there a moving goal:
    在对所述安全监控区域进行监测的过程中,针对每相邻两帧图像,对该相邻两帧图像进行差分运算,获得每个对应像素点的像素值的绝对差值,如果像素值的绝对差值大于预设阈值的像素点数与总像素点数的比例大于预设比例阈值,则确定所述安全监控区域内有运动目标。 In the process of monitoring the security monitoring area, for each adjacent two frames of images, performing differential operations on the adjacent two frames of images to obtain an absolute difference of pixel values of each corresponding pixel point, if the pixel value is If the ratio of the number of pixels whose absolute difference is greater than the preset threshold to the total number of pixels is greater than the preset ratio threshold, it is determined that there is a moving target in the security monitoring area.
PCT/CN2016/111094 2016-10-31 2016-12-20 Method and apparatus for security monitoring of greenhouse WO2018076508A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610933529.8 2016-10-31
CN201610933529.8A CN106326885A (en) 2016-10-31 2016-10-31 Planting greenhouse security monitoring method and device

Publications (1)

Publication Number Publication Date
WO2018076508A1 true WO2018076508A1 (en) 2018-05-03

Family

ID=57818384

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/111094 WO2018076508A1 (en) 2016-10-31 2016-12-20 Method and apparatus for security monitoring of greenhouse

Country Status (2)

Country Link
CN (1) CN106326885A (en)
WO (1) WO2018076508A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115546902A (en) * 2022-11-30 2022-12-30 江苏未来网络集团有限公司 Safety production management method and system based on industrial internet full-connection management

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107133618B (en) * 2017-04-24 2021-03-19 北京中安未来科技有限公司 Electronic certificate identification triggering method and device
CN108184098B (en) * 2018-01-16 2021-06-08 智美康民(珠海)健康科技有限公司 Method and system for monitoring safety area
CN113794867B (en) * 2021-11-18 2022-03-01 中通服建设有限公司 Wisdom video monitor system based on 5G

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102467800A (en) * 2010-11-05 2012-05-23 无锡市美网网络信息技术有限公司 Invasion detection and alarm system
CN103903318A (en) * 2013-11-29 2014-07-02 广州中大电讯科技有限公司 Identity authentication system and identity authentication method in home care based on gesture recognition
CN103956014A (en) * 2014-05-04 2014-07-30 福建创高安防技术股份有限公司 Remote image recognition antitheft method and system
CN104318689A (en) * 2014-11-11 2015-01-28 希姆通信息技术(上海)有限公司 Anti-theft system and method
US20150177842A1 (en) * 2013-12-23 2015-06-25 Yuliya Rudenko 3D Gesture Based User Authorization and Device Control Methods

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102467800A (en) * 2010-11-05 2012-05-23 无锡市美网网络信息技术有限公司 Invasion detection and alarm system
CN103903318A (en) * 2013-11-29 2014-07-02 广州中大电讯科技有限公司 Identity authentication system and identity authentication method in home care based on gesture recognition
US20150177842A1 (en) * 2013-12-23 2015-06-25 Yuliya Rudenko 3D Gesture Based User Authorization and Device Control Methods
CN103956014A (en) * 2014-05-04 2014-07-30 福建创高安防技术股份有限公司 Remote image recognition antitheft method and system
CN104318689A (en) * 2014-11-11 2015-01-28 希姆通信息技术(上海)有限公司 Anti-theft system and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115546902A (en) * 2022-11-30 2022-12-30 江苏未来网络集团有限公司 Safety production management method and system based on industrial internet full-connection management

Also Published As

Publication number Publication date
CN106326885A (en) 2017-01-11

Similar Documents

Publication Publication Date Title
CN110287923B (en) Human body posture acquisition method, device, computer equipment and storage medium
WO2018076508A1 (en) Method and apparatus for security monitoring of greenhouse
JP7229662B2 (en) How to issue alerts in a video surveillance system
US11308777B2 (en) Image capturing apparatus with variable event detecting condition
CN109040693B (en) Intelligent alarm system and method
US20160104035A1 (en) Privacy for camera with people recognition
US9521377B2 (en) Motion detection method and device using the same
CN111080968B (en) Linkage control early warning method and system for accidental occurrence of solitary old people
CN107517391B (en) Method and equipment for identifying abnormal live broadcast information in video live broadcast
CN111767823A (en) Sleeping post detection method, device, system and storage medium
CN108898079A (en) A kind of monitoring method and device, storage medium, camera terminal
WO2016167016A1 (en) Image processing device, image processing method, and image processing system
JP2017000612A (en) Pulse estimation device, pulse estimation system, and pulse estimation method
CN105303583A (en) Pet behavior detection system based on image change
WO2022041484A1 (en) Human body fall detection method, apparatus and device, and storage medium
KR101075550B1 (en) Image sensing agent and security system of USN complex type
CN115205581A (en) Fishing detection method, fishing detection device and computer readable storage medium
CN113361364B (en) Target behavior detection method, device, equipment and storage medium
US20160180149A1 (en) Video surveillance system and method for fraud detection
CN113361469A (en) Method, device and equipment for identifying coverage state and storage medium
CN108197614A (en) A kind of examination hall monitor camera and system based on face recognition technology
JP2009033564A (en) Display device and display program
CN104392201A (en) Human fall identification method based on omnidirectional visual sense
CN114973135A (en) Head-shoulder-based sequential video sleep post identification method and system and electronic equipment
JP6822326B2 (en) Watching support system and its control method

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: 16920385

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 (EPO FORM 1205A DATED 10.10.2019)

122 Ep: pct application non-entry in european phase

Ref document number: 16920385

Country of ref document: EP

Kind code of ref document: A1