CN111626081A - Method and device for determining state of loading and unloading port and storage medium - Google Patents

Method and device for determining state of loading and unloading port and storage medium Download PDF

Info

Publication number
CN111626081A
CN111626081A CN201910147770.1A CN201910147770A CN111626081A CN 111626081 A CN111626081 A CN 111626081A CN 201910147770 A CN201910147770 A CN 201910147770A CN 111626081 A CN111626081 A CN 111626081A
Authority
CN
China
Prior art keywords
loading
unloading port
detection period
video
vehicle
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
CN201910147770.1A
Other languages
Chinese (zh)
Other versions
CN111626081B (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.)
SF Technology Co Ltd
Original Assignee
SF 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 SF Technology Co Ltd filed Critical SF Technology Co Ltd
Priority to CN201910147770.1A priority Critical patent/CN111626081B/en
Publication of CN111626081A publication Critical patent/CN111626081A/en
Application granted granted Critical
Publication of CN111626081B publication Critical patent/CN111626081B/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/50Context or environment of the image
    • G06V20/52Surveillance or monitoring of activities, e.g. for recognising suspicious objects
    • 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/44Event detection

Landscapes

  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Economics (AREA)
  • Multimedia (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Development Economics (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Traffic Control Systems (AREA)

Abstract

The embodiment of the invention discloses a method and a device for determining the state of a loading and unloading port and a storage medium, wherein the method and the device are used for acquiring a loading and unloading port video; if the target loading and unloading port is detected to be in a vehicle-free state according to the loading and unloading port video in the first detection period, and the vehicle moving state of the target loading and unloading port is determined according to the loading and unloading port video in N continuous detection periods, determining the state of the target loading and unloading port according to the loading and unloading port video in the first detection period; and if the target loading and unloading port is detected to be in the vehicle-presence state according to the loading and unloading port video in the second detection period, and the vehicle-movement state of the target loading and unloading port is determined according to the loading and unloading port video in M continuous detection periods, determining the state of the target loading and unloading port according to the loading and unloading port video in the second detection period. The scheme judges the state of the loading and unloading port by combining a plurality of continuous states of the loading and unloading port, and can automatically and timely determine whether the loading and unloading port is in a vehicle-mounted state or a vehicle-free state.

Description

Method and device for determining state of loading and unloading port and storage medium
Technical Field
The invention relates to the field of image recognition, in particular to a method and a device for determining the state of a loading and unloading port and a storage medium.
Background
With the development of the logistics industry, the process of integrating goods in a centralized manner and then distributing the goods in a centralized manner becomes an essential process for improving the transportation efficiency. The centralized integration place of the cargos is a transfer station, and in order to improve the operation efficiency of a loading and unloading port in the transfer station, the state of the loading and unloading port needs to be monitored, the state of the loading and unloading port is automatically counted, and whether the loading and unloading port is idle or not can be assisted in vehicle dispatching.
But it is difficult to automatically judge the state of the loading and unloading port at present.
Disclosure of Invention
The embodiment of the invention provides a method and a device for determining the state of a loading and unloading port and a storage medium, which can automatically determine the state of the loading and unloading port.
In one aspect, the present application provides a method for determining a status of a loading port, where the method includes:
acquiring a loading and unloading port video, wherein the loading and unloading port video is a monitoring video corresponding to a target loading and unloading port;
if the target loading and unloading port is detected to be in a vehicle-free state according to the loading and unloading port video in a first detection period and N consecutive detection periods determine that the target loading and unloading port has a vehicle moving state according to the loading and unloading port video, determining the state of the target loading and unloading port according to the loading and unloading port video in a first detection period, wherein N is an integer greater than 1, the first detection period is a previous detection period of the N periods, and the first detection period is a detection period after the N detection periods;
and if the target loading and unloading port is detected to be in a vehicle-presence state according to the loading and unloading port video in a second detection period and M continuous detection periods determine that the target loading and unloading port has a vehicle moving state according to the loading and unloading port video, determining the state of the target loading and unloading port according to the loading and unloading port video in a second detection period, wherein M is an integer greater than 1, the second detection period is a previous detection period of the M periods, and the second detection period is a detection period after the M detection periods.
Optionally, in some embodiments, determining the state of the target loading port according to the loading port video in the first detection period includes:
and if the target loading and unloading port is determined to be in a working state according to the loading and unloading port video in the next detection period of the N detection periods, determining that the target loading and unloading port is in a vehicle-in state, and determining the time corresponding to the last detection period in which the vehicle moving state is detected as the vehicle arrival time.
Optionally, in some embodiments, determining the state of the target loading port according to the loading port video in the first detection period includes:
and if the target loading and unloading port is determined to be in a rest state according to the loading and unloading port video in P continuous detection periods after the N detection periods, determining that the target loading and unloading port is in a vehicle-on state, and determining the time corresponding to the last detection period in which the vehicle moving state is detected as the arrival time of the vehicle, wherein P is an integer larger than 1.
Optionally, in some embodiments, after acquiring the interface video, the method further includes:
if the target loading and unloading port is detected to be in a vehicle-free state according to the loading and unloading port video in a third detection period, and the target loading and unloading port is determined to be in a working state according to the loading and unloading port video in Q continuous detection periods, the target loading and unloading port is determined to be in a vehicle-on state, time corresponding to the detection period in which the Q-th detection period in which the target loading and unloading port is detected to be in the working state is determined to be vehicle arrival time, Q is an integer larger than 1, and the third detection period is a previous detection period of the Q detection periods.
Optionally, in some embodiments, determining the state of the target loading port according to the loading port video in the second detection period includes:
and if the target loading and unloading port is determined to be in the vehicle-free state according to the loading and unloading port video in R detection periods after the M periods, determining that the target loading and unloading port is in the vehicle-free state, and determining the time corresponding to the first detection period for detecting the moving state of the vehicle as the departure time of the vehicle, wherein R is an integer greater than 1.
Optionally, in some embodiments, determining the state of the target loading port according to the loading port video in the second detection period includes:
and if the target loading and unloading port is determined to have the vehicle moving state according to the loading and unloading port video in S detection periods after the M periods, determining that the target loading and unloading port is in the vehicle-free state, and determining the time corresponding to the first detection period for detecting the vehicle moving state as the vehicle departure time, wherein S is an integer larger than 1.
Optionally, in some embodiments, after acquiring the interface video, the method further includes:
detecting the proportion of the carriage in the video picture in the loading and unloading port video;
determining the state of the target loading port according to the loading port video in a first detection period, comprising: and determining the state of the target loading and unloading port according to the loading and unloading port video and the ratio in a first detection period.
Determining the state of the target loading port according to the loading port video in a second detection period, wherein the method comprises the following steps: and determining the state of the target loading and unloading port according to the loading and unloading port video and the ratio in a second detection period.
Correspondingly, an embodiment of the present invention further provides a device for determining a status of a loading/unloading port, including:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a loading and unloading port video which is a monitoring video corresponding to a target loading and unloading port;
a first determination unit, configured to determine a state of the target loading/unloading port according to the loading/unloading port video in a first detection period when the target loading/unloading port is detected to be in a vehicle-absent state according to the loading/unloading port video in a first detection period and it is determined that the target loading/unloading port has a vehicle moving state according to the loading/unloading port video in N consecutive detection periods, where N is an integer greater than 1, the first detection period is a previous detection period of the N periods, and the first detection period is a detection period subsequent to the N detection periods
And a second determining unit, configured to determine, when it is detected in a second detection period that the target loading port is in a vehicle-presence state according to the loading port video and it is determined that the target loading port has a vehicle-moving state according to the loading port video in M consecutive detection periods, a state of the target loading port according to the loading port video in a second detection period, where M is an integer greater than 1, the second detection period is a previous detection period of the M periods, and the second detection period is a detection period after the M detection periods.
Optionally, in some embodiments, the first determining unit is specifically configured to:
and if the target loading and unloading port is determined to be in a working state according to the loading and unloading port video in the next detection period of the N detection periods, determining that the target loading and unloading port is in a vehicle-in state, and determining the time corresponding to the last detection period in which the vehicle moving state is detected as the vehicle arrival time.
Optionally, in some embodiments, the first determining unit is specifically configured to:
and if the target loading and unloading port is determined to be in a rest state according to the loading and unloading port video in P continuous detection periods after the N detection periods, determining that the target loading and unloading port is in a vehicle-on state, and determining the time corresponding to the last detection period in which the vehicle moving state is detected as the arrival time of the vehicle, wherein P is an integer larger than 1.
Optionally, in some embodiments, the apparatus further comprises:
and the third determining unit is used for determining that the target loading and unloading port is in a vehicle-free state according to the loading and unloading port video in a third detection period and determining that the target loading and unloading port is in a working state according to the loading and unloading port video in Q continuous detection periods, and determining the time corresponding to the detection period in which the Q-th detection period in which the target loading and unloading port is in the working state as the arrival time of the vehicle, wherein Q is an integer greater than 1, and the third detection period is the previous detection period of the Q detection periods.
Optionally, in some embodiments, the second determining unit is specifically configured to:
and if the target loading and unloading port is determined to be in the vehicle-free state according to the loading and unloading port video in R detection periods after the M periods, determining that the target loading and unloading port is in the vehicle-free state, and determining the time corresponding to the first detection period for detecting the moving state of the vehicle as the departure time of the vehicle, wherein R is an integer greater than 1.
Optionally, in some embodiments, the second determining unit is further specifically configured to:
and if the target loading and unloading port is determined to have the vehicle moving state according to the loading and unloading port video in S detection periods after the M periods, determining that the target loading and unloading port is in the vehicle-free state, and determining the time corresponding to the first detection period for detecting the vehicle moving state as the vehicle departure time, wherein S is an integer larger than 1.
Optionally, in some embodiments, the apparatus further comprises:
the detection unit is used for detecting the proportion of the carriage in the video picture in the loading and unloading port video;
the first determining unit is specifically configured to: and determining the state of the target loading and unloading port according to the loading and unloading port video and the ratio in a first detection period.
The second determining unit is specifically configured to: and determining the state of the target loading and unloading port according to the loading and unloading port video and the ratio in a second detection period.
Yet another aspect of the present application provides a computer program product containing instructions which, when run on a computer, cause the computer to perform the method of the above-described aspects.
In addition, a storage medium is provided, where multiple instructions are stored, and the instructions are suitable for being loaded by a processor to perform the steps in any one of the methods for determining a status of a load port provided in the embodiments of the present application.
In the embodiment of the invention, a loading and unloading port state determining device acquires a loading and unloading port video, wherein the loading and unloading port video is a monitoring video corresponding to a target loading and unloading port; if the target loading and unloading port is detected to be in a vehicle-free state according to the loading and unloading port video in the first detection period and N continuous detection periods determine that the target loading and unloading port has a vehicle moving state according to the loading and unloading port video, determining the state of the target loading and unloading port according to the loading and unloading port video in the first detection period, wherein N is an integer greater than 1, the first detection period is a previous detection period of N periods, and the first detection period is a detection period after the N detection periods; and if the target loading and unloading port is detected to be in a vehicle-presence state according to the loading and unloading port video in the second detection period and M continuous detection periods determine that the target loading and unloading port is in a vehicle-movement state according to the loading and unloading port video, determining the state of the target loading and unloading port according to the loading and unloading port video in the second detection period, wherein M is an integer greater than 1, the first detection period is a previous detection period of the M periods, and the second detection period is a detection period after the M detection periods. The scheme judges the state of the loading and unloading port by combining a plurality of continuous states of the loading and unloading port, and can automatically and timely determine whether the loading and unloading port is in a vehicle-mounted state or a vehicle-free state.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1a is a schematic flowchart of a method for determining a status of a loading port according to an embodiment of the present application;
FIG. 1b is a schematic view of a center position of a car provided in an embodiment of the present application;
fig. 2 is another schematic flow chart of a status determination method for a loading/unloading port according to an embodiment of the present application;
FIG. 3a is a schematic structural diagram of a status determining apparatus for a loading/unloading port according to an embodiment of the present disclosure;
fig. 3b is a schematic structural diagram of a state determination device for a loading/unloading port according to an embodiment of the present application;
fig. 3c is another schematic structural diagram of a status determination device for a loading/unloading port according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a server according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description that follows, specific embodiments of the present application will be described with reference to steps and symbols executed by one or more computers, unless otherwise indicated. Accordingly, these steps and operations will be referred to, several times, as being performed by a computer, the computer performing operations involving a processing unit of the computer in electronic signals representing data in a structured form. This operation transforms the data or maintains it at locations in the computer's memory system, which may be reconfigured or otherwise altered in a manner well known to those skilled in the art. The data maintains a data structure that is a physical location of the memory that has particular characteristics defined by the data format. However, while the principles of the application have been described in language specific to above, it is not intended to be limited to the specific form set forth herein, and it will be recognized by those of ordinary skill in the art that various of the steps and operations described below may be implemented in hardware.
The principles of the present application may be employed in numerous other general-purpose or special-purpose computing, communication environments or configurations. Examples of well known computing systems, environments, and configurations that may be suitable for use with the application include, but are not limited to, hand-held telephones, personal computers, servers, multiprocessor systems, microcomputer-based systems, mainframe-based computers, and distributed computing environments that include any of the above systems or devices.
The terms "first", "second", and "third", etc. in this application are used to distinguish between different objects and not to describe a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions.
The embodiment of the invention provides a method and a device for determining the state of a loading and unloading port and a storage medium.
The method comprises the steps of analyzing each frame of image in a loading and unloading port video by adopting an image processing method based on deep learning, and determining the current state of the loading and unloading port (namely, classifying the state of the loading and unloading port), wherein the image in the loading and unloading port video comprises a three primary colors (RGB) graph and an optical flow graph.
In some embodiments, the classification of the instantaneous state of the load port corresponding to the load port video by combining the RGB diagram and the optical flow diagram specifically includes: converting the RGB image into a gray image, then performing channel superposition on the light flow image and the gray image to form a three-channel image, finally forming the three-channel image into one image, and finally classifying the image by using a neural network.
The device for determining the state of the loading and unloading port can be integrated in a server, and the state of the loading and unloading port can be determined automatically and timely by utilizing the device for determining the state of the loading and unloading port to determine whether the loading and unloading port is in a vehicle-in state or a vehicle-out state, wherein the method for determining the state of the loading and unloading port comprises the following steps:
acquiring a loading and unloading port video, wherein the loading and unloading port video is a monitoring video corresponding to a target loading and unloading port; if the target loading and unloading port is detected to be in a vehicle-free state according to the loading and unloading port video in a first detection period and N consecutive detection periods determine that the target loading and unloading port has a vehicle moving state according to the loading and unloading port video, determining the state of the target loading and unloading port according to the loading and unloading port video in a first detection period, wherein N is an integer greater than 1, the first detection period is a previous detection period of the N periods, and the first detection period is a detection period after the N detection periods; and if the target loading and unloading port is detected to be in a vehicle-presence state according to the loading and unloading port video in a second detection period and M continuous detection periods determine that the target loading and unloading port has a vehicle moving state according to the loading and unloading port video, determining the state of the target loading and unloading port according to the loading and unloading port video in a second detection period, wherein M is an integer greater than 1, the second detection period is a previous detection period of the M periods, and the second detection period is a detection period after the M detection periods.
Referring to fig. 1a, fig. 1a is a schematic flow chart illustrating a status determination method for a loading/unloading port in an embodiment of the present application. The specific process of the method can be as follows:
101. and acquiring a loading and unloading port video.
The camera may be included in the status determination device of the load port or may be included outside the status determination device of the load port, wherein the target load port is a load port for which the status of the load port needs to be automatically determined, and the load port video is a surveillance video corresponding to the target load port.
The monitoring video comprises a real-time video or a historical video corresponding to the target loading and unloading port.
102. And if the target loading and unloading port is detected to be in the vehicle-free state according to the loading and unloading port video in the first detection period and the vehicle moving state of the target loading and unloading port is determined according to the loading and unloading port video in N continuous detection periods, determining the state of the target loading and unloading port according to the loading and unloading port video in the first detection period.
The method comprises the following steps that N is an integer larger than 1, a first detection period is a previous detection period of N periods, the first detection period is a detection period after the N detection periods, and the first detection period comprises one or more detection periods;
that is, if the target loading and unloading port is detected to be in the vehicle-free state according to the loading and unloading port video in the previous detection period and the vehicle moving state of the target loading and unloading port is determined according to the loading and unloading port video in N consecutive detection periods, the state of the target loading and unloading port is determined according to the loading and unloading port video in the next detection period.
The duration of each frame of image may be used as a detection period in the present application, and N in the embodiment of the present application may be 3 or an integer greater than 3.
In some embodiments, determining the status of the target port from the port video includes:
if the target loading and unloading port is determined to be in the working state according to the loading and unloading port video in the next detection period of the N detection periods, determining that the target loading and unloading port is in the vehicle-in state (namely, a vehicle arrives at port), and determining the time corresponding to the last detection period for detecting the moving state of the vehicle as the arrival time of the vehicle.
And a process for the preparation of a coating,
and if P detection periods which are continuous after the N detection periods determine that the target loading and unloading port is in a rest state according to the loading and unloading port video, determining that the target loading and unloading port is in a vehicle-in state, and determining the time corresponding to the last detection period in which the vehicle movement state is detected as the arrival time of the vehicle, wherein P is an integer larger than 1, and can be 5.
In addition, when the abnormal event is dealt with, for example, when the moving state of the vehicle cannot be detected due to the blocking of the cargo on the vehicle, in this case, if it is detected that the target port is in the no-vehicle state from the port video in the third detection period, and Q consecutive detection periods determine that the target port is in the operating state from the port video, it is possible to determine that the target port has the vehicle arrival time, and determine the time corresponding to the Q-th detection period in which the target port is detected to be in the operating state, Q being an integer greater than 1, and Q being preferably 10, as the vehicle arrival time.
In some embodiments, if the target loading port is detected to be in a vehicle-free state according to the loading port video, and N consecutive detection periods determine that the vehicle moving state exists at the target loading port according to the loading port video, but the vehicle moving state is detected in three consecutive detection periods, the vehicle moving needs to be detected again, and the state of the loading port is not changed.
In some embodiments, when the target loading/unloading port is determined to be in a vehicle-in state, the state needs to be sent to a control center, and the control center is used for arranging the vehicle to transfer.
In some embodiments, after the obtaining the dock video, the method further comprises: the occupancy ratio of the car in the video picture in the loading and unloading port video is detected.
At this time, determining the state of the target port from the port video at a first detection period includes: and determining the state of the target loading and unloading port according to the loading and unloading port video and the ratio in a first detection period.
Specifically, if the traffic occupancy of the target port is determined from the port video at the first detection period (i.e., the presence of the vehicle arrives at the port) and the occupancy of the vehicle compartment is greater than the first threshold value, the target port is finally determined to be the traffic occupancy at this time.
Wherein the first threshold may be 70%.
Namely, the embodiment of the invention can also judge the arrival of the vehicle by combining the occupation ratio of the carriage in the video picture, thereby improving the accuracy of the judgment of the arrival of the vehicle.
In some embodiments, the status of the loading/unloading port is determined by combining the coordinates of the center position of the car in addition to the proportion of the car, wherein the range corresponding to the coordinates of the center position of the car is required to be within the preset range, and the proportion of the car is greater than the first threshold value, then it is determined that there is a vehicle arriving, and as shown in fig. 1b, the center position of the car is required to be within the range a.
103. And if the target loading and unloading port is detected to be in a vehicle-existing state according to the loading and unloading port video in the second detection period and M continuous detection periods determine that the vehicle-moving state of the target loading and unloading port exists according to the loading and unloading port video, determining the state of the target loading and unloading port according to the loading and unloading port video in the second detection period.
If the target loading and unloading port is detected to be in the vehicle-existing state according to the loading and unloading port video in the previous detection period (namely, the second detection period), and the vehicle moving state of the target loading and unloading port is determined according to the loading and unloading port video in M continuous detection periods, the state of the target loading and unloading port is determined according to the loading and unloading port video in the second detection period.
In the embodiment of the present invention, M is an integer greater than 1, and preferably 3, or an integer greater than 3, the second detection period is a previous detection period of the M periods, and the second detection period is a detection period after the M detection periods, where the second detection period includes one or more detection periods.
In some embodiments, the determining, by the second detection period, the state of the target port according to the port video specifically includes:
if the target loading and unloading port is determined to be in the vehicle-free state according to the loading and unloading port video in R detection periods after the M periods, determining that the target loading and unloading port is in the vehicle-free state (namely, the vehicle leaves the port), and determining the time corresponding to the first detection period for detecting the moving state of the vehicle as the vehicle leaving time, wherein R is an integer greater than 1, and preferably 3 or an integer greater than 3.
And a process for the preparation of a coating,
and if the target loading and unloading port is determined to have the vehicle moving state according to the loading and unloading port video in S detection periods after the M periods, determining that the target loading and unloading port is in the vehicle-free state, and determining the time corresponding to the first detection period for detecting the vehicle moving state as the vehicle departure time, wherein S is an integer larger than 1, and preferably 57.
If the target loading and unloading port is detected to be in a vehicle-presence state according to the loading and unloading port video in the previous detection period and M continuous detection periods determine that the target loading and unloading port has a vehicle moving state according to the loading and unloading port video, but the target loading and unloading port is detected to be in a working state or a rest state, the state of the target loading and unloading port is continuously detected according to the loading and unloading port video.
In some embodiments, when the target load port is determined to be in a no-vehicle state, the state needs to be sent to the control center.
In some embodiments, after the obtaining the dock video, the method further comprises: the occupancy ratio of the car in the video picture in the loading and unloading port video is detected.
At this time, determining the state of the target port from the port video at a second detection period includes: and determining the state of the target loading and unloading port according to the loading and unloading port video and the ratio in the second detection period.
Specifically, if it is determined from the port video that the target port is in the vehicle-absent state (i.e., that a vehicle is present at the departure) during the second detection period and the occupancy of the vehicle compartment is less than the second threshold value, it is finally determined that the target port is in the vehicle-absent state at this time.
Wherein the second threshold may be 20%.
Namely, the embodiment of the invention can also judge the departure of the vehicle by combining the occupation ratio of the carriage in the video picture, thereby improving the accuracy of the judgment of the departure of the vehicle.
In some embodiments, the status of the loading/unloading port is determined by combining the coordinates of the center position of the car, wherein the range corresponding to the coordinates of the center position of the car is required to be within the preset range, and the ratio of the car is less than the second threshold value, and it is determined that there is a vehicle leaving the port, as shown in fig. 1b, and the center position of the car is required to be within the range a.
In some embodiments, after acquiring the dock video, the method further comprises: the state of the loading and unloading port is determined through the loading and unloading port video, when a vehicle arrives at the port but does not enter a working state after a plurality of detection periods, a reminding message needs to be sent to a control center at the moment, so that a manager can dispatch personnel to the loading and unloading port to execute loading and unloading behaviors or monitor the personnel in the loading and unloading port to work, and the energy efficiency of the personnel is improved.
In the embodiment of the invention, a loading and unloading port state determining device acquires a loading and unloading port video, wherein the loading and unloading port video is a monitoring video corresponding to a target loading and unloading port; if the target loading and unloading port is detected to be in a vehicle-free state according to the loading and unloading port video in the first detection period and N continuous detection periods determine that the target loading and unloading port has a vehicle moving state according to the loading and unloading port video, determining the state of the target loading and unloading port according to the loading and unloading port video in the first detection period, wherein N is an integer greater than 1, the first detection period is a previous detection period of N periods, and the first detection period is a detection period after the N detection periods; and if the target loading and unloading port is detected to be in a vehicle-presence state according to the loading and unloading port video in the second detection period and M continuous detection periods determine that the target loading and unloading port is in a vehicle-movement state according to the loading and unloading port video, determining the state of the target loading and unloading port according to the loading and unloading port video in the second detection period, wherein M is an integer greater than 1, the first detection period is a previous detection period of the M periods, and the second detection period is a detection period after the M detection periods. The scheme judges the state of the loading and unloading port by combining a plurality of continuous states of the loading and unloading port, and can automatically and timely determine whether the loading and unloading port is in a vehicle-mounted state or a vehicle-free state.
The invention can automatically judge the state of the loading and unloading port, so the cost of manual monitoring can be reduced, and the accuracy of judging the state of the loading and unloading port can be further improved by combining the detection result of the carriage to assist the judgment of the arrival and departure of the vehicle.
Referring to fig. 2, fig. 2 is another schematic flow chart of a status determination method for a loading/unloading port according to an embodiment of the present disclosure. The specific process of the method can be as follows:
201. and acquiring a loading and unloading port video.
The camera may be included in the status determination device of the load port or may be included outside the status determination device of the load port, wherein the target load port is a load port for which the status of the load port needs to be automatically determined, and the load port video is a surveillance video corresponding to the target load port.
The monitoring video comprises a real-time video or a historical video corresponding to the target loading and unloading port.
202. The occupancy ratio of the car in the video picture in the loading and unloading port video is detected.
In some embodiments, the status of the loading/unloading port is determined by combining the coordinates of the center position of the car in addition to the proportion of the car, wherein the range corresponding to the coordinates of the center position of the car is required to be within the preset range, and the proportion of the car is greater than the first threshold value, then it is determined that there is a vehicle arriving, and as shown in fig. 1b, the center position of the car is required to be within the range a.
203. And if the target loading and unloading port is detected to be in the vehicle-free state according to the loading and unloading port video in the first detection period and the vehicle moving state of the target loading and unloading port is determined according to the loading and unloading port video in N continuous detection periods, determining the state of the target loading and unloading port according to the loading and unloading port video in the first detection period.
Wherein, N is an integer greater than 1, the first detection cycle is a previous detection cycle of N cycles, and the first detection period is a detection period after the N detection cycles;
and if the target loading and unloading port is detected to be in the vehicle-free state according to the loading and unloading port video in the previous detection period and the vehicle moving state of the target loading and unloading port is determined according to the loading and unloading port video in N continuous periods, determining the state of the target loading and unloading port according to the loading and unloading port video.
The duration of each frame of image may be used as a detection period, in this embodiment, N is an integer greater than 1, and N is preferably 3, or an integer greater than 3.
In some embodiments, determining the status of the target port from the port video includes:
and if the target loading and unloading port is determined to be in the working state according to the loading and unloading port video in the next detection period of the N detection periods, determining that the target loading and unloading port is in the vehicle-in state, and determining the time corresponding to the last detection period for detecting the moving state of the vehicle as the arrival time of the vehicle.
And a process for the preparation of a coating,
and if P detection periods which are continuous after the N detection periods determine that the target loading and unloading port is in a rest state according to the loading and unloading port video, determining that the target loading and unloading port is in a vehicle-in state, and determining the time corresponding to the last detection period in which the vehicle movement state is detected as the arrival time of the vehicle, wherein P is an integer larger than 1, and can be 5.
In addition, when dealing with an abnormal event, for example, when the moving state of the vehicle cannot be detected due to the blocking of the cargo on the vehicle, in this case, after the port video is acquired, if it is detected that the target port is in the no-vehicle state from the port video in the third detection period and the target port is determined to be in the operating state from the port video in Q consecutive detection periods, it is possible to determine that the target port has the vehicle arrived at, and determine the time corresponding to the Q-th detection period in which the target port is detected to be in the operating state as the vehicle arrival time, Q being an integer greater than 1 and preferably 10, and the third detection period being the previous detection period of the Q detection periods.
In some embodiments, if the target loading port is detected to be in a vehicle-free state according to the loading port video, and N consecutive detection periods determine that the vehicle moving state exists at the target loading port according to the loading port video, but the vehicle moving state is detected in three consecutive detection periods, the vehicle moving needs to be detected again, and the state of the loading port is not changed.
204. And determining the state of the target loading and unloading port according to the loading and unloading port video and the ratio in the first detection period.
In some embodiments, when the target port is determined to be in the vehicle-available state (i.e., the vehicle arrives at port) according to the port video in the first detection period and the occupancy is greater than the first threshold, the port is actually determined to be in the vehicle-available state, and when the target port is determined to be in the vehicle-available state, the state needs to be sent to a control center, and the control center is used for arranging the vehicle to be transferred.
Wherein the first threshold may be 70%.
In some embodiments, the status of the loading/unloading port is determined by combining the coordinates of the center position of the car in addition to the proportion of the car, wherein the range corresponding to the coordinates of the center position of the car is required to be within the preset range, and the proportion of the car is greater than the first threshold value, then it is determined that there is a vehicle arriving, and as shown in fig. 1b, the center position of the car is required to be within the range a.
That is, in this case, it is necessary to determine whether or not a vehicle arrives at a port, that is, whether or not the target port is changed from the empty state to the occupied state, by combining the behavior state of the vehicle at the port, the occupancy of the vehicle compartment, and the center position of the vehicle compartment.
205. And if the target loading and unloading port is detected to be in a vehicle-existing state according to the loading and unloading port video in the second detection period and M continuous detection periods determine that the vehicle-moving state of the target loading and unloading port exists according to the loading and unloading port video, determining the state of the target loading and unloading port according to the loading and unloading port video in the second detection period.
And if the target loading and unloading port is detected to be in a vehicle-existing state according to the loading and unloading port video and the vehicle moving state of the target loading and unloading port is determined according to the loading and unloading port video in M continuous detection periods, determining the state of the target loading and unloading port according to the loading and unloading port video.
If the target loading and unloading port is detected to be in the vehicle-on state according to the loading and unloading port video in the previous detection period (namely, the second detection period), and the vehicle moving state of the target loading and unloading port is determined according to the loading and unloading port video in M continuous detection periods, whether the vehicle is off duty at the target loading and unloading port is determined according to the loading and unloading port video in the second detection period.
In the embodiment of the present invention, M is an integer greater than 1, and preferably 3, or an integer greater than 3, the second detection period is a previous detection period of the M periods, and the second detection period is a detection period after the M detection periods.
In some embodiments, determining the status of the target port from the port video specifically includes:
if the target loading and unloading port is determined to be in the vehicle-free state according to the loading and unloading port video in R detection periods after the M periods, determining that the target loading and unloading port is in the vehicle-free state (namely, the vehicle leaves the port), and determining the time corresponding to the first detection period for detecting the moving state of the vehicle as the vehicle leaving time, wherein R is an integer greater than 1, and preferably 3 or an integer greater than 3.
And a process for the preparation of a coating,
and if the target loading and unloading port is determined to have the vehicle moving state according to the loading and unloading port video in S detection periods after the M periods, determining that the target loading and unloading port has the vehicle departure, and determining the time corresponding to the first detection period for detecting the vehicle moving state as the vehicle departure time, wherein S is an integer greater than 1, and preferably 57.
In some embodiments, when the target load port is determined to be in a no-vehicle state, the state needs to be sent to the control center.
206. And determining the state of the target loading and unloading port according to the loading and unloading port video and the ratio in the second detection period. .
Specifically, if it is determined from the port video that the target port is in the vehicle-absent state (i.e., that a vehicle is present at the departure) during the second detection period and the occupancy of the vehicle compartment is less than the second threshold value, it is finally determined that the target port is in the vehicle-absent state at this time.
Wherein the second threshold may be 20%.
In some embodiments, when the target load port is determined to be in a no-vehicle state, the state needs to be sent to the control center.
In some embodiments, in addition to the occupancy of the car, a state determined by combining the coordinates of the center position of the car, wherein the range corresponding to the coordinates of the center position of the car is required to be within the preset range, and the occupancy of the car is less than the second threshold value, it is determined that there is a vehicle departing, and as shown in fig. 1b, the center position of the car is required to be within the range a.
In some embodiments, after acquiring the dock video, the method further comprises: the state of the loading and unloading port is determined through the loading and unloading port video, when a vehicle arrives at the port but does not enter a working state after a plurality of detection periods, a reminding message needs to be sent to a control center at the moment, so that a manager can dispatch personnel to the loading and unloading port to execute loading and unloading behaviors or monitor the personnel in the loading and unloading port to work, and the energy efficiency of the personnel is improved.
In the embodiment of the invention, a loading and unloading port state determining device acquires a loading and unloading port video, wherein the loading and unloading port video is a monitoring video corresponding to a target loading and unloading port; if the target loading and unloading port is detected to be in a vehicle-free state according to the loading and unloading port video in the first detection period and N continuous detection periods determine that the target loading and unloading port has a vehicle moving state according to the loading and unloading port video, determining the state of the target loading and unloading port according to the loading and unloading port video in the first detection period, wherein N is an integer greater than 1, the first detection period is a previous detection period of N periods, and the first detection period is a detection period after the N detection periods; and if the target loading and unloading port is detected to be in a vehicle-presence state according to the loading and unloading port video in the second detection period and M continuous detection periods determine that the target loading and unloading port is in a vehicle-movement state according to the loading and unloading port video, determining the state of the target loading and unloading port according to the loading and unloading port video in the second detection period, wherein M is an integer greater than 1, the first detection period is a previous detection period of the M periods, and the second detection period is a detection period after the M detection periods. The scheme judges the state of the loading and unloading port by combining a plurality of continuous states of the loading and unloading port, and can automatically and timely determine whether the loading and unloading port is in a vehicle-mounted state or a vehicle-free state.
In order to better implement the method for determining the status of the load port provided in the embodiments of the present application, the embodiments of the present application further provide a device for determining the status of the load port, and the device for determining the status of the load port may be specifically integrated in a server. The terms are the same as those in the above-described method for determining the state of the loading/unloading port, and the details of the embodiment of the method can be referred to.
Referring to fig. 3a, fig. 3a is a schematic structural diagram of a status determination apparatus of a loading/unloading port according to an embodiment of the present application, where the status determination apparatus of the loading/unloading port includes: the acquisition unit 301, the first determination unit 302, and the second determination unit 303 are as follows:
an obtaining unit 301, configured to obtain a loading and unloading port video, where the loading and unloading port video is a monitoring video corresponding to a target loading and unloading port;
a first determining unit 302, configured to determine a state of the target loading dock according to the loading dock video in a first detection period when the target loading dock is detected to be in a vehicle-out state according to the loading dock video in a first detection period and it is determined that the target loading dock has a vehicle moving state according to the loading dock video in N consecutive detection periods, where N is an integer greater than 1, the first detection period is a previous detection period of the N periods, and the first detection period is a detection period after the N detection periods
A second determining unit 303, configured to determine, in a second detection period, the state of the target loading dock according to the loading dock video, when it is detected that the target loading dock is in a vehicle-present state according to the loading dock video in a second detection period and M consecutive detection periods determine that the target loading dock has a vehicle-moving state according to the loading dock video, where M is an integer greater than 1, the second detection period is a previous detection period of the M periods, and the second detection period is a detection period after the M detection periods.
In some embodiments, the first determining unit 302 is specifically configured to:
and if the target loading and unloading port is determined to be in a working state according to the loading and unloading port video in the next detection period of the N detection periods, determining that the target loading and unloading port is in a vehicle-in state, and determining the time corresponding to the last detection period in which the vehicle moving state is detected as the vehicle arrival time.
In some embodiments, the first determining unit 302 is specifically configured to:
and if the target loading and unloading port is determined to be in a rest state according to the loading and unloading port video in P continuous detection periods after the N detection periods, determining that the target loading and unloading port is in a vehicle-on state, and determining the time corresponding to the last detection period in which the vehicle moving state is detected as the arrival time of the vehicle, wherein P is an integer larger than 1.
Referring to fig. 3b, in some embodiments, the apparatus further comprises:
a third determining unit 304, configured to determine that the target loading port is in a vehicle-available state when it is detected that the target loading port is in a vehicle-absent state according to the loading port video in a third detection period and Q consecutive detection periods determine that the target loading port is in a working state according to the loading port video, and determine a time corresponding to a Q-th detection period in which the target loading port is detected to be in the working state as a vehicle arrival time, where Q is an integer greater than 1, and the third detection period is a previous detection period of the Q detection periods.
In some embodiments, the second determining unit 303 is specifically configured to:
and if the target loading and unloading port is determined to be in the vehicle-free state according to the loading and unloading port video in R detection periods after the M periods, determining that the target loading and unloading port is in the vehicle-free state, and determining the time corresponding to the first detection period for detecting the moving state of the vehicle as the departure time of the vehicle, wherein R is an integer greater than 1.
In some embodiments, the second determining unit 303 is further specifically configured to:
and if the target loading and unloading port is determined to have the vehicle moving state according to the loading and unloading port video in S detection periods after the M periods, determining that the target loading and unloading port is in the vehicle-free state, and determining the time corresponding to the first detection period for detecting the vehicle moving state as the vehicle departure time, wherein S is an integer larger than 1.
In some embodiments, as shown in fig. 3c, the apparatus further comprises:
a detection unit 305 for detecting the proportion of the car in the video image in the loading/unloading port video;
the first determining unit 302 is specifically configured to: and determining the state of the target loading and unloading port according to the loading and unloading port video and the ratio in a first detection period.
The second determining unit 303 is specifically configured to: and determining the state of the target loading and unloading port according to the loading and unloading port video and the ratio in a second detection period.
In the embodiment of the present invention, the obtaining unit 301 obtains a loading and unloading port video, where the loading and unloading port video is a monitoring video corresponding to a target loading and unloading port; if the target loading port is detected to be in the vehicle-free state according to the loading port video in the first detection period and the vehicle moving state of the target loading port is determined according to the loading port video in N consecutive detection periods, the first determining unit 302 determines the state of the target loading port according to the loading port video in the first detection period, wherein N is an integer greater than 1, the first detection period is a previous detection period of N periods, and the first detection period is a detection period after the N detection periods; if the target loading port is detected to be in the vehicle-presence state according to the loading port video in the second detection period and the vehicle-movement state of the target loading port is determined according to the loading port video in M consecutive detection periods, the second determining unit 303 determines the state of the target loading port according to the loading port video in the second detection period, wherein M is an integer greater than 1, the first detection period is a previous detection period of the M periods, and the second detection period is a detection period after the M detection periods. The scheme judges the state of the loading and unloading port by combining a plurality of continuous states of the loading and unloading port, and can automatically and timely determine whether the loading and unloading port is in a vehicle-mounted state or a vehicle-free state.
Referring to fig. 4, an embodiment of the present invention provides a server 400, which may include one or more processors 401 of a processing core, one or more memories 402 of a computer-readable storage medium, a Radio Frequency (RF) circuit 403, a power supply 404, an input unit 405, and a display unit 406. Those skilled in the art will appreciate that the server architecture shown in FIG. 4 is not meant to be limiting, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the processor 401 is a control center of the server, connects various parts of the entire server using various interfaces and lines, and performs various functions of the server and processes data by running or executing software programs and/or modules stored in the memory 402 and calling data stored in the memory 402, thereby performing overall monitoring of the server. Optionally, processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 401.
The memory 402 may be used to store software programs and modules, and the processor 401 executes various functional applications and data processing by operating the software programs and modules stored in the memory 402.
The RF circuit 403 may be used for receiving and transmitting signals during the process of transmitting and receiving information.
The server also includes a power supply 404 (e.g., a battery) for powering the various components, which may preferably be logically connected to the processor 401 via a power management system to manage charging, discharging, and power consumption management functions via the power management system.
The server may further include an input unit 405, and the input unit 405 may be used to receive input numeric or character information and generate a keyboard, mouse, joystick, optical or trackball signal input in relation to user settings and function control.
The server may also include a display unit 406, and the display unit 406 may be used to display information input by or provided to the user as well as various graphical user interfaces of the server, which may be made up of graphics, text, icons, video, and any combination thereof. Specifically, in this embodiment, the processor 401 in the server loads the executable file corresponding to the process of one or more application programs into the memory 402 according to the following instructions, and the processor 401 runs the application program stored in the memory 402, thereby implementing various functions as follows:
acquiring a loading and unloading port video, wherein the loading and unloading port video is a monitoring video corresponding to a target loading and unloading port;
if the target loading and unloading port is detected to be in a vehicle-free state according to the loading and unloading port video in a first detection period and N consecutive detection periods determine that the target loading and unloading port has a vehicle moving state according to the loading and unloading port video, determining the state of the target loading and unloading port according to the loading and unloading port video in a first detection period, wherein N is an integer greater than 1, the first detection period is a previous detection period of the N periods, and the first detection period is a detection period after the N detection periods;
and if the target loading and unloading port is detected to be in a vehicle-presence state according to the loading and unloading port video in a second detection period and M continuous detection periods determine that the target loading and unloading port has a vehicle moving state according to the loading and unloading port video, determining the state of the target loading and unloading port according to the loading and unloading port video in a second detection period, wherein M is an integer greater than 1, the second detection period is a previous detection period of the M periods, and the second detection period is a detection period after the M detection periods.
As can be seen from the above, in the embodiment of the present invention, the loading and unloading port video is obtained, and the loading and unloading port video is the monitoring video corresponding to the target loading and unloading port; if the target loading and unloading port is detected to be in a vehicle-free state according to the loading and unloading port video in the first detection period and N continuous detection periods determine that the target loading and unloading port has a vehicle moving state according to the loading and unloading port video, determining the state of the target loading and unloading port according to the loading and unloading port video in the first detection period, wherein N is an integer greater than 1, the first detection period is a previous detection period of N periods, and the first detection period is a detection period after the N detection periods; and if the target loading and unloading port is detected to be in a vehicle-presence state according to the loading and unloading port video in the second detection period and M continuous detection periods determine that the target loading and unloading port is in a vehicle-movement state according to the loading and unloading port video, determining the state of the target loading and unloading port according to the loading and unloading port video in the second detection period, wherein M is an integer greater than 1, the first detection period is a previous detection period of the M periods, and the second detection period is a detection period after the M detection periods. The scheme judges the state of the loading and unloading port by combining a plurality of continuous states of the loading and unloading port, and can automatically and timely determine whether the loading and unloading port is in a vehicle-mounted state or a vehicle-free state.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, the present invention provides a storage medium, in which a plurality of instructions are stored, where the instructions can be loaded by a processor to execute the steps in any one of the face image processing methods provided by the embodiments of the present invention. For example, the instructions may perform the steps of:
acquiring a loading and unloading port video, wherein the loading and unloading port video is a monitoring video corresponding to a target loading and unloading port;
if the target loading and unloading port is detected to be in a vehicle-free state according to the loading and unloading port video in a first detection period and N consecutive detection periods determine that the target loading and unloading port has a vehicle moving state according to the loading and unloading port video, determining the state of the target loading and unloading port according to the loading and unloading port video in a first detection period, wherein N is an integer greater than 1, the first detection period is a previous detection period of the N periods, and the first detection period is a detection period after the N detection periods;
and if the target loading and unloading port is detected to be in a vehicle-presence state according to the loading and unloading port video in a second detection period and M continuous detection periods determine that the target loading and unloading port has a vehicle moving state according to the loading and unloading port video, determining the state of the target loading and unloading port according to the loading and unloading port video in a second detection period, wherein M is an integer greater than 1, the second detection period is a previous detection period of the M periods, and the second detection period is a detection period after the M detection periods.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium may execute the steps in any method for determining a status of a load port provided in the embodiment of the present invention, beneficial effects that can be achieved by any method for determining a status of a load port provided in the embodiment of the present invention can be achieved, for details, see the foregoing embodiments, and are not described herein again.
The present invention provides a method, an apparatus and a storage medium for determining a status of a loading/unloading port, which are provided by the embodiments of the present invention, and a specific example is applied to illustrate the principle and the implementation of the present invention, and the description of the embodiments is only used to help understanding the method and the core idea of the present invention; meanwhile, for those skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A method for determining a state of a load port, comprising:
acquiring a loading and unloading port video, wherein the loading and unloading port video is a monitoring video corresponding to a target loading and unloading port;
if the target loading and unloading port is detected to be in a vehicle-free state according to the loading and unloading port video in a first detection period and N consecutive detection periods determine that the target loading and unloading port has a vehicle moving state according to the loading and unloading port video, determining the state of the target loading and unloading port according to the loading and unloading port video in a first detection period, wherein N is an integer greater than 1, the first detection period is a previous detection period of the N periods, and the first detection period is a detection period after the N detection periods;
and if the target loading and unloading port is detected to be in a vehicle-presence state according to the loading and unloading port video in a second detection period and M continuous detection periods determine that the target loading and unloading port has a vehicle moving state according to the loading and unloading port video, determining the state of the target loading and unloading port according to the loading and unloading port video in a second detection period, wherein M is an integer greater than 1, the second detection period is a previous detection period of the M periods, and the second detection period is a detection period after the M detection periods.
2. The method of claim 1, wherein determining the status of the target port from the port video during a first detection period comprises:
and if the target loading and unloading port is determined to be in a working state according to the loading and unloading port video in the next detection period of the N detection periods, determining that the target loading and unloading port is in a vehicle-in state, and determining the time corresponding to the last detection period in which the vehicle moving state is detected as the vehicle arrival time.
3. The method of claim 1, wherein determining the status of the target port from the port video during a first detection period comprises:
and if the target loading and unloading port is determined to be in a rest state according to the loading and unloading port video in P continuous detection periods after the N detection periods, determining that the target loading and unloading port is in a vehicle-on state, and determining the time corresponding to the last detection period in which the vehicle moving state is detected as the arrival time of the vehicle, wherein P is an integer larger than 1.
4. The method of claim 1, wherein after the obtaining of the dock video, the method further comprises:
if the target loading and unloading port is detected to be in a vehicle-free state according to the loading and unloading port video in a third detection period, and the target loading and unloading port is determined to be in a working state according to the loading and unloading port video in Q continuous detection periods, the target loading and unloading port is determined to be in a vehicle-on state, time corresponding to the detection period in which the Q-th detection period in which the target loading and unloading port is detected to be in the working state is determined to be vehicle arrival time, Q is an integer larger than 1, and the third detection period is a previous detection period of the Q detection periods.
5. The method of claim 1, wherein determining the status of the target port from the port video during a second detection period comprises:
and if the target loading and unloading port is determined to be in the vehicle-free state according to the loading and unloading port video in R detection periods after the M periods, determining that the target loading and unloading port is in the vehicle-free state, and determining the time corresponding to the first detection period for detecting the moving state of the vehicle as the departure time of the vehicle, wherein R is an integer greater than 1.
6. The method of claim 1, wherein determining the status of the target port from the port video during a second detection period comprises:
and if the target loading and unloading port is determined to have the vehicle moving state according to the loading and unloading port video in S detection periods after the M periods, determining that the target loading and unloading port is in the vehicle-free state, and determining the time corresponding to the first detection period for detecting the vehicle moving state as the vehicle departure time, wherein S is an integer larger than 1.
7. The method of any of claims 1-6, wherein after the obtaining the dock video, the method further comprises:
detecting the proportion of the carriage in the video picture in the loading and unloading port video;
determining the state of the target loading port according to the loading port video in a first detection period, comprising: and determining the state of the target loading and unloading port according to the loading and unloading port video and the ratio in the first detection period.
Determining the state of the target loading port according to the loading port video in a second detection period, wherein the method comprises the following steps: and determining the state of the target loading and unloading port according to the loading and unloading port video and the ratio in the second detection period.
8. A status determining apparatus for a loading port, comprising:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a loading and unloading port video which is a monitoring video corresponding to a target loading and unloading port;
a first determination unit, configured to determine a state of the target loading/unloading port according to the loading/unloading port video in a first detection period when the target loading/unloading port is detected to be in a vehicle-absent state according to the loading/unloading port video in a first detection period and it is determined that the target loading/unloading port has a vehicle moving state according to the loading/unloading port video in N consecutive detection periods, where N is an integer greater than 1, the first detection period is a previous detection period of the N periods, and the first detection period is a detection period subsequent to the N detection periods
And a second determining unit, configured to determine, when it is detected in a second detection period that the target loading port is in a vehicle-presence state according to the loading port video and it is determined that the target loading port has a vehicle-moving state according to the loading port video in M consecutive detection periods, a state of the target loading port according to the loading port video in a second detection period, where M is an integer greater than 1, the second detection period is a previous detection period of the M periods, and the second detection period is a detection period after the M detection periods.
9. A computer program product comprising instructions which, when run on a computer, cause the computer to carry out the steps in the method for determining the status of a load port according to any one of claims 1 to 7.
10. A storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the steps of the method for determining the status of a load port according to any one of claims 1 to 7.
CN201910147770.1A 2019-02-27 2019-02-27 Method and device for determining state of loading and unloading port and storage medium Active CN111626081B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910147770.1A CN111626081B (en) 2019-02-27 2019-02-27 Method and device for determining state of loading and unloading port and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910147770.1A CN111626081B (en) 2019-02-27 2019-02-27 Method and device for determining state of loading and unloading port and storage medium

Publications (2)

Publication Number Publication Date
CN111626081A true CN111626081A (en) 2020-09-04
CN111626081B CN111626081B (en) 2024-03-26

Family

ID=72270751

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910147770.1A Active CN111626081B (en) 2019-02-27 2019-02-27 Method and device for determining state of loading and unloading port and storage medium

Country Status (1)

Country Link
CN (1) CN111626081B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005029324A (en) * 2003-07-10 2005-02-03 Casio Comput Co Ltd Vehicle dispatching management system and program
US20090189788A1 (en) * 2008-01-29 2009-07-30 Qualcomm Incorporated System and method for sensing cargo loads and trailer movement
CN101908250A (en) * 2010-07-15 2010-12-08 东南大学 Full RFID (Radio Frequency Identification Device) license plate based parkinglay-by intelligent monitoring system and method
CN103646257A (en) * 2013-12-30 2014-03-19 中国科学院自动化研究所 Video monitoring image-based pedestrian detecting and counting method
CN105654067A (en) * 2016-02-02 2016-06-08 北京格灵深瞳信息技术有限公司 Vehicle detection method and device
JP2018077810A (en) * 2016-11-11 2018-05-17 富士通株式会社 Loading determination program, loading determination method and loading determination device
CN108052929A (en) * 2017-12-29 2018-05-18 湖南乐泊科技有限公司 Parking space state detection method, system, readable storage medium storing program for executing and computer equipment
WO2018209831A1 (en) * 2017-05-19 2018-11-22 苏州易信安工业技术有限公司 Data processing method, apparatus, and system
CN109033964A (en) * 2018-06-22 2018-12-18 顺丰科技有限公司 It is a kind of judgement vehicle to departure from port event method, system and equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005029324A (en) * 2003-07-10 2005-02-03 Casio Comput Co Ltd Vehicle dispatching management system and program
US20090189788A1 (en) * 2008-01-29 2009-07-30 Qualcomm Incorporated System and method for sensing cargo loads and trailer movement
CN101908250A (en) * 2010-07-15 2010-12-08 东南大学 Full RFID (Radio Frequency Identification Device) license plate based parkinglay-by intelligent monitoring system and method
CN103646257A (en) * 2013-12-30 2014-03-19 中国科学院自动化研究所 Video monitoring image-based pedestrian detecting and counting method
CN105654067A (en) * 2016-02-02 2016-06-08 北京格灵深瞳信息技术有限公司 Vehicle detection method and device
JP2018077810A (en) * 2016-11-11 2018-05-17 富士通株式会社 Loading determination program, loading determination method and loading determination device
WO2018209831A1 (en) * 2017-05-19 2018-11-22 苏州易信安工业技术有限公司 Data processing method, apparatus, and system
CN108052929A (en) * 2017-12-29 2018-05-18 湖南乐泊科技有限公司 Parking space state detection method, system, readable storage medium storing program for executing and computer equipment
CN109033964A (en) * 2018-06-22 2018-12-18 顺丰科技有限公司 It is a kind of judgement vehicle to departure from port event method, system and equipment

Also Published As

Publication number Publication date
CN111626081B (en) 2024-03-26

Similar Documents

Publication Publication Date Title
CN112348428B (en) Container monitoring method, device, server and storage medium
CN107873098A (en) Object in the detection vehicle relevant with service
CN109658439B (en) Ship harbor state identification method, device, equipment and storage medium
Munisamy Timber terminal capacity planning through queuing theory
CN114331075A (en) Yard trailer scheduling method, device, equipment and storage medium
CN111626081A (en) Method and device for determining state of loading and unloading port and storage medium
Zeng et al. A method integrating simulation and reinforcement learning for operation scheduling in container terminals
CN116692705A (en) Anti-collision monitoring method and device for group tower crane, electronic equipment and storage medium
CN115298705A (en) License plate recognition method and device, electronic equipment and storage medium
CN116029505A (en) Vehicle scheduling method, device, electronic equipment and readable storage medium
Zou et al. An effective population-based iterated greedy algorithm for solving the multi-AGV scheduling problem with unloading safety detection
CN110751055A (en) Intelligent manufacturing system
Jia et al. Estimating discharge time of cargo units–a case of Ro-Ro shipping
CN115171222A (en) Behavior detection method and device, computer equipment and storage medium
CN113283328A (en) Control method and device for moving equipment to elevator and storage medium
CN114065018A (en) Commodity popularity determination method and device, electronic equipment and computer readable storage medium
CN111402635A (en) Navigation speed supervision method, device, equipment and storage medium
CN109637173A (en) A kind of dispatching method, computer installation and the computer readable storage medium of construction tunnel traffic
CN112950106B (en) Stock stocking method and device for transfer vehicle, electronic equipment and storage medium
CN118262484A (en) Early warning method and device for dumping cage vehicle and related equipment
KR20130082694A (en) Method and system for managing port logistics information by applying business process management system
CN116362637A (en) Method and device for predicting dispatch time consumption, server and readable storage medium
CN114022833A (en) Cargo loading and unloading distance estimation method, terminal equipment and computer storage medium
US20220138643A1 (en) Information processing apparatus, information processing method, and non-transitory storage medium
CN114693134A (en) Task execution method, device, equipment and medium

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