CN113099162B - Logistics video evidence obtaining method, device and system and storage medium - Google Patents

Logistics video evidence obtaining method, device and system and storage medium Download PDF

Info

Publication number
CN113099162B
CN113099162B CN201911329043.3A CN201911329043A CN113099162B CN 113099162 B CN113099162 B CN 113099162B CN 201911329043 A CN201911329043 A CN 201911329043A CN 113099162 B CN113099162 B CN 113099162B
Authority
CN
China
Prior art keywords
video
identifier
identification
waybill
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911329043.3A
Other languages
Chinese (zh)
Other versions
CN113099162A (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 CN201911329043.3A priority Critical patent/CN113099162B/en
Publication of CN113099162A publication Critical patent/CN113099162A/en
Application granted granted Critical
Publication of CN113099162B publication Critical patent/CN113099162B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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)
  • Signal Processing (AREA)
  • Warehouses Or Storage Devices (AREA)

Abstract

The application discloses a method, a device, a system and a storage medium for evidence obtaining of logistics videos, wherein the method comprises the following steps: marking the video collected aiming at the target area by using a first identification mark to obtain a marked video; identifying code scanning information from the code scanning device to obtain a second identifier and waybill identifier data; according to the sequence obtained by recognition, marking a plurality of waybill identification data obtained before and/or after obtaining the second identification by using the second identification; finding out a first identifier corresponding to the second identifier, and overlaying corresponding waybill identification data to a marked video marked by the first identifier to obtain the video overlaid with the waybill identification data; storing the video with the superimposed waybill identification data. According to the method, the code scanning device and the video acquisition devices do not need to be in one-to-one correspondence, logistics video evidence obtaining can be achieved by utilizing one code scanning device to correspond to the plurality of video acquisition devices, application flexibility is good, cost is reduced, and working efficiency is higher.

Description

