Dynamic cargo transportation and identity authentication method and system, and electronic equipment

By setting up RFID card reading equipment and camera modules in the logistics park to authenticate the identity of cargo transport personnel, the problem of difficult to ensure the safety and identity authentication of cargo transportation in the existing technology is solved, and dynamic management and efficient transportation monitoring are achieved.

CN118917765AInactive Publication Date: 2024-11-08青岛全链帮数智创新科技有限公司 +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411137660.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-19
Publication Date
2024-11-08
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing technology cannot effectively realize the dynamic management of cargo transportation and driver identity authentication during transportation, resulting in difficulty in ensuring the safety and reliability of cargo transportation.

Method used

RFID card reading equipment and camera module are set up at the exit of the logistics park. RFID cards are used to read the identity information of the transporter, and real facial images are obtained through the camera for grayscale processing and face detection, facial feature points are extracted, and the database is judged. The matching degree of feature maps is performed for identity authentication.

Benefits of technology

It realizes dynamic management and safety monitoring of cargo transportation, ensures the safety of goods during transportation and the effectiveness of identity authentication, and improves the intelligence and reliability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118917765A_ABST
    Figure CN118917765A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of dynamic cargo transportation and identity authentication scheme design, in particular to a dynamic cargo transportation and identity authentication method and system and electronic equipment. The RFID card reading device is arranged at the exit of the logistics park, the RFID card is arranged on the side face of the target vehicle, and when the transport vehicle enters and exits the park, the RFID card is used for reading the identity information of the target transport personnel of the target goods stored in the RFID card; the method comprises the following steps: calling a target facial feature map of a target transportation person stored in a transportation person database according to identity information of the target transportation person obtained by a target, obtaining an image of a real face of the target transportation person by using a camera module arranged at an exit of a logistics park, and further judging whether identity authentication is passed or not; whether cargo transportation is safe and reliable or not is monitored, dynamic management of cargo transportation is achieved, cargo safety in the transportation process is ensured, and effective driver identity authentication can be carried out in the dynamic transportation process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of dynamic cargo transportation and identity authentication scheme design, and in particular to a dynamic cargo transportation and identity authentication method and system, and electronic equipment. Background Art

[0002] With the rapid development of my country's economy, logistics enterprises have developed rapidly in my country. The vehicle operation volume of third-party logistics enterprises for the automotive industry is increasing, and the management of logistics vehicles is one of the most important factors affecting the automobile transportation market. If you want to have an advantage in the automobile transportation market, you must master the dynamics of the entire vehicle transportation. At present, in the third-party logistics business entrustment, the focus of cargo owners is whether the cargo transportation is safe and reliable, whether dynamic management can be achieved, whether the cargo is safe during transportation, and whether effective driver identity authentication can be performed during dynamic transportation. However, the logistics management system in the existing technology cannot solve the above problems one by one.

[0003] Therefore, the prior art needs to be further developed. Summary of the invention

[0004] The purpose of the present invention is to overcome the above technical deficiencies and provide a dynamic cargo transportation and identity authentication method and system, and electronic equipment to solve the problems existing in the prior art.

[0005] To achieve the above technical objectives, according to a first aspect of the present invention, the present invention provides a dynamic cargo transportation and identity authentication method, the method comprising: S100, an RFID card reader is set at the exit of the logistics park, and an RFID card is set on the side of the target vehicle. When the transport vehicle enters or leaves the park, the RFID card is used to read the identity information of the target transporter of the target goods stored in the RFID card, and the target facial feature map of the target transporter stored in the transporter database is retrieved according to the identity information of the target transporter obtained by the target; S200, using a camera module disposed at the exit of the logistics park, obtaining an image of the real face of the target transporter, performing grayscale processing on the image of the real face of the target transporter to obtain a real facial grayscale image, performing face detection and facial feature extraction on the real facial grayscale image to obtain a real facial feature map; S300, determining whether the facial features of the real facial feature map and the target facial feature map are the same, and determining whether the identity authentication is passed based on the determination result.

[0006] Specifically, the grayscale processing of the real face image of the target transport personnel to obtain the real face grayscale image includes: The cv2.imread function in opencv is used to read the real facial image of the target transport personnel, and the cv2.cvtcolor function in opencv is used to convert the real facial image of the target transport personnel into a real facial grayscale image.

