CN111753734A - Container number identification system, identification method and electronic equipment - Google Patents

Container number identification system, identification method and electronic equipment Download PDF

Info

Publication number
CN111753734A
CN111753734A CN202010591470.5A CN202010591470A CN111753734A CN 111753734 A CN111753734 A CN 111753734A CN 202010591470 A CN202010591470 A CN 202010591470A CN 111753734 A CN111753734 A CN 111753734A
Authority
CN
China
Prior art keywords
container
box
image
camera
box number
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.)
Pending
Application number
CN202010591470.5A
Other languages
Chinese (zh)
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.)
Shenzhen CIMC Intelligent Technology Co Ltd
Original Assignee
China International Marine Containers Group Co Ltd
Shenzhen CIMC Intelligent 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 China International Marine Containers Group Co Ltd, Shenzhen CIMC Intelligent Technology Co Ltd filed Critical China International Marine Containers Group Co Ltd
Priority to CN202010591470.5A priority Critical patent/CN111753734A/en
Publication of CN111753734A publication Critical patent/CN111753734A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/20Scenes; Scene-specific elements in augmented reality scenes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/10Image acquisition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • G06V30/14Image acquisition
    • G06V30/148Segmentation of character regions
    • G06V30/153Segmentation of character regions using recognition of characters or words
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition

Abstract

The application provides a container number identification system, an identification method and electronic equipment; the container number identification system comprises a first sensor, a second sensor, a first camera, a second camera and an image identifier, wherein the image identifier is used for acquiring the container number image shot by the first camera and the container number image shot by the second camera, identifying the container number image and screening out a correct container number. Through setting up the first sensor that is used for responding to the container front end and targets in place, be used for responding to the second sensor that the container rear end targets in place and be used for responding to first sensor and second sensor's sensing signal's first camera and second camera, thereby when the front end of container and rear end satisfy specific position condition, shoot the case number image of container front end and rear end, acquire a plurality of case number images on the container and discern a plurality of case number images, and then select correct case number, the rate of accuracy of container number discernment has been improved greatly.

Description

