CN111540020B - Method and device for determining target behavior, storage medium and electronic device - Google Patents

Method and device for determining target behavior, storage medium and electronic device Download PDF

Info

Publication number
CN111540020B
CN111540020B CN202010351441.1A CN202010351441A CN111540020B CN 111540020 B CN111540020 B CN 111540020B CN 202010351441 A CN202010351441 A CN 202010351441A CN 111540020 B CN111540020 B CN 111540020B
Authority
CN
China
Prior art keywords
target
determining
target object
image
coordinate information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010351441.1A
Other languages
Chinese (zh)
Other versions
CN111540020A (en
Inventor
李伟
马东星
陆振善
李浙伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN202010351441.1A priority Critical patent/CN111540020B/en
Publication of CN111540020A publication Critical patent/CN111540020A/en
Application granted granted Critical
Publication of CN111540020B publication Critical patent/CN111540020B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • G06T7/73Determining position or orientation of objects or cameras using feature-based methods
    • 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/23Recognition of whole body movements, e.g. for sport training
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V2201/00Indexing scheme relating to image or video recognition or understanding
    • G06V2201/07Target detection

Abstract

The application provides a method and a device for determining target behaviors, a storage medium and an electronic device, wherein the method comprises the following steps: detecting coordinate information of a target object in the acquired target image, wherein the coordinate information is used for representing the position of the target object in the target image; and under the condition that the boundary line of the target object in the coordinate information and the boundary line of the Nth preset coordinate plane in the target image meet a preset threshold value, determining that the target object has a target behavior, wherein N is a natural number which is greater than or equal to 1. The application solves the problem of inaccurate detection of the target behavior in the related technology, and achieves the effect of accurately determining the target behavior of the object.

Description

Method and device for determining target behavior, storage medium and electronic device
Technical Field
The present application relates to the field of computers, and in particular, to a method and apparatus for determining target behavior, a storage medium, and an electronic apparatus.
Background
In the detection of abnormal behaviors of a human body, the prior art adopts a deep learning method, and the recognition is realized by recognizing and comparing the behavior characteristics of the human body: squatting, running, jumping and the like. Or, a detection area is set, and the behavior of entering, leaving, staying and the like of the target (human body) in the detection area is detected by a video analysis and recognition method.
But cannot accurately identify the detection problem of human behavior in the area.
Disclosure of Invention
The embodiment of the application provides a target behavior detection method and device, a storage medium and an electronic device, which are used for at least solving the problem of inaccurate target behavior detection in the related technology.
According to an embodiment of the present application, there is provided a target behavior determination method including: detecting coordinate information of a target object in an acquired target image, wherein the coordinate information is used for representing the position of the target object in the target image; and under the condition that the boundary line of the target object in the coordinate information and the boundary line of the Nth preset coordinate plane in the target image meet a preset threshold value, determining that the target object has a target behavior, wherein N is a natural number which is greater than or equal to 1.
According to another embodiment of the present application, there is provided a target behavior determining apparatus including: the first detection module is used for detecting coordinate information of a target object in the acquired target image, wherein the coordinate information is used for representing the position of the target object in the target image; the first determining module is configured to determine that a target behavior occurs in the target object when a boundary line of the target object in the coordinate information and a boundary line of an nth preset coordinate plane in the target image meet a preset threshold, where N is a natural number greater than or equal to 1.
Optionally, the apparatus further includes: a second determining module for determining position information of an image capturing apparatus that acquires an acquired target image before detecting a coordinate plane of a target object in the acquired target image; the third determining module is used for determining a target reference object from the scene where the target object is located based on the position information; and a fourth determining module, configured to determine M preset coordinate planes in the target image by using the target reference object, where M is greater than or equal to N, and a top edge line of each preset coordinate plane in the M preset coordinate planes is different from a top edge line of the target reference object.
Optionally, the third determining module includes: a first determination unit configured to determine a shooting space of the image capturing apparatus from the position information; a second determining unit configured to determine a reference object in the shooting space, which is a first preset distance from the image capturing apparatus, as the target reference object.
Optionally, the first determining module includes: and the third determining unit is used for determining that the target object has a target behavior under the condition that the upper edge of the target object in the coordinate information exceeds the upper edge of the Nth preset coordinate plane in the target image or the upper edge of the target object in the coordinate information coincides with the upper edge of the Nth preset coordinate plane in the target image.
Optionally, the apparatus further includes:
the comparison module is used for comparing the upper edge line of the target object in the coordinate information with the lower edge line of each preset coordinate plane in the M preset coordinate planes according to the sequence from far to near to the target reference object;
and a fifth determining module, configured to determine, as an nth preset coordinate plane, a preset coordinate plane that is farthest from the target reference object and that has a lower edge exceeding a lower edge line of the M preset coordinate planes.
Optionally, the apparatus further includes: and the sending module is used for sending prompt information after determining that the target object has the target behavior under the condition that the boundary line of the target object in the coordinate information and the boundary line of the Nth preset coordinate plane in the target image meet a preset threshold value, wherein the prompt information is used for prompting that the target behavior of the target object is abnormal.
According to a further embodiment of the application, there is also provided a storage medium having stored therein a computer program, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
According to a further embodiment of the application, there is also provided an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
By the method, the coordinate plane of the target object is detected in the acquired target image, wherein the coordinate information is used for representing the position of the target object in the target image; and under the condition that the boundary line of the target object in the coordinate information and the boundary line of the Nth preset coordinate plane in the target image meet a preset threshold value, determining that the target object has a target behavior, wherein N is a natural number which is greater than or equal to 1. The purpose of determining the behavior of the target object through the coordinate information of the target object can be achieved. Therefore, the problem of inaccurate target behavior detection in the related technology can be solved, and the effect of accurately determining the target behavior of the object is achieved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
FIG. 1 is a block diagram of a hardware architecture of a mobile terminal for a method for determining target behavior according to an embodiment of the present application;
FIG. 2 is a flow chart of a method of determining target behavior according to an embodiment of the application;
FIG. 3 is a schematic diagram of a judgment staff climb scene according to an embodiment of the present application;
FIG. 4 is an overall flow chart according to an embodiment of the application;
FIG. 5 is a flow chart of a determine climb behavior in accordance with an alternative embodiment of the present application;
FIG. 6 is a block diagram of a determination apparatus of target behavior according to an embodiment of the present application;
FIG. 7 is a schematic diagram of a detection system for climb behavior according to an embodiment of the application.
Detailed Description
The application will be described in detail hereinafter with reference to the drawings in conjunction with embodiments. It should be noted that, without conflict, the embodiments of the present application and features of the embodiments may be combined with each other.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order.
The method according to the first embodiment of the present application may be implemented in a mobile terminal, a computer terminal or a similar computing device. Taking the mobile terminal as an example, fig. 1 is a block diagram of a hardware structure of the mobile terminal according to a method for determining a target behavior according to an embodiment of the present application. As shown in fig. 1, the mobile terminal 10 may include one or more (only one is shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a microprocessor MCU or a processing device such as a programmable logic device FPGA) and a memory 104 for storing data, and optionally a transmission device 106 for communication functions and an input-output device 108. It will be appreciated by those skilled in the art that the structure shown in fig. 1 is merely illustrative and not limiting of the structure of the mobile terminal described above. For example, the mobile terminal 10 may also include more or fewer components than shown in FIG. 1 or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store a computer program, for example, a software program of application software and a module, such as a computer program corresponding to a method for determining a target behavior in an embodiment of the present application, and the processor 102 executes the computer program stored in the memory 104 to perform various functional applications and data processing, that is, implement the above-mentioned method. Memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the mobile terminal 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used to receive or transmit data via a network. The specific examples of networks described above may include wireless networks provided by the communication provider of the mobile terminal 10. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, simply referred to as NIC) that can connect to other network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is configured to communicate with the internet wirelessly.
In this embodiment, a method for determining target behavior is provided, fig. 2 is a flowchart of a method for determining target behavior according to an embodiment of the present application, and as shown in fig. 2, the flowchart includes the following steps:
step S202, detecting coordinate information of a target object in an acquired target image, wherein the coordinate information is used for representing the position of the target object in the target image;
optionally, the present embodiment is applied to a scene where the target behavior needs to be detected, for example, a scene where whether a prison climbs a high person occurs in a prison is detected, or a scene where the behavior of an animal in a zoo is judged.
Alternatively, the target image includes, but is not limited to, an image extracted from a video file acquired by an image pickup apparatus.
Optionally, the target image is set in a coordinate system to determine coordinate information of the target object in the coordinate system. Namely, the stereoscopic image of the target object in the real environment is displayed in the target image in a two-dimensional form, so that the behavior of the target object can be conveniently judged.
In step S204, in the case that the boundary of the target object in the coordinate information and the boundary of the nth preset coordinate plane in the target image satisfy the preset threshold, it is determined that the target object has performed the target behavior, where N is a natural number greater than or equal to 1.
Optionally, in the present embodiment, the target behavior includes, but is not limited to, human behavior such as climbing, squatting, running, jumping, and the like.
Alternatively, the execution subject of the above steps may be a terminal or the like, but is not limited thereto.
By the above steps, since the coordinate information of the target object is detected in the obtained target image, wherein the coordinate information is used for representing the position of the target object in the target image; and under the condition that the boundary line of the target object in the coordinate information and the boundary line of the Nth preset coordinate plane in the target image meet a preset threshold value, determining that the target object has a target behavior, wherein N is a natural number which is greater than or equal to 1. The purpose of determining the behavior of the target object through the coordinate information of the target object can be achieved. Therefore, the problem of inaccurate target behavior detection in the related technology can be solved, and the effect of accurately determining the target behavior of the object is achieved.
Optionally, before detecting the coordinate information of the target object in the acquired target image, the method further includes:
s1, determining position information of an image pickup device for acquiring a target image;
s2, determining a target reference object from a scene where the target object is located based on the position information;
s3, determining M preset coordinate planes in the target image by using the target reference object, wherein M is greater than or equal to N, and the upper edge line of each preset coordinate plane in the M preset coordinate planes is different from the upper edge line of the target reference object.
Alternatively, in the present embodiment, as shown in fig. 3, in a scene where it is determined that a person climbs high, a wall edge is determined as a target reference object, and a plurality of virtual coordinate planes, that is, a plurality of blocks in fig. 3, are set in a space between the image pickup apparatus and the target reference object.
In an alternative embodiment, determining the target reference object from the scene in which the target object is located based on the position information includes:
s1, determining a shooting space of the image pickup device from position information;
s2, determining a reference object which is located at a first preset distance from the image capturing device in the shooting space as a target reference object.
Alternatively, in the present embodiment, as shown in fig. 3, the space between the image capturing apparatus and the subject is a shooting space. And setting the wall edge as a target reference object.
In an alternative embodiment, in a case that a boundary line of the target object in the coordinate information and a boundary line of an nth preset coordinate plane in the target image meet a preset threshold, determining that the target object has performed a target behavior includes:
s1, determining that the target object has a target behavior under the condition that the upper edge of the target object in the coordinate information exceeds the upper edge of the Nth preset coordinate plane in the target image or the upper edge of the target object in the coordinate information coincides with the upper edge of the Nth preset coordinate plane in the target image.
Optionally, as shown in fig. 4, the present embodiment includes the following procedures:
s401: starting;
s402: configuring a coordinate plane;
s403: calibrating and verifying the coordinate plane;
s404: if the verification is passed, the process goes to S405, otherwise, the process goes to S402;
s405: and (5) ending.
Optionally, for example, in a scenario of determining whether a climbing action occurs on a person, as shown in fig. 5, the steps of:
s501: video input;
s502: detecting a target object;
s503: if the target object is detected, the process goes to S504, otherwise, the process goes to S502;
s504: judging whether the target object passes the lower side of the coordinate plane i;
s505: if the coordinate plane i is crossed, the process goes to S506, otherwise, the process goes to S504;
s506: judging whether the target object passes over the upper edge of the coordinate plane i;
s507: if the target object passes over the upper edge of the coordinate plane i, go to S508, otherwise go to S504;
s508: alarming when the target object climbs;
s509: and (5) ending.
Optionally, in this embodiment, the target object determines that a trip event occurs for both the upper edge and the lower edge of the same coordinate plane, and that a behavior of the coordinate plane occurs.
In an alternative embodiment, the method further comprises:
s1, comparing the upper edge line of a target object in the coordinate information with the lower edge line of each preset coordinate plane in M preset coordinate planes according to the sequence from far to near to a target reference object;
s2, determining a preset coordinate plane which is farthest from the target reference object and the lower edge line of the target object exceeds the lower edge line in the M preset coordinate planes as an Nth preset coordinate plane.
Optionally, in this embodiment, the lower edge line of the target object may be compared with the lower boundary of each preset coordinate plane from far to near, where the N-th preset coordinate plane is farthest from the target reference object, and the lower edge lines of the target object all exceed the lower edge lines from the 1-th preset coordinate plane to the N-th preset coordinate plane, as shown in S504 and S505 in fig. 5, so that the N-th preset coordinate plane may be accurately determined.
In an optional embodiment, in a case that a boundary line of the target object in the coordinate information and a boundary line of an nth preset coordinate plane in the target image meet a preset threshold, after determining that the target object has performed the target behavior, the method further includes:
s1, sending out prompt information, wherein the prompt information is used for prompting that the target behavior of the target object is abnormal.
In summary, the embodiment can solve the problem of inaccurate climbing detection in the edge region and the problem of inaccurate climbing detection in the non-edge region. For example, the monitored personnel in the monitoring station may climb accidentally, and detection prevention can be realized by using the embodiment.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present application.
The embodiment also provides a device for determining the target behavior, which is used for implementing the above embodiment and the preferred implementation manner, and is not described in detail. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
Fig. 6 is a block diagram of a target behavior determining apparatus according to an embodiment of the present application, as shown in fig. 6, including:
according to another embodiment of the present application, there is provided a target behavior determining apparatus including:
a first detection module 62, configured to detect coordinate information of a target object in an acquired target image, where the coordinate information is used to represent a position of the target object in the target image;
a first determining module 64, configured to determine that a target behavior occurs in the target object when a boundary of the target object in the coordinate information and a boundary of an nth preset coordinate plane in the target image meet a preset threshold, where N is a natural number greater than or equal to 1.
Optionally, the apparatus further includes: a second determining module for determining position information of an image capturing apparatus that acquires an acquired target image before detecting a coordinate plane of a target object in the acquired target image; the third determining module is used for determining a target reference object from the scene where the target object is located based on the position information; and a fourth determining module, configured to determine M preset coordinate planes in the target image by using the target reference object, where M is greater than or equal to N, and a top edge line of each preset coordinate plane in the M preset coordinate planes is different from a top edge line of the target reference object.
Optionally, the third determining module includes: a first determination unit configured to determine a shooting space of the image capturing apparatus from the position information; a second determining unit configured to determine a reference object in the shooting space, which is a first preset distance from the image capturing apparatus, as the target reference object.
Optionally, the first determining module includes: and the third determining unit is used for determining that the target object has a target behavior under the condition that the upper edge of the target object in the coordinate information exceeds the upper edge of the Nth preset coordinate plane in the target image or the upper edge of the target object in the coordinate information coincides with the upper edge of the Nth preset coordinate plane in the target image.
In an alternative embodiment, the apparatus further comprises:
the comparison module is used for comparing the upper edge line of the target object in the coordinate information with the lower edge line of each preset coordinate plane in the M preset coordinate planes according to the sequence from far to near to the target reference object;
and a fifth determining module, configured to determine, as an nth preset coordinate plane, a preset coordinate plane that is farthest from the target reference object and that has a lower edge exceeding a lower edge line of the M preset coordinate planes.
Optionally, the apparatus further includes: and the sending module is used for sending prompt information after determining that the target object has the target behavior under the condition that the boundary line of the target object in the coordinate information and the boundary line of the Nth preset coordinate plane in the target image meet a preset threshold value, wherein the prompt information is used for prompting that the target behavior of the target object is abnormal.
Optionally, as shown in fig. 7, the present embodiment further provides a climb detection system, including the following: the video acquisition module sends the acquired video to a target analysis and identification module (corresponding to the first determination module in the above description) to identify the target; the target analysis and identification module sends the identified target object to the space-time rule judgment module to judge the line crossing, and if the target object sends the line crossing, the alarm module is used for alarming (corresponding to the sending module in the above).
It should be noted that each of the above modules may be implemented by software or hardware, and for the latter, it may be implemented by, but not limited to: the modules are all located in the same processor; alternatively, the above modules may be located in different processors in any combination.
An embodiment of the application also provides a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
Alternatively, in the present embodiment, the above-described storage medium may be configured to store a computer program for performing the steps of:
s1, detecting coordinate information of a target object in an acquired target image, wherein the coordinate information is used for representing the position of the target object in the target image;
s2, determining that the target object has a target behavior under the condition that the boundary line of the target object in the coordinate information and the boundary line of an Nth preset coordinate plane in the target image meet a preset threshold, wherein N is a natural number greater than or equal to 1.
Alternatively, in the present embodiment, the storage medium may include, but is not limited to: a usb disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing a computer program.
An embodiment of the application also provides an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, where the transmission device is connected to the processor, and the input/output device is connected to the processor.
Alternatively, in the present embodiment, the above-described processor may be configured to execute the following steps by a computer program:
s1, detecting coordinate information of a target object in an acquired target image, wherein the coordinate information is used for representing the position of the target object in the target image;
s2, determining that the target object has a target behavior under the condition that the boundary line of the target object in the coordinate information and the boundary line of an Nth preset coordinate plane in the target image meet a preset threshold, wherein N is a natural number greater than or equal to 1.
Alternatively, specific examples in this embodiment may refer to examples described in the foregoing embodiments and optional implementations, and this embodiment is not described herein.
It will be appreciated by those skilled in the art that the modules or steps of the application described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, they may alternatively be implemented in program code executable by computing devices, so that they may be stored in a memory device for execution by computing devices, and in some cases, the steps shown or described may be performed in a different order than that shown or described, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps within them may be fabricated into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.
The above description is only of the preferred embodiments of the present application and is not intended to limit the present application, but various modifications and variations can be made to the present application by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the principle of the present application should be included in the protection scope of the present application.