[0007] Specifically, the step of performing face detection and face feature extraction on the real facial grayscale image to obtain a real facial feature map includes: Use the dlib.get_frontal_face_detector() function in dlib to perform face detection on the real facial grayscale image to obtain the face detection image.

[0008] Specifically, the target facial feature map includes 68 facial feature points, and the face detection and facial feature extraction are performed on the real facial grayscale image to obtain the real facial feature map, and further includes: The shape_predictor_68_face_landmasks.dot function in dlib is used to extract 68 facial feature points in the face detection image, and the image with 68 facial feature points is stored as a real facial feature map.

[0009] Specifically, the determining whether the facial features of the real facial feature map and the target facial feature map are the same includes: The real facial feature map is scaled to the same size as the target facial feature map, a real facial feature point is randomly selected from the real facial feature map, a first pixel coordinate of the real facial feature point in the real facial feature map is obtained, a target facial feature point closest to the first pixel coordinate is selected in the target facial feature map according to the first pixel coordinate, and a second pixel coordinate of the target facial feature point in the target facial feature map is obtained, an absolute value of the Euclidean distance between the first pixel coordinate and the second pixel coordinate is calculated, and it is determined whether the absolute value is less than or equal to a first preset threshold value, and whether the selected real facial feature point is verified according to the judgment result, and whether the remaining real facial feature points are verified by the same method, and the number of verified real facial feature points is calculated, and it is determined whether the number of verified real facial feature points is greater than or equal to a second preset threshold value, and whether the facial features of the real facial feature map and the target facial feature map are the same according to the judgment result.

[0010] Specifically, judging whether the absolute value is less than or equal to a first preset threshold, and judging whether the selected real facial feature point passes the verification according to the judging result, includes: If the absolute value is less than or equal to a first preset threshold, it is determined that the selected real facial feature point has passed the verification; If the absolute value is greater than a first preset threshold, it is determined that the selected real facial feature point has not passed the verification.

[0011] Specifically, the determining whether the number of the verified real facial feature points is greater than or equal to a second preset threshold, and determining whether the facial features of the real facial feature map and the target facial feature map are the same according to the determination result, includes: If the number of verified real facial feature points is greater than or equal to a second preset threshold, it is determined that the facial features of the real facial feature map and the target facial feature map are the same; If the number of the verified real facial feature points is less than the second preset threshold, it is determined that the facial features of the real facial feature map and the target facial feature map are different.

[0012] Specifically, the determining whether the facial features of the real facial feature map and the target facial feature map are the same, and determining whether the identity authentication is passed according to the determination result, includes: If the facial features of the real facial feature map and the target facial feature map are the same, it is determined that the identity authentication is passed, and a prompt signal indicating that the identity authentication is passed is output; If the facial features of the real facial feature map and the target facial feature map are different, it is determined that the identity authentication has failed, and an alarm signal related to the identity authentication failure is output.

[0013] According to a second aspect of the present invention, there is provided a dynamic cargo transportation and identity authentication system, comprising: The acquisition module includes an RFID card reader device arranged at the exit of the logistics park and an RFID card arranged on the side of the target vehicle, which is used to read the identity information of the target transporter of the target goods stored in the RFID card when the transport vehicle enters and exits the park; and also includes a camera module arranged at the exit of the logistics park, which is used to obtain the real facial image of the target transporter; The control module is used to retrieve the target facial feature map of the target transport personnel stored in the transport personnel database according to the identity information of the target transport personnel obtained by the target; to perform grayscale processing on the image of the real face of the target transport personnel to obtain a real facial grayscale image, perform face detection and facial feature extraction on the real facial grayscale image to obtain a real facial feature map; to determine whether the facial features of the real facial feature map and the target facial feature map are the same, and determine whether the identity authentication is passed according to the judgment result.

[0014] According to a third aspect of the present invention, there is provided an electronic device, comprising: a memory; and a processor, wherein the memory stores computer-readable instructions, and the computer-readable instructions, when executed by the processor, implement the above-mentioned dynamic cargo transportation and identity authentication method.

