CN114531584A - Video interval synthesis method and device of express mail code recognizer - Google Patents

Video interval synthesis method and device of express mail code recognizer Download PDF

Info

Publication number
CN114531584A
CN114531584A CN202210432923.9A CN202210432923A CN114531584A CN 114531584 A CN114531584 A CN 114531584A CN 202210432923 A CN202210432923 A CN 202210432923A CN 114531584 A CN114531584 A CN 114531584A
Authority
CN
China
Prior art keywords
camera
code
express
coding
frame
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
CN202210432923.9A
Other languages
Chinese (zh)
Other versions
CN114531584B (en
Inventor
严振声
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Huayan Vision Technology Co ltd
Original Assignee
Zhejiang Huayan Vision Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Huayan Vision Technology Co ltd filed Critical Zhejiang Huayan Vision Technology Co ltd
Priority to CN202210432923.9A priority Critical patent/CN114531584B/en
Publication of CN114531584A publication Critical patent/CN114531584A/en
Application granted granted Critical
Publication of CN114531584B publication Critical patent/CN114531584B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • H04N19/107Selection of coding mode or of prediction mode between spatial and temporal predictive coding, e.g. picture refresh
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10544Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum
    • G06K7/10821Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum further details of bar or optical code scanning devices
    • G06K7/10861Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum further details of bar or optical code scanning devices sensing of data fields affixed to objects or articles, e.g. coded labels

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Electromagnetism (AREA)
  • General Health & Medical Sciences (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a video interval synthesis method and a video interval synthesis device of express mail code recognition machines, which are applied to express mail courier stations, wherein the express mail courier stations are provided with a global camera and at least two express mail code recognition machines, if the at least two express mail code recognition machines call the video live condition of the same global camera, the global camera adjusts the frame rate to the least common multiple of the frame rate of a code scanning camera, calculates the ratio of the frame rate of the global camera to the frame rate of each code scanning camera as a coding factor, and adjusts the coding mode of the global camera according to the coding factor corresponding to each code scanning camera. The invention can obtain the global camera code stream with clear images, and can synthesize and store the global camera code stream, thereby comprehensively storing the pickup evidence.

Description

Video interval synthesis method and device of express mail code recognizer
Technical Field
The application belongs to the technical field of express delivery pickup evidence preservation, and particularly relates to a video interval synthesis method and device of an express delivery code recognizer.
Background
With the development of electronic commerce, express logistics is becoming more and more a means for sending goods, and goods sent by express are also called express. However, when the courier delivers the courier, the courier is difficult to directly deliver to the receiver due to the fact that the receiver is not at the receiver address and the like. Therefore, express delivery cabinets, express delivery post stations and the like can be delivered at the same time, great convenience is provided for temporary placement and collection of express delivery of residents, and express delivery manpower is saved.
At present, a plurality of goods shelves are arranged in an express post house, and each layer of each goods shelf is provided with an independent number. When the courier puts the couriers on the shelf, the couriers are allocated with independent numbers 'XX numbers XXX layer XXX numbers' and are registered in a courier code scanning system for warehousing. The express post office sends the information to a receiver mobile phone, and the receiver gets the express according to the information to a related express post station. And after finding the express according to the received position information of the express, the receiver places the express on an express code recognition machine for recognition and takes away.
However, in the current express post station, a rapid loss event caused by mistaken taking still occurs, related personnel information needs to be searched by calling related surveillance videos according to time points, but videos of all cameras of the current express post station are independently stored, the searched information is complex, and the related personnel information can not be accurately searched by monitoring blind areas.
Disclosure of Invention
The application aims to provide a video interval synthesis method and device of an express code recognition machine, so as to accurately retain relevant evidence of a person who takes a mail.
In order to achieve the purpose, the technical scheme of the application is as follows:
the utility model provides a video interval synthetic method of express mail code recognition machine, is applied to express mail post house, the express mail post house is provided with the global camera to and two at least express mail code recognition machines, express mail code recognition machine is provided with sweeps a yard camera, express mail code recognition machine still is provided with gets a man's camera, and the yard camera of sweeping of same express mail code recognition machine is the same with the frame rate of getting a man's camera, express mail code recognition machine will sweep yard camera, get the video synthesis of a man's camera and global camera shooting and keep when discerning express mail success, the video interval synthetic method of express mail code recognition machine, include:
if the at least two express code recognition machines call the video live of the same global camera, adjusting the global camera frame rate to be the least common multiple of the code scanning camera frame rate;
calculating the ratio of the global camera frame rate to each code scanning camera frame rate as a coding factor;
adjusting the coding mode of the global camera according to the coding factor corresponding to each code scanning camera, wherein in a coding group, a first frame is an I frame, P frames corresponding to single-multiple coding factors refer to I frame coding, and P frames corresponding to other multiple coding factors refer to P frame coding corresponding to a previous multiple coding factor;
after the global camera video stream is obtained, extracting corresponding frames from the coding group according to the coding factor intervals of the code scanning cameras corresponding to the express code recognition machines, and generating a new global camera video stream with the frame rate consistent with that of the code scanning cameras corresponding to the express code recognition machines;
and synthesizing and storing the code scanning camera video, the pickup person camera video and the new global camera video.
Furthermore, P frames corresponding to the multiples of the non-coding factors are nulled in the coding group.
Furthermore, the P frame corresponding to the multiple of the non-coding factor in the coding group is coded by referring to the previous frame.
Further, in the one coding group, for a P frame corresponding to a coding factor multiple, a corresponding sequence number is set at a frame header thereof, and when a coded video stream is transmitted, the P frame corresponding to a non-coding factor multiple is deleted.
Further, after acquiring the global camera video stream, extracting corresponding frames from the coding group according to the coding factor interval corresponding to the code scanning camera of the express code identifier, and generating a new global camera video stream consistent with the code scanning camera frame rate of the express code identifier, including:
and after receiving the video stream of the global camera, the express code identifier extracts corresponding frames from the coding group according to the coding factor interval corresponding to the code scanning camera, and generates a new video stream of the global camera with the frame rate consistent with the frame rate of the code scanning camera.
Further, after acquiring the global camera video stream, extracting corresponding frames from the coding group according to the coding factor interval corresponding to the code scanning camera of the express code identifier, and generating a new global camera video stream consistent with the code scanning camera frame rate of the express code identifier, including:
and the network equipment accessed by the express code recognizer acquires the coding factor corresponding to the express code recognizer, extracts the corresponding frame from the received global camera video stream coding group according to the coding factor interval, generates a new global camera video stream and sends the new global camera video stream to the express code recognizer.
The application also provides a video interval synthesis device of the express mail code recognition machine, which comprises a processor and a memory, wherein the memory is stored with a plurality of computer instructions, and the computer instructions are executed by the processor to realize the steps of the video interval synthesis method of the express mail code recognition machine.
According to the video interval synthesis method and device for the express code identification machines, when at least two express code identification machines call videos of the same global camera in a live state, the global camera adjusts the frame rate to be the least common multiple of the frame rate of the code scanning camera, the ratio of the frame rate of the global camera to the frame rate of each code scanning camera is calculated and used as a coding factor, the coding mode of the global camera is adjusted according to the coding factor corresponding to each code scanning camera, in one coding group, the first frame is an I frame, P frames corresponding to single coding factors refer to I frame coding, and P frames corresponding to other multiple coding factors refer to P frame coding corresponding to the previous multiple coding factor. According to the technical scheme, the problem that videos are fuzzy due to different frame rates when two recognition machines with different frame rates call the same global camera can be solved. According to the technical scheme, the global camera code stream with clear images can be obtained and synthesized for storage, and the pickup evidence can be comprehensively stored.
Drawings
FIG. 1 is a flow chart of a video interval synthesis method of a flash code recognizer according to the present application;
fig. 2 is a schematic diagram of P frame coding according to an 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 described in further detail below with reference to the accompanying drawings and 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.
The application provides a video interval synthesis method and device of a express mail code recognizer, which are applied to express mail posters, wherein express mail posters are all provided with express mail code recognizers at present so that express mail extractors can scan codes and take the codes out of warehouses after picking mails. The mode is convenient for the management of the express courier station, and the labor cost is reduced. In order to reduce the wrong taking of express mails and provide express mail taking evidence, the conventional express mail posthouse is provided with a global camera for monitoring the whole express mail posthouse. The global cameras are usually distributed at each corner of the courier post, and fully cover the whole courier post.
The express code recognizer is provided with a code scanning camera facing downwards and is connected with a global camera through a network. In addition, the express code recognition machine is also provided with a pickup person camera, and the pickup person shoots the front video image of the pickup person when scanning the code and leaving the warehouse. When a person taking the express mail places the express mail on the table board and scans the code to be delivered out of the warehouse, the code scanning camera can display the express mail picture on the display screen in real time, meanwhile, the code scanning camera can detect the bar code on the package, after the express mail is found, the bar code area in the picture can display a rectangular frame, and a sound prompt is sent to prompt the successful recognition. And meanwhile, the pickup person camera is also used for shooting the front video of the pickup person when the pickup person scans the code and goes out of the warehouse.
In order to keep the video evidence of picking up the piece by the picking-up person, the quick piece code recognition machine stores the video shot by the code scanning camera, the video shot by the picking-up person camera and the called global camera video as the picking-up evidence.
Specifically, when a person who takes a mail places the express code in front of the express code recognition machine to scan the express code, the face of the person is not necessarily directly facing the express code recognition machine, and the orientation may shake and change. The orientation of the pickup can be seen through the pickup camera. According to the face orientation of a pickup person, the express code recognition machine needs to call a global camera which can shoot the front face of the pickup person most, obtain a real-time video, switch the global camera and splice the video on a time line if necessary, and combine the video and the video of the pickup person camera into the video shot by the code scanning camera to serve as a video evidence. The method comprises the following specific steps:
and before the pickup person reaches the express code recognition machine, the pickup person camera of the express code recognition machine selects the most appropriate global camera according to the orientation of the pickup person and the position information shared between the cameras, applies for a live video stream and acquires the long-range video of the pickup person.
When the express code recognition machine finds that the orientation of the pickup person is changed through the pickup person camera, a more appropriate global camera is found according to the position information shared among the cameras, and a live video stream is applied to the new global camera. And after obtaining the new live stream, stopping the video stream of the original global camera on demand.
And the express code recognition machine intercepts a plurality of sections of videos of the global camera during the code scanning period of the express person, intercepts videos starting from the I frame from each section of video stream, splices the videos according to time sequence, and synthesizes a new total video stream of the global camera. And simultaneously intercepting a live video stream collected by the pickup camera during the code scanning of the pickup.
And the express code recognition machine takes the intercepted total video stream of the global camera and the intercepted live video stream of the pick-up person camera as small pictures to be embedded into the table surface video stream shot by the code scanning camera, and the small pictures are used as video stream evidence to be left at the bottom.
Multiple video compositions are typically performed by extracting frames from each video stream and then combining them in a uniform layout. For example, if the frame rates of the code scanning camera and the pickup camera of the express code recognition machine are 25 frames/second, 25 frames in a 1-second time period of the video stream of the express placing table and the video stream of the pickup camera are extracted, 25 frames in a 1-second time period of the global camera are extracted, and the pictures are merged and rearranged to generate a new video according to a uniform layout (for example, the frame image of the pickup camera and the frame image of the global camera are overlapped to the lower left corner and the lower right corner of the frame image of the video stream of the express placing table).
The problem that may exist is that the express code recognizer a and the express code recognizer B simultaneously apply for a live stream from one global camera, since the former frame rate is 25 frames/second and the latter frame rate is 30 frames/second, while the global camera can only encode one video stream. For this reason, the video encoding method of the global camera needs to be changed to adapt to the video composition method.
In one embodiment, as shown in fig. 1, a video interval synthesis method of a express mail code recognition machine is provided, which is applied to a express mail post, where the express mail post is provided with a global camera and at least two express mail code recognition machines, the express mail code recognition machine is provided with a code scanning camera, the express mail code recognition machine is further provided with a pickup camera, the code scanning camera of the same express mail code recognition machine is the same as the frame rate of the pickup camera, and when the express mail recognition machine recognizes express mail successfully, the video interval synthesis method of the express mail code recognition machine synthesizes videos shot by the code scanning camera, the pickup camera and the global camera, and includes:
and step S1, if at least two express code identification machines call the video live of the same global camera, the global camera adjusts the frame rate to the least common multiple of the frame rate of the code scanning camera.
In this embodiment, a courier station is exemplified by two courier code identification machines, which are an identification machine a and an identification machine B, respectively, and a code scanning camera and a pickup camera in each identification machine are cameras equipped in the same device, and their frame rates are the same. However, the frame rates of the cameras of the recognition device a and the recognition device B are different. The following explains the case where the camera frame rate of the recognition device a is 25 frames/second and the camera frame rate of the recognition device B is 30 frames/second.
When only one express code recognition machine applies for a live video stream to the global camera, the express code recognition machine embeds the frame rate information of the express code recognition machine in a request message for broadcasting the live stream, for example, the recognition machine A embeds the frame rate information of 25 frames/second in the request message; after receiving the message, the global camera changes the frame rate of video coding to 25 frames/second and sends the video coding through multicast; and the recognizer A receives the video stream and synthesizes the video stream.
When two recognition machines apply for live stream to the same global camera and the global camera receives the request, the respective frame rates of the two recognition machines are found to be different, the least common multiple of the frame rates of the two recognition machines is selected, and the least common multiple of 25 and 30 is 150. The global camera modifies the frame rate to 150 frames/second for multicast transmission, and transmits the strategy of 150 frames/second to the recognition machine A and the recognition machine B.
Since each P frame in the video stream represents the difference of the current frame with respect to the previous frame, if each recognition machine takes P frames from the video stream of the global camera at intervals, the video stream will be blurred due to the loss of information. Therefore, the present embodiment readjusts the encoding method.
And step S2, calculating the ratio of the global camera frame rate to the code scanning camera frame rate as a coding factor.
The method comprises the following steps of firstly calculating the ratio of the frame rate of the global camera to the frame rate of each code scanning camera as a coding factor, wherein the coding factor comprises the following steps:
for the recognition machine A, the frame rate is 25 frames/second, the global camera frame rate is 150 frames/second, and the coding factor A is equal to 6;
for recognition machine B, the frame rate is 30 frames/sec, the global camera frame rate is 150 frames/sec, and the encoding factor a is equal to 5.
It should be noted that the coding factor may be calculated by the express code identifier, or calculated by the global camera, and no matter which device calculates, only the frame rate of the global camera and the frame rate of each code scanning camera need to be obtained, and after the coding factor is obtained through calculation, the coding factor may be shared by other devices through the network, so that the other devices obtain the coding factor, which is not described in detail below.
And step S3, adjusting the coding mode of the global camera according to the coding factor corresponding to each code scanning camera, wherein in a coding group, the first frame is an I frame, the P frame corresponding to the single coding factor refers to the I frame for coding, and the P frames corresponding to other multiple coding factors refer to the P frame corresponding to the previous multiple coding factor for coding.
According to the method, the global camera adopts frame rate coding of the least common multiple, but the coding mode must be changed to adapt to the video synthesis requirements of the two recognition machines.
In this embodiment, the global camera uses a frame rate of 150 frames/sec to adapt to frame rates of 25 frames/sec and 30 frames/sec of two recognition machines, and therefore, a non-uniform P frame generation manner is used, and the encoding group GOP uses 150 frames.
As shown in fig. 2, for recognizer a, the coding factor is 6, and the global camera extracts 25 frames of interval from 150 frames uniformly from the I frame when coding, and the 25 frames are independently forward-referenced. The 1 st frame is an I frame, the 6 th P frame is marked as P6, namely the P frame corresponding to the single coding factor, and P6 is coded with reference to the I frame. P12 (P frames for double coding factor) is coded with reference to P6, P18, P24, P30 … P144, in turn using the same strategy. Obviously, a total of 25 frames from the I frame, P6 frame, and up to P144 frame, are encoded with reference to the previous frame in turn.
For recognizer B, the coding factor is 5, and the global camera uniformly extracts 30 frames at intervals from 150 frames starting from the I frame when coding, and the 30 frames are independently subjected to forward reference. The 1 st frame is an I frame, the 5 th P frame is marked as P5, namely the P frame corresponding to the single coding factor, and P5 is coded with reference to the I frame. P10 (P frames for double coding factor) is coded with reference to P5, P15, P20, P25 … P145, in turn using the same strategy. Obviously, from the I frame, the P5 frame, and up to the P145 frame, a total of 30 frames, are encoded with reference to the previous frame in turn.
In this case, all the frames of the multiple of each coding factor in one coding group are coded, that is, the 1 st frame, P5, P6, P10, P12 … P144, and P145 are coded according to the above coding scheme. Other P-frames are encoded in a conventional manner, where a P-frame is encoded with reference to its previous frame.
After the coding, the global camera is still a path of code stream, and the identification machine A and the identification machine B respectively extract according to the frame rate after receiving the code stream. The recognizer A extracts 25 frames including the 1 st frame, P6, P12 … P144; recognizer B extracts the 1 st frame, P5, P10 … P145, and totally 30 frames
From the above description, it can be seen that for frames that are not multiples of the coding factor, this is not required in practical applications. Therefore, in a preferred technical solution of the present application:
and emptying the P frames corresponding to the multiples of the non-coding factors.
The rest P frames after the blanking do not contain difference information, so that the code rate can be greatly reduced.
In another preferred technical solution, the global camera further performs the following operations:
for the P frames corresponding to the multiple of the coding factor, the corresponding sequence numbers are set at the head of the frame, and when the coded video stream is sent, the P frames corresponding to the multiple of the non-coding factor are deleted.
In this embodiment, a sequence number is newly added to a frame header of a useful video frame such as P5, P6, P10, P12 …, etc., and the global camera actively discards other frames except a useful frame when sending a video code stream, and does not send the frame, thereby reducing the sent code stream.
After the recognition machine receives the code stream sent by the global camera, the recognition machine refers to the serial number of the frame head to select the video frame required by the recognition machine.
And step S4, after the global camera video stream is acquired, extracting corresponding frames from the coding group according to the coding factor interval of the code scanning camera corresponding to the express code identifier, and generating a new global camera video stream with the frame rate consistent with the code scanning camera frame rate corresponding to the express code identifier.
In this embodiment, the frames for forming a new global camera video are extracted from the video stream sent by the global camera, and may be performed in the express identifier or in another network device, which will be described below.
In a specific embodiment, the method is executed by a express code recognizer and comprises the following steps:
and after receiving the video stream of the global camera, the express code identifier extracts corresponding frames from the coding group according to the coding factor interval corresponding to the code scanning camera, and generates a new video stream of the global camera with the frame rate consistent with the frame rate of the code scanning camera.
For example, the recognition device a receives the multicast stream transmitted by the global camera, sequentially takes frames of P6, P12, and P18 every 6 frames from the I frame, takes 25 frames (including the I frame, P6, P12, …, and P144) for each GOP, merges the frames, and generates a new video stream.
The identifier B receives the multicast stream transmitted by the global camera, sequentially takes frames of P5, P10, and P15 every 5 frames from the I frame, takes 30 frames (including I frame, P5, P10, …, and P145) for each GOP, merges the images, and generates a new video stream.
In another specific embodiment, the method is executed by a network device accessed by a express code recognizer, and the express code recognizer is accessed into the network through the network device and is connected with the global camera. The video sent by the global camera is sent through the network and can reach the express code recognition machine through the network equipment. The method comprises the following steps:
and the network equipment accessed by the express code recognizer acquires the coding factor corresponding to the express code recognizer, extracts the corresponding frame from the received global camera video stream coding group according to the coding factor interval, generates a new global camera video stream and sends the new global camera video stream to the express code recognizer.
In this embodiment, since the express code identifier is the main device of the express courier station, the workload is more. And the network equipment accessed to the express code recognizer only transmits data, and the performance is relatively idle. In the embodiment, the network equipment is used for extracting the video frames, so that the load of the express code recognizer is reduced, the express code recognizer obtains the extracted video frames in an imperceptible manner, and no extra consumption performance is needed.
The network equipment accessed by the express code identification machine can acquire the frame rate of the code scanning camera on the express code identification machine through the network, and also can acquire the frame rate of the global camera through the network, so that the coding factor can be calculated. Or directly acquiring the coding factor corresponding to the express code recognizer to extract the video frame.
When extracting video frames, as in the express code recognizer in the previous embodiment, for the recognizer a, the network device receives the multicast stream sent by the global camera, and starts from the I frame, frame fetching of P6, P12, and P18 is performed in sequence every 6 frames, and 25 frames (including the I frame, P6, P12, …, and P144) are fetched for each GOP, image merging is performed, a new video stream is generated, and the new video stream is sent to the recognizer a.
For the identifier B, the network device receives the multicast stream sent by the global camera, and starts from the I frame, the frame fetching of P5, P10, and P15 is performed in sequence every 5 frames, each GOP fetches 30 frames (including the I frame, P5, P10, …, and P145), image merging is performed, a new video stream is generated, and the new video stream is sent to the identifier B.
Therefore, the express code recognizer directly obtains a new global camera video stream from the network device, and details are not repeated here. If the recognition machine A and the recognition machine B are jointly accessed into one network device, the network device can distinguish the recognition machines through the physical ports accessed by the recognition machines, respectively acquire frames, generate new video streams and send the new video streams to the corresponding recognition machines.
And step S5, synthesizing and storing the code scanning camera video, the pickup person camera video and the new global camera video.
After the video stream of the global camera is extracted by the recognition machine, the video stream can be synthesized and stored as evidence. It is easy to understand that the recognition machine mainly aims to store the image of the pickup person when the pickup person scans the code in front of the recognition machine and goes out of the warehouse as evidence, and the image can be a video of a period of time before and after the recognition of the recognition machine, or a video of a period of time after the recognition of the recognition machine is successful. Therefore, after the videos of the cameras are obtained, the videos can be synthesized through the recognition machine, and the videos can also be synthesized through the code scanning camera. The videos of the code scanning camera, the pickup person camera and the global camera can be packaged and stored, and the videos of the pickup person camera and the global camera can be embedded into the video shot by the recognition machine as picture-in-picture for storage.
In another embodiment, the present application further provides a video interval synthesizing apparatus for a express code recognizer, including a processor and a memory storing computer instructions, where the computer instructions, when executed by the processor, implement the steps of the video interval synthesizing method for the express code recognizer.
For specific limitations of the video interval synthesis device of the express code identifier, reference may be made to the above limitations of the video interval synthesis method of the express code identifier, and details are not repeated here. The video interval synthesizing device of the express mail code recognizer can be completely or partially realized by software, hardware and a combination thereof. The method can be embedded in hardware or independent from a processor in the computer device, and can also be stored in a memory in the computer device in software, so that the processor can call and execute the corresponding operation.
The memory and the processor are electrically connected, directly or indirectly, to enable transmission or interaction of data. For example, the components may be electrically connected to each other via one or more communication buses or signal lines. The memory stores a computer program that can be executed on the processor, and the processor executes the computer program stored in the memory, thereby implementing the network topology layout method in the embodiment of the present invention.
The Memory may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like. The memory is used for storing programs, and the processor executes the programs after receiving the execution instructions.
The processor may be an integrated circuit chip having data processing capabilities. The Processor may be a general-purpose Processor including a Central Processing Unit (CPU), a Network Processor (NP), and the like. The various methods, steps and logic blocks disclosed in embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. 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 patent shall be subject to the appended claims.

Claims (7)

1. The utility model provides a video interval synthetic method of express mail code recognition machine, is applied to express mail post house, the express mail post house is provided with the global camera to and two at least express mail code recognition machines, express mail code recognition machine is provided with sweeps a yard camera, a serial communication port, express mail code recognition machine still is provided with gets a man's camera, and the yard camera of sweeping of same express mail code recognition machine is the same with the frame rate of getting a man's camera, express mail code recognition machine will sweep yard camera, get a man's camera and the video synthesis of global camera shooting and preserve when discerning express mail success, the video interval synthetic method of express mail code recognition machine, include:
if the at least two express code recognition machines call the video live of the same global camera, adjusting the global camera frame rate to be the least common multiple of the code scanning camera frame rate;
calculating the ratio of the global camera frame rate to each code scanning camera frame rate as a coding factor;
adjusting the coding mode of the global camera according to the coding factor corresponding to each code scanning camera, wherein in a coding group, a first frame is an I frame, P frames corresponding to single-multiple coding factors refer to I frame coding, and P frames corresponding to other multiple coding factors refer to P frame coding corresponding to a previous multiple coding factor;
after acquiring a global camera video stream, extracting corresponding frames from a coding group according to coding factor intervals of code scanning cameras corresponding to express code identifiers, and generating a new global camera video stream consistent with the frame rate of the code scanning cameras corresponding to the express code identifiers;
and synthesizing and storing the code scanning camera video, the pickup person camera video and the new global camera video.
2. The method according to claim 1, wherein P frames corresponding to multiples of non-coding factors are blanked in the coding group.
3. The method according to claim 1, wherein the P frames corresponding to multiples of non-coding factors in the coding group are coded with reference to the previous frame.
4. The method according to claim 1, wherein in the one coding group, for a P frame corresponding to a multiple of a coding factor, a corresponding sequence number is set in a header of the P frame, and when transmitting the coded video stream, the P frame corresponding to a non-coding factor multiple is deleted.
5. The video interval synthesis method for the express code recognition machine according to claim 1, wherein after the global camera video stream is obtained, extracting corresponding frames from the coding group according to coding factor intervals corresponding to the code scanning cameras of the express code recognition machine, and generating a new global camera video stream having a frame rate consistent with that of the code scanning cameras of the express code recognition machine, includes:
and after receiving the video stream of the global camera, the express code identifier extracts corresponding frames from the coding group according to the coding factor interval corresponding to the code scanning camera, and generates a new video stream of the global camera with the frame rate consistent with the frame rate of the code scanning camera.
6. The video interval synthesis method for the express code recognition machine according to claim 1, wherein after the global camera video stream is obtained, extracting corresponding frames from the coding group according to coding factor intervals corresponding to the code scanning cameras of the express code recognition machine, and generating a new global camera video stream having a frame rate consistent with that of the code scanning cameras of the express code recognition machine, includes:
and the network equipment accessed by the express code recognizer acquires the coding factor corresponding to the express code recognizer, extracts the corresponding frame from the received global camera video stream coding group according to the coding factor interval, generates a new global camera video stream and sends the new global camera video stream to the express code recognizer.
7. A video interval synthesizing device of a express code recognizer, comprising a processor and a memory storing computer instructions, wherein the computer instructions, when executed by the processor, implement the steps of the method of any one of claims 1 to 6.
CN202210432923.9A 2022-04-24 2022-04-24 Video interval synthesis method and device of express mail code recognizer Active CN114531584B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210432923.9A CN114531584B (en) 2022-04-24 2022-04-24 Video interval synthesis method and device of express mail code recognizer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210432923.9A CN114531584B (en) 2022-04-24 2022-04-24 Video interval synthesis method and device of express mail code recognizer

Publications (2)

Publication Number Publication Date
CN114531584A true CN114531584A (en) 2022-05-24
CN114531584B CN114531584B (en) 2022-08-16

Family

ID=81628069

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210432923.9A Active CN114531584B (en) 2022-04-24 2022-04-24 Video interval synthesis method and device of express mail code recognizer

Country Status (1)

Country Link
CN (1) CN114531584B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011071833A (en) * 2009-09-28 2011-04-07 Brother Industries Ltd Communication terminal device, terminal control method, and terminal control program
JP2013196285A (en) * 2012-03-19 2013-09-30 Casio Comput Co Ltd Image processor, image processing method and program
WO2016075948A1 (en) * 2014-11-14 2016-05-19 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ Reproduction method, reproduction device and program
CN108769600A (en) * 2018-06-12 2018-11-06 杭州叙简科技股份有限公司 A kind of desktop sharing system and its desktop sharing method based on video flowing tune frame per second
US20190014332A1 (en) * 2017-07-07 2019-01-10 Apple Inc. Content-aware video coding
WO2020133465A1 (en) * 2018-12-29 2020-07-02 Zhejiang Dahua Technology Co., Ltd. Systems and methods for multi-video stream transmission
CN111951206A (en) * 2020-08-19 2020-11-17 Oppo(重庆)智能科技有限公司 Image synthesis method, image synthesis device and terminal equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011071833A (en) * 2009-09-28 2011-04-07 Brother Industries Ltd Communication terminal device, terminal control method, and terminal control program
JP2013196285A (en) * 2012-03-19 2013-09-30 Casio Comput Co Ltd Image processor, image processing method and program
WO2016075948A1 (en) * 2014-11-14 2016-05-19 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ Reproduction method, reproduction device and program
US20190014332A1 (en) * 2017-07-07 2019-01-10 Apple Inc. Content-aware video coding
CN108769600A (en) * 2018-06-12 2018-11-06 杭州叙简科技股份有限公司 A kind of desktop sharing system and its desktop sharing method based on video flowing tune frame per second
WO2020133465A1 (en) * 2018-12-29 2020-07-02 Zhejiang Dahua Technology Co., Ltd. Systems and methods for multi-video stream transmission
CN111951206A (en) * 2020-08-19 2020-11-17 Oppo(重庆)智能科技有限公司 Image synthesis method, image synthesis device and terminal equipment

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
DAVID CORMACK等: "Sensor Registration and Tracking from Heterogeneous Sensors with Belief Propagation", 《 2019 22TH INTERNATIONAL CONFERENCE ON INFORMATION FUSION (FUSION)》 *
MANORANJAN PAUL等: "A Long-Term Reference Frame for Hierarchical B-Picture-Based Video Coding", 《IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS FOR VIDEO TECHNOLOGY》 *
王志刚等: "基于帧映射算法的无线实时视频监控系统", 《电视技术》 *

Also Published As

Publication number Publication date
CN114531584B (en) 2022-08-16

Similar Documents

Publication Publication Date Title
US20220301300A1 (en) Processing method for augmented reality scene, terminal device, system, and computer storage medium
CN110012209B (en) Panoramic image generation method and device, storage medium and electronic equipment
KR101798011B1 (en) Video playing method and device
CN103581705A (en) Method and system for recognizing video program
CN202998337U (en) Video program identification system
CN103916626A (en) Monitoring video information providing method and device and video monitoring system
CN111432169B (en) Video transmission method, device, equipment and system
CN108062507A (en) A kind of method for processing video frequency and device
CN113163214A (en) Video processing method and device
US11146799B2 (en) Method and apparatus for decoding video bitstream, method and apparatus for generating video bitstream, storage medium, and electronic device
CN102917247A (en) Method for automatically recognizing television channel and television program
KR20190038134A (en) Live Streaming Service Method and Server Apparatus for 360 Degree Video
CN114531584B (en) Video interval synthesis method and device of express mail code recognizer
CN114531554B (en) Video fusion synthesis method and device of express mail code recognizer
CN114638885A (en) Intelligent space labeling method and system, electronic equipment and storage medium
CN113038002B (en) Image processing method and device, electronic equipment and readable storage medium
CN113518239A (en) Live broadcast interaction method and system, computer equipment and storage medium thereof
WO2023029252A1 (en) Multi-viewpoint video data processing method, device, and storage medium
JP2002247585A (en) Method for transmitting moving image, method for receiving moving image, program for moving image transmitting processing, recording medium for the program, program for moving image receiving processing, recording medium for the program
CN113905186B (en) Free viewpoint video picture splicing method, terminal and readable storage medium
CN114554114B (en) Express item code recognition machine pickup evidence persistence method and device
KR101676484B1 (en) Method for Providing Advertisement Relating Service
CN107483876A (en) Video data handling procedure, storage device, straight recorded broadcast interactive terminal
CN114554113B (en) Express item code recognition machine express item person drawing method and device
JPH07250312A (en) Portrait segmentation transmission method

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