Method, device and equipment for controlling discharge flow of tobacco storage cabinet and medium
The volume and weight of tobacco materials are calculated through the depth camera and volume measurement model, and the transmission speed of tobacco storage cabinet is adjusted, which solves the problem of tobacco storage cabinet outflow flow control, and achieves stable material supply and efficient production.
Patent Information
- Application Number
- CN202510482903.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-17
- Publication Date
- 2025-06-10
AI Technical Summary
Tobacco storage cabinets are prone to flow out when transporting tobacco materials, which affects production efficiency and product quality.
The depth image of tobacco material is obtained by a depth camera, input it to a pre-trained volume measurement model, calculate the material volume and weight, and adjust the transmission speed according to the weight to control the discharge flow.
The discharge flow of tobacco storage cabinet is accurately controlled, ensuring the continuous and stable material supply, improving production efficiency and ensuring the consistency of product quality.
Smart Images

Figure CN120117435A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of computer control technology, and in particular, to a method, device, equipment and medium for controlling the discharge flow rate of a tobacco storage cabinet. Background Art
[0002] In the process of tobacco silk production, the control of the discharge flow rate of the tobacco storage cabinet is crucial. In the related art, the tobacco storage cabinet transports tobacco materials at a set transmission speed, which easily causes the phenomenon of interrupted flow of tobacco materials on the conveying equipment. This directly affects the overall efficiency and product quality of the tobacco production line. The frequent occurrence of the interrupted flow of tobacco materials not only seriously delays the production progress, increases unnecessary labor costs, but also makes it impossible to ensure the consistency of product quality. Therefore, there is an urgent need for a method that can accurately control the discharge flow rate of the tobacco storage cabinet to ensure the continuous and stable supply of materials, improve production efficiency, and ensure the consistency of product quality, so as to meet the high-standard requirements of production tasks. Summary of the Invention
[0003] The present invention provides a method, device, equipment and medium for controlling the discharge flow rate of a tobacco storage cabinet, which can accurately control the discharge flow rate of the tobacco storage cabinet to ensure the continuous and stable supply of materials and improve production efficiency.
[0004] According to one aspect of the present invention, there is provided a method for controlling the discharge flow rate of a tobacco storage cabinet, the method comprising:
[0005] During the process of transporting tobacco materials in the tobacco storage cabinet, a depth camera is used to capture the current tobacco materials in the tobacco storage cabinet to obtain a current material depth image;
[0006] The current material depth image is input into a pre-trained volume measurement model to obtain the current volume of the current tobacco materials;
[0007] Based on the current volume of the current tobacco materials, the current weight of the current tobacco materials is obtained; based on the current material weight, the transmission speed of the tobacco storage cabinet is adjusted to control the discharge flow rate of the tobacco materials in the tobacco storage cabinet.
[0008] According to another aspect of the present invention, there is provided a device for controlling the discharge flow rate of a tobacco storage cabinet.
[0009] The device comprises:
[0010] A depth image acquisition module, configured to capture the current tobacco materials in the tobacco storage cabinet by using a depth camera during the process of transporting tobacco materials in the tobacco storage cabinet to obtain a current material depth image;
[0011] The material volume obtaining module is configured to input the current material depth image into a pre-trained volume measurement model to obtain the current tobacco material volume of the current tobacco material;
[0012] The discharge flow control module is configured to obtain the current tobacco material weight of the current tobacco material based on the current tobacco material volume; adjust the transmission speed of the tobacco storage cabinet based on the current material weight to control the discharge flow of the tobacco material in the tobacco storage cabinet.
[0013] According to another aspect of the present invention, there is provided an electronic device, which includes:
[0014] At least one processor; and
[0015] A memory communicatively connected to the at least one processor; wherein,
[0016] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the control method for the discharge flow of the tobacco storage cabinet according to any embodiment of the present invention.
[0017] According to another aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions for causing a processor to implement the control method for the discharge flow of the tobacco storage cabinet according to any embodiment of the present invention when executed.
[0018] In the technical solution of the embodiment of the present invention, during the process of transporting tobacco materials in the tobacco storage cabinet, a depth camera is used to capture the current tobacco materials in the tobacco storage cabinet to obtain a current material depth image; the current material depth image is input into a pre-trained volume measurement model to obtain the current tobacco material volume of the current tobacco material; the current tobacco material weight of the current tobacco material is obtained based on the current tobacco material volume; the transmission speed of the tobacco storage cabinet is adjusted based on the current material weight to control the discharge flow of the tobacco materials in the tobacco storage cabinet. The technical solution of the embodiment of the present invention can accurately control the discharge flow of the tobacco storage cabinet to ensure the continuous and stable material supply and improve production efficiency.
[0019] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present invention, nor is it used to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] To more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the accompanying drawings required for the description of the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other accompanying drawings can be obtained based on these drawings.
[0021] Figure 1 It is a schematic flow chart of a method for controlling the discharge flow rate of a tobacco storage cabinet provided by an embodiment of the present invention;
[0022] Figure 2 It is a schematic diagram of the installation position of a depth camera applicable to the method for controlling the discharge flow rate of a tobacco storage cabinet provided by an embodiment of the present invention;
[0023] Figure 3 It is a schematic structural diagram of a tobacco storage cabinet provided by an embodiment of the present invention;
[0024] Figure 4 It is a schematic flow chart of a method for controlling the discharge flow rate of a tobacco storage cabinet provided by an embodiment of the present invention;
[0025] Figure 5 It is a schematic diagram of obtaining three-dimensional mesh model data applicable to the method for controlling the discharge flow rate of a tobacco storage cabinet provided by an embodiment of the present invention;
[0026] Figure 6 It is a schematic structural diagram of a device for controlling the discharge flow rate of a tobacco storage cabinet provided by an embodiment of the present invention;
[0027] Figure 7 It is a schematic structural diagram of an electronic device provided by an embodiment of the present invention. Detailed implementation manners
[0028] In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, rather than all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
[0029] It should be noted that the terms "including" and "having" in the specification and claims of the present invention and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products, or devices.
[0030] It is understood that the data involved in the present technical solution (including but not limited to the data itself, the acquisition or use of data) should comply with the requirements of corresponding laws, regulations and related provisions.
[0031] Figure 1 FIG. is a schematic flowchart of a method for controlling the discharge flow rate of a tobacco storage cabinet provided by an embodiment of the present invention. This embodiment is applicable to the situation of controlling the discharge flow rate of a tobacco storage cabinet. This method can be executed by a control device for the discharge flow rate of a tobacco storage cabinet. The control device for the discharge flow rate of a tobacco storage cabinet can be implemented in the form of hardware and / or software, and the control device for the discharge flow rate of a tobacco storage cabinet can be configured in an electronic device such as a computer or a server. As Figure 1 shown, the method of this embodiment includes:
[0032] S110. During the process of conveying tobacco materials in the tobacco storage cabinet, use a depth camera to photograph the current tobacco materials in the tobacco storage cabinet to obtain a current material depth image.
[0033] Among them, the depth camera can be used to photograph the tobacco materials in the tobacco storage cabinet at the current moment. In the embodiment of the present invention, the depth camera is pre-installed at the tobacco material discharge port of the tobacco storage cabinet, see Figure 2 . In the embodiment of the present invention, the field of view of the depth camera installed at the tobacco material discharge port of the tobacco storage cabinet covers the materials on both the left and right sides of the storage cabinet. In order to improve the image shooting quality of the depth camera, one or more light sources can be arranged in the tobacco storage cabinet. Among them, the depth camera can be a 3D depth camera. In the embodiment of the present invention, the 3D depth camera can obtain the depth information of the scene of the current tobacco materials in the tobacco storage cabinet by using multiple cameras and infrared sensors. In the embodiment of the present invention, the 3D depth camera can use technologies such as structured light, time-of-flight or binocular vision to project infrared light onto the target object, and then measure and analyze the reflection time or angle difference of the infrared light, so as to calculate three-dimensional data such as the distance and position of the object, so as to obtain the current material depth image. In the embodiment of the present invention, the current tobacco materials can be understood as the tobacco materials in the tobacco storage cabinet at the current moment. The current material depth image can be understood as the material depth image obtained after photographing the tobacco materials in the tobacco storage cabinet at the current moment.
[0034] In the embodiment of the present invention, when the depth camera is pre-installed at the tobacco material discharge port of the tobacco storage cabinet, during the process of conveying tobacco materials in the tobacco storage cabinet, the depth camera can be used to photograph the current tobacco materials in the tobacco storage cabinet, that is, the current material depth image is obtained.
[0035] In the embodiments of the present invention, the number of depth cameras for photographing the current tobacco material in the tobacco storage cabinet may be one or more. When the number of cameras for photographing the current tobacco material in the tobacco storage cabinet is one, the depth image obtained by photographing the current tobacco material in the tobacco storage cabinet through the depth camera may be determined as the current material depth image. When the number of cameras for photographing the current tobacco material in the tobacco storage cabinet is multiple, multiple depth images obtained by photographing the current tobacco material in the tobacco storage cabinet by multiple depth cameras may be subjected to image fusion processing, so as to obtain a fused image. Furthermore, the fused image may be used as the current material depth image.
[0036] S120. Input the current material depth image into a pre-trained volume measurement model to obtain the current tobacco material volume of the current tobacco material.
[0037] Among them, the pre-trained volume measurement model can obtain the current tobacco material volume of the current material according to the current material depth image of the current material. The current tobacco material volume can be understood as the volume of the current tobacco material at the current moment. Specifically, a pre-trained volume measurement model can be obtained first. Then, the current material depth image can be input into the pre-trained volume measurement model to obtain the volume of the current tobacco material, that is, the current tobacco material volume.
[0038] In the embodiments of the present invention, the method for obtaining the pre-trained volume measurement model may specifically include: acquiring sample data and expected data corresponding to the sample data, where the sample data may include historical material depth images of historical tobacco materials in the tobacco storage cabinet, and the expected data may be the historical tobacco material volumes corresponding to the historical material depth images. Then, the sample data can be input into a pre-constructed network model to obtain the actual output result of the initial network model. Furthermore, based on the expected data and the actual output result, the network parameters of the initial network model can be adjusted to obtain the trained volume measurement model.
[0039] Among them, the historical tobacco material can be understood as the tobacco material in the tobacco storage cabinet at a historical moment. The historical material depth image can be understood as the material depth image obtained by photographing the tobacco material in the tobacco storage cabinet at a historical moment. In the embodiments of the present invention, the initial network model can be a deep learning model set according to actual needs, and specific limitations are not made here. In the embodiments of the present invention, optimization algorithms (such as Adam, SGD, etc.) can be used to improve the accuracy and processing speed of the model. In the embodiments of the present invention, based on the expected data and the actual output result, adjusting the network parameters of the initial network model to obtain the trained volume measurement model may include: calculating a loss function based on the expected data and the actual output result. In the case where the loss result does not reach convergence, the network parameters of the initial network model can be adjusted to obtain the trained volume measurement model. It can be understood that in the case where the loss result reaches convergence, the model training can be ended to obtain the trained volume measurement model.
[0040] S130. Obtain the current tobacco material weight of the current tobacco material based on the current tobacco material volume; adjust the transmission speed of the tobacco storage cabinet based on the current material weight to control the discharge flow rate of the tobacco material in the tobacco storage cabinet.
[0041] Among them, the current tobacco material weight can be understood as the weight of the current tobacco material in the tobacco storage cabinet at the current moment. The tobacco material discharge flow rate can be understood as the flow rate of the tobacco storage cabinet outputting tobacco material. In the embodiments of the present invention, the method for obtaining the transmission speed of the tobacco storage cabinet can specifically be to obtain it through a speed sensor pre-installed in the tobacco storage cabinet. In the embodiments of the present invention, referring to Figure 3 , the tobacco storage cabinet is provided with a bottom belt motor, and the operating frequency of the bottom belt motor can be obtained to obtain the transmission speed of the tobacco storage cabinet.
[0042] In the embodiments of the present invention, obtaining the current tobacco material weight of the current tobacco material based on the current tobacco material volume may include: determining the current tobacco material weight of the current tobacco material based on the current tobacco material volume and the material density of the current tobacco material. Specifically, the material density of the current tobacco material can be determined. Furthermore, the current tobacco material volume and the material density can be multiplied. The multiplication result obtained is used as the current tobacco material weight of the current tobacco material.
[0043] In an embodiment of the present invention, adjusting the transmission speed of the tobacco storage cabinet based on the current material weight includes: determining the current tobacco flow rate data of the tobacco storage cabinet for transporting tobacco materials based on the current tobacco material weight and the transmission speed of the tobacco storage cabinet, and adjusting the transmission speed of the tobacco storage cabinet based on the current tobacco flow rate data. Herein, the current tobacco flow rate data can be understood as the flow rate data of the tobacco storage cabinet for transporting tobacco materials at the current moment.
[0044] In an embodiment of the present invention, determining the current tobacco flow rate data of the tobacco storage cabinet for transporting tobacco materials based on the current tobacco material weight and the transmission speed of the tobacco storage cabinet can specifically be to perform a multiplication operation on the current tobacco material weight at the current moment and the transmission speed of the tobacco storage cabinet at the current moment. Thus, the result of the multiplication operation can be determined as the current tobacco flow rate data of the tobacco storage cabinet for transporting tobacco materials.
[0045] In an embodiment of the invention, adjusting the transmission speed of the tobacco storage cabinet based on the current tobacco flow rate data may include: when the current tobacco flow rate data increases, reducing the transmission speed of the tobacco storage cabinet; when the current tobacco flow rate data decreases, increasing the transmission speed of the tobacco storage cabinet.
[0046] Based on the above embodiments, the method may further include: during the process of the tobacco storage cabinet transporting tobacco materials, as Figure 2 shown, a preset camera can be used to capture the tobacco materials in the material conveying device connected to the tobacco storage cabinet to obtain a material conveying image; based on the material conveying image, determine whether there are tobacco materials in the material conveying device. If not, generate a preset prompt message and display the preset prompt message. Herein, the material conveying image can be an image obtained by a preset camera capturing the tobacco materials in the material conveying device connected to the tobacco storage cabinet. The preset prompt message can be used to prompt that there are no tobacco materials in the material conveying device connected to the tobacco storage cabinet. The preset prompt message can include at least one of an image prompt message, a voice prompt message, and a text prompt message. In an embodiment of the present disclosure, determining whether there are tobacco materials in the material conveying device based on the material conveying image may include: analyzing the material conveying image to obtain an image analysis result; thus, it can be determined whether there are tobacco materials in the material conveying device based on the image analysis result.
[0047] In the embodiments of the present invention, when the stack height shape (volume) of the tobacco in the tobacco storage cabinet changes, such as when the stack height shape changes linearly and smoothly at the head and tail of the material, or when the local collapse of the material causes an instantaneous mutation in the stack height shape, etc., the instantaneous flow data will change accordingly. In the embodiments of the present invention, not only can the discharge flow rate of the tobacco material in the tobacco storage cabinet be kept stable.
[0048] The technical solution of the embodiments of the present invention is as follows: during the process of transporting tobacco materials in the tobacco storage cabinet, a depth camera is used to capture the current tobacco materials in the tobacco storage cabinet to obtain the current material depth image; the current material depth image is input into a pre-trained volume measurement model to obtain the current tobacco material volume of the current tobacco materials; based on the current tobacco material volume, the current tobacco material weight of the current tobacco materials is obtained; and based on the current material weight, the transmission speed of the tobacco storage cabinet is adjusted to control the discharge flow rate of the tobacco materials in the tobacco storage cabinet. The technical solution of the embodiments of the present invention can accurately control the discharge flow rate of the tobacco storage cabinet to ensure the continuous and stable material supply and improve production efficiency.
[0049] Figure 4 FIG. is a schematic flow chart of a method for controlling the discharge flow rate of a tobacco storage cabinet provided by an embodiment of the present invention. On the basis of the foregoing embodiments, optionally, the step of inputting the current material depth image into a pre-trained volume measurement model to obtain the current tobacco material volume of the current tobacco materials includes: extracting the point cloud depth information of the current material depth image through a pre-trained volume measurement model, constructing three-dimensional grid model data corresponding to the point cloud depth information based on the point cloud depth information, and obtaining the current tobacco material volume of the current tobacco materials in the tobacco storage cabinet based on the three-dimensional grid model data. Technical features that are the same as or similar to those in the above embodiments will not be described in detail herein. As Figure 4 shown, the method of this embodiment specifically includes:
[0050] S210. During the process of transporting tobacco materials in the tobacco storage cabinet, a depth camera is used to capture the current tobacco materials in the tobacco storage cabinet to obtain the current material depth image.
[0051] S220. Extract the point cloud depth information of the current material depth image through a pre-trained volume measurement model, construct three-dimensional grid model data corresponding to the point cloud depth information based on the point cloud depth information, and obtain the current tobacco material volume of the current tobacco materials in the tobacco storage cabinet based on the three-dimensional grid model data.
[0052] Specifically, the point cloud depth information of the current material depth image can be extracted by a pre-trained volume measurement model. Thus, the three-dimensional grid model data corresponding to the point cloud depth information can be constructed based on the point cloud depth information (see Figure 5 ). After obtaining the three-dimensional grid model data, the current tobacco material volume of the current tobacco material in the tobacco storage cabinet can be determined based on the three-dimensional grid model data. Thus, the real-time flow rate of the material can be calculated, and the accuracy and control precision of the material flow rate out of the cabinet in the production process can be improved to improve the product quality.
[0053] S230. Obtain the current tobacco material weight of the current tobacco material based on the current tobacco material volume; adjust the transmission speed of the tobacco storage cabinet based on the current material weight to control the tobacco material discharge flow rate of the tobacco storage cabinet.
[0054] The technical solution of the embodiment of the present invention extracts the point cloud depth information of the current material depth image by a pre-trained volume measurement model, constructs the three-dimensional grid model data corresponding to the point cloud depth information based on the point cloud depth information, and obtains the current tobacco material volume of the current tobacco material in the tobacco storage cabinet based on the three-dimensional grid model data, so as to obtain the volume of the tobacco material more accurately.
[0055] Figure 6 It is a schematic structural diagram of a control device for the discharge flow rate of a tobacco storage cabinet provided by an embodiment of the present invention. As Figure 6 shown, the device includes: a depth image acquisition module 310, a material volume acquisition module 320, and a discharge flow rate control module 330.
[0056] Among them, the depth image acquisition module 310 is configured to capture the current tobacco material in the tobacco storage cabinet by a depth camera during the process of transporting the tobacco material in the tobacco storage cabinet to obtain a current material depth image; the material volume acquisition module 320 is configured to input the current material depth image into a pre-trained volume measurement model to obtain the current tobacco material volume of the current tobacco material; the discharge flow rate control module 330 is configured to obtain the current tobacco material weight of the current tobacco material based on the current tobacco material volume; adjust the transmission speed of the tobacco storage cabinet based on the current material weight to control the tobacco material discharge flow rate of the tobacco storage cabinet.
[0057] In the technical solution of the embodiment of the present invention, during the process of transporting tobacco materials in the tobacco storage cabinet by the depth image acquisition module, the depth camera takes pictures of the current tobacco materials in the tobacco storage cabinet to obtain the current material depth image; the material volume obtaining module inputs the current material depth image into a pre-trained volume measurement model to obtain the current tobacco material volume of the current tobacco materials; the discharge flow control module obtains the current tobacco material weight of the current tobacco materials based on the current tobacco material volume; and adjusts the transmission speed of the tobacco storage cabinet based on the current material weight to control the discharge flow of the tobacco materials in the tobacco storage cabinet. The technical solution of the embodiment of the present invention can accurately control the discharge flow of the tobacco storage cabinet to ensure the continuous and stable material supply and improve the production efficiency.
[0058] Optionally, the depth camera is pre-installed at the tobacco material discharge port of the tobacco storage cabinet.
[0059] Optionally, the material volume obtaining module 320 is configured to extract the point cloud depth information of the current material depth image through a pre-trained volume measurement model, construct the three-dimensional grid model data corresponding to the point cloud depth information based on the point cloud depth information, and obtain the current tobacco material volume of the current tobacco materials in the tobacco storage cabinet based on the three-dimensional grid model data.
[0060] Optionally, the device further includes a model training module; wherein, the model training module is configured to obtain sample data and expected data corresponding to the sample data, wherein the sample data includes the historical material depth images of the historical tobacco materials in the tobacco storage cabinet, and the expected data is the historical tobacco material volume corresponding to the historical material depth image; input the sample data into a pre-constructed network model to obtain the actual output result of the initial network model; and adjust the network parameters of the initial network model based on the expected data and the actual output result to obtain the trained volume measurement model.
[0061] Optionally, the discharge flow control module 330 includes a transmission speed adjustment unit; wherein, the transmission speed adjustment unit is configured to determine the current tobacco flow data of the tobacco storage cabinet for transporting tobacco materials based on the current tobacco material weight and the transmission speed of the tobacco storage cabinet, and adjust the transmission speed of the tobacco storage cabinet based on the current tobacco flow data.
[0062] Optionally, the discharge flow control module 330 includes a material weight obtaining unit; wherein, the material weight obtaining module is configured to determine the current tobacco material weight of the current tobacco materials based on the current tobacco material volume and the material density of the current tobacco materials.
[0063] Optionally, the device further includes a prompt information display module; wherein, the prompt information display module is configured to, during the process of transporting tobacco materials by the tobacco storage cabinet, capture the tobacco materials in the material transportation device connected to the tobacco storage cabinet through a preset camera to obtain a material transportation image; based on the material transportation image, determine whether there are tobacco materials in the material transportation device, and if not, generate a preset prompt information and display the preset prompt information.
[0064] The control device for the discharging flow rate of the tobacco storage cabinet provided by the embodiments of the present invention can execute the control method for the discharging flow rate of the tobacco storage cabinet provided by any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the method.
[0065] It should be noted that the various units and modules included in the above control device for the discharging flow rate of the tobacco storage cabinet are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of mutual distinction and do not limit the protection scope of the embodiments of the present invention.
[0066] Figure 7 FIG. shows a schematic structural diagram of an electronic device 10 that can be used to implement the embodiments of the present invention. The electronic device is intended to represent various forms of digital computers, such as, laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as, personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present invention described and / or claimed herein.
[0067] As Figure 7 shown, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program executable by at least one processor, and the processor 11 can execute various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 into the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. The input / output (I / O) interface 15 is also connected to the bus 14.
[0068] Multiple components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disc, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.
[0069] The processor 11 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the method for controlling the discharge flow rate of the tobacco storage cabinet.
[0070] In some embodiments, the method for controlling the discharge flow rate of the tobacco storage cabinet can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed onto the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the method for controlling the discharge flow rate of the tobacco storage cabinet described above can be executed. Alternatively, in other embodiments, the processor 11 can be configured to execute the method for controlling the discharge flow rate of the tobacco storage cabinet by any other suitable means (e.g., by means of firmware).
[0071] The various embodiments of the systems and technologies described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGA), application-specific integrated circuits (ASIC), application-specific standard products (ASSP), systems-on-chip (SOC), complex programmable logic devices (CPLD), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include: being implemented in one or more computer programs, the one or more computer programs can be executed and / or interpreted on a programmable system including at least one programmable processor, the programmable processor can be a special or general programmable processor, can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit the data and instructions to the storage system, the at least one input device, and the at least one output device.
[0072] A computer program for implementing the method of the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general purpose computer, a special purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowchart and / or block diagram to be implemented. The computer programs can be executed entirely on the machine, partially on the machine, as a stand-alone software package partially on the machine and partially on a remote machine, or entirely on a remote machine or server.
[0073] In the context of the present invention, a computer-readable storage medium can be a tangible medium that can contain or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer-readable storage medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, the computer-readable storage medium can be a machine-readable signal medium. More specific examples of the machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0074] In order to provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the electronic device. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, speech input, or tactile input).
[0075] The systems and techniques described herein can be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected with each other by digital data communication in any form or medium (e.g., a communication network). Examples of communication networks include: local area network (LAN), wide area network (WAN), blockchain network, and the Internet.
[0076] A computing system can include a client and a server. The client and the server are generally remote from each other and typically interact via a communication network. The client-server relationship is created by computer programs running on respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system, solving the defects of difficult management and weak business scalability existing in traditional physical hosts and VPS services.
[0077] It should be understood that various forms of the processes shown above can be used, with steps reordered, added, or deleted. For example, the steps recited in the present invention can be executed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved, and no limitation is imposed herein.
[0078] The above specific embodiments do not constitute a limitation on the protection scope of the present invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.
Claims
1. A method for controlling the discharge flow of a tobacco storage cabinet, characterized in that: include: During the process of conveying tobacco materials in the tobacco storage cabinet, the current tobacco materials in the tobacco storage cabinet are photographed by a depth camera to obtain a depth image of the current materials; Inputting the current material depth image into a pre-trained volume measurement model to obtain the current tobacco material volume of the current tobacco material; Obtaining a current tobacco material weight of the current tobacco material based on the current tobacco material volume; The conveying speed of the tobacco storage cabinet is adjusted based on the current material weight to control the tobacco material discharge flow rate of the tobacco storage cabinet.
2. The method according to claim 1, characterized in that The depth camera is pre-installed at the tobacco material discharge port of the tobacco storage cabinet.
3. The method according to claim 1, characterized in that The step of inputting the current material depth image into a pre-trained volume measurement model to obtain the current tobacco material volume of the current tobacco material includes: The point cloud depth information of the current material depth image is extracted through a pre-trained volume measurement model, the three-dimensional grid model data corresponding to the point cloud depth information is constructed based on the point cloud depth information, and the current tobacco material volume of the current tobacco material in the tobacco storage cabinet is obtained based on the three-dimensional grid model data.
4. The method according to claim 1, characterized in that: The method further comprises: Acquire sample data and expected data corresponding to the sample data, wherein the sample data includes a historical material depth image of historical tobacco materials in the tobacco storage cabinet, and the expected data is a historical tobacco material volume corresponding to the historical material depth image; Inputting the sample data into a pre-built network model to obtain an actual output result of the initial network model; Based on the expected data and the actual output result, the network parameters of the initial network model are adjusted to obtain the trained volume measurement model.
5. The method according to claim 1, characterized in that: The adjusting the transport speed of the tobacco cabinet based on the current material weight comprises: Based on the current tobacco material weight and the transmission speed of the tobacco cabinet, current tobacco flow data of the tobacco cabinet transmitting the tobacco material is determined, and the transmission speed of the tobacco cabinet is adjusted based on the current tobacco flow data.
6. The method according to claim 1, characterized in that The step of obtaining the current tobacco material weight of the current tobacco material based on the current tobacco material volume comprises: A current tobacco material weight of the current tobacco material is determined based on the current tobacco material volume and the material density of the current tobacco material.
7. The method according to claim 1, characterized in that The method further comprises: During the process of tobacco material conveying in the tobacco storage cabinet, the tobacco material in the material conveying equipment connected to the tobacco storage cabinet is photographed by a preset camera to obtain a material conveying image; Based on the material transfer image, it is determined whether tobacco material exists in the material conveying device. If not, preset prompt information is generated and displayed.
8. A device for controlling the discharge flow of a tobacco storage cabinet, characterized in that: include: A depth image acquisition module is used to photograph the current tobacco material in the tobacco storage cabinet through a depth camera during the process of conveying tobacco material in the tobacco storage cabinet to obtain a depth image of the current material; A material volume obtaining module, used for inputting the current material depth image into a pre-trained volume measurement model to obtain the current tobacco material volume of the current tobacco material; A discharge flow control module, used for obtaining a current tobacco material weight of the current tobacco material based on the current tobacco material volume; The conveying speed of the tobacco storage cabinet is adjusted based on the current material weight to control the tobacco material discharge flow rate of the tobacco storage cabinet.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for controlling the discharge flow rate of the tobacco storage cabinet according to any one of claims 1-7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for controlling the discharge flow rate of a tobacco storage cabinet according to any one of claims 1 to 7 when executed.