[0015] Beneficial effects: The present invention realizes that an RFID card reader is arranged at the exit of a logistics park, and an RFID card is arranged on the side of a target vehicle. When a transport vehicle enters or exits the park, the RFID card is used to read the identity information of a target transporter of target goods stored in the RFID card, and a target facial feature map of the target transporter stored in a transporter database is retrieved according to the identity information of the target transporter obtained by the target. A camera module arranged at the exit of the logistics park is used to obtain a real facial image of the target transporter, and grayscale processing is performed on the real facial image of the target transporter to obtain a real facial grayscale image. Face detection and facial feature extraction are performed on the real facial grayscale image to obtain a real facial feature map. It is judged whether the facial features of the real facial feature map and the target facial feature map are the same, and it is judged whether the identity authentication is passed according to the judgment result, thereby realizing the monitoring of whether the cargo transportation is safe and reliable, realizing the dynamic management of the cargo transportation, ensuring the safety of the cargo during transportation, and being able to perform effective driver identity authentication during the dynamic transportation process, thereby greatly improving the intelligence, safety and reliability of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 is a flow chart of a dynamic cargo transportation and identity authentication method provided in a specific embodiment of the present invention; Figure 2 It is a schematic diagram of the system composition of the dynamic cargo transportation and identity authentication system provided in a specific embodiment of the present invention. DETAILED DESCRIPTION

[0017] In order to enable those skilled in the art to better understand the technical solution of the present invention, the technical solution of the present invention is clearly and completely described below in conjunction with the accompanying drawings of the present invention. Based on the embodiments in this application, other similar embodiments obtained by ordinary technicians in this field without making creative work should all fall within the scope of protection of this application. In addition, the directional words mentioned in the following embodiments, such as "up", "down", "left", "right", etc., are only reference to the directions of the accompanying drawings. Therefore, the directional words used are used to illustrate rather than limit the invention.

[0018] The present invention will be further described below in conjunction with the accompanying drawings and preferred embodiments.

[0019] See also Figure 1 The present invention provides a dynamic cargo transportation and identity authentication method, comprising: S100. An RFID card reader is installed at the exit of the logistics park, and an RFID card is installed on the side of the target vehicle. When the transport vehicle enters or leaves the park, the RFID card is used to read the identity information of the target transport personnel of the target goods stored in the RFID card, and the target facial feature map of the target transport personnel stored in the transport personnel database is retrieved based on the identity information of the target transport personnel obtained by the target.

[0020] Specifically, the target facial feature map includes 68 facial feature points.

[0021] It should be noted that the steps before step S100 include: A first preset threshold, a second preset threshold, a transportation personnel database consisting of a target facial feature map of the transportation personnel, a C++ library dlib, and an OpenCV visual library are pre-set in the control module.

[0022] It can be understood that the C++ library dlib includes the dlib.get_frontal_face_detector() function and the shape_predictor_68_face_landmasks.dot function; and the OpenCV includes the cv2.imread function and the cv2.cvtcolor function.

[0023] It can be understood that the cv2.imread function is used to read the image of the real face of the target transport personnel, and the cv2.cvtcolor function is used to convert the image of the real face of the target transport personnel into a real facial grayscale image; the dlib.get_frontal_face_detector() function in the dlib is used to perform face detection on the real facial grayscale image to obtain a face detection image; the shape_predictor_68_face_landmasks.dot function in the dlib is used to extract 68 facial feature points in the face detection image.

[0024] It should be noted here that the transport personnel database composed of the first preset threshold, the second preset threshold, and the target facial feature map of the transport personnel can be specifically set according to actual needs. The present invention does not limit the specific setting of the above parameters, as long as it is applicable to the dynamic cargo transportation and identity authentication method proposed in the present invention.

[0025] Preferably, the present invention sets the first preset threshold to 5 mm, and the present invention sets the second preset threshold to 50. The above parameters are obtained by the technicians of the present invention through a large number of tests, which can better implement the dynamic cargo transportation and identity authentication method proposed by the present invention, and greatly improve the usability of the present invention.