Logistics video evidence obtaining method, device and system and storage medium
Technical Field
The application relates to the technical field of monitoring, in particular to a method, a device and a system for evidence obtaining of logistics videos and a storage medium.
Background
The warehouse logistics industry needs to scan the goods in and out and record videos for evidence obtaining during waybill transfer. Application scenarios of the evidence obtaining of the logistics video: a plurality of cameras are erected in a logistics scene to shoot warehouse goods areas, the cameras are connected into a rear-end storage device, each camera covers a certain block, a worker holds a code scanning device to scan article waybill bar codes in sequence, the code scanning device automatically scans code scanning information and sends the scanned code scanning information to the rear-end storage device through a network, the rear-end storage device scans the code scanning information to be superposed on a corresponding camera code stream, a storage video is stored, the video is searched and called according to the waybill number during evidence obtaining, a picture of a corresponding goods scanned and a superposed waybill number can be seen in the video, and evidence obtaining can be achieved. The prior art requires that a code scanning device and a camera are in preset one-to-one correspondence, if a scanning person holds the same code scanning device to scan in different camera areas, a storage device does not know which camera the code scanning information is superposed on after receiving the information, and if the same camera is fixedly superposed, a waybill and a video picture cannot be proved, so that the application flexibility is not enough.
Disclosure of Invention
The application aims to provide a method, a device and a system for evidence obtaining of logistics videos and a storage medium. The following presents a simplified summary in order to provide a basic understanding of some aspects of the disclosed embodiments. This summary is not an extensive overview and is intended to neither identify key/critical elements nor delineate the scope of such embodiments. Its sole purpose is to present some concepts in a simplified form as a prelude to the more detailed description that is presented later.
According to a first aspect of embodiments of the present application, there is provided a method for logistics video forensics, including:
marking the video collected aiming at the target area by using the first identification to obtain a marked video;
identifying code scanning information from the code scanning device to obtain a second identifier and waybill identifier data; the second identification and the first identification have a corresponding relation;
according to the sequence obtained by recognition, marking a plurality of waybill identification data obtained before and/or after obtaining the second identification by the second identification;
finding the first identifier corresponding to the second identifier, and overlaying the corresponding waybill identifier data to the marked video marked by the first identifier to obtain the video overlaid with the waybill identifier data;
and storing the video superimposed with the waybill identification data.
Further, the method further comprises: and searching the video superimposed with the waybill identification data according to the waybill identification data and playing the video.
Further, the correspondence relationship between the second identifier and the first identifier includes: the first identification comprises first data, the second identification comprises second data, and the first data is matched with the second data.
According to a second aspect of the embodiments of the present application, there is provided a device for logistics video forensics, including:
the marking module is used for marking the video acquired aiming at the target area by using the first identification to obtain a marked video;
the analysis module is used for identifying code scanning information from the code scanning device to obtain a second identifier and waybill identifier data; the second identification and the first identification have a corresponding relation;
the dividing module is used for marking a plurality of waybill identification data obtained before and/or after the second identification is obtained by the second identification according to the sequence obtained by identification;
the superposition module is used for finding the first identifier corresponding to the second identifier, and superposing the corresponding waybill identification data to the marked video marked by the first identifier to obtain the video superposed with the waybill identification data;
and the storage module is used for storing the video on which the waybill identification data is superposed.
Further, the apparatus further comprises:
and the playing module is used for searching the video on which the waybill identification data is superposed according to the waybill identification data and playing the video.
According to a third aspect of the embodiments of the present application, there is provided a method for logistics video forensics, including:
the method comprises the steps that a video acquisition device acquires a video aiming at a target area and sends the acquired video;
the host device marks the video by using the first identification to obtain a marked video;
the code scanning device scans the graphic identifiers and the waybill identifiers according to a preset scanning sequence to obtain code scanning information and sends the code scanning information;
the host equipment identifies code scanning information from the code scanning device to obtain a second identifier and waybill identifier data; the second identification and the first identification have a corresponding relation;
the host equipment marks a plurality of waybill identification data obtained before and/or after obtaining the second identification by using the second identification according to the sequence obtained by identification;
the host equipment searches the first identification which has a corresponding relation with the second identification, and superimposes the corresponding waybill identification data on the marked video marked by the first identification to obtain the video on which the waybill identification data is superimposed;
and the host equipment stores the video overlaid with the waybill identification data.
Further, the graphical identifier comprises a two-dimensional code.
Further, the waybill identifier includes a waybill barcode.
According to a fourth aspect of the embodiments of the present application, a system for logistics video forensics is provided, which includes a video collecting device, a host device and a code scanning device;
the video acquisition device is used for acquiring a video aiming at a target area and sending the acquired video;
the host equipment is used for marking the video by using the first identification to obtain a marked video;
the code scanning device is used for scanning the graphic identifier and the waybill identifier according to a preset scanning sequence, respectively obtaining a second identifier and waybill identifier data, and sending the second identifier and the waybill identifier data;
the host equipment is also used for identifying code scanning information from the code scanning device to obtain a second identifier and waybill identifier data; the second identification and the first identification have a corresponding relation;
the host equipment is also used for marking a plurality of waybill identification data obtained before and/or after the second identification is obtained by the second identification according to the sequence obtained by identification;
the host equipment is further configured to find the first identifier corresponding to the second identifier, and overlay the corresponding waybill identifier data to the marked video marked by the first identifier to obtain a video overlaid with the waybill identifier data;
the host device is further configured to store the video overlaid with the waybill identification data.
According to a fifth aspect of embodiments of the present application, there is provided a non-transitory computer-readable storage medium having a computer program stored thereon, where the computer program is executed by a processor to implement the method for logistics video forensics.
The technical scheme provided by the embodiment of the application can have the following beneficial effects:
according to the logistics video evidence obtaining method provided by the first aspect of the embodiment of the application, videos collected by a target area are marked by the first identification marks, the second identification is used as a searching mark of corresponding waybill identification data, the first identification corresponding to the second identification is searched, the waybill identification data is superposed on the corresponding marked videos, videos superposed with the waybill identification data are obtained, the code scanning device and the video collecting devices do not need to be in one-to-one correspondence, logistics video evidence obtaining can be achieved by utilizing one code scanning device to correspond to a plurality of video collecting devices, the application flexibility is good, the cost is reduced, and the working efficiency is higher.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the embodiments of the application, or may be learned by the practice of the embodiments. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 shows a flow chart of a method of logistics video forensics of a first embodiment of the present application;
fig. 2 is a block diagram showing a configuration of a device for logistics video forensics according to a first embodiment of the present application;
fig. 3 shows a flow chart of a method of logistics video forensics of a second embodiment of the present application;
fig. 4 is a block diagram showing the overall configuration of a device for logistics video forensics according to a third embodiment of the present application;
fig. 5 is a detailed block diagram showing a configuration of a device for logistics video forensics according to a third embodiment of the present application;
fig. 6 shows a usage scenario diagram of a logistics video forensics apparatus according to a third embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is further described with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. 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 application.
It will be understood by those within the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
As shown in fig. 1, a first embodiment of the present application provides a method 1 for logistics video forensics, which is applied to a host device, and the method 1 includes:
s101, marking the video collected aiming at the target area by using the first identification to obtain a marked video.
For example, a video acquired by a target area is captured by a video acquisition device such as a camera, and the captured video is captured by the target area, and the capture range of the camera is greater than or equal to the target area, so that the entire target area is completely covered by the capture range of the camera. For a plurality of target areas, a first target area is captured with a first camera and a second target area is captured with a second camera, … …, with at least one camera being assigned to each target area. The first identifier may be serial number data, for example, serial numbers are marked on videos, a video shot by the first camera is marked as 1, a video shot by the second camera is marked as 2, … …, a marked video is obtained, and then the marked video is stored and the corresponding video can be quickly found according to the marked serial number during searching.
S102, identifying code scanning information from the code scanning device to obtain a second identifier and waybill identifier data; the second identification and the first identification have a corresponding relation.
For example, the code scanning device may be a code scanning gun, the code scanning information is obtained by scanning a two-dimensional code or a waybill bar code through the code scanning gun and is sent to the host device, and after the host device receives the code scanning information, the code scanning information is recognized to obtain a second identifier and waybill identifier data; the second identification is used for directly positioning the video acquisition equipment taking the area where the waybill bar code is located as the visual field of the video acquisition equipment, so that the fixed binding relationship between the code scanning gun and the camera is directly solved, and the defect that the code scanning gun and the camera are fixedly bound in the prior art is overcome. Each second identifier is used for correspondingly marking the visual field of one video acquisition device; when the code scanning device is used for scanning the waybill bar code in the visual field of the video acquisition equipment, the video acquisition equipment acquires a video, the first identification is used for marking the video in the visual field shot by the video acquisition equipment, and thus the first identification and the second identification establish an incidence relation through the video acquisition equipment, namely the first identification is used for marking the video acquired by the video acquisition equipment in the visual field, and the second identification is used for marking the video acquisition equipment with the visual field covering the visual field.
In some embodiments, there is a correspondence between the second identifier and the first identifier, including: the first identifier includes first data, the second identifier includes second data, and the first data matches with the second data, for example, the first data is identical to the second data, or there is a corresponding relationship between the first data and the second data that meets a certain predetermined rule. For example, the first data are sequence numbers 1, 2, 3 … …, etc., and the second data are sequence numbers 1, 2, 3 … …, etc., then the second data are corresponding to and equal to the first data.
For example, the second identifier may be in the form of data such as "scan gun _ lane 1", "scan gun _ lane 2", "scan gun _ lane 3", and the waybill identifier data is data such as "5810243457130", "6721351346221". Correspondingly, the first identifier may be in the form of data such as "video _ channel 1", "video _ channel 2", "video _ channel 3", and the like. Data such as "channel 1", "channel 2", "channel 3" are used to label the first camera, the second camera, and the third camera, respectively. Thus, data such as "scan gun _ channel 1", "scan gun _ channel 2", "scan gun _ channel 3" and the like are associated one-to-one with data such as "video _ channel 1", "video _ channel 2", "video _ channel 3" and the like by data such as "channel 1", "channel 2", "channel 3" and the like for the mark camera.
When the code scanning information is identified, the code scanning information is analyzed according to a protocol to obtain a second identifier and waybill identifier data so as to carry out different processing on the two kinds of data subsequently, wherein the second identifier is used as a search mark.
S103, according to the sequence obtained by recognition, marking a plurality of waybill identification data obtained before and/or after the second identification is obtained by the second identification.
Specifically, the second identifier and the waybill identifier data are divided according to the sequence of the second identifier and the waybill identifier data obtained through identification, so that the second identifier and the waybill identifier data corresponding to the same target area belong to the same set, and the second identifier is used as a search mark, so that the waybill identifier data in the same set can be searched through the second identifier. The code scanning information is identified in the same order as the code scanning information received by the host device from the code scanning device, namely, the code scanning information received first is identified first. The host device receives the code scanning information from the code scanning device in the same order as the code scanning device sends the code scanning information. For example, when the preset code scanning sequence is that a two-dimensional code is read first and then an waybill barcode in the target area is read, as long as the second identifier is identified, it can be known that all waybill identifier data obtained by analyzing after the second identifier are obtained by scanning the waybill barcode in the corresponding target area, that is, the second identifier and all the waybill identifier data after the second identifier are grouped into the same set, and then the second identifier is used as a mark, so as to search the waybill identifier data of the set. The meaning of "dividing" is to establish an association relationship between the second identifier and the waybill identification data so as to search the waybill identification data through the second identifier, and the meaning of "same set" is to refer to an association relationship. For example, after the code scanning gun _ channel 2 is identified, ten waybill identification data such as 5810243457130 and 6721351346221 are identified, and then the code scanning gun _ channel 3 and twenty waybill identification data are sequentially identified, so that the code scanning gun _ channel 2 and the ten waybill identification data after the code scanning gun _ channel 2 are divided into a group, the ten waybill identification data take the code scanning gun _ channel 2 as a search mark for searching, namely, an association relationship is established between the code scanning gun _ channel 2 and the ten waybill identification data after the code scanning gun _ channel 2, and the ten waybill identification data are conveniently searched through the code scanning gun _ channel 2; dividing the code scanning gun _ channel 3 and twenty pieces of freight note identification data after the code scanning gun _ channel 3 into a group, and taking the twenty pieces of freight note identification data as a search mark for searching. The second identification and the waybill identification data corresponding to the same target area are consecutively adjacent in recognition order.
S104, finding the first identifier corresponding to the second identifier, and overlaying the corresponding waybill identification data (namely the waybill identification data in the set where the second identifier is located) to the marked video marked by the first identifier to obtain the video overlaid with the waybill identification data;
for example, for the second identifier "sweep code gun _ channel 2", find that the first identifier "camera _ channel 2", "sweep code gun _ channel 2" and "camera _ channel 2" are corresponding, superimpose the waybill identification data marked with "sweep code gun _ channel 2" onto the marked video marked with "camera _ channel 2", to obtain the video on which the waybill identification data is superimposed.
And S105, storing the video on which the waybill identification data is superimposed.
In certain embodiments, the method 1 further comprises: s106, finding the video superimposed with the waybill identification data according to the waybill identification data and playing the video.
In some embodiments, the correspondence between the second identifier and the first identifier includes: the first identification comprises first data, the second identification comprises second data, and the first data is matched with the second data. For example, the first data and the second data are identical, or there is a correspondence relationship between the first data and the second data that meets a certain predetermined rule. For example, the first data are sequence numbers 1, 2, 3 … …, etc., and the second data are sequence numbers 1, 2, 3 … …, etc., then the second data are corresponding to and equal to the first data.
According to the logistics video evidence obtaining method provided by the embodiment, the first identification mark is used for a video collected in a target area, the second identification is used as a searching mark of corresponding waybill identification data, the first identification corresponding to the second identification is searched, the waybill identification data is superposed on the corresponding marked video, the video superposed with the waybill identification data is obtained, a code scanning device and a video collecting device do not need to be in one-to-one correspondence, logistics video evidence obtaining can be carried out by using one code scanning device to correspond to a plurality of video collecting devices, the application flexibility is good, the cost is reduced, and the working efficiency is higher.
As shown in fig. 2, this embodiment further provides a device for logistics video forensics, including:
the marking module 10 is configured to mark a video acquired for a target area with a first identifier to obtain a marked video;
the analysis module 11 is used for identifying code scanning information from the code scanning device to obtain a second identifier and waybill identifier data; the second identification and the first identification have a corresponding relation;
a dividing module 12, configured to mark, according to the sequence obtained by the identification, a plurality of pieces of waybill identification data obtained before and/or after obtaining the second identification with the second identification;
a superimposing module 13, configured to find the first identifier corresponding to the second identifier, and superimpose the corresponding waybill identifier data (i.e., the waybill identifier data in the set where the second identifier is located) onto the marked video marked by the first identifier, so as to obtain a video on which the waybill identifier data is superimposed;
and the storage module 14 is used for storing the video overlaid with the waybill identification data.
In certain embodiments, the apparatus 01 further comprises:
and the playing module 15 is configured to find the video on which the waybill identification data is superimposed according to the waybill identification data and play the video.
As shown in fig. 3, a second embodiment of the present application provides a method 2 for logistics video forensics, including:
s201, a video acquisition device acquires a video aiming at a target area and sends the acquired video.
For example, the video capture device may be a camera, and a video capture device such as a video camera may capture a video of the target area, where the capture range of the camera is greater than or equal to the target area. For a plurality of target areas, a first target area is captured with a first camera and a second target area is captured with a second camera, … …, with at least one camera being assigned to each target area.
S202, the host equipment receives the video, and marks the video by using the first identification to obtain a marked video.
The host device includes a processor and a memory.
The first identifier may be number data, for example, a serial number is marked on a video, a video shot by the first camera is marked as 1, and a video shot by the second camera is marked as 2, … …, and then the video is stored, and when the video is searched, the corresponding video can be quickly searched according to the marked serial number.
S203, the code scanning device scans the graphic identifiers and the waybill identifiers located in the target area according to a preset scanning sequence to obtain code scanning information, and sends the code scanning information.
The code scanning device can be a code scanning gun. The order in which the scan information is transmitted is the same as the scan order.
In some embodiments, the predetermined scan order is to scan the graphic identifiers first and then scan all waybill identifiers in the target area. Alternatively, other scanning orders may be predetermined, such as scanning three (or other number) waybill identifiers first, then scanning the graphical identifiers, and then scanning the other waybill identifiers in the corresponding target area.
In some embodiments, the graphical identifier is a two-dimensional code and the waybill identifier is a waybill barcode. The waybill barcode is located within the target area, for example, where the item bearing the waybill barcode is placed. When the code scanning gun is used for scanning the waybill bar code in the target area, the camera corresponding to the target area shoots a video aiming at the target area, and the video is shot through the action of scanning the waybill bar code by the scanning gun. The graphic identifier (namely, the two-dimensional code) is manufactured in advance and carries graphic identifier data, the code scanning gun scans the two-dimensional code to obtain code scanning information, namely, the graphic identifier data, the code scanning gun scans the freight note bar code to obtain the code scanning information, namely, the freight note identifier data, and then the code scanning gun sends out the scanned code scanning information (comprising the graphic identifier data and the freight note identifier data) and sends the scanned code scanning information to the host equipment. The graphical identifier may be in other forms than a two-dimensional code. The waybill identifier can be in other forms besides a bar code.
S204, the host equipment identifies code scanning information from the code scanning device to obtain a second identifier and waybill identifier data; the second identification and the first identification have a corresponding relation.
In some embodiments, there is a correspondence between the second identifier and the first identifier, including: the first identifier includes first data, the second identifier includes second data, and the first data matches with the second data, for example, the first data is identical to the second data, or there is a corresponding relationship between the first data and the second data that meets a certain predetermined rule. For example, the first data are sequence numbers 1, 2, 3 … …, etc., and the second data are sequence numbers 1, 2, 3 … …, etc., then the second data are corresponding to and equal to the first data.
In some embodiments, the predetermined reading sequence is to read the graphic identifier first and then read all waybill identifiers in the target area, such that the receiving sequence is to receive the scan information (i.e., graphic identifier data) corresponding to the graphic identifier first and then receive the scan information (i.e., waybill identifier data) corresponding to the waybill identifier, and the host device identifies the scan information in the same order as the receiving sequence.
The form of the code scanning information obtained by the scanning gun scanning the two-dimensional code is data such as "code scanning gun _ channel 1", "code scanning gun _ channel 2", "code scanning gun _ channel 3", and the code scanning information obtained by the code scanning gun scanning the waybill barcode is data such as "5810243457130", "6721351346221".
And identifying the graphic identifier data to obtain a second identifier, and identifying the waybill identifier data to obtain waybill identification data. The sequence of the second identification and the waybill identification data obtained by identifying the code scanning information is the same as the preset sequence of reading the graphic identifier and the waybill identifier. And analyzing the code scanning information according to the protocol to obtain a second identifier and waybill identifier data so as to carry out different processing on the two kinds of data subsequently, wherein the second identifier is used as a search mark.
S205, the host device marks a plurality of pieces of waybill identification data obtained before and/or after obtaining the second identification by using the second identification according to the sequence obtained by identification.
For example, when the preset code scanning sequence is that the two-dimensional code is read first and then the waybill barcode is read, as long as the second identifier is identified, all waybill identification data identified after the second identifier corresponds to the waybill identifier in the corresponding target area, the second identifier and all waybill identification data identified later can be divided into the same set, and then the second identifier is used as a mark, namely, the association relationship between the second identifier and the waybill identification data identified later is established, so that the waybill identification data of the set can be searched. The meaning of dividing is to establish an association relationship between the second identifier and the waybill identifier data so as to realize that the waybill identifier data can be found through the second identifier, and the meaning of the same set is an association relationship. For example, after the code scanning gun _ channel 2 is identified, ten pieces of waybill identification data such as 5810243457130 and 6721351346221 are identified, and then the code scanning gun _ channel 3 and twenty pieces of waybill identification data are identified in sequence, then the code scanning gun _ channel 2 and the next ten pieces of waybill identification data are divided into a group, the ten pieces of waybill identification data use the code scanning gun _ channel 2 as a search mark for searching, the code scanning gun _ channel 3 and the next twenty pieces of waybill identification data are divided into a group, and the twenty pieces of waybill identification data use the code scanning gun _ channel 3 as a search mark for searching. The sequence of code scanning information received by the host device is the same as the identification sequence and the code scanning sequence of the code scanning gun.
Alternatively, other scanning orders may be set, for example, three (or other number) waybill identifiers are scanned first, then the graphic identifier is scanned, then other waybill identifiers in the corresponding target area are scanned, and then when the waybill identification data is searched, as long as the second identifier is found, the three waybill identification data before the second identifier and the waybill identification data after the second identifier are known to correspond to the second identifier.
S206, the host device finds the first identifier corresponding to the second identifier, and superimposes the corresponding waybill identifier data (namely, the waybill identifier data in the set where the second identifier is located) on the marked video marked by the first identifier to obtain the video on which the waybill identifier data is superimposed.
For example, for the second identifier "sweep code gun _ channel 2", find that the first identifier "camera _ channel 2", "sweep code gun _ channel 2" and "camera _ channel 2" are corresponding, superimpose the waybill identification data marked with "sweep code gun _ channel 2" onto the marked video marked with "camera _ channel 2", to obtain the video on which the waybill identification data is superimposed.
And S207, the host equipment stores the video on which the waybill identification data is superposed.
In certain embodiments, the method 2 further comprises: s208, the playing device finds the video overlaid with the waybill identification data according to the waybill identification data and plays the video.
The embodiment also provides a logistics video evidence obtaining system, which comprises a video acquisition device, host equipment and a code scanning device; the video acquisition device and the code scanning device are respectively connected with the host equipment;
the video acquisition device is used for acquiring a video aiming at a target area and sending the acquired video;
the host equipment is used for marking the video by using the first identification to obtain a marked video;
the code scanning device is used for scanning the graphic identifier and the waybill identifier according to a preset scanning sequence, respectively obtaining a second identifier and waybill identifier data, and sending the second identifier and the waybill identifier data;
the host equipment is also used for identifying code scanning information from the code scanning device to obtain a second identifier and waybill identifier data; the second identification and the first identification have a corresponding relation;
the host equipment is also used for marking a plurality of waybill identification data obtained before and/or after the second identification is obtained by the second identification according to the sequence obtained by identification;
the host device is further configured to find the first identifier corresponding to the second identifier, and overlay the corresponding waybill identification data (i.e., waybill identification data in a set where the second identifier is located) to the marked video marked by the first identifier, so as to obtain a video on which the waybill identification data is overlaid;
the host device is further configured to store the video overlaid with the waybill identification data.
In some embodiments, the system further comprises a playing device, configured to find the video on which the waybill identification data is superimposed according to the waybill identification data and play the video; for example, the playing device may be a smart television or the like.
The present embodiment also provides a non-transitory computer-readable storage medium, on which a computer program is stored, the program being executed by a processor to implement the above-mentioned logistics video forensics method.
According to the logistics video evidence obtaining method provided by the embodiment, videos collected by a target area are marked by the first identification marks, the second identification is used as a searching mark of corresponding waybill identification data, the first identification corresponding to the second identification is searched, the waybill identification data is superposed on the corresponding marked videos, videos superposed with the waybill identification data are obtained, a plurality of code scanning devices and a plurality of video collecting devices do not need to be adopted in a one-to-one correspondence mode, logistics video evidence obtaining can be achieved by utilizing one code scanning device to correspond to the plurality of video collecting devices, the application flexibility is good, the cost is reduced, and the working efficiency is higher.
As shown in fig. 4 and fig. 5, a third embodiment of the present application provides a system for logistics video forensics, which includes a plurality of video capture devices, a code scanning device, and a host device, where the video capture devices and the code scanning device are respectively connected to the host device.
The host device comprises a code scanning information receiving unit, a code scanning protocol analyzing unit, a superposition unit, a storage unit and a searching playback unit.
The video acquisition device is used for acquiring videos and sending the acquired videos to the host equipment. The video capture device may be a camera.
The code scanning device is used for scanning a two-dimensional code marking the characteristics of the camera (such as a channel number of the camera) or a waybill bar code of an article, and after the code is scanned, code scanning information is sent to the host equipment through the network node. The code scanning device can be a code scanning gun.
The host equipment is used for storing the video sent by the video acquisition device and the code scanning information sent by the code scanning device.
The code scanning information receiving unit is used for monitoring the connection of the code scanning device and receiving the code scanning information data sent by the code scanning device.
The code scanning protocol analysis unit is used for analyzing the code scanning information data according to a code scanning protocol so as to judge whether the code scanning information data is camera channel mapping data (namely data carried by the two-dimensional code, such as a camera channel number) or article waybill barcode data, and distinguishing and processing the code scanning information data.
The superposition unit is used for superposing the waybill barcode information to a video shot by a corresponding camera in an OSD mode. OSD, i.e. On-Screen Display, i.e. a Screen menu type adjustment mode.
The storage unit is used for writing the video and the analyzed code scanning information data into a hard disk for storage.
The search playback unit is used for retrieving and playing back the corresponding video according to the code scanning information data (such as the waybill number information).
The use scenario of the device is shown in fig. 6, which is a schematic view of a scenario in a logistics warehouse; the area needing code scanning in the actual scene can be covered by the camera, the four triangular areas in fig. 6 are only a simple example, the angle which can be acquired by the camera is larger in practice, the actual scene is not necessarily a rectangle like in fig. 6, more possibility is a polygonal area, and the video acquisition area of the camera can also be a polygon. In fact, coverage areas among different video cameras are overlapped, when the code scanning information is superposed to the collected video, only the code scanning picture is collected by the superposed video, and which video is selected among the overlapped cameras is only required to be selected without influencing evidence obtaining.
The method includes the steps that a plurality of two-dimensional codes are manufactured in advance, data with a specific format are obtained after code scanning, and the two-dimensional codes can be distinguished from waybill bar codes through the data with the specific format, for example, the data include marks such as 'code scanning gun _ channel 1', 'code scanning gun _ channel 2' and 'code scanning gun _ channel 3'. The two-dimensional code carries data for marking a camera channel number.
The code corresponding to the data obtained by scanning at this time can be distinguished by a code scanning protocol analysis unit as a two-dimensional code or a waybill bar code, and then a channel number contained in the data is extracted so as to determine a camera channel superposed when a subsequent waybill bar code is bound after the code is scanned.
And attaching the prepared two-dimensional code to a prominent position of each area, such as a column in the target area, wherein the camera channel represented by the two-dimensional code corresponds to the camera actually covered. When the code scanning person walks to switch the camera area, the two-dimensional codes are scanned first, and then the waybill bar code scanning operation is carried out. The camera channel is a kind of identification information.
The code scanning device can be a code scanning gun. The fields contained in the protocol for the scan gun to send data include camera channel code information or waybill bar code information, and may also include a scan gun ID (for identifying the unique scan gun) to indicate the source of the data.
After receiving the data, the code scanning protocol analysis unit judges whether the received data is data carried by the two-dimensional code or waybill barcode data according to the aforementioned data characteristics (such as the code scanning gun in the code scanning gun _ channel 1). After receiving the data carried by the two-dimensional code, setting a camera channel bound by the bar code data corresponding to the code scanning gun ID as a camera obtained by analyzing the two-dimensional code data (such as a channel 1 in a code scanning gun _ channel 1). When the bar code data are received, the binding relation set before is searched according to the ID of the code scanning gun, the corresponding camera channel is found, and subsequent superposition and video recording processing are carried out.
The method comprises the steps of preparing a two-dimensional code carrying camera features in advance (data are set according to a specific format, can be distinguished to be not freight bill bar codes and can extract camera channel information) and pasting the two-dimensional code carrying the camera features at a conspicuous position in a shooting area of a corresponding camera, scanning the two-dimensional code carrying the camera features to determine the corresponding camera, scanning freight bill bar codes, scanning the two-dimensional code corresponding to the camera features of another camera after a code scanning operator moves to the target area of the camera, analyzing the data by a host device, identifying whether the data corresponding to the two-dimensional code or the data corresponding to the freight bill bar codes according to the data features, superposing the scanned freight bill bar code information to a video shot by the corresponding camera and storing the data for later evidence obtaining and using.
The technical scheme of the embodiment solves the problem that one code scanning device cannot simultaneously correspond to a plurality of cameras for use, is suitable for more application scenes, only needs to make a plurality of codes in advance and scan code protocol definition analysis, and is low in overhead and almost free of additional cost.
It should be noted that:
the term "module" is not intended to be limited to a particular physical form. Depending on the particular application, a module may be implemented as hardware, firmware, software, and/or combinations thereof. Furthermore, different modules may share common components or even be implemented by the same component. There may or may not be clear boundaries between the various modules.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose devices may be used with the teachings herein. The required structure for constructing an arrangement of this type will be apparent from the description above. Moreover, this application is not intended to refer to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present application as described herein, and any descriptions of specific languages are provided above to disclose the best mode of use of the present application.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the application may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the application, various features of the application are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: this application is intended to cover such departures from the present disclosure as come within known or customary practice in the art to which this invention pertains. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this application.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components in the embodiments may be combined into one module or unit or component, and furthermore, may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the application and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the present application may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components in the creation apparatus of a virtual machine according to embodiments of the present application. The present application may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present application may be stored on a computer readable medium or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the application, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The application may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least a portion of the steps in the flow chart of the figure may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
The above-mentioned embodiments only express the embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.