Claims (8)

1. A method for determining a target behavior, comprising:
detecting coordinate information of a target object in an acquired target image, wherein the coordinate information is used for representing the position of the target object in the target image;
determining that the target object has a target behavior under the condition that the upper edge of the target object in the coordinate information and the upper edge of an Nth virtual box in the target image meet a preset threshold, wherein N is a natural number greater than or equal to 1;
wherein, before detecting the coordinate information of the target object in the acquired target image, the method further comprises: determining position information of an image capturing apparatus that acquires the target image; determining a target reference object from a scene where the target object is located based on the position information; setting M virtual boxes in a space between the image pickup equipment and the target reference object, wherein M is larger than or equal to N, the plane of each virtual box in the M virtual boxes is parallel to the plane of the target reference object, and the upper edge line of each virtual box in the M virtual boxes is different from the upper edge line of the target reference object;
the nth virtual box is a virtual box which is furthest away from the target reference object and has a lower edge exceeding the lower edge of the target object and is included in the M virtual boxes.
2. The method of claim 1, wherein determining a target reference from a scene in which the target object is located based on the location information comprises:
determining a shooting space of the image pickup device from the position information;
and determining a reference object which is located in the shooting space and is located at a first preset distance from the image pickup device as the target reference object.
3. The method according to claim 1, wherein determining that the target object has a target behavior if a top line of the target object in the coordinate information and a top line of an nth virtual box in the target image satisfy a preset threshold includes:
and determining that the target object has a target behavior under the condition that the upper edge of the target object in the coordinate information exceeds the upper edge of the Nth virtual box in the target image or the upper edge of the target object in the coordinate information coincides with the upper edge of the Nth virtual box in the target image.
4. The method according to claim 1, wherein the method further comprises:
comparing the lower edge line of the target object in the coordinate information with the lower edge line of each virtual box in the M virtual boxes in the sequence from far to near to the target reference object;
and determining a virtual box which is farthest from the target reference object and the lower edge line of the target object exceeds the lower edge line in the M virtual boxes as the Nth virtual box.
5. The method according to claim 1, wherein, in a case where a top line of the target object in the coordinate information and a top line of an nth virtual box in the target image satisfy a preset threshold, after determining that the target object has performed a target action, the method further comprises:
and sending out prompt information, wherein the prompt information is used for prompting that the target behavior of the target object is abnormal.
6. A target behavior determining apparatus, comprising:
the first detection module is used for detecting coordinate information of a target object in the acquired target image, wherein the coordinate information is used for representing the position of the target object in the target image;
a first determining module, configured to determine that a target behavior occurs in the target object when a top line of the target object in the coordinate information and a top line of an nth virtual box in the target image meet a preset threshold, and determine that the target behavior occurs in the target object, where N is a natural number greater than or equal to 1;
wherein, the device further includes: a second determining module for determining position information of an image capturing apparatus that acquires an acquired target image before detecting a coordinate plane of a target object in the acquired target image; the third determining module is used for determining a target reference object from the scene where the target object is located based on the position information; a fourth determining module, configured to set M virtual boxes in a space between the image capturing apparatus and the target reference object, where M is greater than or equal to N, a plane where each virtual box in the M virtual boxes is located is parallel to a plane where the target reference object is located, and an upper edge line of each virtual box in the M virtual boxes is different from an upper edge line of the target reference object;
the nth virtual box is a virtual box which is furthest away from the target reference object and has a lower edge exceeding the lower edge of the target object and is included in the M virtual boxes.
7. A storage medium having a computer program stored therein, wherein the computer program is arranged to perform the method of any of claims 1 to 5 when run.
8. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to run the computer program to perform the method of any of the claims 1 to 5.
CN202010351441.1A 2020-04-28 2020-04-28 Method and device for determining target behavior, storage medium and electronic device Active CN111540020B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010351441.1A CN111540020B (en) 2020-04-28 2020-04-28 Method and device for determining target behavior, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010351441.1A CN111540020B (en) 2020-04-28 2020-04-28 Method and device for determining target behavior, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN111540020A CN111540020A (en) 2020-08-14
CN111540020B true CN111540020B (en) 2023-10-10