[0026] It is understandable that when it comes to the conversion of screen size and pixels, it can be understood through some basic ratios. For example, when the image resolution is 800 pixels * 600 pixels, the combination of 800 pixels in width and 480 pixels in height, the corresponding screen size is 7 inches. The 800-pixel width here is equivalent to approximately 45 centimeters, and the 480-pixel height is approximately equal to 55 centimeters. Therefore, the present invention sets the first preset threshold to 5 mm, and the present invention sets the image resolution used to 800 pixels * 600 pixels. The above parameters are obtained by the technicians of the present invention through a large number of tests, and can better implement the dynamic cargo transportation and identity authentication method proposed by the present invention. The usability of the present invention is further improved.

[0027] S200. Use the camera module set at the exit of the logistics park to obtain the real facial image of the target transportation personnel, perform grayscale processing on the real facial image of the target transportation personnel to obtain a real facial grayscale image, perform face detection and facial feature extraction on the real facial grayscale image to obtain a real facial feature map.

[0028] Specifically, the grayscale processing of the real face image of the target transport personnel to obtain the real face grayscale image includes: The cv2.imread function in opencv is used to read the real facial image of the target transport personnel, and the cv2.cvtcolor function in opencv is used to convert the real facial image of the target transport personnel into a real facial grayscale image.

[0029] Specifically, the step of performing face detection and face feature extraction on the real facial grayscale image to obtain a real facial feature map includes: Use the dlib.get_frontal_face_detector() function in dlib to perform face detection on the real facial grayscale image to obtain the face detection image.

[0030] Specifically, the step of performing face detection and face feature extraction on the real facial grayscale image to obtain a real facial feature map also includes: The shape_predictor_68_face_landmasks.dot function in dlib is used to extract 68 facial feature points in the face detection image, and the image with 68 facial feature points is stored as a real facial feature map.

[0031] It should be noted here that the target function feature map is also generated using the above function, and therefore, also has 68 facial feature points.

[0032] S300, determining whether the facial features of the real facial feature map and the target facial feature map are the same, and determining whether the identity authentication is passed based on the determination result.

[0033] Specifically, the determining whether the facial features of the real facial feature map and the target facial feature map are the same includes: The real facial feature map is scaled to the same size as the target facial feature map, a real facial feature point is randomly selected from the real facial feature map, a first pixel coordinate of the real facial feature point in the real facial feature map is obtained, a target facial feature point closest to the first pixel coordinate is selected in the target facial feature map according to the first pixel coordinate, and a second pixel coordinate of the target facial feature point in the target facial feature map is obtained, an absolute value of the Euclidean distance between the first pixel coordinate and the second pixel coordinate is calculated, and it is determined whether the absolute value is less than or equal to a first preset threshold value, and whether the selected real facial feature point is verified according to the judgment result, and whether the remaining real facial feature points are verified by the same method, and the number of verified real facial feature points is calculated, and it is determined whether the number of verified real facial feature points is greater than or equal to a second preset threshold value, and whether the facial features of the real facial feature map and the target facial feature map are the same according to the judgment result.

[0034] Specifically, judging whether the absolute value is less than or equal to a first preset threshold, and judging whether the selected real facial feature point passes the verification according to the judging result, includes: If the absolute value is less than or equal to a first preset threshold, it is determined that the selected real facial feature point has passed the verification; If the absolute value is greater than a first preset threshold, it is determined that the selected real facial feature point has not passed the verification.

[0035] Specifically, the determining whether the number of the verified real facial feature points is greater than or equal to a second preset threshold, and determining whether the facial features of the real facial feature map and the target facial feature map are the same according to the determination result, includes: If the number of verified real facial feature points is greater than or equal to a second preset threshold, it is determined that the facial features of the real facial feature map and the target facial feature map are the same; If the number of the verified real facial feature points is less than the second preset threshold, it is determined that the facial features of the real facial feature map and the target facial feature map are different.

[0036] It can be understood that when the number of verified real facial feature points is greater than or equal to the second preset threshold, that is, the number of verified real facial feature points is greater than or equal to 50, the present invention determines that the facial features of the real facial feature map and the target facial feature map are the same.