Claims (10)

1. A method for logistics video forensics is characterized by comprising the following steps:
marking the video collected aiming at the target area by using the first identification to obtain a marked video;
identifying code scanning information from the code scanning device to obtain a second identifier and waybill identifier data; the second identification and the first identification have a corresponding relation; the second identifier is used for positioning video acquisition equipment of which the visible domain covers the area where the code scanning device is located;
according to the sequence obtained by recognition, marking a plurality of waybill identification data obtained before and/or after obtaining the second identification by the second identification;
finding the first identifier corresponding to the second identifier, and overlaying the corresponding waybill identifier data to the marked video marked by the first identifier to obtain the video overlaid with the waybill identifier data;
and storing the video superimposed with the waybill identification data.
2. The method of claim 1, further comprising: and searching the video superimposed with the waybill identification data according to the waybill identification data and playing the video.
3. The method according to claim 1, wherein the second identifier has a corresponding relationship with the first identifier, and the method comprises: the first identification comprises first data, the second identification comprises second data, and the first data is matched with the second data.
4. A device for logistics video forensics, comprising:
the marking module is used for marking the video acquired aiming at the target area by using the first identification to obtain a marked video;
the analysis module is used for identifying code scanning information from the code scanning device to obtain a second identifier and waybill identifier data; the second identification and the first identification have a corresponding relation; the second identifier is used for positioning video acquisition equipment of which the visible domain covers the area where the code scanning device is located;
the dividing module is used for marking a plurality of waybill identification data obtained before and/or after the second identification is obtained by the second identification according to the sequence obtained by identification;
the superposition module is used for searching the first identifier which has a corresponding relation with the second identifier, and superposing the corresponding waybill identifier data to the marked video marked by the first identifier to obtain the video superposed with the waybill identifier data;
and the storage module is used for storing the video on which the waybill identification data is superposed.
5. The apparatus of claim 4, further comprising:
and the playing module is used for searching the video superimposed with the waybill identification data according to the waybill identification data and playing the video.
6. A method for logistics video forensics is characterized by comprising the following steps:
the method comprises the steps that a video acquisition device acquires a video aiming at a target area and sends the acquired video;
the host device marks the video by using the first identification to obtain a marked video;
the code scanning device scans the graphic identifiers and the waybill identifiers according to a preset scanning sequence to obtain code scanning information and sends the code scanning information;
the host equipment identifies code scanning information from the code scanning device to obtain a second identifier and waybill identifier data; the second identification and the first identification have a corresponding relation; the second identifier is used for positioning video acquisition equipment of which the visible domain covers the area where the code scanning device is located;
the host equipment marks a plurality of waybill identification data obtained before and/or after obtaining the second identification by using the second identification according to the sequence obtained by identification;
the host equipment searches the first identification which has a corresponding relation with the second identification, and superimposes the corresponding waybill identification data on the marked video marked by the first identification to obtain the video on which the waybill identification data is superimposed;
and the host equipment stores the video overlaid with the waybill identification data.
7. The method of claim 6, wherein the graphical identifier comprises a two-dimensional code.
8. The method of claim 6, wherein the waybill identifier comprises a waybill barcode.
9. A logistics video evidence obtaining system is characterized by comprising a video acquisition device, host equipment and a code scanning device;
the video acquisition device is used for acquiring a video aiming at a target area and sending the acquired video;
the host equipment is used for marking the video by using the first identification to obtain a marked video;
the code scanning device is used for scanning the graphic identifier and the waybill identifier according to a preset scanning sequence, respectively obtaining a second identifier and waybill identifier data, and sending the second identifier and the waybill identifier data;
the host equipment is also used for identifying code scanning information from the code scanning device to obtain a second identifier and waybill identifier data; the second identification and the first identification have a corresponding relation; the second identifier is used for positioning video acquisition equipment of which the visible domain covers the area where the code scanning device is located;
the host equipment is also used for marking a plurality of waybill identification data obtained before and/or after the second identification is obtained by the second identification according to the sequence obtained by identification;
the host equipment is further configured to find the first identifier corresponding to the second identifier, and overlay the corresponding waybill identifier data to the marked video marked by the first identifier to obtain a video overlaid with the waybill identifier data;
the host device is further configured to store the video overlaid with the waybill identification data.
10. A non-transitory computer readable storage medium having stored thereon a computer program, wherein the program is executed by a processor to implement the method for logistics video forensics of any of claims 1-3, 6-8.
CN201911329043.3A 2019-12-20 2019-12-20 Logistics video evidence obtaining method, device and system and storage medium Active CN113099162B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911329043.3A CN113099162B (en) 2019-12-20 2019-12-20 Logistics video evidence obtaining method, device and system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911329043.3A CN113099162B (en) 2019-12-20 2019-12-20 Logistics video evidence obtaining method, device and system and storage medium