Family

ID=71978883

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010351441.1A Active CN111540020B (en) 2020-04-28 2020-04-28 Method and device for determining target behavior, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN111540020B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112183629A (en) * 2020-09-28 2021-01-05 海尔优家智能科技(北京)有限公司 Image identification method and device, storage medium and electronic equipment
CN113704533A (en) * 2021-01-25 2021-11-26 浙江大华技术股份有限公司 Object relation determination method and device, storage medium and electronic device
CN113658229B (en) * 2021-08-13 2024-02-02 杭州华橙软件技术有限公司 Method and device for determining abnormal object, storage medium and electronic device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08287400A (en) * 1995-04-11 1996-11-01 Mitsubishi Heavy Ind Ltd Boundary straight line detector
CN104680555A (en) * 2015-02-13 2015-06-03 电子科技大学 Border-crossing detection method and border-crossing monitoring system based on video monitoring
CN105141885A (en) * 2014-05-26 2015-12-09 杭州海康威视数字技术股份有限公司 Method for video monitoring and device
WO2018076182A1 (en) * 2016-10-25 2018-05-03 华为技术有限公司 Image capturing method and device
CN110263623A (en) * 2019-05-07 2019-09-20 平安科技(深圳)有限公司 Train climbs monitoring method, device, terminal and storage medium
CN110379172A (en) * 2019-07-17 2019-10-25 浙江大华技术股份有限公司 The generation method and device of traffic rules, storage medium, electronic device
CN110598596A (en) * 2019-08-29 2019-12-20 深圳市中电数通智慧安全科技股份有限公司 Dangerous behavior monitoring method and device and electronic equipment
CN110852237A (en) * 2019-11-05 2020-02-28 浙江大华技术股份有限公司 Object posture determining method and device, storage medium and electronic device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102004016587B4 (en) * 2004-03-31 2006-02-09 Siemens Ag Method for noise correction in a flat panel detector
US7899211B2 (en) * 2005-12-07 2011-03-01 Nissan Motor Co., Ltd. Object detecting system and object detecting method
US9740921B2 (en) * 2009-02-26 2017-08-22 Tko Enterprises, Inc. Image processing sensor systems
US9197861B2 (en) * 2012-11-15 2015-11-24 Avo Usa Holding 2 Corporation Multi-dimensional virtual beam detection for video analytics
US20170076156A1 (en) * 2015-09-14 2017-03-16 Logitech Europe S.A. Automatically determining camera location and determining type of scene
CN109300159B (en) * 2018-09-07 2021-07-20 百度在线网络技术(北京)有限公司 Position detection method, device, equipment, storage medium and vehicle

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08287400A (en) * 1995-04-11 1996-11-01 Mitsubishi Heavy Ind Ltd Boundary straight line detector
CN105141885A (en) * 2014-05-26 2015-12-09 杭州海康威视数字技术股份有限公司 Method for video monitoring and device
CN104680555A (en) * 2015-02-13 2015-06-03 电子科技大学 Border-crossing detection method and border-crossing monitoring system based on video monitoring
WO2018076182A1 (en) * 2016-10-25 2018-05-03 华为技术有限公司 Image capturing method and device
CN110263623A (en) * 2019-05-07 2019-09-20 平安科技(深圳)有限公司 Train climbs monitoring method, device, terminal and storage medium
CN110379172A (en) * 2019-07-17 2019-10-25 浙江大华技术股份有限公司 The generation method and device of traffic rules, storage medium, electronic device
CN110598596A (en) * 2019-08-29 2019-12-20 深圳市中电数通智慧安全科技股份有限公司 Dangerous behavior monitoring method and device and electronic equipment
CN110852237A (en) * 2019-11-05 2020-02-28 浙江大华技术股份有限公司 Object posture determining method and device, storage medium and electronic device