[0037] Specifically, the determining whether the facial features of the real facial feature map and the target facial feature map are the same, and determining whether the identity authentication is passed according to the determination result, includes: If the facial features of the real facial feature map and the target facial feature map are the same, it is determined that the identity authentication is passed, and a prompt signal indicating that the identity authentication is passed is output; If the facial features of the real facial feature map and the target facial feature map are different, it is determined that the identity authentication has failed, and an alarm signal related to the identity authentication failure is output.

[0038] It can be understood that the present invention realizes the arrangement of an RFID card reader at the exit of a logistics park, and an RFID card on the side of a target vehicle. When a transport vehicle enters or exits the park, the RFID card is used to read the identity information of the target transport personnel of the target goods stored in the RFID card, and the target facial feature map of the target transport personnel stored in the transport personnel database is retrieved according to the identity information of the target transport personnel obtained by the target. The camera module arranged at the exit of the logistics park is used to obtain the real facial image of the target transport personnel, and the real facial image of the target transport personnel is gray-processed to obtain a real facial gray-scale image. Face detection and facial feature extraction are performed on the real facial gray-scale image to obtain a real facial feature map; it is determined whether the facial features of the real facial feature map and the target facial feature map are the same, and it is determined whether the identity authentication is passed according to the determination result, thereby realizing the monitoring of whether the cargo transportation is safe and reliable, realizing the dynamic management of the cargo transportation, ensuring the safety of the cargo during transportation, and being able to perform effective driver identity authentication during the dynamic transportation process, which greatly improves the intelligence, safety and reliability of the present invention.

[0039] See also Figure 2 The present invention provides another embodiment, which provides a dynamic cargo transportation and identity authentication system, the dynamic cargo transportation and identity authentication system comprising: The acquisition module 100 includes an RFID card reader device arranged at the exit of the logistics park, and an RFID card arranged on the side of the target vehicle, which is used to read the identity information of the target transporter of the target goods stored in the RFID card when the transport vehicle enters and exits the park; and also includes a camera module arranged at the exit of the logistics park, which is used to obtain the real facial image of the target transporter; The control module 200 is used to retrieve the target facial feature map of the target transport personnel stored in the transport personnel database according to the identity information of the target transport personnel obtained by the target; to perform grayscale processing on the image of the real face of the target transport personnel to obtain a real facial grayscale image, perform face detection and facial feature extraction on the real facial grayscale image to obtain a real facial feature map; to determine whether the facial features of the real facial feature map and the target facial feature map are the same, and determine whether the identity authentication is passed based on the judgment result.

[0040] It should be noted here that the present invention realizes the arrangement of an RFID card reader at the exit of a logistics park, and an RFID card on the side of a target vehicle. When a transport vehicle enters or exits the park, the RFID card is used to read the identity information of the target transport personnel of the target goods stored in the RFID card, and the target facial feature map of the target transport personnel stored in the transport personnel database is retrieved according to the identity information of the target transport personnel obtained by the target. The camera module arranged at the exit of the logistics park is used to obtain the real facial image of the target transport personnel, and the real facial image of the target transport personnel is gray-processed to obtain a real facial gray-scale image. Face detection and facial feature extraction are performed on the real facial gray-scale image to obtain a real facial feature map; it is determined whether the facial features of the real facial feature map and the target facial feature map are the same, and it is determined whether the identity authentication is passed according to the determination result, thereby realizing the monitoring of whether the cargo transportation is safe and reliable, realizing the dynamic management of the cargo transportation, ensuring the safety of the cargo during transportation, and being able to perform effective driver identity authentication during the dynamic transportation process, which greatly improves the intelligence, safety and reliability of the present invention.

[0041] In a preferred embodiment, the present application further provides an electronic device, the electronic device comprising: A memory; and a processor, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the dynamic cargo transportation and identity authentication method is implemented. The computer device can be broadly a server, a terminal, or any other electronic device with necessary computing and / or processing capabilities. In one embodiment, the computer device may include a processor, a memory, a network interface, a communication interface, etc. connected via a system bus. The processor of the computer device can be used to provide necessary computing, processing and / or control capabilities. The memory of the computer device may include a non-volatile storage medium and an internal memory. An operating system, a computer program, etc. may be stored in or on the non-volatile storage medium. The internal memory can provide an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface and the communication interface of the computer device can be used to connect and communicate with external devices through a network. When the computer program is executed by the processor, the steps of the method of the present invention are performed.

[0042] The present invention may be implemented as a computer-readable storage medium having a computer program stored thereon, which causes the steps of the method of an embodiment of the present invention to be executed when executed by a processor. In one embodiment, the computer program is distributed on a plurality of computer devices or processors coupled to a network so that the computer program is stored, accessed and executed in a distributed manner by one or more computer devices or processors. A single method step / operation, or two or more method steps / operations, may be performed by a single computer device or processor or by two or more computer devices or processors. One or more method steps / operations may be performed by one or more computer devices or processors, and one or more other method steps / operations may be performed by one or more other computer devices or processors. One or more computer devices or processors may perform a single method step / operation, or perform two or more method steps / operations.

[0043] It will be appreciated by a person skilled in the art that the method steps of the present invention may be performed by instructing related hardware such as a computer device or a processor through a computer program, and the computer program may be stored in a non-temporary computer-readable storage medium, which causes the steps of the present invention to be performed when the computer program is executed. Depending on the circumstances, any reference to memory, storage, database, or other media herein may include non-volatile and / or volatile memory. Examples of non-volatile memory include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory, magnetic tape, floppy disk, magneto-optical data storage device, optical data storage device, hard disk, solid state disk, etc. Examples of volatile memory include random access memory (RAM), external cache memory, etc.

[0044] It can be understood that the present invention realizes the arrangement of an RFID card reader at the exit of a logistics park, and an RFID card on the side of a target vehicle. When a transport vehicle enters or exits the park, the RFID card is used to read the identity information of the target transport personnel of the target goods stored in the RFID card, and the target facial feature map of the target transport personnel stored in the transport personnel database is retrieved according to the identity information of the target transport personnel obtained by the target. The camera module arranged at the exit of the logistics park is used to obtain the real facial image of the target transport personnel, and the real facial image of the target transport personnel is gray-processed to obtain a real facial gray-scale image. Face detection and facial feature extraction are performed on the real facial gray-scale image to obtain a real facial feature map; it is determined whether the facial features of the real facial feature map and the target facial feature map are the same, and it is determined whether the identity authentication is passed according to the determination result, thereby realizing the monitoring of whether the cargo transportation is safe and reliable, realizing the dynamic management of the cargo transportation, ensuring the safety of the cargo during transportation, and being able to perform effective driver identity authentication during the dynamic transportation process, which greatly improves the intelligence, safety and reliability of the present invention.

[0045] The various technical features described above can be combined arbitrarily. Although all possible combinations of these technical features are not described, any combination of these technical features should be considered to be covered by this specification as long as there is no contradiction in such combination.

[0046] The specific implementation of the present invention described above does not constitute a limitation on the protection scope of the present invention. Any other corresponding changes and modifications made based on the technical concept of the present invention should be included in the protection scope of the claims of the present invention.

Claims

1. A dynamic cargo transportation and identity authentication method, It is characterized in that The method comprises: S100, an RFID card reader is set at the exit of the logistics park, and an RFID card is set on the side of the target vehicle. When the transport vehicle enters or leaves the park, the RFID card is used to read the identity information of the target transporter of the target goods stored in the RFID card, and the target facial feature map of the target transporter stored in the transporter database is retrieved according to the identity information of the target transporter obtained by the target; S200, using a camera module disposed at the exit of the logistics park, obtaining an image of the real face of the target transporter, performing grayscale processing on the image of the real face of the target transporter to obtain a real facial grayscale image, performing face detection and facial feature extraction on the real facial grayscale image to obtain a real facial feature map; S300, determining whether the facial features of the real facial feature map and the target facial feature map are the same, and determining whether the identity authentication is passed based on the determination result.

2. The dynamic cargo transportation and identity authentication method according to claim 1, It is characterized in that The grayscale processing of the real face image of the target transport personnel to obtain the real face grayscale image includes: The cv2.imread function in opencv is used to read the real facial image of the target transport personnel, and the cv2.cvtcolor function in opencv is used to convert the real facial image of the target transport personnel into a real facial grayscale image.