Container number identification system, identification method and electronic equipment
Technical Field
The application relates to the technical field of container number identification, in particular to a container number identification system, an identification method and electronic equipment.
Background
When the container passes a gate such as customs, the container number of the container needs to be identified. In the related scheme, the container number is identified by shooting an image of a container number area and then according to the shot container number image. Due to the existence of possible objective factors such as pollution damage of box numbers, rain, snow, direct sunlight and reflection, the probability of errors of the recognition result is high.
Disclosure of Invention
In order to solve the technical problem of high error rate of the identification result, the invention provides a container number identification system capable of obviously improving the identification accuracy, which comprises the following components:
a first sensor and a second sensor for monitoring the position of the container, respectively;
the first camera is used for shooting an image of the number of the container on the front end of the container and/or shooting an image of the number of the container close to the front end on the side wall of the container when the first sensor monitors that the front end of the container reaches a first position;
the second camera is used for shooting a box number image on the rear end of the container and/or shooting a box number image close to the rear end on the side wall of the container when the second sensor monitors that the rear end of the container arrives at or leaves a second position;
and the image recognizer is used for recognizing the box number image shot by the first camera and the box number image shot by the second camera to obtain the box number corresponding to the container.
Further, the first sensor is a correlation sensor including a first transmitting end and a first receiving end, and when the front end of the container reaches the first position, a signal path between the first transmitting end and the first receiving end is blocked.
Further, the second sensor is a correlation sensor including a second transmitting end and a second receiving end, and when the rear end of the container reaches or leaves the second position, a signal path between the second transmitting end and the second receiving end is conducted.
Further, the first camera is used for shooting a box number image on the front end of the container when the first sensor monitors that the front end of the container reaches a first position; the second camera is used for shooting a box number image on the rear end of the container when the second sensor monitors that the rear end of the container arrives at or leaves a second position; the identification system further comprises:
the third camera is used for shooting a box number image of one side wall of the container close to the front end when the first sensor monitors that the front end of the container reaches the first position;
and the fourth camera is used for shooting a box number image of the other side wall of the container close to the rear end when the second sensor monitors that the rear end of the container reaches or leaves the second position.
The invention also provides a container number identification method, which comprises the following steps:
when the front end of the container is monitored to reach a first position, shooting a box number image on the front end of the container and/or shooting a box number image close to the front end on the side wall of the container;
when the rear end of the container is monitored to arrive at or leave the second position, shooting a box number image on the rear end of the container and/or shooting a box number image on the side wall of the container close to the rear end;
and identifying the box number contained in the shot box number image to obtain the box number corresponding to the container.
Further, identifying the box number contained in the shot box number image to obtain the box number corresponding to the container, includes:
identifying a box number contained in the box number image;
and checking the box number, and taking the box number which passes the checking as the box number corresponding to the container.
Further, verifying the box number includes:
determining powers corresponding to respective characters of a set number of bits in the box number;
taking a first set numerical value as a base number, and taking the power as an exponent to perform power operation on the first set numerical value to obtain a first numerical value corresponding to each character;
calculating the product of the first numerical value and the numerical value corresponding to the character to obtain a second numerical value corresponding to each character;
summing the second numerical values corresponding to the characters, and dividing the sum by a second set numerical value to obtain a remainder;
and checking the box number according to the remainder.
Further, the container includes a front box and a rear box; shooting the number image of the container on the front end of the container and/or shooting the number image of the container close to the front end on the side wall of the container, including:
and shooting a box number image on the front end of the front box, a box number image on the side wall of the front box, which is close to the front end of the front box, and a box number image on the side wall of the front box, which is close to the rear end of the front box.
Further, if the container comprises a front box and a rear box; shooting the box number image on the rear end of the container and/or shooting the box number image on the side wall of the container close to the rear end, including:
and shooting a box number image at the rear end of the rear box, a box number image on the side wall of the rear box, which is close to the rear end of the rear box, and a box number image on the side wall of the rear box, which is close to the front end of the rear box.
The invention also provides an electronic device comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the method of any one of the above when executing the computer program.
According to the technical scheme, the method has at least the following advantages and positive effects:
the application provides a container number identification system, an identification method and electronic equipment, through setting up the first sensor that is used for responding to the container front end and targets in place, the second sensor that is used for responding to the container rear end and targets in place and be used for responding to first sensor and the first camera and the second camera of the sensing signal of second sensor, thereby when the front end of container and rear end satisfy specific position condition, shoot the case number image of container front end and rear end, acquire a plurality of case number images on the container and discern a plurality of case number images, and then select correct case number, the rate of accuracy of container number discernment has been improved greatly.
Drawings
Fig. 1 is a schematic top view of a container (long container) on a vehicle in an embodiment of the present application, with the front end of the container reaching a first position.
Fig. 2 is a schematic top view of a rear end of a container (long container) on a vehicle away from a second position in an embodiment of the present application.
Fig. 3 is a schematic top view of a container (short box) on a vehicle with the front end in a first position and the rear end out of a second position in an embodiment of the present application.
Fig. 4 is a schematic block diagram of a top view of the front end of the front box of a container (double box) on a vehicle to a first position in an embodiment of the present application.
Fig. 5 is a schematic top view of the rear end of the rear box of the container (double box) on the vehicle away from the second position in an embodiment of the present application.
Fig. 6 is a schematic diagram illustrating steps of a container number identification method according to an embodiment of the present application.
Fig. 7 is a block diagram illustrating an image identification process of a container number of a container according to an embodiment of the present application.
Reference numerals:
1. a first sensor; 2. a second sensor; 3. a first camera; 4. a second camera; 5. a third camera; 6. a fourth camera; 7. a container; 71. a front box; 72. a rear box; 8. a vehicle.
Detailed Description
Exemplary embodiments that embody features and advantages of the present application will be described in detail in the following description. It is to be understood that the present application is capable of various modifications in various embodiments without departing from the scope of the application, and that the description and drawings are to be taken as illustrative and not restrictive in character.
In the description of the present application, it is to be understood that the terms "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," "counterclockwise," and the like are used in the orientations and positional relationships indicated in the drawings for convenience in describing the present application and for simplicity in description, and are not intended to indicate or imply that the referenced devices or elements must have a particular orientation, be constructed in a particular orientation, and be operated in a particular manner, and are not to be construed as limiting the present application. Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first", "second", may explicitly or implicitly include one or more of the described features. In the description of the present application, "a plurality" means two or more unless specifically limited otherwise.
Thus, a feature indicated in this specification will serve to explain one of the features of one embodiment of the disclosure, and does not imply that every embodiment of the disclosure must have the stated feature. Further, it should be noted that this specification describes many features. Although some features may be combined to show a possible system design, these features may also be used in other combinations not explicitly described. Thus, the combinations illustrated are not intended to be limiting unless otherwise specified.
In the embodiments shown in the drawings, directional references (such as up, down, left, right, front, and rear) are used to explain the structure and movement of the various elements of the present application not absolutely, but relatively. These descriptions are appropriate when the elements are in the positions shown in the drawings. If the description of the positions of these elements changes, the indication of these directions changes accordingly.
Containers carried by trucks typically have three types of arrangements, long, short and double. The long container and the short container are both independent containers, and the double container is two independent containers. Each individual container is assigned a unique container number. The container number of the container can be sprayed on the front end, the rear end and two sides of the container.
When a truck carrying a container passes through a customs gate, the number of each container needs to be determined, and when the container reaches a specific position of the gate, the number of the container is collected, and the specific position is referred to as a container monitoring position.
The preferred embodiments of the present application will be further described in detail below with reference to the accompanying drawings of the present specification.
The embodiment of the application provides a container number identification system, aiming at solving the technical problem that the error rate of the identification result of the current container number is high.
Referring to fig. 1 and 2, the container number recognition system includes a first sensor 1, a second sensor 2, a first camera 3, a second camera 4, a third camera 5, a fourth camera 6, and an image recognizer.
The first sensor 1 may be used to sense whether the front end of the container 7 has reached the first position. When the first sensor 1 senses that the front end of the container 7 reaches the first position, the first camera 3 shoots an image of the number of the container on the front end of the container 7 or shoots an image of the number of the container on the side wall of the container 7 near the front end.
For example, when the first camera 3 is installed before the container monitoring position at the gate, the image of the container number at the front end of the container 7 can be captured. When the first camera 3 is disposed on the side of the container monitoring position at the gate near the front end, an image of the container number near the front end on the side wall of the container 7 can be photographed.
When the first camera 3 includes a plurality of sub-cameras or can take pictures from a plurality of angles at the same time, it is also possible to take a box number image on the front end of the container 7 and a box number image on the side wall near the front end at the same time.
The second sensor 2 may be used to sense whether the rear end of the container 7 has reached or left the second position. When the second sensor 2 senses that the rear end of the container 7 reaches or leaves the second position, the second camera 4 photographs an image of the number of the container 7 on the front end of the container 7, or photographs an image of the number of the container 7 on the sidewall of the container 7 near the front end.
For example, when the second camera 4 is installed at the post of the container monitoring position at the gate, the image of the container number on the rear end of the container 7 can be captured. When the second camera 4 is disposed at the side of the container monitoring position at the gate near the rear end, an image of the container number near the rear end on the side wall of the container 7 can be photographed.
When the second camera 4 includes a plurality of sub-cameras or can photograph from a plurality of angles at the same time, it is also possible to photograph the box number image on the rear end of the container 7 and the box number image on the side wall near the rear end at the same time.
Thus, a plurality of box number images on the container 7 can be acquired by the first camera 3 and the second camera 4. The image recognizer recognizes a plurality of box number images of the container 7 captured by the first camera 3 and the second camera 4, so as to obtain a box number corresponding to the container 7. A plurality of box number images shot on the same container 7 are identified and screened through the image identifier, so that the identification success rate and the accuracy rate are greatly improved.
The first sensor 1 may specifically be a correlation sensor including a first transmitting end and a first receiving end. The first transmitting terminal and the first receiving terminal may be respectively provided on both left and right sides of the front end of the container monitoring position at the gate, so that when the front end of the container 7 reaches the front end of the container monitoring position, that is, the first position, the optical signal between the first transmitting terminal and the first receiving terminal is blocked. When the first receiving end cannot receive the optical signal emitted by the first emitting end due to the blockage of the front end of the container 7, the first sensor 1 emits a sensing signal indicating that the front end of the container 7 reaches the first position.
In particular, two first sensors 1 may be arranged in parallel to ensure operational reliability. In the case where two first sensors 1 are provided in parallel, the first camera 3 may be set to perform a photographing operation when both the two first sensors 1 emit a sensing signal indicating that the front end of the container 7 reaches the first position.
The first sensor 1 may specifically select an infrared correlation sensor, and the interference of external visible light and the sensitivity of triggering are eliminated by using the fixed wavelength and modulated infrared light emitted by the infrared correlation sensor. Since the system needs to adapt to the outdoor working conditions, the outdoor lighting conditions vary greatly. After the infrared sensor is adopted, the influence of a large amount of visible light in sunlight can be avoided.
In some embodiments, the first sensor 1 may also be an electromagnetic induction sensor, a pressure sensor, or the like.
The second sensor 2 may specifically be a correlation sensor comprising a second transmitting end and a second receiving end. The second transmitting end and the second receiving end can be specifically and respectively arranged on the left side and the right side of the rear end of the container monitoring position of the bayonet. When the container 7 passes through between the second transmitting end and the second receiving end, the optical signal between the second transmitting end and the second receiving end is firstly blocked and then conducted again. Thus, when the optical signal between the second transmitting terminal and the second receiving terminal changes from blocking to conducting, it indicates that the rear end of the container 7 is away from the rear end of the container monitoring position, i.e., the second position, and at this time, the second sensor 2 emits a sensing signal indicating that the rear end of the container 7 is away from the second position.
In particular, two second sensors 2 may be arranged in parallel to ensure operational reliability. In the case where two second sensors 2 are provided in parallel, the second camera 4 may be set to perform a photographing operation when both the two second sensors 2 send out sensing signals indicating that the rear end of the container 7 is away from the second position.
The second sensor 2 may be an infrared correlation sensor, in particular, to reduce the interference of ambient light. The second sensor 2 may be an electromagnetic induction sensor, a pressure sensor, or the like, depending on the actual situation.
Referring to fig. 3, the longitudinal distance between the first sensor 1 and the second sensor 2 in the front-rear direction may be, specifically, a length corresponding to one short box. Therefore, when one short box passes through the bayonet, the front end of the short box just shields between the first transmitting end and the first receiving end, and the rear end of the short box just leaves between the second transmitting end and the second receiving end, so that the first sensor 1 and the second sensor 2 simultaneously meet the triggering condition. The first sensor 1 and the second sensor 2 are triggered simultaneously, and the first camera 3 and the second camera 4 take box number images on the front end and the rear end of the short box simultaneously. In the case of a long container 7, the first sensor 1 is activated first and the second sensor 2 is activated later.
Specifically, the first camera 3 may be provided in front of the container monitoring position at the gate, and may photograph a box number image provided at the front end of the container 7 by directing the lens direction toward the direction in which the container transport vehicle 8 arrives. The first camera 3 is arranged at a height higher than the height of the vehicle 8 and the container 7 loaded on the vehicle 8, so that the vehicle 8 and the container 7 are prevented from being influenced to pass through the bayonet.
Specifically, the second camera 4 may be installed at the container monitoring position at the gate, and may photograph a box number image installed at the rear end of the container 7 by directing the lens direction toward the direction in which the container transport vehicle 8 travels. The second camera 4 is arranged at a height higher than the height of the vehicle 8 and the container 7 loaded on the vehicle 8, so that the vehicle 8 and the container 7 are prevented from being influenced to pass through the bayonet.
Specifically, the third camera 5 may be provided at a position near the front end on the right side of the container monitoring position at the gate, and may photograph a box number image provided near the front end on the right side of the container 7 by directing the lens toward the direction in which the container transport vehicle 8 passes. The third camera 5 may be provided at the same height as the box number image on the right side of the container 7 loaded on the vehicle 8 so as to take the box number image.
The third camera 5 is operable to respond to the sensing signal of the first sensor 1. For example, when the first sensor 1 senses that the front end of the container 7 reaches the first position, the first camera 3 captures an image of the number of the front end of the container 7, and the third camera 5 captures an image of the number of the right side of the container 7 near the front end.
The fourth camera 6 may be specifically provided at a position near the rear end on the left side of the container monitoring position at the gate, and may photograph a box number image near the rear end on the left side of the container 7 by directing the lens toward the direction in which the container transport vehicle 8 passes. The fourth camera 6 may be disposed at the same height as the box number image on the left side of the container 7 loaded on the vehicle 8 so as to photograph the box number image.
The fourth camera 6 is operable to respond to the sensing signal of the second sensor 2. For example, when the second sensor 2 senses that the rear end of the container 7 is away from the second position, the second camera 4 captures an image of the box number of the rear end of the container 7, and the fourth camera 6 captures an image of the box number of the left side of the container 7 near the rear end.
Referring to fig. 4, the fourth camera 6 may also be used to respond to the sensing signal of the first sensor 1 in case the container is a double container comprising a front container 71 and a rear container 72. For example, when the first sensor 1 senses that the front end of the front case 71 reaches the first position, the first camera 3 takes an image of the case number of the front end of the front case 71, and the fourth camera 6 takes an image of the case number of the left side of the front case 71 near the rear end of the front case 71.
Referring to fig. 5, the third camera 5 may also be used in response to the sensing signal of the second sensor 2 in case the container is a double container comprising a front container 71 and a rear container 72. For example, when the second sensor 2 senses that the rear end of the rear box 72 is away from the second position, the second camera 4 takes an image of the box number at the rear end of the rear box 72, and the third camera 5 takes an image of the box number at the right side of the rear box 72 near the front end of the rear box 72.
Referring to fig. 6, the present application further provides a container number identification method, including the following steps:
step S1, when it is monitored that the front end of the container reaches the first position, shooting an image of the number of the container on the front end of the container and/or shooting an image of the number of the container on the side wall of the container close to the front end;
step S2, when it is detected that the rear end of the container reaches or leaves the second position, shooting an image of the number of the container on the rear end of the container and/or shooting an image of the number of the container on the side wall of the container close to the rear end;
and step S3, identifying the box number contained in the shot box number image, and obtaining the box number corresponding to the container.
As described in the above step S1, the position of the front end of the container may be detected by the first sensor. When the first sensor monitors that the front end of the container reaches the first position, the first camera can be used for shooting an image of the number of the container on the front end of the container or shooting an image of the number of the container close to the front end on the side wall of the container. When the first camera is arranged in front of the container monitoring position at the bayonet, the image of the container number on the front end of the container can be shot. When the first camera is arranged on one side of the container monitoring position of the bayonet close to the front end, the image of the container number close to the front end on the side wall of the container can be shot. When the first camera includes a plurality of sub-cameras or can photograph from a plurality of angles at the same time, it is also possible to photograph the box number image on the front end of the container and the box number image on the side wall near the front end at the same time.
As described in the above step S2, the position of the rear end of the container may be detected by the second sensor. When the second sensor monitors that the rear end of the container reaches or leaves the second position, the second camera can be used for shooting an image of the number of the container on the rear end of the container or shooting an image of the number of the container on the side wall of the container close to the rear end. When the second camera is set in the container monitoring position of the bayonet, the image of the container number on the rear end of the container can be shot. When the second camera is arranged on one side of the container monitoring position of the bayonet and is close to the rear end, the image of the box number close to the rear end on the side wall of the container can be shot. When the first camera includes a plurality of sub-cameras or can photograph from a plurality of angles at the same time, it is also possible to photograph the box number image on the front end of the container and the box number image on the side wall near the front end at the same time. Thus, a plurality of box number images of the container are obtained.
As described in step S3, the image identifier may be used to identify the box numbers included in the plurality of box number images captured by the first camera and the second camera, and then obtain the box number corresponding to the container.
In the step, the correct box number corresponding to the container can be identified and screened out from the multiple box number images through various modes such as definition judgment, calculation validation and the like.
In some embodiments, the step S3 of recognizing the box number included in the captured box number image and obtaining the box number corresponding to the container includes:
step S31, recognizing a box number contained in the box number image;
and step S32, checking the box number, and taking the box number which passes the checking as the box number corresponding to the container.
As described in the above step S31, the box numbers included in the plurality of box number images captured by the first camera 3 and the second camera 4 may be recognized by the image recognizer, and recognizing each box number image generates a recognition result.
The process of identifying the box number in the box number image by the image identifier is as follows:
(1) and image decoding, namely decoding the image compressed by the JPEG algorithm into bitmap format buffer area data.
(2) And image processing, namely performing necessary image processing work on the source image for good recognition effect, such as image correction, edge extraction, filtering and noise reduction, color processing and the like.
(3) The method comprises the steps of carrying out feature extraction on a container number image on the basis of principles such as image segmentation and edge analysis, segmenting an image area containing a container number from a complex background, and forming an image area which is processed in an important mode.
(4) And (4) character segmentation, namely segmenting a single character from the image area subjected to key processing.
(5) Character recognition, which recognizes an image of a single character as an ASCII character representing its meaning.
(6) And (5) checking and processing, namely assembling the recognized single character results into a standard container number.
Due to the existence of objective factors such as serious pollution, damage, rain and snow, direct sunlight and reflection, and the like of the box number characters, the identification result cannot be guaranteed to be the correct box number.
As described in the step S32, all the results identified in the step S31 are verified, and the verified identification result is used as the box number corresponding to the container, thereby ensuring the accuracy of the identification result.
In some embodiments, the step S32 of verifying the box number includes:
a step S321 of determining powers corresponding to respective characters of a set number of digits in the box number;
step S322, taking a first set numerical value as a base number, and taking the power as an exponent to perform power operation on the first set numerical value to obtain a first numerical value corresponding to each character;
step S323, calculating the product between the first numerical value and the numerical value corresponding to the character to obtain a second numerical value corresponding to each character;
step S324, summing the second numerical values corresponding to the characters, and dividing the sum by a second set numerical value to obtain a remainder;
and step S325, checking the box number according to the remainder.
As described in step S321 above, the power corresponding to each character of the set number of digits in the box number is determined based on the box number identified in step S31 above.
For example:
the identified container number is ABMZ9876124, the set digit is the first ten digits of the container number, namely the first ten digits of characters are used as the verification basis.
The power corresponding to the first digit character A is determined to be 0, the power corresponding to the second digit character B is determined to be 1, and the power corresponding to the third digit character M is determined to be 2. And by analogy, finally determining the power corresponding to the tenth character 2 as 9.
As described in step S322 above, the first set value is raised to the base and the power determined above is raised to the exponent to obtain the first value corresponding to each character of the set number of bits.
For example: if the first set value is 2, the first value corresponding to the first digit A is 20The first value corresponding to the second bitword B is 21The first value corresponding to the third digit M is 22And so on, finally the first numerical value corresponding to the tenth character 2 is 29
As described in step S323, the product between each first numerical value and the numerical value corresponding to the corresponding character is calculated, so as to obtain the second numerical value corresponding to each character.
For example: the first four characters of the box number are all letters (A-Z), the last 6 characters are all numbers (0-9), and the last one is a check digit which is a number (0-9):
the letters correspond to the corresponding numerical values respectively, and the correspondence relationship is as follows:
A——10,
B——12,C——13,……,K——21,
L——23,M——24,……,U——32,
V——34,W——35,……,Z——38。
then, the first value is 20The value of the first digit character A is 10, and the product of the values is 10 × 20That is, the second value corresponding to the first digit character a is 10. First value of 21The corresponding second digit B corresponds to a value of 12, and the product between them is 12 × 21The second digit character B corresponds to 24, i.e., the second value is 24. By analogy, the first value 29The corresponding value of the tenth character 2 is 2, and the product of the value and the value is 2 × 291024, that is, the second value corresponding to the tenth character 2 is 1024.
As described in step S324 above, the second numerical values corresponding to the respective characters obtained in the above steps are summed, and the sum obtained by the operation is divided by the second set numerical value to obtain a remainder.
For example, the ten second numerical values obtained in the above example are summed, 10+24+ … … +1024, and the remainder is obtained by dividing the value obtained by the summation by 11.
The process of finally obtaining the remainder in step S321, step S322, step S323, and step S324 can be specifically expressed by the following formula:
Figure BDA0002555713100000111
where zz represents the remainder, pp represents the power to which the character corresponds, and aa [ pp ] represents the value of the top ten characters of each bin number corresponding to the power pp.
For example: the container number of the container is: ABMZ9876124
When the value obtained by the summation operation is denoted by xx, xx is 10 × 20+12×21+24×22+38×23+9×24+…+2×29
Then, the remainder zz is found to be xx/11
As described in step S325, the box number is checked based on the remainder obtained in the above step. For example:
if the remainder is equal to a predetermined number, for example, the remainder is equal to the number of the set digits in the container number, that is, zz is 10; alternatively, the remainder is equal to the check bit number, for example, if the check bit number of ABMZ9876124 is "4" of the last bit, i.e., zz ═ 4, then the check can be passed. That is, the remainder satisfying any of the above conditions can determine that the identified bin number is the correct bin number for the current container.
In some embodiments, the shipping container includes a front box and a rear box. That is, the same vehicle carries two containers in front and rear. When the front end of front box reachd the first position when first inductor is monitored, shoot the case number image on the front end of front box through setting up the first camera before the container monitoring position, shoot through locating the third camera that the container monitoring position right side is close to the front end and be close to on the right side wall of front box the case number image of front box front end is shot through locating the fourth camera that the container monitoring position left side is close to the rear end and is close to the case number image of front box rear end on the left side wall of front box. That is, when the front end of the front box reaches the first position, the box number image on the front end of the front box, the box number image on the side wall of the front box near the front end of the front box, and the box number image on the side wall of the front box near the rear end of the front box are shot simultaneously. Thereby obtaining three box number images arranged at different positions on the front box.
In some embodiments, in the case where the container is also a double container, when the second sensor detects that the rear end of the rear container reaches or leaves the second position, the second camera disposed behind the container monitoring position captures an image of the number of the rear container at the rear end, the fourth camera disposed on the left side of the container monitoring position near the rear end captures an image of the number of the rear container at the left side wall of the rear container near the rear end, and the third camera disposed on the right side of the container monitoring position near the front end captures an image of the number of the rear container at the right side wall of the rear container near the front end. That is, when it is monitored that the rear end of the rear box reaches or leaves the second position, a box number image on the rear end of the rear box, a box number image on the side wall of the rear box near the rear end of the rear box, and a box number image on the side wall of the rear box near the front end of the rear box are simultaneously photographed. Thereby obtaining three box number images arranged at different positions on the rear box.
In some embodiments, before the step S1 of capturing an image of a container number on the front end of the container and/or capturing an image of a container number on a sidewall of the container near the front end when it is detected that the front end of the container reaches the first position, the method further comprises:
step S01, judging the type of the container;
in step S01, before the first sensor detects that the front end of the container reaches the first position, the type of the container is determined, that is, whether the container loaded on the vehicle is a long container, a short container or a double container is determined. The type of the container can be determined by a vision system.
By integrating the container number identification system and the identification method, the container number identification system has the following working process:
when a vehicle 8 carrying a container 7 passes through a gate of a channel, the height of the infrared correlation sensor is smaller than that of the upper edge of the container 7, so that the correlation sensor can be in two states of blocking and conducting in the process of advancing the vehicle 8, and the camera judges the time for triggering the shutter by using the change of the two states.
With continued reference to fig. 1, when the container 7 loaded on the vehicle is a long container, the timing sequence of the camera is:
in the process of vehicle 8 advancing, two opposite-type sensors (first sensors 1) positioned at the front end of the container monitoring position are sequentially changed from being switched on to being shielded, and meanwhile, two opposite-type sensors (second sensors 2) at the back are shielded, so that the first camera 3 and the third camera 5 are simultaneously triggered to shoot a front-end box number image and a right-side box number image of a long box and respectively send the images to the identifiers for identification.
With continued reference to fig. 2, when the vehicle 8 continues to travel forward and the two correlation sensors (second sensor 2) located at the rear end of the container monitoring position are turned on from the shielded state, and the two correlation sensors (first sensor 1) located at the front end are shielded, the second camera 4 and the fourth camera 6 are simultaneously triggered to capture the box number image at the rear end of the long box and the box number image on the left side, and the images are respectively sent to the identifiers for identification.
With continued reference to fig. 3, when the container 7 loaded on the car is a short container, the timing sequence of the camera is:
when the vehicle 8 moves forward, the two opposite-type sensors (the first sensor 1) positioned at the front end of the container monitoring position are changed from being switched on to being shielded, and simultaneously the two opposite-type sensors (the second sensor 2) at the back are all changed from being shielded to being switched on, so that the first camera 3, the second camera 4, the third camera 5 and the fourth camera 6 are simultaneously triggered, namely, a front-end box number image, a right-side box number image, a left-side box number image and a rear-side box number image of a short box are shot and are respectively sent to the recognizer for recognition.
With continued reference to fig. 4, when the container loaded on the car is a double container, the timing sequence of the camera is:
when the two opposite-type sensors (first sensor 1) located at the front end of the container monitoring position are changed from on to off while the two opposite-type sensors (second sensor 2) located at the rear end are both off while the vehicle 8 is traveling, the first camera 3, the third camera 5, and the fourth camera 6 are simultaneously triggered, and a box number image on the front side of the front box 71, a box number image on the right side of the front box 71, and a box number image on the left side of the front box 71 are captured and are respectively sent to the identifiers for identification.
With continued reference to fig. 5, when the vehicle 8 continues to travel forward and the two correlation sensors (second sensor 2) located at the rear end of the container monitoring position are turned on from the blocking state, and the two correlation sensors (first sensor 1) located at the front are blocked, the second camera 4, the third camera 5, and the fourth camera 6 are simultaneously triggered to capture the box number image of the rear end of the rear box 72, the box number image of the left side of the rear box 72, and send the images to the identifiers for identification.
Therefore, after the vehicle 8 loaded with the container passes through the gate, if the vehicle is a single container 7, that is, a long container or a short container, four images of the number of the container can be taken, i.e., the front, the rear, the left and the right, and if the vehicle is a double container, three images of the number of the container can be taken, i.e., the front, the left and the right of the front container 71 and the rear, the left and the right of the rear container.
Referring to fig. 7, the identification process for the box number image is generally divided into three steps of queue creation, single image identification and multi-result verification. The method comprises the following specific steps:
1. establishing an identification queue
The logical analysis of the image shooting system and the erection of hardware in the system can not transmit images to a computer at the same time, so that the images sent first need to enter an identifier, and the images arriving later need to be queued. The recognition queue adopts a serial working mode, the main reason is that image analysis processing is a task with high occupancy rate and heavy burden for a CPU, time is wasted in the process of switching threads of the system only by adopting a plurality of parallel images for recognition, the overall performance cannot be improved, and the speed-up technology which is carried out by using a recognition result can be adopted by adopting a serial recognition method, so that the method is more practical.
2. Single image recognition
And sending the single image into a recognizer for image decoding, image processing, number segmentation, character recognition and result assembly, and finally outputting a recognizable box number by utilizing the maximum possibility. The output result contains a large amount of processing intermediate information such as color, arrangement, position and the like, and is prepared for the subsequent verification of multiple results.
3. Multiple result verification
By the system setting and identification method described in the above embodiment, the container number images of four different positions can be captured for the container 7 on each truck, but these images may be partially or completely unrecognizable due to some character damage caused by long-term use of scratch and dirt or may be too serious to cause segmentation error, which requires multiple identification results to be checked and corrected by using a multi-result redundancy check technology, and whether one or two containers are currently carried by the vehicle 8 can be determined. The result is generated as the final result of the container identification.
When the truck with the container passes through the gate of the channel, the electronic license plate data, the wagon balance weighing data, the IC card identification data and the like of the truck are collected, the collected data are sent to the data exchange system together, and the comparison result is waited.
The data exchange system feeds back a comparison result, for example, the LED displays 'please go straight' or 'please go to the inspection field', the stop lever is lifted, the traffic light is changed into a green light (a straight arrow or a right-turn arrow), and the driver is prompted to leave the wagon balance.
The present application also provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the method described in any of the above embodiments.
While the present application has been described with reference to several exemplary embodiments, it is understood that the terminology used is intended to be in the nature of words of description and illustration, rather than of limitation. As the present application may be embodied in several forms without departing from the spirit or essential characteristics thereof, it should also be understood that the above-described embodiments are not limited by any of the details of the foregoing description, but rather should be construed broadly within its spirit and scope as defined in the appended claims, and therefore all changes and modifications that fall within the meets and bounds of the claims, or equivalences of such meets and bounds are therefore intended to be embraced by the appended claims.

Claims (10)

1. A container number identification system, comprising:
a first sensor and a second sensor for monitoring the position of the container, respectively;
the first camera is used for shooting an image of the number of the container on the front end of the container and/or shooting an image of the number of the container close to the front end on the side wall of the container when the first sensor monitors that the front end of the container reaches a first position;
the second camera is used for shooting a box number image on the rear end of the container and/or shooting a box number image close to the rear end on the side wall of the container when the second sensor monitors that the rear end of the container arrives at or leaves a second position;
and the image recognizer is used for recognizing the box number image shot by the first camera and the box number image shot by the second camera to obtain the box number corresponding to the container.
2. The container identification system of claim 1,
the first sensor is a correlation sensor comprising a first transmitting end and a first receiving end, and when the front end of the container reaches the first position, a signal path between the first transmitting end and the first receiving end is blocked.
3. The container identification system of claim 1,
the second sensor is a correlation sensor comprising a second transmitting end and a second receiving end, and when the rear end of the container leaves the second position, a signal path between the second transmitting end and the second receiving end is conducted.
4. The container number identification system of claim 1, wherein said first camera is configured to capture an image of a container number on a front end of said container when said first sensor detects that said front end of said container reaches a first position; the second camera is used for shooting a box number image on the rear end of the container when the second sensor monitors that the rear end of the container arrives at or leaves a second position; the identification system further comprises:
the third camera is used for shooting a box number image of one side wall of the container close to the front end when the first sensor monitors that the front end of the container reaches the first position;
and the fourth camera is used for shooting a box number image of the other side wall of the container close to the rear end when the second sensor monitors that the rear end of the container reaches or leaves the second position.
5. A container number identification method is characterized by comprising the following steps:
when the front end of the container is monitored to reach a first position, shooting a box number image on the front end of the container and/or shooting a box number image close to the front end on the side wall of the container;
when the rear end of the container is monitored to arrive at or leave the second position, shooting a box number image on the rear end of the container and/or shooting a box number image on the side wall of the container close to the rear end;
and identifying the box number contained in the shot box number image to obtain the box number corresponding to the container.
6. The method for identifying the container number of claim 5, wherein identifying the container number included in the photographed image of the container number to obtain the container number corresponding to the container comprises:
identifying a box number contained in the box number image;
and checking the box number, and taking the box number which passes the checking as the box number corresponding to the container.
7. The container number identification method of claim 6, wherein verifying the container number comprises:
determining powers corresponding to respective characters of a set number of bits in the box number;
taking a first set numerical value as a base number, and taking the power as an exponent to perform power operation on the first set numerical value to obtain a first numerical value corresponding to each character;
calculating the product of the first numerical value and the numerical value corresponding to the character to obtain a second numerical value corresponding to each character;
summing the second numerical values corresponding to the characters, and dividing the sum by a second set numerical value to obtain a remainder;
and checking the box number according to the remainder.
8. The container box number identification method as claimed in claim 5, wherein the container includes a front box and a rear box; shooting the number image of the container on the front end of the container and/or shooting the number image of the container close to the front end on the side wall of the container, including:
and shooting a box number image on the front end of the front box, a box number image on the side wall of the front box, which is close to the front end of the front box, and a box number image on the side wall of the front box, which is close to the rear end of the front box.
9. The container box number identification method as claimed in claim 5, wherein the container includes a front box and a rear box; shooting the box number image on the rear end of the container and/or shooting the box number image on the side wall of the container close to the rear end, including:
and shooting a box number image at the rear end of the rear box, a box number image on the side wall of the rear box, which is close to the rear end of the rear box, and a box number image on the side wall of the rear box, which is close to the front end of the rear box.
10. An electronic device comprising a memory and a processor, the memory having stored therein a computer program, wherein the processor, when executing the computer program, implements the method of any of claims 5 to 9.
CN202010591470.5A 2020-06-24 2020-06-24 Container number identification system, identification method and electronic equipment Pending CN111753734A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010591470.5A CN111753734A (en) 2020-06-24 2020-06-24 Container number identification system, identification method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010591470.5A CN111753734A (en) 2020-06-24 2020-06-24 Container number identification system, identification method and electronic equipment

Publications (1)

Publication Number Publication Date
CN111753734A true CN111753734A (en) 2020-10-09

Family

ID=72677294

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010591470.5A Pending CN111753734A (en) 2020-06-24 2020-06-24 Container number identification system, identification method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111753734A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112960552A (en) * 2021-02-26 2021-06-15 三一海洋重工有限公司 Container number identification device and method and container transportation system
CN116074616A (en) * 2023-04-06 2023-05-05 上海知率智能科技有限公司 Container image acquisition system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1091721A (en) * 1996-09-13 1998-04-10 Mitsubishi Heavy Ind Ltd Container number reader
KR20110036386A (en) * 2009-10-01 2011-04-07 (주)소노비젼 Container monitoring system using a pantoscopic camera
CN103530758A (en) * 2013-10-31 2014-01-22 郑恒强 Intelligent terminal and OCR (optical character recognition) technology based automatic container information acquisition system
CN106969715A (en) * 2017-05-17 2017-07-21 许昌瑞示电子科技有限公司 Container vehicle inspection system
CN109492449A (en) * 2019-01-04 2019-03-19 清华大学 Cabinet identifying system, checks equipment and port facilities at recognition methods
CN110348451A (en) * 2019-07-18 2019-10-18 西南交通大学 Case number (CN) automatic collection and recognition methods in railway container cargo handling process
CN210348508U (en) * 2019-07-02 2020-04-17 北京华力兴科技发展有限责任公司 Container number identification system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1091721A (en) * 1996-09-13 1998-04-10 Mitsubishi Heavy Ind Ltd Container number reader
KR20110036386A (en) * 2009-10-01 2011-04-07 (주)소노비젼 Container monitoring system using a pantoscopic camera
CN103530758A (en) * 2013-10-31 2014-01-22 郑恒强 Intelligent terminal and OCR (optical character recognition) technology based automatic container information acquisition system
CN106969715A (en) * 2017-05-17 2017-07-21 许昌瑞示电子科技有限公司 Container vehicle inspection system
CN109492449A (en) * 2019-01-04 2019-03-19 清华大学 Cabinet identifying system, checks equipment and port facilities at recognition methods
CN210348508U (en) * 2019-07-02 2020-04-17 北京华力兴科技发展有限责任公司 Container number identification system
CN110348451A (en) * 2019-07-18 2019-10-18 西南交通大学 Case number (CN) automatic collection and recognition methods in railway container cargo handling process

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112960552A (en) * 2021-02-26 2021-06-15 三一海洋重工有限公司 Container number identification device and method and container transportation system
CN116074616A (en) * 2023-04-06 2023-05-05 上海知率智能科技有限公司 Container image acquisition system
CN116074616B (en) * 2023-04-06 2023-06-20 上海知率智能科技有限公司 Container image acquisition system