Also Published As

Publication number Publication date
CN111540020A (en) 2020-08-14

Similar Documents

Publication Publication Date Title
CN111540020B (en) Method and device for determining target behavior, storage medium and electronic device
US20190188489A1 (en) Image processing device, image processing method and program recording medium
CN105096223A (en) Double-induction safety monitoring system of RFID technology and application method of system
CN111127508B (en) Target tracking method and device based on video
CN110675587B (en) Fire early warning method, device, terminal and readable storage medium
CN109544862A (en) Activity recognition method, apparatus, storage medium and equipment based on smart home
CN113038084B (en) State identification method, device and system
CN112017323A (en) Patrol alarm method and device, readable storage medium and terminal equipment
CN111368619A (en) Method, device and equipment for detecting suspicious people
CN111652161A (en) Crowd excess density prediction method and device, electronic equipment and storage medium
CN108872780B (en) Live working detection and system for live exploration and terminal equipment
CN111783718A (en) Target object state identification method and device, storage medium and electronic device
CN111507268B (en) Alarm method and device, storage medium and electronic device
CN111126411B (en) Abnormal behavior identification method and device
CN110196920B (en) Text data processing method and device, storage medium and electronic device
CN113535823B (en) Abnormal access behavior detection method and device and electronic equipment
CN114245071A (en) Intelligent monitoring early warning method and device and monitoring system
CN110598797B (en) Fault detection method and device, storage medium and electronic device
CN110738077B (en) Foreign matter detection method and device
CN115880631A (en) Power distribution station fault identification system, method and medium
CN111210590B (en) Early warning method and device for children lost in intelligent community and readable storage medium
CN111709404B (en) Machine room legacy identification method, system and equipment
CN111107139B (en) Information pushing method, device, equipment and storage medium
CN114445669A (en) Smoke and fire alarm method and device, electronic equipment and storage medium
CN113920544A (en) Safety management system and method for stamping workshop and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant