Method and device for determining oil transfer information, electronic device and storage medium
Through AI identification model and video analysis technology, the refueling volume is automatically determined, which solves the problem of inaccurate refueling volume, improves port operation efficiency and enhances safety.
Patent Information
- Application Number
- CN202410131471.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-30
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2044-01-30
AI Technical Summary
In the port bonded fuel oil filling operation, the determination of the refueling volume of the refueling tanker is not accurate enough, resulting in frequent disputes between the refueling tanker and the oil supply tanker, reducing the port operation efficiency.
Using AI recognition model to identify the working status of the oil pipeline through video analysis, combined with the image data of the oil flowmeter, automatically determine the oil transfer start and end time of the oil transfer object to the oil recipient, calculate the oil transfer amount, reduce disputes and improve refueling efficiency .
It improves the accuracy of refueling volume, shortens the refueling time and time in port of the refueling tanker, improves the port operation efficiency, and reduces the occurrence of illegal refueling and oil theft.
Smart Images

Figure CN117953409B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a method and device for determining oil delivery information, an electronic device and a storage medium. Background Art
[0002] At present, for the port bonded fuel oil refueling operation scenario, the refueling volume of the refueling ship needs to be determined manually. The determined refueling volume of the refueling ship is not accurate enough, which often leads to disputes between the refueling ship and the oil supply ship over the refueling quantity, thereby extending the time the refueling ship spends in the port and reducing the port operation efficiency. Summary of the invention
[0003] The present invention aims to solve at least one of the technical problems existing in the prior art or related art.
[0004] To this end, a first aspect of the present invention is to provide a method for determining oil delivery information.
[0005] A second aspect of the present invention is to provide a device for determining oil delivery information.
[0006] A third aspect of the present invention is to provide another device for determining oil delivery information.
[0007] A fourth aspect of the present invention is to provide an electronic device.
[0008] A fifth aspect of the present invention is to provide a readable storage medium.
[0009] In view of this, according to one aspect of the present invention, a method for determining oil transportation information is proposed, the method comprising: obtaining a first video of an oil transportation object, the first video containing an oil pipeline on the oil transportation object; identifying the working status of the oil pipeline in the first video through an AI recognition model, and determining the start time and end time of the oil transportation action performed by the oil transportation object on the oil receiving object according to the working status of the oil pipeline; obtaining a first image corresponding to the start time and a second image corresponding to the end time, the image subjects of the first image and the second image are both oil flow meters on the oil transportation object; and determining the oil transportation information of the oil transportation object to the oil receiving object according to the first image and the second image.
[0010] The technical solution of the method for determining oil delivery information provided by the present invention can be implemented by an electronic device or a device for determining oil delivery information, and can also be determined according to actual use requirements, which is not specifically limited here. In order to more clearly describe the method for determining oil delivery information provided by the present invention, the following description is based on the implementation of the method for determining oil delivery information as a device for determining oil delivery information.
[0011] Specifically, in the method for determining oil delivery information provided by the present invention, in the process of determining the oil delivery information of the oil delivery object to the oil receiving object, the oil delivery information determination device obtains a first video of the oil delivery object, the oil delivery object is provided with an oil delivery pipeline, the oil delivery object refuels the oil receiving object through the oil delivery pipeline, and the first video contains the oil delivery pipeline on the oil delivery object. Further, the oil delivery information determination device calls an AI (Artificial Intelligence) recognition model to intelligently identify the video content of the acquired first video based on the video AI analysis algorithm, thereby identifying the working state of the oil delivery pipeline in the first video. Further, the oil delivery information determination device then identifies the oil delivery start action and the oil delivery end action of the oil delivery object to the oil receiving object based on the identified working state of the oil delivery pipeline, thereby determining the start time and end time of the oil delivery action of the oil delivery object to the oil receiving object. Further, the oil delivery information determination device obtains a first image corresponding to the start time of the oil delivery action based on the determined start time and end time of the oil delivery action, and obtains a second image corresponding to the end time of the oil delivery action. Among them, the image subjects of the first image and the second image are both the oil flow meter on the oil delivery object. That is, the first image is the reading image of the oil flow meter when the oil delivery object starts the oil delivery action, and the second image is the reading image of the oil flow meter when the oil delivery object ends the oil delivery action. On this basis, the device for determining the oil delivery information calls the text recognition algorithm, and uses the text recognition algorithm to respectively identify the reading values of the oil flow meter in the first image and the second image, thereby calculating the oil delivery amount of the oil delivery object to the oil receiving object, and obtaining the oil delivery information of the oil delivery object to the oil receiving object. In this way, based on the monitoring video of the oil delivery object and the AI recognition model, the working state of the oil pipeline on the oil delivery object is identified, thereby identifying the oil delivery action of the oil delivery object, and determining the oil delivery information of the oil delivery object to the oil receiving object by intelligently identifying the images of the oil flow meter before and after refueling, thereby ensuring the accuracy of the determination of the oil delivery information, thereby reducing the disputes between the oil delivery object and the oil receiving object on the amount of refueling, reducing the refueling time and port time of the refueling ship, and improving the port operation efficiency. According to the above-mentioned method for determining the oil delivery information of the present invention, it can also have the following additional technical features:
[0012] In some technical solutions, optionally, the working status of the oil pipeline in the first video is identified through an AI recognition model, and the start time and end time of the oil delivery action of the oil delivery object to the oil receiving object are determined according to the working status of the oil pipeline, including: extracting video frames in the first video according to the first frequency through the AI recognition model; identifying the oil pipeline in the video frame through the AI recognition model based on the deep learning target recognition algorithm to determine the working status of the oil pipeline; when the working status changes from the first state to the second state, determining that the oil delivery object starts to deliver oil to the oil receiving object, and recording the start time of the oil delivery action; when the working status changes from the second state to the first state, determining that the oil delivery object ends the oil delivery action to the oil receiving object, and recording the end time of the oil delivery action; wherein, when the working status is the first state, the oil pipeline is only located on the oil delivery object, and when the working status is the second state, the oil pipeline is located on both the oil delivery object and the oil receiving object.
[0013] In this technical solution, in the process where the device for determining oil transportation information identifies the working status of the oil pipeline in the first video through the AI recognition model, and determines the start time and end time of the oil transportation action of the oil transportation object to the oil receiving object according to the working status of the oil pipeline, specifically, the device for determining oil transportation information continuously extracts video frames in the first video according to the first frequency through the AI recognition model, and performs target recognition on the image content of each extracted video frame based on the deep learning target recognition algorithm to identify the oil pipeline image in each video frame, and determines the working status of the oil pipeline according to the recognition result.
[0014] On this basis, when the oil delivery information determination device identifies that the working state of the oil pipeline changes from the first state to the second state, the oil delivery information determination device determines that the oil delivery object starts to deliver oil to the oil receiving object, and records the start time of the oil delivery action of the oil delivery object. Wherein, when the working state of the oil pipeline is the first state, the oil pipeline is only located on the oil delivery object, and when the working state of the oil pipeline is the second state, the oil pipeline is located on the oil delivery object and the oil receiving object. Further, when the oil delivery information determination device identifies that the working state of the oil pipeline changes from the second state to the first state, the oil delivery information determination device determines that the oil delivery object ends the oil delivery action to the oil receiving object, and records the end time of the oil delivery action of the oil delivery object. In this way, the target recognition algorithm and AI recognition model based on deep learning automatically identify the working state of the oil pipeline in the monitoring video, and then determine the start time and end time of the oil delivery action of the oil delivery object, thereby ensuring the accuracy of determining the start time and end time of the oil delivery action, and then ensuring the accuracy of the subsequent determination of the oil delivery information.
[0015] In some technical solutions, optionally, the oil delivery information includes the oil delivery volume, and the oil delivery information of the oil delivery object to the oil receiving object is determined according to the first image and the second image, including: performing text recognition on the first image to obtain a first flow value of the oil flow meter; performing text recognition on the second image to obtain a second flow value of the oil flow meter; and determining the oil delivery volume of the oil delivery object according to the first flow value and the second flow value.
[0016] In the technical solution, the above-mentioned oil delivery information of the oil delivery object to the oil receiving object may specifically include the oil delivery amount of the oil delivery object to the oil receiving object. On this basis, in the process of determining the oil delivery information of the oil delivery object to the oil receiving object by identifying the first image and the second image, the oil delivery information determination device specifically identifies the reading of the oil delivery flow meter in the first image based on the text recognition algorithm to obtain the first flow value of the oil delivery flow meter at the beginning of the oil delivery action, and identifies the reading of the oil delivery flow meter in the second image based on the text recognition algorithm to obtain the second flow value of the oil delivery flow meter at the end of the oil delivery action. Further, the oil delivery information determination device calculates the difference between the second flow value and the first flow value to obtain the oil delivery amount of the oil delivery object to the oil receiving object. In this way, the readings of the oil delivery flow meter at the beginning and the end of the oil delivery action are respectively identified based on the text recognition algorithm, so as to determine the oil delivery amount of the oil delivery object to the oil receiving object, thereby ensuring the accuracy of the determined oil delivery amount, thereby reducing the disputes between the oil delivery object and the oil receiving object on the amount of refueling, reducing the refueling time and the time in port of the refueling ship, and improving the port operation efficiency.
[0017] In some technical solutions, optionally, multiple cameras are set on the oil transportation object, and the method for determining the oil transportation information also includes: monitoring the working status of each camera and determining the offline time of each camera; when the offline time of any camera is greater than the time threshold, an abnormal alarm is issued.
[0018] In this technical solution, the above-mentioned oil transportation object is provided with multiple cameras, and the oil transportation information determination device also monitors the working status of each camera and determines the offline duration of each camera. On this basis, when the oil transportation information determination device detects that the offline duration of any camera is greater than the duration threshold, the oil transportation information determination device determines that an abnormal event has occurred on the oil transportation object. At this time, the oil transportation information determination device will issue an abnormal alarm and promptly notify the staff on the oil transportation object. In this way, by monitoring the online status of the camera to judge the abnormal event on the oil transportation object and issuing an abnormal alarm in time, the safety of the oil transportation object in oil transportation operations is guaranteed, and illegal refueling, oil theft and other behaviors are effectively reduced.
[0019] According to a second aspect of the present invention, a device for determining oil transportation information is proposed, the device comprising: an acquisition unit, used to acquire a first video of an oil transportation object, the first video containing an oil pipeline on the oil transportation object; a processing unit, used to identify the working status of the oil pipeline in the first video through an AI recognition model, and determine the start time and end time of the oil transportation action performed by the oil transportation object on the oil receiving object according to the working status of the oil pipeline; the acquisition unit is further used to acquire a first image corresponding to the start time and a second image corresponding to the end time, the image subjects of the first image and the second image are both an oil flow meter on the oil transportation object; the processing unit is further used to determine the oil transportation information of the oil transportation object to the oil receiving object according to the first image and the second image.
[0020] Specifically, the device for determining oil delivery information provided by the present invention includes an acquisition unit and a processing unit. In the process of determining the oil delivery information of the oil delivery object to the oil receiving object, the acquisition unit acquires a first video of the oil delivery object. The oil delivery object is provided with an oil delivery pipeline, and the oil delivery object refuels the oil receiving object through the oil delivery pipeline. The first video contains the oil delivery pipeline on the oil delivery object. Further, the processing unit calls the AI recognition model to intelligently recognize the video content of the acquired first video based on the video AI analysis algorithm, thereby identifying the working state of the oil delivery pipeline in the first video. Further, the processing unit recognizes the oil delivery start action and the oil delivery end action of the oil delivery object to the oil receiving object according to the identified working state of the oil delivery pipeline, thereby determining the start time and end time of the oil delivery action of the oil delivery object to the oil receiving object. Further, the acquisition unit acquires a first image corresponding to the start time of the oil delivery action based on the determined start time and end time of the oil delivery action, and acquires a second image corresponding to the end time of the oil delivery action. Among them, the image subjects of the first image and the second image are both oil delivery flow meters on the oil delivery object. That is, the first image is the reading image of the oil flow meter when the oil transfer object starts the oil transfer action, and the second image is the reading image of the oil flow meter when the oil transfer object ends the oil transfer action. On this basis, the processing unit calls the text recognition algorithm, and uses the text recognition algorithm to respectively identify the reading values of the oil flow meter in the first image and the second image, thereby calculating the oil transfer volume of the oil transfer object to the oil receiving object, and obtaining the oil transfer information of the oil transfer object to the oil receiving object. In this way, based on the monitoring video of the oil transfer object and the AI recognition model, the working state of the oil pipeline on the oil transfer object is identified, thereby identifying the oil transfer action of the oil transfer object, and determining the oil transfer information of the oil transfer object to the oil receiving object by intelligently identifying the oil flow meter images before and after refueling, thereby ensuring the accuracy of the determination of the oil transfer information, thereby reducing the disputes between the oil transfer object and the oil receiving object on the amount of refueling, reducing the refueling time and port time of the refueling ship, and improving the port operation efficiency.
[0021] According to a third aspect of the present invention, another device for determining oil transportation information is proposed, comprising: a first camera, arranged at a first position of an oil transportation object, the first camera being used to shoot a first video of the oil transportation object, the first video containing an oil pipeline on the oil transportation object; a second camera, arranged at a second position of the oil transportation object, the shooting object of the second camera being an oil flow meter on the oil transportation object; a processing device, for identifying the working status of the oil pipeline in the first video through an AI recognition model, and determining the start time and end time of the oil transportation action of the oil transportation object to the oil receiving object according to the working status of the oil pipeline, obtaining a first image corresponding to the start time and a second image corresponding to the end time, and determining the oil transportation information of the oil transportation object to the oil receiving object according to the first image and the second image; wherein the image subjects of the first image and the second image are both oil flow meters.
[0022] Specifically, the device for determining oil transportation information provided by the present invention includes a first camera and a second camera. The first camera is set at a first position of the oil transportation object, and the first camera is used to shoot a first video of the oil transportation object, and the first video includes an oil pipeline on the oil transportation object. Furthermore, the second camera is set at a second position of the oil transportation object, and the object shot by the second camera is an oil flow meter on the oil transportation object.
[0023] Furthermore, the device for determining oil delivery information provided by the present invention further includes a processing device, which is used to obtain a first video captured by a first camera, and then retrieve an AI recognition model to intelligently recognize the video content of the acquired first video based on a video AI analysis algorithm, thereby identifying the working state of the oil pipeline in the first video. Further, the processing device identifies the oil delivery start action and the oil delivery end action of the oil delivery object to the oil receiving object according to the identified working state of the oil pipeline, thereby determining the start time and end time of the oil delivery action of the oil delivery object to the oil receiving object. Further, the processing device obtains a second video captured by a second camera, and based on the determined start time and end time of the oil delivery action, extracts a first image corresponding to the start time of the oil delivery action from the second video, and extracts a second image corresponding to the end time of the oil delivery action. Among them, the image subjects of the first image and the second image are both oil delivery flowmeters on the oil delivery object. That is, the first image is a reading image of the oil delivery flowmeter when the oil delivery object starts the oil delivery action, and the second image is a reading image of the oil delivery flowmeter when the oil delivery object ends the oil delivery action. On this basis, the processing device calls the text recognition algorithm, and uses the text recognition algorithm to respectively identify the reading values of the oil flow meter in the first image and the second image, thereby calculating the oil delivery volume of the oil delivery object to the oil receiving object, and obtaining the oil delivery information of the oil delivery object to the oil receiving object. In this way, based on the monitoring video of the oil delivery object and the AI recognition model, the working state of the oil pipeline on the oil delivery object is identified, thereby identifying the oil delivery action of the oil delivery object, and determining the oil delivery information of the oil delivery object to the oil receiving object by intelligently identifying the oil flow meter images before and after refueling, thereby ensuring the accuracy of the determination of the oil delivery information, thereby reducing disputes between the oil delivery object and the oil receiving object on the amount of refueling, shortening the refueling time and the time in port of the refueling ship, and improving the port operation efficiency.
[0024] The above-mentioned oil delivery information determination device according to the present invention may also have the following additional technical features:
[0025] In some technical solutions, optionally, the processing device is also used to: monitor the working status of each camera and determine the offline time of each camera; the oil delivery information determination device also includes: an alarm device, which is used to issue an abnormal alarm when the offline time of any camera is greater than a time threshold.
[0026] In this technical solution, the processing device is also used to monitor the working status of each camera and determine the offline duration of each camera. Furthermore, the oil transfer information determination device also includes an alarm device. When the processing device detects that the offline duration of any camera is greater than the duration threshold, the processing device determines that an abnormal event has occurred on the oil transfer object, and controls the alarm device to issue an abnormal alarm to promptly notify the staff on the oil transfer object. In this way, by monitoring the online status of the camera to judge the abnormal event on the oil transfer object and promptly issuing an abnormal alarm, the safety of the oil transfer object in oil transfer operations is guaranteed, and illegal refueling, oil theft and other behaviors are effectively reduced.
[0027] In some technical solutions, optionally, the device for determining the oil transportation information further includes: a third camera, which is arranged at a third position of the oil transportation object, and the third camera is used to capture a panoramic image of the oil transportation object.
[0028] In the technical solution, the above-mentioned device for determining the oil delivery information further includes a third camera. The third camera is set at a third position of the oil delivery object, and the third camera is used to capture a panoramic image of the oil delivery object, so as to assist the first camera and the second camera in monitoring work through the third camera, thereby further ensuring the safety of the oil delivery object in performing oil delivery operations.
[0029] According to a fourth aspect of the present invention, an electronic device is provided, comprising: a memory storing a program or instruction; a processor, and when the processor executes the program or instruction, the steps of the method for determining oil delivery information in any of the above technical solutions are implemented. Therefore, the electronic device provided in the fourth aspect of the present invention has all the beneficial effects of the method for determining oil delivery information in any of the technical solutions in the first aspect, and will not be described in detail here.
[0030] According to a fifth aspect of the present invention, a readable storage medium is provided, on which a program or instruction is stored, and when the program or instruction is executed by a processor, a method for determining oil delivery information as in any of the above technical solutions is implemented. Therefore, the readable storage medium provided in the fifth aspect of the present invention has all the beneficial effects of the method for determining oil delivery information in any of the technical solutions in the first aspect, and will not be described in detail here.
[0031] Additional aspects and advantages of the present invention will become apparent from the following description or may be learned by practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0033] Figure 1 A schematic diagram of a flow chart of a method for determining oil delivery information according to an embodiment of the present invention is shown;
[0034] Figure 2 A second flow chart of a method for determining oil delivery information according to an embodiment of the present invention is shown;
[0035] Figure 3 A third flow chart of a method for determining oil delivery information according to an embodiment of the present invention is shown;
[0036] Figure 4 A fourth flow chart of a method for determining oil delivery information according to an embodiment of the present invention is shown;
[0037] Figure 5 A structural block diagram showing a device for determining oil delivery information according to an embodiment of the present invention;
[0038] Figure 6 A structural block diagram showing a device for determining oil delivery information according to an embodiment of the present invention;
[0039] Figure 7 A structural block diagram of an electronic device according to an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0040] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present invention and the features in the embodiments can be combined with each other without conflict.
[0041] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited to the specific embodiments disclosed below.
[0042] Combine the following Figures 1 to 7 , the oil delivery information determination method and device, electronic device and storage medium provided in the embodiments of the present application are described in detail through specific embodiments and their application scenarios.
[0043] in, Figure 1 A schematic diagram of a flow chart of a method for determining oil delivery information according to an embodiment of the present invention is shown; Figure 2 A second flow chart of a method for determining oil delivery information according to an embodiment of the present invention is shown; Figure 3 A third flow chart of a method for determining oil delivery information according to an embodiment of the present invention is shown; Figure 4 A fourth flow chart of a method for determining oil delivery information according to an embodiment of the present invention is shown; Figure 5 A structural block diagram showing a device for determining oil delivery information according to an embodiment of the present invention; Figure 6 A structural block diagram showing a device for determining oil delivery information according to an embodiment of the present invention; Figure 7 A structural block diagram of an electronic device according to an embodiment of the present invention is shown.
[0044] In one embodiment of the present invention, Figure 1 As shown, the method for determining the oil delivery information may specifically include the following steps 102 to 108:
[0045] Step 102, obtaining a first video of the oil transfer object;
[0046] Step 104, identifying the working state of the oil pipeline in the first video through the AI recognition model, and determining the start time and end time of the oil delivery action of the oil delivery object to the oil receiving object according to the working state of the oil pipeline;
[0047] Step 106, obtaining a first image corresponding to the start time and a second image corresponding to the end time;
[0048] Step 108, determining the oil transfer information of the oil transfer object to the oil receiving object according to the first image and the second image;
[0049] The image subjects of the first image and the second image are both oil flow meters on the oil transport object.
[0050] The technical solution of the method for determining oil delivery information provided by the present invention can be implemented by an electronic device or a device for determining oil delivery information, and can also be determined according to actual use requirements, which is not specifically limited here. In order to more clearly describe the method for determining oil delivery information provided by the present invention, the following description is based on the implementation of the method for determining oil delivery information as a device for determining oil delivery information.
[0051] The method for determining oil delivery information provided by the present invention can realize real-time monitoring of flow meters on oil delivery objects such as oil supply ships based on CCTV (Closed Circuit Television) monitoring system data and video AI analysis methods, and automatically extract flow meter readings before and after refueling to calculate the amount of refueling for oil receiving objects such as refueling ships. In this way, by monitoring the flow meter and automatically calculating the amount of refueling through automated means, a scientific measurement method and objective basis can be provided for the relevant parties in the refueling scene, ensuring the accuracy of the determination of the amount of refueling, thereby reducing disputes between the oil delivery object and the oil receiving object over the amount of refueling, reducing the refueling time and time in port of the refueling ship, and improving the efficiency of port operations.
[0052] The oil transportation object is provided with an oil pipeline, a first camera, a second camera and an oil flow meter capable of displaying readings. The first camera is provided at a first position on the oil transportation object, such as the first camera is provided at the bow of the oil supply ship, and the first camera can photograph the oil pipeline. Furthermore, the second camera is provided at a second position on the oil transportation object, and the second position is located near the installation position of the oil flow meter, and the second camera is used to photograph the oil flow meter.
[0053] On this basis, in the method for determining oil delivery information provided by the present invention, in the process of determining the oil delivery information of the oil delivery object to the oil receiving object, the device for determining the oil delivery information obtains a first video shot by a first camera on the oil delivery object, the oil delivery object is provided with an oil delivery pipeline, the oil delivery object refuels the oil receiving object through the oil delivery pipeline, and the first video contains the oil delivery pipeline on the oil delivery object. Further, the device for determining the oil delivery information calls the AI recognition model to intelligently recognize the video content of the acquired first video based on the video AI analysis algorithm, thereby identifying the working state of the oil delivery pipeline in the first video. Further, the device for determining the oil delivery information then recognizes the oil delivery start action and the oil delivery end action of the oil delivery object to the oil receiving object based on the identified working state of the oil delivery pipeline, thereby determining the start time and end time of the oil delivery action of the oil delivery object to the oil receiving object. Further, the device for determining the oil delivery information obtains a second video shot by a second camera on the oil delivery object, and based on the determined start time and end time of the oil delivery action, extracts the first image corresponding to the start time of the oil delivery action from the second video, and extracts the second image corresponding to the end time of the oil delivery action. Among them, the image subjects of the first image and the second image are both the oil flow meter on the oil delivery object. That is, the first image is the reading image of the oil flow meter when the oil delivery object starts the oil delivery action, and the second image is the reading image of the oil flow meter when the oil delivery object ends the oil delivery action. On this basis, the device for determining the oil delivery information calls the text recognition algorithm, and uses the text recognition algorithm to respectively identify the reading values of the oil flow meter in the first image and the second image, thereby calculating the oil delivery amount of the oil delivery object to the oil receiving object, and obtaining the oil delivery information of the oil delivery object to the oil receiving object. In this way, based on the monitoring video of the oil delivery object and the AI recognition model, the working state of the oil pipeline on the oil delivery object is identified, thereby identifying the oil delivery action of the oil delivery object, and determining the oil delivery information of the oil delivery object to the oil receiving object by intelligently identifying the oil flow meter images before and after refueling, thereby ensuring the accuracy of the determination of the oil delivery information, thereby reducing the disputes between the oil delivery object and the oil receiving object on the refueling quantity, reducing the refueling time and port time of the refueling ship, and improving the port operation efficiency.
[0054] Among them, the above-mentioned AI recognition model is established according to the target recognition algorithm based on deep learning. Through the AI recognition model, the working status of the oil pipeline on the oil transportation object can be identified, and then the oil transportation action of the oil transportation object can be identified according to the identified working status of the oil pipeline.
[0055] In some embodiments of the present invention, optionally, the first video includes an oil pipeline on the oil transportation object, and on this basis, Figure 2 As shown, the above step 104 may specifically include the following steps 104a to 104d:
[0056] Step 104a, extracting video frames from the first video according to the first frequency using an AI recognition model;
[0057] Step 104b, identifying the oil pipeline in the video frame by using an AI recognition model based on a deep learning target recognition algorithm to determine the working status of the oil pipeline;
[0058] Step 104c, when the working state changes from the first state to the second state, determining that the oil transfer object starts to transfer oil to the oil receiving object, and recording the start time of the oil transfer action;
[0059] Step 104d, when the working state changes from the second state to the first state, determining that the oil delivery object ends the oil delivery action to the oil receiving object, and recording the end time of the oil delivery action;
[0060] Wherein, when the working state is the first state, the oil pipeline is located only on the oil delivery object, and when the working state is the second state, the oil pipeline is located on the oil delivery object and the oil receiving object.
[0061] In this embodiment, in the process of the oil delivery information determination device identifying the working status of the oil pipeline in the first video through the AI recognition model, and determining the start time and end time of the oil delivery action of the oil delivery object to the oil receiving object according to the working status of the oil pipeline, specifically, the oil delivery information determination device continuously extracts video frames in the first video according to the first frequency through the AI recognition model, and performs target recognition on the image content of each extracted video frame based on the deep learning target recognition algorithm to identify the oil pipeline image in each video frame, and determines the working status of the oil pipeline according to the recognition result.
[0062] On this basis, when the oil delivery information determination device identifies that the working state of the oil pipeline changes from the first state to the second state, the oil delivery information determination device determines that the oil delivery object starts to deliver oil to the oil receiving object, and records the start time of the oil delivery action of the oil delivery object. Further, when the oil delivery information determination device identifies that the working state of the oil pipeline changes from the second state to the first state, the oil delivery information determination device determines that the oil delivery object ends the oil delivery action to the oil receiving object, and records the end time of the oil delivery action of the oil delivery object. In this way, the target recognition algorithm and AI recognition model based on deep learning automatically identify the working state of the oil pipeline in the monitoring video, and then determine the start time and end time of the oil delivery action of the oil delivery object, thereby ensuring the accuracy of determining the start time and end time of the oil delivery action, and then ensuring the accuracy of the subsequent determination of the oil delivery information.
[0063] When the working state of the oil pipeline is the first state, the oil pipeline is only located on the oil delivery object, and when the working state of the oil pipeline is the second state, the oil pipeline is located on the oil delivery object and the oil receiving object. For example, when the oil delivery object is an oil supply ship and the oil receiving object is a refueling ship, the first state is that the oil pipeline is entirely located on the oil supply ship, and the second state is that the oil pipeline crosses between the oil supply ship and the refueling ship.
[0064] Furthermore, the above-mentioned first frequency can be specifically 2 minutes / frame, 3 minutes / frame, 4 minutes / frame and 5 minutes / frame, etc. In actual application, technical personnel in this field can set the specific value of the above-mentioned first frequency according to actual conditions, and no specific limitation is made here.
[0065] In addition, in the actual application process, after the oil delivery information determination device determines the start time and end time of the oil delivery action of the oil delivery object, the oil delivery information determination device will also determine the oil delivery duration of the oil delivery object to the oil receiving object based on the start time and end time of the oil delivery action of the oil delivery object, and extract the third image corresponding to the start time and the fourth image corresponding to the end time from the first video, and extract the first video segment between the two time points of the start time and the end time. Further, the oil delivery information determination device stores the extracted third image, fourth image, first video segment, and the determined start time, end time, and oil delivery duration of the oil delivery action to form a first oil delivery operation record for subsequent retrieval and viewing as an objective basis and evidence for calculating the oil delivery volume.
[0066] In some embodiments of the present invention, the oil delivery information may include the oil delivery amount. Figure 3 As shown, the above step 108 may specifically include the following steps 108a to 108c:
[0067] Step 108a, performing text recognition on the first image to obtain a first flow value of the oil flow meter;
[0068] Step 108b, performing text recognition on the second image to obtain a second flow value of the oil flow meter;
[0069] Step 108c, determining the oil delivery volume of the oil delivery object according to the first flow value and the second flow value.
[0070] In this embodiment, the oil delivery object is provided with an oil delivery flow meter capable of displaying readings, and the image subjects of the first image and the second image are both the oil delivery flow meter on the oil delivery object, and the oil delivery information of the oil delivery object to the oil receiving object may specifically include the oil delivery amount of the oil delivery object to the oil receiving object. On this basis, in the process of determining the oil delivery information of the oil delivery object to the oil receiving object by identifying the first image and the second image, specifically, the oil delivery information determination device identifies the reading of the oil delivery flow meter in the first image based on the text recognition algorithm to obtain the first flow value of the oil delivery flow meter at the beginning of the oil delivery action, and identifies the reading of the oil delivery flow meter in the second image based on the text recognition algorithm to obtain the second flow value of the oil delivery flow meter at the end of the oil delivery action. Further, the oil delivery information determination device calculates the difference between the second flow value and the first flow value to obtain the oil delivery amount of the oil delivery object to the oil receiving object. In this way, the readings of the oil flow meter at the beginning and end of the oil transfer action are identified based on the text recognition algorithm, so as to determine the oil transfer volume from the oil transfer object to the oil receiving object, thereby ensuring the accuracy of the determined oil transfer volume, thereby reducing disputes between the oil transfer object and the oil receiving object over the amount of refueling, shortening the refueling time and the time in port of the refueling ship, and improving the port operation efficiency.
[0071] In actual application, after the oil delivery information determination device determines the oil delivery volume from the oil delivery object to the oil receiving object, the oil delivery information determination device will also extract the second video segment between the two time points of the start time and the end time from the second video, and store the above-mentioned first image, second image, first flow value, second flow value, oil delivery volume and the extracted second video segment to form a second oil delivery operation record for subsequent retrieval and viewing as an objective basis and evidence for calculating the oil delivery volume.
[0072] In some embodiments of the present invention, optionally, a plurality of cameras are provided on the oil delivery object. On this basis, the above method for determining the oil delivery information may further specifically include the following steps 110 and 112:
[0073] Step 110, monitoring the working status of each camera and determining the offline time of each camera;
[0074] Step 112: When the offline time of any camera is greater than the time threshold, an abnormal alarm is issued.
[0075] In this embodiment, the oil transportation object is provided with a plurality of cameras, and the oil transportation information determination device also monitors the working status of each camera and determines the offline duration of each camera. On this basis, when the oil transportation information determination device detects that the offline duration of any camera is greater than the duration threshold, the oil transportation information determination device determines that an abnormal event has occurred on the oil transportation object. At this time, the oil transportation information determination device will issue an abnormal alarm and promptly notify the staff on the oil transportation object. In this way, by monitoring the online status of the camera to judge the abnormal event on the oil transportation object and promptly issuing an abnormal alarm, the safety of the oil transportation object in oil transportation operations is ensured, and illegal refueling, oil theft and other behaviors are effectively reduced.
[0076] In actual application, the above-mentioned oil transportation object may be provided with a first camera, a second camera and a third camera. Among them, the first camera is set at the first position of the oil transportation object, and the first camera is used to shoot a first video of the oil transportation object, and the first video includes the oil pipeline on the oil transportation object. Furthermore, the second camera is set at the second position of the oil transportation object, and the second camera shoots the oil flow meter on the oil transportation object. The third camera is set at the third position of the oil transportation object, and the third camera is used to shoot a panoramic image of the oil transportation object.
[0077] Furthermore, in actual application, the above-mentioned oil transportation object may also be provided with alarm devices such as buzzers, speakers and broadcasts. When the oil transportation information determination device detects that the offline time of any camera installed on the oil transportation object is greater than the time threshold, the oil transportation information determination device controls the alarm device installed on the oil transportation object to issue an abnormal alarm.
[0078] In summary, if Figure 4 As shown, taking the oil delivery object as an oil supply ship as an example, the method for determining the oil delivery information provided by the embodiment of the present invention may specifically include the following steps 202 to 232:
[0079] Step 202, obtaining monitoring data;
[0080] Step 204, capturing a video screenshot at the bow position;
[0081] Step 206, calling a video intelligent recognition algorithm;
[0082] Step 208, determine: oil delivery starts, if yes, go to step 210, if no, go to step 216;
[0083] Step 210, capturing and storing a video screenshot A at the flow meter location;
[0084] Step 212, calling a text recognition algorithm;
[0085] Step 214, extracting the flow meter reading a at the start of oil delivery;
[0086] Step 216, determine: oil delivery is completed, if yes, execute step 218, if no, execute step 204;
[0087] Step 218, capturing and storing a video screenshot B at the flow meter location;
[0088] Step 220, calling a text recognition algorithm;
[0089] Step 222, extracting the flow meter reading b at the end of oil delivery;
[0090] Step 224, calculate the oil delivery amount: ba;
[0091] Step 226, collecting information to form a record of oil transfer events;
[0092] Step 228, monitoring the online status of all cameras;
[0093] Step 230, determine: the offline time of the camera is greater than the time threshold, if so, execute step 232, if not, execute step 228;
[0094] Step 232, collect information and issue an abnormal video offline alarm.
[0095] Among them, video screenshot A is equivalent to the above-mentioned first image, reading a is equivalent to the above-mentioned first flow value, video screenshot B is equivalent to the above-mentioned second image, and reading b is equivalent to the above-mentioned second flow value.
[0096] In one embodiment of the present invention, a device for determining oil delivery information is also provided. Figure 5 As shown, Figure 5 The structure block diagram of the oil delivery information determination device 300 according to an embodiment of the present invention is shown. The oil delivery information determination device 300 may specifically include the following acquisition unit 302 and processing unit 304:
[0097] An acquisition unit 302 is used to acquire a first video of an oil transportation object, wherein the first video includes an oil pipeline on the oil transportation object;
[0098] The processing unit 304 is used to identify the working state of the oil pipeline in the first video through the AI recognition model, and determine the start time and end time of the oil delivery action of the oil delivery object to the oil receiving object according to the working state of the oil pipeline;
[0099] The acquisition unit 302 is further used to acquire a first image corresponding to the start time and a second image corresponding to the end time, wherein the image subjects of the first image and the second image are both the oil flow meter on the oil transport object;
[0100] The processing unit 304 is further configured to determine the oil delivery information of the oil delivery object to the oil receiving object according to the first image and the second image.
[0101] The device 300 for determining oil delivery information provided in the embodiment of the present invention can realize real-time monitoring of the flow meter on the oil delivery object such as the oil supply ship based on CCTV monitoring system data and video AI analysis means, and automatically extract the flow meter readings before and after refueling to calculate the amount of refueling for the oil receiving object such as the refueling ship. In this way, by monitoring the flow meter by automated means and automatically calculating the amount of refueling, a scientific measurement method and objective basis can be provided for the relevant parties in the refueling scene, ensuring the accuracy of the determination of the amount of refueling, thereby reducing disputes between the oil delivery object and the oil receiving object on the amount of refueling, shortening the refueling time and the time in port of the refueling ship, and improving the efficiency of port operations.
[0102] The oil transportation object is provided with an oil pipeline, a first camera, a second camera and an oil flow meter capable of displaying readings. The first camera is provided at a first position on the oil transportation object, such as the first camera is provided at the bow of the oil supply ship, and the first camera can photograph the oil pipeline. Furthermore, the second camera is provided at a second position on the oil transportation object, and the second position is located near the installation position of the oil flow meter, and the second camera is used to photograph the oil flow meter.
[0103] On this basis, the device 300 for determining oil delivery information provided by the present invention includes an acquisition unit 302 and a processing unit 304. In the process of determining the oil delivery information of the oil delivery object to the oil receiving object, the acquisition unit 302 acquires a first video shot by a first camera on the oil delivery object. The oil delivery object is provided with an oil delivery pipeline, and the oil delivery object refuels the oil receiving object through the oil delivery pipeline. The first video contains the oil delivery pipeline on the oil delivery object. Further, the processing unit 304 calls the AI recognition model to intelligently recognize the video content of the acquired first video based on the video AI analysis algorithm, thereby identifying the working state of the oil delivery pipeline in the first video. Further, the processing unit 304 identifies the oil delivery start action and the oil delivery end action of the oil delivery object to the oil receiving object based on the identified working state of the oil delivery pipeline, thereby determining the start time and end time of the oil delivery action of the oil delivery object to the oil receiving object. Furthermore, the acquisition unit 302 acquires the second video captured by the second camera on the oil delivery object, and based on the determined start time and end time of the oil delivery action, extracts the first image corresponding to the start time of the oil delivery action from the second video, and extracts the second image corresponding to the end time of the oil delivery action. Among them, the image subjects of the first image and the second image are both the oil delivery flow meter on the oil delivery object. That is, the first image is the reading image of the oil delivery flow meter when the oil delivery object starts the oil delivery action, and the second image is the reading image of the oil delivery flow meter when the oil delivery object ends the oil delivery action. On this basis, the processing unit 304 calls the text recognition algorithm, and uses the text recognition algorithm to respectively identify the reading values of the oil delivery flow meter in the first image and the second image, thereby calculating the oil delivery amount of the oil delivery object to the oil receiving object, and obtaining the oil delivery information of the oil delivery object to the oil receiving object. In this way, based on the monitoring video and AI recognition model of the oil transfer object, the working status of the oil pipeline on the oil transfer object is identified, thereby identifying the oil transfer action of the oil transfer object, and through intelligent recognition of the oil flow meter image before and after refueling, the oil transfer information of the oil transfer object to the oil receiving object is determined, thereby ensuring the accuracy of the oil transfer information, thereby reducing disputes between the oil transfer object and the oil receiving object over the amount of refueling, shortening the refueling time and the time in port of the refueling ship, and improving the port operation efficiency.
[0104] Among them, the above-mentioned AI recognition model is established according to the target recognition algorithm based on deep learning. Through the AI recognition model, the working status of the oil pipeline on the oil transportation object can be identified, and then the oil transportation action of the oil transportation object can be identified according to the identified working status of the oil pipeline.
[0105] In some embodiments of the present invention, optionally, the processing unit 304 is specifically used to: extract video frames in the first video according to the first frequency through an AI recognition model; identify the oil pipeline in the video frame through a deep learning-based target recognition algorithm of the AI recognition model to determine the working state of the oil pipeline; when the working state changes from the first state to the second state, determine that the oil delivery object starts to perform oil delivery on the oil receiving object, and record the start time of the oil delivery action; when the working state changes from the second state to the first state, determine that the oil delivery object ends the oil delivery on the oil receiving object, and record the end time of the oil delivery action; wherein, when the working state is the first state, the oil pipeline is only located on the oil delivery object, and when the working state is the second state, the oil pipeline is located on both the oil delivery object and the oil receiving object.
[0106] In some embodiments of the present invention, optionally, the oil delivery information includes the oil delivery volume, and the processing unit 304 is specifically used to: perform text recognition on the first image to obtain a first flow value of the oil flow meter; perform text recognition on the second image to obtain a second flow value of the oil flow meter; and determine the oil delivery volume of the oil delivery object according to the first flow value and the second flow value.
[0107] In some embodiments of the present invention, optionally, a plurality of cameras are provided on the oil transportation object, and the processing unit 304 is further used to: monitor the working status of each camera and determine the offline duration of each camera; the oil transportation information determination device 300 also includes: an alarm unit, which issues an abnormal alarm when the offline duration of any camera is greater than a duration threshold.
[0108] In one embodiment of the present invention, another device for determining oil delivery information is provided. Figure 6 As shown, Figure 6 The structure block diagram of the device 400 for determining oil delivery information according to an embodiment of the present invention is shown. The device 400 for determining oil delivery information includes a first camera 402 , a second camera 404 , and a processing device 406 .
[0109] The first camera 402 is set at a first position of the oil transportation object, and the first camera 402 is used to shoot a first video of the oil transportation object, and the first video includes the oil pipeline on the oil transportation object. Further, the second camera 404 is set at a second position of the oil transportation object, and the shooting object of the second camera 404 is the oil flow meter on the oil transportation object.
[0110] Further, the processing device 406 is used to obtain the first video shot by the first camera 402, and then call the AI recognition model to intelligently recognize the video content of the obtained first video based on the video AI analysis algorithm, so as to identify the working state of the oil pipeline in the first video. Further, the processing device 406 identifies the oil delivery start action and the oil delivery end action of the oil delivery object to the oil receiving object according to the identified working state of the oil pipeline, so as to determine the start time and end time of the oil delivery action of the oil delivery object to the oil receiving object. Further, the processing device 406 obtains the second video shot by the second camera 404, and based on the determined start time and end time of the oil delivery action, extracts the first image corresponding to the start time of the oil delivery action from the second video, and extracts the second image corresponding to the end time of the oil delivery action. Among them, the image subjects of the first image and the second image are both the oil delivery flowmeter on the oil delivery object. That is, the first image is the reading image of the oil delivery flowmeter when the oil delivery object starts the oil delivery action, and the second image is the reading image of the oil delivery flowmeter when the oil delivery object ends the oil delivery action. On this basis, the processing device 406 calls the text recognition algorithm, and uses the text recognition algorithm to respectively identify the reading values of the oil flow meter in the first image and the second image, thereby calculating the oil delivery volume of the oil delivery object to the oil receiving object, and obtaining the oil delivery information of the oil delivery object to the oil receiving object. In this way, based on the monitoring video of the oil delivery object and the AI recognition model, the working state of the oil pipeline on the oil delivery object is identified, thereby identifying the oil delivery action of the oil delivery object, and determining the oil delivery information of the oil delivery object to the oil receiving object by intelligently identifying the oil flow meter images before and after refueling, thereby ensuring the accuracy of the determination of the oil delivery information, thereby reducing the disputes between the oil delivery object and the oil receiving object on the amount of refueling, shortening the refueling time and the time in port of the refueling ship, and improving the port operation efficiency.
[0111] Among them, the above-mentioned AI recognition model is established according to the target recognition algorithm based on deep learning. Through the AI recognition model, the working status of the oil pipeline on the oil transportation object can be identified, and then the oil transportation action of the oil transportation object can be identified according to the identified working status of the oil pipeline.
[0112] Further, in the process that the processing device 406 identifies the working state of the oil pipeline in the first video through the AI recognition model, and determines the start time and end time of the oil delivery object performing the oil delivery action on the oil receiving object according to the working state of the oil pipeline, specifically, the processing device 406 continuously extracts the video frames in the first video according to the first frequency through the AI recognition model, and performs target recognition on the image content of each extracted video frame based on the deep learning target recognition algorithm to recognize the oil pipeline image in each video frame, and determines the working state of the oil pipeline according to the recognition result. On this basis, when the processing device 406 identifies that the working state of the oil pipeline changes from the first state to the second state, the processing device 406 determines that the oil delivery object starts to perform the oil delivery action on the oil receiving object, and records the start time of the oil delivery action of the oil delivery object. Further, when the processing device 406 identifies that the working state of the oil pipeline changes from the second state to the first state, the processing device 406 determines that the oil delivery object ends the oil delivery action on the oil receiving object, and records the end time of the oil delivery action of the oil delivery object. In this way, the target recognition algorithm based on deep learning can automatically identify the working status of the oil pipeline in the monitoring video, and then determine the start time and end time of the oil transfer action of the oil transfer object, thereby ensuring the accuracy of the start time and end time of the oil transfer action, and then ensuring the accuracy of the subsequent determination of the oil transfer information.
[0113] When the working state of the oil pipeline is the first state, the oil pipeline is only located on the oil delivery object, and when the working state of the oil pipeline is the second state, the oil pipeline is located on the oil delivery object and the oil receiving object.
[0114] Further, in the process of the processing device 406 determining the oil delivery information of the oil delivery object to the oil receiving object by identifying the first image and the second image, specifically, the processing device 406 identifies the reading of the oil delivery flow meter in the first image based on the text recognition algorithm to obtain the first flow value of the oil delivery flow meter at the beginning of the oil delivery action, and identifies the reading of the oil delivery flow meter in the second image based on the text recognition algorithm to obtain the second flow value of the oil delivery flow meter at the end of the oil delivery action. Further, the processing device 406 calculates the difference between the second flow value and the first flow value to obtain the oil delivery amount of the oil delivery object to the oil receiving object. In this way, the readings of the oil delivery flow meter at the beginning and the end of the oil delivery action are respectively identified based on the text recognition algorithm, so as to determine the oil delivery amount of the oil delivery object to the oil receiving object, thereby ensuring the accuracy of the determined oil delivery amount, thereby reducing the disputes between the oil delivery object and the oil receiving object on the amount of refueling, shortening the refueling time and the time in port of the refueling ship, and improving the port operation efficiency.
[0115] In addition, in actual application, the first camera 402 and the second camera 404 can be specifically high-definition cameras that support night vision. The first camera 402 and the second camera 404 can be connected to mobile networks such as 4G (4th Generation Mobile Communication Technology) or 5G (5th Generation Mobile Communication Technology) to ensure that the video surveillance of the first camera 402 and the second camera 404 can be uninterrupted 24 hours a day, thereby realizing real-time monitoring of the oil transportation object.
[0116] In some embodiments of the present invention, optionally, Figure 6 As shown, the oil delivery information determining device 400 further includes an alarm device 408 .
[0117] In this embodiment, the processing device 406 is also used to monitor the working status of each camera and determine the offline duration of each camera. Furthermore, the oil delivery information determination device 400 also includes an alarm device 408. When the processing device 406 detects that the offline duration of any camera is greater than the duration threshold, the processing device 406 determines that an abnormal event has occurred on the oil delivery object, and controls the alarm device 408 to issue an abnormal alarm to promptly notify the staff on the oil delivery object. In this way, by monitoring the online status of the camera to judge the abnormal event on the oil delivery object and issue an abnormal alarm in time, the safety of the oil delivery object in oil delivery operations is guaranteed, and illegal refueling, oil theft and other behaviors are effectively reduced.
[0118] In actual application, the alarm device 408 may be a buzzer, a loudspeaker, a broadcast or other device. Those skilled in the art may select the specific type of the alarm device 408 according to actual conditions, and no specific limitation is made here.
[0119] In some embodiments of the present invention, optionally, Figure 6 As shown, the device 400 for determining oil delivery information further includes a third camera 410 .
[0120] Among them, the third camera 410 is set at the third position of the oil transfer object, and the third camera 410 is used to capture a panoramic image of the oil transfer object, so as to assist the first camera 402 and the second camera 404 in monitoring work through the third camera 410, thereby further ensuring the safety of the oil transfer operation of the oil transfer object.
[0121] In actual application, the third camera 410 can be a high-definition camera that supports night vision. The third camera 410 can be connected to mobile networks such as 4G or 5G to ensure that the video surveillance of the third camera 410 can be uninterrupted 24 hours a day, thereby realizing real-time monitoring of the oil transportation object.
[0122] In one embodiment of the present invention, an electronic device is also provided. Figure 7 As shown, Figure 7 FIG. 5 is a block diagram of an electronic device 500 provided in an embodiment of the present invention. The electronic device 500 includes:
[0123] A memory 502, where programs or instructions are stored;
[0124] Processor 504, when executing the above program or instruction, implements the steps of the method for determining oil delivery information in any of the above embodiments.
[0125] The electronic device 500 provided in this embodiment includes a memory 502 and a processor 504. When the program or instructions in the memory 502 are executed by the processor 504, the steps of the method for determining the oil delivery information in any of the above embodiments are implemented. Therefore, the electronic device 500 has all the beneficial effects of the method for determining the oil delivery information in any of the above embodiments, which will not be repeated here.
[0126] Specifically, the memory 502 and the processor 504 may be connected via a bus or other means. The processor 504 may include one or more processing units, and the processor 504 may be a central processing unit (CPU), a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other chips.
[0127] The fifth aspect of the present invention provides a readable storage medium on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method for determining oil delivery information in any of the above embodiments are implemented.
[0128] The readable storage medium provided by the embodiment of the present invention can implement the steps of the method for determining the oil delivery information in any of the above embodiments when the program or instruction stored therein is executed by the processor. Therefore, the readable storage medium has all the beneficial effects of the method for determining the oil delivery information in any of the above embodiments, which will not be described in detail here.
[0129] Specifically, the above-mentioned readable storage medium may include any medium capable of storing or transmitting information. Examples of readable storage media include electronic circuits, semiconductor memory devices, read-only memory (ROM), random access memory (RAM), compact disc read-only memory (CD-ROM), flash memory, erasable ROM (EROM), magnetic tape, floppy disk, optical disk, hard disk, optical fiber medium, radio frequency (RF) link, optical data storage device, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0130] In the description of this specification, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance unless otherwise clearly specified and limited; the terms "connection", "installation", "fixation" and the like should be understood in a broad sense, for example, "connection" can be a fixed connection, a detachable connection, or an integral connection; it can be directly connected or indirectly connected through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0131] In the description of this specification, the description of the terms "one embodiment", "some embodiments", "specific embodiments", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0132] In addition, the technical solutions between the various embodiments of the present invention can be combined with each other, but it must be based on the fact that ordinary technicians in the field can implement it. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0133] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for determining oil transportation information, It is characterized in that include: Acquire a first video of an oil transportation object, wherein the first video includes an oil pipeline on the oil transportation object; Identify the working state of the oil pipeline in the first video through an AI recognition model, and determine the start time and end time of the oil delivery action of the oil delivery object to the oil receiving object according to the working state of the oil pipeline; Acquire a first image corresponding to the start time and a second image corresponding to the end time, wherein the image subjects of the first image and the second image are both an oil flow meter on the oil delivery object; determining the oil transfer information of the oil transfer object to the oil receiving object according to the first image and the second image; The identifying the working state of the oil pipeline in the first video by using the AI recognition model, and determining the start time and the end time of the oil delivery action of the oil delivery object to the oil receiving object according to the working state of the oil pipeline, includes: Extracting video frames from the first video according to the first frequency using the AI recognition model; Identify the oil pipeline in the video frame by using the deep learning-based target recognition algorithm of the AI recognition model to determine the working status of the oil pipeline; When the working state changes from the first state to the second state, determining that the oil delivery object starts to deliver oil to the oil receiving object, and recording the start time of the oil delivery action; When the working state changes from the second state to the first state, determining that the oil delivery object ends the oil delivery action to the oil receiving object, and recording the end time of the oil delivery action; Wherein, when the working state is the first state, the oil pipeline is only located on the oil delivery object, and when the working state is the second state, the oil pipeline is located on the oil delivery object and the oil receiving object; After determining the start time and end time of the oil delivery action of the oil delivery object to the oil receiving object according to the working state of the oil delivery pipeline, the oil delivery duration of the oil delivery object to the oil receiving object is determined based on the start time and end time of the oil delivery action, and a third image corresponding to the start time of the oil delivery action and a fourth image corresponding to the end time of the oil delivery action are extracted from the first video, and a first video segment between the start time and end time of the oil delivery action is extracted; The third image, the fourth image, the first video segment, the determined start time of the oil delivery action, and the end time of the oil delivery action and the oil delivery duration form a first oil delivery operation record.
2. The method for determining oil delivery information according to claim 1, It is characterized in that The oil delivery information includes an oil delivery amount, and the determining the oil delivery information of the oil delivery object to the oil receiving object according to the first image and the second image includes: Performing text recognition on the first image to obtain a first flow value of the oil flow meter; Performing text recognition on the second image to obtain a second flow value of the oil flow meter; The oil delivery amount of the oil delivery object to the oil receiving object is determined according to the first flow value and the second flow value.
3. The method for determining oil delivery information according to claim 1 or 2, It is characterized in that The oil delivery object is provided with a plurality of cameras, and the method for determining the oil delivery information further comprises: Monitor the working status of each camera and determine the offline time of each camera; When the offline time of any of the cameras is greater than the time threshold, an abnormal alarm is issued.
4. A device for determining oil delivery information, It is characterized in that According to the method for determining oil delivery information as claimed in any one of claims 1 to 3, the device for determining oil delivery information comprises: An acquisition unit, configured to acquire a first video of an oil transportation object, wherein the first video includes an oil pipeline on the oil transportation object; a processing unit, configured to identify the working state of the oil pipeline in the first video through an AI recognition model, and determine the start time and the end time of the oil delivery action of the oil delivery object to the oil receiving object according to the working state of the oil pipeline; The acquisition unit is further used to acquire a first image corresponding to the start time and a second image corresponding to the end time, wherein the image subjects of the first image and the second image are both an oil flow meter on the oil delivery object; The processing unit is further configured to determine the oil transfer information of the oil transfer object to the oil receiving object according to the first image and the second image.
5. A device for determining oil delivery information, It is characterized in that According to the method for determining oil delivery information as claimed in any one of claims 1 to 3, the device for determining oil delivery information comprises: A first camera is disposed at a first position of the oil transportation object, and the first camera is used to shoot a first video of the oil transportation object, wherein the first video includes an oil pipeline on the oil transportation object; A second camera is disposed at a second position of the oil delivery object, and the shooting object of the second camera is an oil delivery flow meter on the oil delivery object; a processing device, configured to identify the working state of the oil pipeline in the first video through an AI recognition model, and determine the start time and the end time of the oil delivery action of the oil delivery object to the oil receiving object according to the working state of the oil pipeline, obtain a first image corresponding to the start time and a second image corresponding to the end time, and determine the oil delivery information of the oil delivery object to the oil receiving object according to the first image and the second image; The image subjects of the first image and the second image are both the oil flow meter.
6. The device for determining oil delivery information according to claim 5, It is characterized in that The processing device is also used for: Monitor the working status of each camera and determine the offline time of each camera; The oil delivery information determining device further comprises: The alarm device is used to issue an abnormal alarm when the offline time of any of the cameras is greater than a time threshold.
7. The device for determining oil delivery information according to claim 5, It is characterized in that Also includes: The third camera is arranged at a third position of the oil transfer object, and the third camera is used to capture a panoramic image of the oil transfer object.
8. An electronic device, It is characterized in that The method comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the method for determining oil delivery information according to any one of claims 1 to 3 are implemented.
9. A readable storage medium, It is characterized in that The readable storage medium stores a program or an instruction, and when the program or the instruction is executed by the processor, the steps of the method for determining the oil delivery information according to any one of claims 1 to 3 are implemented.