Similar Documents

Publication Publication Date Title
KR100459475B1 (en) System and method for judge the kind of vehicle
JP4035910B2 (en) Car color discrimination device
CN111989544A (en) System and method for indoor vehicle navigation based on optical targets
CN111753734A (en) Container number identification system, identification method and electronic equipment
US20200380284A1 (en) Method and Apparatus For License Plate Recognition Using Multiple Fields of View
WO2010006361A1 (en) Detection of vehicles in images of a night time scene
KR102297169B1 (en) Vehicel management system using vehicle license plate, vehicle model recognition and rfid sensor
US10635910B2 (en) Malfunction diagnosis apparatus
US11157746B2 (en) Method and system for detecting an elevated object situated within a parking facility
US10789502B2 (en) Extraneous-matter detecting apparatus and extraneous-matter detecting method
CN112115904A (en) License plate detection and identification method and device and computer readable storage medium
KR102282118B1 (en) Lifting gate for parking equipped with vehicle recognizer through image analysis based on artificial intelligence and construction method thereof
US11030465B1 (en) Method for analyzing number of people and system thereof
CN114067295A (en) Method and device for determining vehicle loading rate and vehicle management system
CN112651398A (en) Vehicle snapshot control method and device and computer readable storage medium
CN110232827B (en) Free flow toll collection vehicle type identification method, device and system
JP6781566B2 (en) Vehicle information recognition system, vehicle detection device, vehicle information recognition method and program
CN111832345A (en) Container monitoring method, device and equipment and storage medium
JP4706693B2 (en) Vehicle color determination device, vehicle color determination system, and vehicle color determination method
CN108305460A (en) A kind of method and terminal of identification overloaded vehicle
US11525937B2 (en) Registration system
CN115298705A (en) License plate recognition method and device, electronic equipment and storage medium
CN113486837B (en) Automatic driving control method for low-pass obstacle
CN113327337A (en) Method for ensuring normal payment and departure of vehicle
CN112016514B (en) Traffic sign recognition method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20230414

Address after: 518000 Shenzhen national engineering laboratory building b1001-b1004, No. 20, Gaoxin South seventh Road, high tech Zone community, Yuehai street, Nanshan District, Shenzhen, Guangdong

Applicant after: SHENZHEN CIMC SECURITY AND SMART TECHNOLOGY Co.,Ltd.

Address before: Room 102, Block A, Phase II, Science and Technology Building, 1057 Nanhai Avenue, Shekou, Nanshan District, Shenzhen City, Guangdong Province, 518000

Applicant before: SHENZHEN CIMC SECURITY AND SMART TECHNOLOGY Co.,Ltd.

Applicant before: CHINA INTERNATIONAL MARINE CONTAINERS (GROUP) Ltd.

TA01 Transfer of patent application right