CN111325057A - Queuing queue detection method and device - Google Patents

Queuing queue detection method and device Download PDF

Info

Publication number
CN111325057A
CN111325057A CN201811532327.8A CN201811532327A CN111325057A CN 111325057 A CN111325057 A CN 111325057A CN 201811532327 A CN201811532327 A CN 201811532327A CN 111325057 A CN111325057 A CN 111325057A
Authority
CN
China
Prior art keywords
queue
area
target person
queue area
monitoring
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.)
Granted
Application number
CN201811532327.8A
Other languages
Chinese (zh)
Other versions
CN111325057B (en
Inventor
李昂阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital 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 Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN201811532327.8A priority Critical patent/CN111325057B/en
Publication of CN111325057A publication Critical patent/CN111325057A/en
Application granted granted Critical
Publication of CN111325057B publication Critical patent/CN111325057B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/40Scenes; Scene-specific elements in video content
    • G06V20/41Higher-level, semantic clustering, classification or understanding of video scenes, e.g. detection, labelling or Markovian modelling of sport events or news items
    • 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
    • H04N7/181Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computational Linguistics (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Alarm Systems (AREA)

Abstract

The application provides a method and a device for detecting a queuing queue, wherein the method comprises the following steps: dividing a monitoring area into at least one queue area; for each queue area, when monitoring that a target person enters the queue in the queue area, recording the state information of the target person in the queue area, tracking the target person through a target tracking algorithm, and updating the recorded state information when the target person leaves the queue area. Therefore, monitoring and queuing detection of the plurality of queuing queues through one device are achieved, device resources are saved, queuing detection efficiency is improved, the embodiment is suitable for different queuing scenes, and flexibility is higher.

Description

Queuing queue detection method and device
Technical Field
The present application relates to the field of monitoring technologies, and in particular, to a method and an apparatus for queue detection.
Background
In order to efficiently provide data support for administrator decisions for further tuning and optimizing queuing processes, queuing detection techniques have evolved.
In the prior art, the relevant queuing detection techniques are as follows: respectively shooting the head and the tail of the same queue by using at least 2 cameras, and acquiring an image of each camera; detecting and extracting human body features in each camera image, sequentially acquiring a human body feature to be matched from the characteristic set at the head of the team, and sequentially matching and judging the human body feature to be matched with the human body feature which is not matched in the characteristic set at the tail of the team; and obtaining queuing state information of the queue according to the matching result.
However, in the prior art, at least two cameras are required to obtain queuing state information of one queuing queue, so that more equipment resources are consumed, and the flexibility of an applicable scene of the scheme is also restricted by the two cameras.
Disclosure of Invention
In view of the above, the present application provides a method and an apparatus for queue detection.
Specifically, the method is realized through the following technical scheme:
in a first aspect, the present application provides a method for queue detection, where the method includes:
dividing a monitoring area into at least one queue area;
for each queue area, when monitoring that a target person enters the queue in the queue area, recording the state information of the target person in the queue area, tracking the target person through a target tracking algorithm, and updating the recorded state information when the target person leaves the queue area.
Preferably, the dividing the monitoring area into at least one queue area includes:
transmitting a monitored area image to a management device to be processed by the management device at a first resolution by: defining at least one closed area in the monitoring area image;
and receiving the processed monitoring area image sent by the management equipment, and mapping each closed area in the received monitoring area image into a queue area according to the size relationship between the second resolution and the first resolution.
Preferably, the recorded status information of the target person in the queue area at least includes: the number of the target person entering the queue area is the number of the target person entering the queue area.
Preferably, the updating the recorded status information when the target person leaves the queue area includes:
when the target person leaves the queue area, recording the leaving time information of the target person leaving the queue area and the number of people in the queue area when the target person leaves the queue area;
and determining the stay time information of the target person in the queue area according to the entering time information and the leaving time information.
Preferably, the method further comprises:
and sending the state information to a storage device, and storing the state information by the storage device.
In a second aspect, the present application provides a queued queue detecting apparatus, the apparatus comprising:
the queue area dividing module is used for dividing the monitoring area into at least one queue area;
and the queue detection module is used for recording the state information of the target personnel in the queue area when monitoring that the target personnel enter the queue in the queue area aiming at each queue area, tracking the target personnel through a target tracking algorithm, and updating the recorded state information when the target personnel leave the queue area.
Preferably, the queue area dividing module includes:
a monitored area image sending submodule, configured to send a monitored area image to a management device, so that the management device performs the following processing on the monitored area image at a first resolution: defining at least one closed area in the monitoring area image;
the processing image receiving submodule is used for receiving the processed monitoring area image sent by the management equipment;
and the queue area mapping submodule is used for mapping each closed area in the received monitoring area image into a queue area according to the size relationship between the second resolution and the first resolution.
Preferably, the recorded status information of the target person in the queue area at least includes: the number of the target person entering the queue area is the number of the target person entering the queue area.
Preferably, the queue detection module is specifically configured to:
when the target person leaves the queue area, recording the leaving time information of the target person leaving the queue area and the number of people in the queue area when the target person leaves the queue area;
and determining the stay time information of the target person in the queue area according to the entering time information and the leaving time information.
Preferably, the apparatus further comprises:
and the state information sending module is used for sending the state information to a storage device, and the storage device stores the state information.
In a third aspect, the present application provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing the steps of the method when executing the program stored in the memory.
In a fourth aspect, the present application provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the method steps described above.
The technical scheme provided by the embodiment of the application can have the following beneficial effects:
in the embodiment of the present application, the monitoring area may be divided into at least one queue area to monitor at least one queued queue. During monitoring, for each queue area, when a target person enters the queue in the queue area, the state information of the target person in the queue area is recorded, and when the target person is detected to leave the queue area, the recorded state information is updated, so that monitoring and queuing detection of a plurality of queuing queues through one device are realized, device resources are saved, the queuing detection efficiency is improved, and the embodiment is suitable for different queuing scenes, and has stronger flexibility.
Drawings
FIG. 1 is a flowchart illustrating steps of one embodiment of a method for queue detection in accordance with an illustrative embodiment of the present application;
FIG. 2 is a schematic view of a monitored area image shown in an exemplary embodiment of the present application;
FIG. 3 is a schematic view of a processed surveillance area image shown in an exemplary embodiment of the present application;
FIG. 4 is a schematic view of a processed surveillance area image shown in another exemplary embodiment of the present application;
FIG. 5 is a schematic view of a processed monitored area image shown in accordance with yet another exemplary embodiment of the present application;
FIG. 6 is a schematic diagram of an external storage device according to an exemplary embodiment of the present application;
FIG. 7 is a diagram illustrating a data statistics report according to an exemplary embodiment of the present application;
FIG. 8 is a hardware block diagram of the device in which the apparatus of the present application is located;
fig. 9 is a block diagram illustrating an exemplary embodiment of a queue detection apparatus according to the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
Referring to fig. 1, a flowchart illustrating steps of one embodiment of a method for queue detection is shown in an exemplary embodiment of the present application.
In an embodiment, the embodiment of the present application may be applied to a device with a monitoring function, such as a CAMERA, an NVR (Network Video Recorder), and the like, where the CAMERA may include an internet protocol CAMERA (IP CAMERA, abbreviated as IPC).
The embodiment of the application specifically comprises the following steps:
step 101, dividing a monitoring area into at least one queue area;
in this embodiment of the present application, the monitoring area may be divided into at least one queue area, so that the device can simultaneously monitor at least one queued queue in the monitoring area.
In a preferred embodiment of the present application, step 101 may further include the following sub-steps:
a substep S11 of sending the monitored area image to a management device for the management device to process the monitored area image at a first resolution: defining at least one closed area in the monitoring area image;
in a specific implementation, as shown in the schematic diagram of the monitored area image in fig. 2, at least one queuing queue (three queuing queues are included in fig. 2) may be included in the monitored area image. After the monitored area image of the current monitored area is acquired, the monitored area image can be sent to a management device connected with the monitored area image, wherein the management device can be a terminal device installed with a specified application program.
After receiving the monitored area image, the management device may display the monitored area image at the first resolution, and perform the following processing on the monitored area image: at least one closed region is defined in the monitored region image.
Specifically, after the management device displays the monitored area image, the user may define at least one closed area in the monitored area image through an editing tool provided on a display interface of the management device, for example, add a rectangular frame in the monitored area image. The closed area is an area defined by surrounding a queue in the monitoring area image. For example, for the three lines of queuing queues in the monitoring area image of fig. 2, after the user adds a rectangular frame to each line of queuing queues, the resulting processed monitoring area image may be as shown in fig. 3.
According to the method and the device, the queue closed region of each queuing queue in the monitoring region image is divided manually by the user, so that the flexibility of queue detection in a monitoring scene can be increased, and the division of the queue regions in various different scenes can be flexibly adjusted according to actual service requirements. For example, fig. 3 illustrates a region division situation in a relatively neat queue environment, and the region may be divided by three parallel queues. And fig. 4 is the area division under the irregular queue, and a user can adjust the closed area according to the actual queue condition, so that the flexibility of queuing statistics can be greatly improved.
It should be noted that one closed region may include one row or one column of queuing queues, or may include multiple rows or multiple columns of queuing queues, which may be specifically divided according to actual scenarios, and this is not limited in this embodiment of the present application. For example, in fig. 3 and 4, a closed area is a queue in a row, but in fig. 5, a closed area may include four rows of queues (e.g., queues that do not enter the office window), or a closed area includes a queue of people (e.g., office windows such as banks or customs), and these divisions are set for actual needs.
And a substep S12, receiving the processed monitoring region image sent by the management device, and mapping each closed region in the received monitoring region image into a queue region according to the size relationship between the second resolution and the first resolution.
After a user defines at least one closed region in a monitoring region image displayed by the management device, the management device may send the monitoring region image including the at least one closed region and the first resolution to the device, and the device may map each closed region in the received monitoring region image as a queue region according to a size relationship between a second resolution of the device and the first resolution.
For example, assuming that the second resolution of the apparatus is 1000 × 1000, the first resolution of the management apparatus is 100 × 100, and the second resolution is 10 times the first resolution, each closed region may be enlarged by ten times to obtain a corresponding queue region.
102, for each queue area, when it is monitored that a target person enters a queue in the queue area, recording state information of the target person in the queue area, tracking the target person through a target tracking algorithm, and updating the recorded state information when the target person leaves the queue area.
After the queue areas needing to be monitored are determined, target detection can be performed on each queue area so as to detect whether target people enter the queue areas or not. In implementation, whether a target person enters the queue area or not can be detected based on a relevant algorithm of area intrusion detection. For example, an area intrusion detection algorithm may include the following processes: and comparing the difference between the two or three frames of images before and after the comparison, and if the difference is greater than a preset threshold value, indicating that the target person enters the queue area.
When the target person enters the queue in the queue area, the state information of the target person in the queue area can be recorded. As an example, the status information of the target person in the queue area recorded above may include at least entry time information of the target person entering the queue area, the number of persons in the queue area when the target person enters the queue area, and the like.
Specifically, when it is monitored that the target person enters the queue area, an identification ID for identifying the target person may be assigned to the target person, and meanwhile, the entry time information when the target person enters the queue area and the number of people in the queue area when the target person enters the queue area may be recorded.
In practice, a counter may be set for each monitored queue area, and when one person is added to the queue area, the corresponding counter is increased by 1. That is, when it is detected that the target person enters the queue area, the counter of the queue area may be first incremented by 1, and then the count of the counter is obtained as the number of persons in the queue area.
Further, after the target person enters the queue area, a target tracking algorithm may be used to perform target tracking on the target person, and when it is detected that the target person leaves the queue area, the recorded state information may be updated.
In a preferred embodiment of the present application, the updating the recorded status information when the target person leaves the queue area includes:
when the target person leaves the queue area, recording the leaving time information of the target person leaving the queue area and the number of people in the queue area when the target person leaves the queue area; and determining the stay time information of the target person in the queue area according to the entering time information and the leaving time information.
Specifically, when it is detected that the target person leaves the queue area, the leaving time information of the target person leaving the queue area and the real-time number of people in line in the queue area when the target person leaves the queue area may be obtained, and in implementation, when the target person leaves the queue area, the counter in the queue area may be first decremented by 1, and then the count of the counter is obtained as the number of people in line in the queue area.
And then calculating the difference value of the entering time information and the leaving time information of the target person in the queue area to obtain the staying time information of the target person in the queue area.
The staying time may be a queuing time or an office time, for example, as shown in a queue area (i.e., a queuing window) shown in a large window of fig. 5, the staying time may be used as the queuing time, as shown in a queue area (i.e., an office window) shown in a small window of fig. 5, the staying time may be used as the office time, which may be determined specifically according to actual business requirements, which is not limited in this embodiment.
In a preferred embodiment of the present application, the method may further include the following steps:
and sending the state information to a storage device, and storing the state information by the storage device.
In a specific implementation, the present device may further be connected to a storage device, for example, as shown in fig. 6, the camera IPC may be connected to a storage device (e.g., a network video recorder NVR), and send the state information to the NVR for storage.
Specifically, when the entry time information of the target person entering the queue area and the real-time number of people in line in the queue area are obtained in step 102, the identifier of the target person, the entry time information, and the real-time number of people in line in the queue area may be sent to the storage device in real time, and the storage device stores the information. And when the target person is detected to leave the queue area, the leaving time information of the target person leaving the queue area and the real-time number of queuing people in the queue area are obtained, and the leaving information and the staying time information are sent to the storage equipment for storage.
On the storage device side, the received state information can be saved or updated in real time based on the good storage performance of the storage device, so as to be used for subsequent summary analysis. For example, the state information of the storage device side may include: the number RecNo of the event, the channel number ichan, the time zone iTimezone, the video file position authorization, the video file number ifileno, the ID targetID assigned when the target person enters the queue area, the queue area identification ruleID, the entering time information StateEntry of the target person entering the queue area, the leaving time information Staleave of the target person leaving the queue area, the uploading time UpdateTime of the device uploading the state information to the storage device last time, the staying time information waitTime of the target person in the queue area, the real-time number of queuing people in the queue area when the target person leaves the queue area, the real-time number of queuing people in the queue area when the target person enters the queue area, and the value of the field is updated to the real-time number of queuing people when the target person leaves the queue area.
Based on the status information stored in the storage device, a queued people statistics report generated for data summarization may be as shown in fig. 7.
Statistics and analysis of queuing information can effectively provide data support for the administrator's decision to further adjust and optimize the queuing process, for example, peak or low-peak queuing periods (as shown in fig. 7) can be obtained according to the analysis to better perform personnel scheduling or queue scheduling (e.g., scheduling personnel with longer queuing to fewer queuing, or adding queues when more personnel are queuing, etc.). For another example, the number of persons leaving the queue area in the time period between the entering time and the leaving time of the target person may be counted, and then the work efficiency of the office staff may be calculated according to the number and the stay time, so as to facilitate the staff assessment, and the like.
In the embodiment of the present application, the monitoring area may be divided into at least one queue area to monitor at least one queued queue. During monitoring, for each queue area, when a target person enters the queue in the queue area, the state information of the target person in the queue area is recorded, and when the target person is detected to leave the queue area, the recorded state information is updated, so that monitoring and queuing detection of a plurality of queuing queues through one device are realized, device resources are saved, the queuing detection efficiency is improved, and the embodiment is suitable for different queuing scenes, and has stronger flexibility.
Corresponding to the embodiment of the method, the application also provides an embodiment of a queue detection device.
The device embodiment of the application can be applied to electronic equipment. The device embodiments may be implemented by software, or by hardware, or by a combination of hardware and software. The software implementation is taken as an example, and is formed by reading corresponding computer program instructions in the nonvolatile memory into the memory for operation through the processor of the device where the software implementation is located as a logical means. From a hardware aspect, as shown in fig. 8, the hardware structure diagram of the device in the present application is a hardware structure diagram of an apparatus, except for the processor, the memory, the network interface, and the nonvolatile memory shown in fig. 8, the apparatus where the device is located in the embodiment may also include other hardware according to an actual function of the device, which is not described again.
Referring to fig. 9, a block diagram of a structure of an embodiment of a queue detection apparatus according to an exemplary embodiment of the present application is shown, where the block diagram may specifically include the following modules:
a queue area dividing module 901, configured to divide the monitoring area into at least one queue area;
a queue detection module 902, configured to record, for each queue area, state information of a target person in the queue area when it is monitored that the target person enters the queue in the queue area, track the target person through a target tracking algorithm, and update the recorded state information when the target person leaves the queue area.
In a preferred embodiment of the present application, the queue area dividing module 901 may include the following sub-modules:
a monitored area image sending submodule, configured to send a monitored area image to a management device, so that the management device performs the following processing on the monitored area image at a first resolution: defining at least one closed area in the monitoring area image;
the processing image receiving submodule is used for receiving the processed monitoring area image sent by the management equipment;
and the queue area mapping submodule is used for mapping each closed area in the received monitoring area image into a queue area according to the size relationship between the second resolution and the first resolution.
In a preferred embodiment of the present application, the recorded status information of the target person in the queue area at least includes: the number of the target person entering the queue area is the number of the target person entering the queue area.
In a preferred embodiment of the present application, the queue detecting module 902 is specifically configured to:
when the target person leaves the queue area, recording the leaving time information of the target person leaving the queue area and the number of people in the queue area when the target person leaves the queue area;
and determining the stay time information of the target person in the queue area according to the entering time information and the leaving time information.
In a preferred embodiment of the embodiments of the present application, the apparatus further comprises:
and the state information sending module is used for sending the state information to a storage device, and the storage device stores the state information.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the application. One of ordinary skill in the art can understand and implement it without inventive effort.
The embodiment of the application also provides electronic equipment which comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete mutual communication through the communication bus;
a memory for storing a computer program;
the processor, when executing the program stored in the memory, implements the method steps described in the embodiment of fig. 1.
The embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements the method steps described in the embodiment of fig. 1.
Embodiments of the subject matter and the functional operations described in this specification can be implemented in: digital electronic circuitry, tangibly embodied computer software or firmware, computer hardware including the structures disclosed in this specification and their structural equivalents, or a combination of one or more of them. Embodiments of the subject matter described in this specification can be implemented as one or more computer programs, i.e., one or more modules of computer program instructions, encoded on a tangible, non-transitory program carrier for execution by, or to control the operation of, data processing apparatus. Alternatively or additionally, the program instructions may be encoded on an artificially generated propagated signal, e.g., a machine-generated electrical, optical, or electromagnetic signal, that is generated to encode and transmit information to suitable receiver apparatus for execution by the data processing apparatus. The computer storage medium may be a machine-readable storage device, a machine-readable storage substrate, a random or serial access memory device, or a combination of one or more of them.
The processes and logic flows described in this specification can be performed by one or more programmable computers executing one or more computer programs to perform corresponding functions by operating on input data and generating output. The processes and logic flows can also be performed by, and apparatus can also be implemented as, special purpose logic circuitry, e.g., an FPGA (field programmable gate array) or an ASIC (application-specific integrated circuit).
Computers suitable for executing computer programs include, for example, general and/or special purpose microprocessors, or any other type of central processing unit. Generally, a central processing unit will receive instructions and data from a read-only memory and/or a random access memory. The basic components of a computer include a central processing unit for implementing or executing instructions and one or more memory devices for storing instructions and data. Generally, a computer will also include, or be operatively coupled to receive data from or transfer data to, or both, one or more mass storage devices for storing data, e.g., magnetic, magneto-optical disks, or optical disks. However, a computer does not necessarily have such a device. Further, the computer may be embedded in another device, e.g., a vehicle-mounted terminal, a mobile telephone, a Personal Digital Assistant (PDA), a mobile audio or video player, a game console, a Global Positioning System (GPS) receiver, or a portable storage device such as a Universal Serial Bus (USB) flash drive, to name a few.
Computer-readable media suitable for storing computer program instructions and data include all forms of non-volatile memory, media and memory devices, including by way of example semiconductor memory devices (e.g., EPROM, EEPROM, and flash memory devices), magnetic disks (e.g., an internal hard disk or a removable disk), magneto-optical disks, and CD ROM and DVD-ROM disks. The processor and the memory can be supplemented by, or incorporated in, special purpose logic circuitry.
While this specification contains many specific implementation details, these should not be construed as limitations on the scope of any invention or of what may be claimed, but rather as descriptions of features specific to particular embodiments of particular inventions. Certain features that are described in this specification in the context of separate embodiments can also be implemented in combination in a single embodiment. In other instances, features described in connection with one embodiment may be implemented as discrete components or in any suitable subcombination. Moreover, although features may be described above as acting in certain combinations and even initially claimed as such, one or more features from a claimed combination can in some cases be excised from the combination, and the claimed combination may be directed to a subcombination or variation of a subcombination.
Similarly, while operations are depicted in the drawings in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed, to achieve desirable results. In some cases, multitasking and parallel processing may be advantageous. Moreover, the separation of various system modules and components in the embodiments described above should not be understood as requiring such separation in all embodiments, and it should be understood that the described program components and systems can generally be integrated together in a single software product or packaged into multiple software products.
Thus, particular embodiments of the subject matter have been described. Other embodiments are within the scope of the following claims. In some cases, the actions recited in the claims can be performed in a different order and still achieve desirable results. Further, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some implementations, multitasking and parallel processing may be advantageous.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.

Claims (12)

1. A method of queued queue detection, the method comprising:
dividing a monitoring area into at least one queue area;
for each queue area, when monitoring that a target person enters the queue in the queue area, recording the state information of the target person in the queue area, tracking the target person through a target tracking algorithm, and updating the recorded state information when the target person leaves the queue area.
2. The method of claim 1, wherein the dividing the monitoring area into at least one queue area comprises:
transmitting a monitored area image to a management device to be processed by the management device at a first resolution by: defining at least one closed area in the monitoring area image;
and receiving the processed monitoring area image sent by the management equipment, and mapping each closed area in the received monitoring area image into a queue area according to the size relationship between the second resolution and the first resolution.
3. The method of claim 1, wherein the recorded status information of the target person in the queue area comprises at least: the number of the target person entering the queue area is the number of the target person entering the queue area.
4. The method of claim 3, wherein updating the recorded status information when the target person leaves the queue area comprises:
when the target person leaves the queue area, recording the leaving time information of the target person leaving the queue area and the number of people in the queue area when the target person leaves the queue area;
and determining the stay time information of the target person in the queue area according to the entering time information and the leaving time information.
5. The method according to any one of claims 1-4, further comprising:
and sending the state information to a storage device, and storing the state information by the storage device.
6. A queued queue detection apparatus, the apparatus comprising:
the queue area dividing module is used for dividing the monitoring area into at least one queue area;
and the queue detection module is used for recording the state information of the target personnel in the queue area when monitoring that the target personnel enter the queue in the queue area aiming at each queue area, tracking the target personnel through a target tracking algorithm, and updating the recorded state information when the target personnel leave the queue area.
7. The apparatus of claim 6, wherein the queue region partitioning module comprises:
a monitored area image sending submodule, configured to send a monitored area image to a management device, so that the management device performs the following processing on the monitored area image at a first resolution: defining at least one closed area in the monitoring area image;
the processing image receiving submodule is used for receiving the processed monitoring area image sent by the management equipment;
and the queue area mapping submodule is used for mapping each closed area in the received monitoring area image into a queue area according to the size relationship between the second resolution and the first resolution.
8. The apparatus of claim 7, wherein the recorded status information of the target person in the queue area comprises at least: the number of the target person entering the queue area is the number of the target person entering the queue area.
9. The apparatus of claim 8, wherein the queue detection module is specifically configured to:
when the target person leaves the queue area, recording the leaving time information of the target person leaving the queue area and the number of people in the queue area when the target person leaves the queue area;
and determining the stay time information of the target person in the queue area according to the entering time information and the leaving time information.
10. The apparatus of any one of claims 6-9, further comprising:
and the state information sending module is used for sending the state information to a storage device, and the storage device stores the state information.
11. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any one of claims 1 to 5 when executing a program stored in the memory.
12. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of claims 1-5.
CN201811532327.8A 2018-12-14 2018-12-14 Queuing queue detection method and device Active CN111325057B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811532327.8A CN111325057B (en) 2018-12-14 2018-12-14 Queuing queue detection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811532327.8A CN111325057B (en) 2018-12-14 2018-12-14 Queuing queue detection method and device

Publications (2)

Publication Number Publication Date
CN111325057A true CN111325057A (en) 2020-06-23
CN111325057B CN111325057B (en) 2024-02-27

Family

ID=71172392

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811532327.8A Active CN111325057B (en) 2018-12-14 2018-12-14 Queuing queue detection method and device

Country Status (1)

Country Link
CN (1) CN111325057B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112488626A (en) * 2020-11-30 2021-03-12 浙江中控技术股份有限公司 Material transfer control method and device and electronic equipment
CN112735019A (en) * 2021-01-20 2021-04-30 联仁健康医疗大数据科技股份有限公司 Queuing guidance method, device, system, electronic equipment and storage medium
WO2023077797A1 (en) * 2021-11-05 2023-05-11 上海商汤智能科技有限公司 Method and apparatus for analyzing queue

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105913037A (en) * 2016-04-26 2016-08-31 广东技术师范学院 Face identification and radio frequency identification based monitoring and tracking system
CN106845620A (en) * 2016-12-19 2017-06-13 江苏慧眼数据科技股份有限公司 A kind of passenger flow counting method based on quene state analysis
CN107153819A (en) * 2017-05-05 2017-09-12 中国科学院上海高等研究院 A kind of queue length automatic testing method and queue length control method
US20180061161A1 (en) * 2016-08-30 2018-03-01 Canon Kabushiki Kaisha Information processing apparatus, information processing method, and storage medium
CN108877024A (en) * 2018-07-01 2018-11-23 郑玉修 One kind sharing civilized queuing system and its queuing strategy

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105913037A (en) * 2016-04-26 2016-08-31 广东技术师范学院 Face identification and radio frequency identification based monitoring and tracking system
US20180061161A1 (en) * 2016-08-30 2018-03-01 Canon Kabushiki Kaisha Information processing apparatus, information processing method, and storage medium
CN106845620A (en) * 2016-12-19 2017-06-13 江苏慧眼数据科技股份有限公司 A kind of passenger flow counting method based on quene state analysis
CN107153819A (en) * 2017-05-05 2017-09-12 中国科学院上海高等研究院 A kind of queue length automatic testing method and queue length control method
CN108877024A (en) * 2018-07-01 2018-11-23 郑玉修 One kind sharing civilized queuing system and its queuing strategy

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112488626A (en) * 2020-11-30 2021-03-12 浙江中控技术股份有限公司 Material transfer control method and device and electronic equipment
CN112488626B (en) * 2020-11-30 2024-04-30 浙江中控技术股份有限公司 Material transfer control method and device and electronic equipment
CN112735019A (en) * 2021-01-20 2021-04-30 联仁健康医疗大数据科技股份有限公司 Queuing guidance method, device, system, electronic equipment and storage medium
CN112735019B (en) * 2021-01-20 2023-07-18 联仁健康医疗大数据科技股份有限公司 Queuing guide method, queuing guide device, queuing guide system, electronic equipment and storage medium
WO2023077797A1 (en) * 2021-11-05 2023-05-11 上海商汤智能科技有限公司 Method and apparatus for analyzing queue

Also Published As

Publication number Publication date
CN111325057B (en) 2024-02-27

Similar Documents

Publication Publication Date Title
CN111325057B (en) Queuing queue detection method and device
US10185628B1 (en) System and method for prioritization of data file backups
KR102217253B1 (en) Apparatus and method for analyzing behavior pattern
WO2018112722A1 (en) Video inspection method and system thereof
JP6780803B2 (en) Methods, identification devices and programs for identifying potential partners of at least one target person
US20180046858A1 (en) Methods and systems of performing blob filtering in video analytics
US10373015B2 (en) System and method of detecting moving objects
CN109960969B (en) Method, device and system for generating moving route
JPWO2017002240A1 (en) Surveillance system, photographing side device, and collation side device
JP2021535667A (en) Methods, devices and programs for determining periods of interest and at least one area of interest for managing events.
CN110826496B (en) Crowd density estimation method, device, equipment and storage medium
CN110705476A (en) Data analysis method and device, electronic equipment and computer storage medium
US20140177919A1 (en) Systems and Methods for Multi-Pass Adaptive People Counting
CN109564686A (en) The method and system of the motion model for object tracing device is updated in video analysis
CN116108491B (en) Data leakage early warning method, device and system based on semi-supervised federal learning
KR102511287B1 (en) Image-based pose estimation and action detection method and appratus
CN112530205A (en) Airport parking apron airplane state detection method and device
GB2581535A (en) Method and system for auto-setting video content analysis modules
EP3432575A1 (en) Method for performing multi-camera automatic patrol control with aid of statistics data in a surveillance system, and associated apparatus
WO2019147284A1 (en) Augmented reality based enhanced tracking
CN115836516B (en) Monitoring system
CN109815861B (en) User behavior information statistical method based on face recognition
CN112770081B (en) Parameter adjustment method and device of monitoring equipment, electronic equipment and storage medium
CN111008611B (en) Queuing time length determining method and device, storage medium and electronic device
CN111125022A (en) Method, device, equipment and storage medium for determining video coverage weight

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