3. The dynamic cargo transportation and identity authentication method according to claim 2, It is characterized in that The method of performing face detection and face feature extraction on the real face grayscale image to obtain a real face feature map includes: Use the dlib.get_frontal_face_detector() function in dlib to perform face detection on the real facial grayscale image to obtain the face detection image.

4. The dynamic cargo transportation and identity authentication method according to claim 3, It is characterized in that The target facial feature map includes 68 facial feature points, and the face detection and facial feature extraction are performed on the real facial grayscale image to obtain the real facial feature map, and further includes: The shape_predictor_68_face_landmasks.dot function in dlib is used to extract 68 facial feature points in the face detection image, and the image with 68 facial feature points is stored as a real facial feature map.

5. The dynamic cargo transportation and identity authentication method according to claim 4, It is characterized in that The step of determining whether the facial features of the real facial feature map and the target facial feature map are the same includes: The real facial feature map is scaled to the same size as the target facial feature map, a real facial feature point is randomly selected from the real facial feature map, a first pixel coordinate of the real facial feature point in the real facial feature map is obtained, a target facial feature point closest to the first pixel coordinate is selected in the target facial feature map according to the first pixel coordinate, and a second pixel coordinate of the target facial feature point in the target facial feature map is obtained, an absolute value of the Euclidean distance between the first pixel coordinate and the second pixel coordinate is calculated, and it is determined whether the absolute value is less than or equal to a first preset threshold value, and whether the selected real facial feature point is verified according to the judgment result, and whether the remaining real facial feature points are verified by the same method, and the number of verified real facial feature points is calculated, and it is determined whether the number of verified real facial feature points is greater than or equal to a second preset threshold value, and whether the facial features of the real facial feature map and the target facial feature map are the same according to the judgment result.

6. The dynamic cargo transportation and identity authentication method according to claim 5, It is characterized in that The determining whether the absolute value is less than or equal to a first preset threshold, and determining whether the selected real facial feature point passes verification according to the determination result, includes: If the absolute value is less than or equal to a first preset threshold, it is determined that the selected real facial feature point has passed the verification; If the absolute value is greater than a first preset threshold, it is determined that the selected real facial feature point has not passed the verification.

7. The dynamic cargo transportation and identity authentication method according to claim 5, It is characterized in that The step of judging whether the number of the verified real facial feature points is greater than or equal to a second preset threshold, and judging whether the facial features of the real facial feature map and the target facial feature map are the same according to the judging result, comprises: If the number of verified real facial feature points is greater than or equal to a second preset threshold, it is determined that the facial features of the real facial feature map and the target facial feature map are the same; If the number of the verified real facial feature points is less than the second preset threshold, it is determined that the facial features of the real facial feature map and the target facial feature map are different.

8. The dynamic cargo transportation and identity authentication method according to claim 1, It is characterized in that The determining whether the facial features of the real facial feature map and the target facial feature map are the same, and determining whether the identity authentication is passed according to the determination result, includes: If the facial features of the real facial feature map and the target facial feature map are the same, it is determined that the identity authentication is passed, and a prompt signal indicating that the identity authentication is passed is output; If the facial features of the real facial feature map and the target facial feature map are different, it is determined that the identity authentication has failed, and an alarm signal related to the identity authentication failure is output.

9. A dynamic cargo transportation and identity authentication system, It is characterized in that include: The acquisition module includes an RFID card reader device arranged at the exit of the logistics park and an RFID card arranged on the side of the target vehicle, which is used to read the identity information of the target transporter of the target goods stored in the RFID card when the transport vehicle enters and exits the park; and also includes a camera module arranged at the exit of the logistics park, which is used to obtain the real facial image of the target transporter; The control module is used to retrieve the target facial feature map of the target transport personnel stored in the transport personnel database according to the identity information of the target transport personnel obtained by the target; to perform grayscale processing on the image of the real face of the target transport personnel to obtain a real facial grayscale image, perform face detection and facial feature extraction on the real facial grayscale image to obtain a real facial feature map; to determine whether the facial features of the real facial feature map and the target facial feature map are the same, and determine whether the identity authentication is passed according to the judgment result.

10. An electronic device, It is characterized in that include: Memory; and a processor, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the dynamic cargo transportation and identity authentication method according to any one of claims 1 to 8 is implemented.