Publications (2)

Publication Number Publication Date
CN113099162A CN113099162A (en) 2021-07-09
CN113099162B true CN113099162B (en) 2022-07-01

Family

ID=76662751

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911329043.3A Active CN113099162B (en) 2019-12-20 2019-12-20 Logistics video evidence obtaining method, device and system and storage medium

Country Status (1)

Country Link
CN (1) CN113099162B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105069923A (en) * 2015-08-21 2015-11-18 宫文峰 Logistics package intelligent-sorting and self-service checking-accepting system device
CN106934330A (en) * 2015-12-31 2017-07-07 杭州海康威视系统技术有限公司 Logistics information acquisition method, platform, system and image capture device
CN107527078A (en) * 2017-08-21 2017-12-29 合肥丹朋科技有限公司 Logistics information collection monitoring system based on network technology
CN108737368A (en) * 2018-04-03 2018-11-02 浙江华睿科技有限公司 A kind of method, apparatus and system that package information is transmitted, stores, inquired
CN109993045A (en) * 2017-12-29 2019-07-09 杭州海康威视系统技术有限公司 Articles seeking method and lookup device search system and machine readable storage medium
CN110177245A (en) * 2018-12-05 2019-08-27 圆通速递有限公司 Express delivery synchronizing information is to the device of video monitoring, method, system
CN110536118A (en) * 2019-09-06 2019-12-03 腾讯科技(深圳)有限公司 A kind of data capture method, device and computer storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170228688A1 (en) * 2016-02-10 2017-08-10 Tri-8, Inc. System and method for strategic rfid tag reading using physically dispersed barcodes and supplemental automated inventory management through mobile rfid readers

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105069923A (en) * 2015-08-21 2015-11-18 宫文峰 Logistics package intelligent-sorting and self-service checking-accepting system device
CN106934330A (en) * 2015-12-31 2017-07-07 杭州海康威视系统技术有限公司 Logistics information acquisition method, platform, system and image capture device
CN107527078A (en) * 2017-08-21 2017-12-29 合肥丹朋科技有限公司 Logistics information collection monitoring system based on network technology
CN109993045A (en) * 2017-12-29 2019-07-09 杭州海康威视系统技术有限公司 Articles seeking method and lookup device search system and machine readable storage medium
CN108737368A (en) * 2018-04-03 2018-11-02 浙江华睿科技有限公司 A kind of method, apparatus and system that package information is transmitted, stores, inquired
CN110177245A (en) * 2018-12-05 2019-08-27 圆通速递有限公司 Express delivery synchronizing information is to the device of video monitoring, method, system
CN110536118A (en) * 2019-09-06 2019-12-03 腾讯科技(深圳)有限公司 A kind of data capture method, device and computer storage medium

Also Published As

Publication number Publication date
CN113099162A (en) 2021-07-09

Similar Documents

Publication Publication Date Title
EP2426623A2 (en) Apparatus and method for providing augmented reality using object list
CN103548025B (en) The method and termination of the object included in supporting collection input picture
CN109993045B (en) Article searching method, article searching device, article searching system and machine-readable storage medium
CN108839016B (en) Robot inspection method, storage medium, computer equipment and inspection robot
CN108062507B (en) Video processing method and device
CN110910460B (en) Method and device for acquiring position information and calibration equipment
WO2014081726A1 (en) Method and system for metadata extraction from master-slave cameras tracking system
JP2007109235A (en) Segmenting images and simulating motion blur using image sequence
CN108875616B (en) Book shelf disorder detection method, electronic equipment and storage medium
CN102447886A (en) Visualizing video within existing still images
CN110008771B (en) Code scanning system and code scanning method
US11120263B1 (en) Method and apparatus for providing education service using satellite imagery based on artificial intelligence
CN109859104B (en) Method for generating picture by video, computer readable medium and conversion system
CN108235122A (en) The monitoring method and device of video ads
CN110645999A (en) Navigation method, navigation device, server, terminal and storage medium
JP5609301B2 (en) Manufacturing process management system
US9426514B1 (en) Graphic reference matrix for virtual insertions
JP5700220B2 (en) Marker generation device, marker generation detection system, marker generation detection device, marker, marker generation method and program thereof
CN113099162B (en) Logistics video evidence obtaining method, device and system and storage medium
CN105869406A (en) Vehicle identification and detection system, vehicle information collection method, vehicle information detection and recording method and vehicle information inquiry method
CN110930437B (en) Target tracking method and device
CN111462502B (en) Method, device and computer readable storage medium for vehicle management
Aktar et al. Performance evaluation of feature descriptors for aerial imagery mosaicking
WO2018171234A1 (en) Video processing method and apparatus
CN111177449B (en) Multi-dimensional information integration method based on picture and related equipment

Legal Events

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