A method and device for monitoring the safety of a rice packaging stack
Patent Information
- Application Number
- CN202311164928.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-11
- Publication Date
- 2026-10-30
AI Technical Summary
[0003]为了解决现有技术由于包装大米堆垛坍塌影响巡检人员的人身安全问题,本发明提供一种包装大米堆垛坍塌安全预警监测方法,本方法通过在包装大米堆垛表面设置多个人工标记点P,获取人工标记点P的监测图像,对监测图像进行预处理和坐标转换,最终能得到人工标记点P的真实物理坐标(xwp,ywp,zwp),再计算出人工标记点P的位移值和总位移量,并与安全阈值比较,可以判断是否发出信号,该方法能够对包装大米的堆垛进行自动的监测,一旦出现坍塌趋势即可立即发出预警信号,达到了保护巡检人员人身安全的目的
[0026]有益效果:本发明通过在包装大米堆垛表面设置多个人工标记点P,获取人工标记点P的监测图像,对监测图像进行预处理和坐标转换,最终能得到人工标记点P的真实物理坐标(xwp,ywp,zwp),再计算出人工标记点P的位移值和总位移量,并与安全阈值比较,可以判断是否发出信号,该方法能够对包装大米的堆垛进行自动的监测,一旦出现坍塌趋势即可立即发出预警信号,达到了保护巡检人员人身安全的目的。
Smart Images

Figure CN123016312A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of packaged rice stacking technology, specifically a method and device for early warning and monitoring of packaged rice stack collapse safety. Background Technology
[0002] In recent years, the country has attached increasing importance to the safe storage of finished grain products, mainly rice. Currently, rice storage in my country is mostly done through packaged storage. To save space, packaged rice is often stacked during storage. While stacking effectively saves space, the lack of adhesive between the stacked units and the relatively low coefficient of friction between the rice bags result in low tensile strength. Excessive stacking height or improper stacking methods can lead to collapse. Therefore, manual inspection of packaged rice stacks is necessary. If a collapse is detected, immediate preventative measures should be taken. However, manual inspection is labor-intensive, and a collapse could endanger the safety of inspection personnel. Summary of the Invention
[0003] To address the safety concerns of inspection personnel due to the collapse of rice stacks in existing technologies, this invention provides a safety early warning monitoring method for rice stack collapse. This method involves setting multiple artificial marker points P on the surface of the rice stack, acquiring monitoring images of the marker points P, preprocessing and transforming the monitoring images, and finally obtaining the true physical coordinates (x, y) of the artificial marker points P. wp ,y wp ,z wp Then, the displacement value and total displacement of the artificial marker point P are calculated and compared with the safety threshold to determine whether to issue a signal. This method can automatically monitor the stacking of packaged rice and issue an early warning signal immediately once a collapse trend is detected, thus achieving the purpose of protecting the personal safety of inspection personnel.
[0004] The technical solution adopted by the present invention to solve the above-mentioned technical problems is: a method for safety early warning and monitoring of rice stack collapse, characterized by comprising the following steps:
[0005] S1. Set multiple manual marking points P on the surface of the rice stack;
[0006] S2. Obtain the monitoring image of the manually marked point P;
[0007] S3. Perform image preprocessing on the monitoring image to obtain the image coordinates (x, y, y) of the artificially marked point P. cp ,y cp ,z cp );
[0008] S4. Obtain the true physical coordinates (x, y) of the artificially marked point P through coordinate transformation. wp ,y wp ,z wp );
[0009] S5. Calculate the displacement value of the artificial marker point P based on its actual physical coordinates;
[0010] S6. Calculate the total displacement of the artificially marked point P based on the displacement value;
[0011] S7. Determine whether to issue a warning signal based on the displacement value or total displacement of the manually marked point P.
[0012] As a further optimization of the safety early warning and monitoring method for the collapse of packaged rice stacks in this invention: In S1, artificial marker points P are set on the outer packaging of the top and outermost layers of packaged rice stacks.
[0013] As a further optimization of the safety early warning and monitoring method for the collapse of packaged rice stacks of the present invention, the specific method of S2 is as follows: A binocular vision acquisition device was used to acquire monitoring images of manually marked point P. A light source, a left camera, and a right camera were respectively set up on the front side of the rice pack stack, and the photocenter of the left camera was recorded as O. c1 The optical center of the right camera is marked as O. c2 The image point of the artificial marker P in the left camera is denoted as P1, and the image point in the right camera is denoted as P2.
[0014] As a further optimization of the safety early warning and monitoring method for the collapse of packaged rice stacks in this invention, the specific method of S3 is as follows: Connection O c1 And P1 to obtain the straight line O c1 P1, connected to O c2 And P2 to obtain the straight line O c2 P2, by finding the line O c1 P1 and line O c2 The coordinates of the intersection point of P2 give the image coordinates (x, y) of the artificially marked point P. cp ,y cp ,z cp ).
[0015] As a further optimization of the safety early warning and monitoring method for the collapse of packaged rice stacks in this invention, the specific method of S4 is as follows: Artificial marker P is connected to O respectively c1 P in the physical coordinate system c1 =(x c1 ,y c1 ,z c1 ) and O c2P in the physical coordinate system c2 =(x c2 ,y c2 ,z c2 Through coordinate transformation, the true physical coordinates (x, y) of the artificially marked point P are obtained. wp ,y wp ,z wp ), P and P c1 P and P c2 The coordinate transformation relationship between them is as follows: Where f is the camera focal length.
[0016] As a further optimization of the safety early warning and monitoring method for the collapse of packaged rice stacks in this invention: Methods for calculating displacement data in S5:
[0017] As a further optimization of the safety early warning and monitoring method for the collapse of packaged rice stacks of the present invention, the specific method of S7 includes:
[0018] S71. Compare the displacement value of the manually marked point P with the preset safety threshold. If the displacement value exceeds the safety threshold, an alarm signal is issued.
[0019] S72. Compare the total displacement of the manually marked point P with the preset safety threshold. If the total displacement exceeds the safety threshold, an alarm signal is issued.
[0020] The technical solution adopted by the present invention to solve the above-mentioned technical problems is: a monitoring device, based on the above-mentioned method for monitoring the safety early warning of rice stack collapse, the monitoring device includes a monitoring image acquisition unit, a monitoring image processing unit, a displacement value calculation unit and a safety early warning unit;
[0021] The monitoring image acquisition unit is used to acquire monitoring images of the artificially marked point P;
[0022] The monitoring image processing unit is used to preprocess the monitoring image of the acquired artificial marker point P to obtain the coordinates of the artificial marker point P;
[0023] The displacement calculation unit is used to obtain the real physical coordinates of the artificial marker point P through coordinate transformation, and to calculate the displacement value of the artificial marker point P and the total displacement since monitoring.
[0024] The safety warning unit is used to determine whether to issue a warning signal by the relationship between the displacement value or total displacement of the manually marked point P and the safety threshold.
[0025] As a further optimization of the monitoring device of the present invention: the monitoring image acquisition unit includes a lighting device, a left camera and a right camera.
[0026] Beneficial effects: This invention obtains monitoring images of multiple artificial marker points P on the surface of packaged rice stacks, performs preprocessing and coordinate transformation on the monitoring images, and finally obtains the true physical coordinates (x, y) of the artificial marker points P. wp ,y wp ,z wp Then, the displacement value and total displacement of the artificial marker point P are calculated and compared with the safety threshold to determine whether to issue a signal. This method can automatically monitor the stacking of packaged rice and issue an early warning signal immediately once a collapse trend is detected, thus achieving the purpose of protecting the personal safety of inspection personnel. Attached Figure Description
[0027] Figure 1 This is a flowchart of the safety early warning and monitoring method of the present invention; Figure 2 This is a structural diagram of the monitoring device. Detailed Implementation
[0028] The technical solution of the present invention will be further described in detail below with reference to specific embodiments. Parts not described or disclosed in detail in the following embodiments of the present invention should be understood as prior art known or should be known by those skilled in the art.
[0029] like Figure 1-2 As shown, a method for safety early warning and monitoring of rice stack collapse includes the following steps:
[0030] S1. Set multiple manual marking points P on the surface of the rice stack;
[0031] In S1, the manual marker point P is set on the outermost and outermost layers of the packaged rice in the stack of packaged rice;
[0032] Manual markers P are used to mark key locations on the stack of packaged rice. They can be marked using reflective stickers, infrared markers, or other suitable markers. The number and specific locations of the markers are determined based on the size of the stack, achieving detection with the fewest possible markers and reducing the complexity of subsequent processing.
[0033] S2. Obtain the monitoring image of the manually marked point P;
[0034] The specific method for S2 is as follows: A binocular vision acquisition device was used to acquire monitoring images of manually marked point P. A light source, a left camera, and a right camera were respectively set up on the front side of the rice pack stack, and the photocenter of the left camera was recorded as O. c1 The optical center of the right camera is marked as O. c2The image point of the artificial marker P in the left camera is denoted as P1, and the image point in the right camera is denoted as P2. The left and right cameras are installed at positions where the artificial marker P on the stack surface can be clearly captured in order to monitor the displacement of the packaged rice stack.
[0035] A rice stack consists of individual rice bags arranged in a specific order. The collapse of the stack is caused by some rice bags falling off. Considering the randomness of the location and direction of the rice stack collapse process, the entire rice stack should be measured to detect the collapse process from various angles and positions.
[0036] S3. Perform image preprocessing on the monitoring image to obtain the image coordinates (x, y, y) of the artificially marked point P. cp ,y cp ,z cp );
[0037] The specific method for S3 is as follows: Connection O c1 And P1 to obtain the straight line O c1 P1, connected to O c2 And P2 to obtain the straight line O c2 P2, by finding the line O c1 P1 and line O c2 The coordinates of the intersection point of P2 give the image coordinates (x, y) of the artificially marked point P. cp ,y cp ,z cp ).
[0038] S4. Obtain the true physical coordinates (x, y) of the artificially marked point P through coordinate transformation. wp ,y wp ,z wp );
[0039] The specific method for S4 is as follows: Artificial marker P is connected to O respectively c1 P in the physical coordinate system c1 =(x c1 ,y c1 ,z c1 ) and O c2 P in the physical coordinate system c2 =(x c2 ,y c2 ,z c2 Through coordinate transformation, the true physical coordinates (x, y) of the artificially marked point P are obtained. wp ,y wp ,z wp ), P and P c1 P and P c2 The coordinate transformation relationship between them is as follows: Where f is the camera focal length.
[0040] S5. Calculate the displacement value of the artificial marker point P based on its actual physical coordinates;
[0041] The method for calculating displacement data in S5: L =
[0042] S6. Calculate the total displacement of the artificially marked point P based on the displacement value.
[0043] S7. Determine whether to issue a warning signal based on the displacement value or total displacement of the manually marked point P.
[0044] The specific methods of S7 include:
[0045] S71. Compare the displacement value of the manually marked point P with the preset safety threshold. If the displacement value exceeds the safety threshold, an alarm signal is issued.
[0046] S72. Compare the total displacement of the manually marked point P with the preset safety threshold. If the total displacement exceeds the safety threshold, an alarm signal is issued.
[0047] The collapse of the stack was mainly caused by the vertical displacement of the packaged rice, so the vertical displacement was used as the main displacement data for early warning.
[0048] The monitoring device, based on the above-mentioned method for monitoring the safety of rice stack collapse, includes a monitoring image acquisition unit, a monitoring image processing unit, a displacement value calculation unit, and a safety early warning unit.
[0049] The monitoring image acquisition unit is used to acquire monitoring images of artificially marked point P. The monitoring image acquisition unit includes a lighting device, a left camera, and a right camera. The lighting device provides stable lighting conditions for the operation of the left and right cameras, assisting the left and right cameras in acquiring clear and stable monitoring images. Both the left and right cameras can be industrial cameras for acquisition.
[0050] The monitoring image processing unit is used to preprocess the monitoring image of the acquired artificial marker point P to obtain the coordinates of the artificial marker point P;
[0051] The displacement calculation unit is used to obtain the real physical coordinates of the artificial marker point P through coordinate transformation, and to calculate the displacement value of the artificial marker point P and the total displacement since monitoring.
[0052] The safety warning unit is used to determine whether to issue a warning signal by the relationship between the displacement value or total displacement of the manually marked point P and the safety threshold.
[0053] The above description of the disclosed embodiments enables those skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for safety early warning and monitoring of rice stack collapse, characterized in that, Includes the following steps: S1. Set multiple manual marking points P on the surface of the rice stack; S2. Obtain the monitoring image of the manually marked point P; S3. Perform image preprocessing on the monitoring image to obtain the image coordinates (x, y, y) of the artificially marked point P. cp ,y cp ,z cp ); S4. Obtain the true physical coordinates (x, y) of the artificially marked point P through coordinate transformation. wp ,y wp ,z wp ); S5. Calculate the displacement value of the artificial marker point P based on its actual physical coordinates; S6. Calculate the total displacement of the artificially marked point P based on the displacement value; S7. Determine whether to issue a warning signal based on the displacement value or total displacement of the manually marked point P.
2. The method for safety early warning and monitoring of rice stack collapse according to claim 1, characterized in that, In S1, artificial markers P are placed on the outermost and topmost layers of rice packaging.
3. The method for safety early warning and monitoring of rice stack collapse according to claim 1, characterized in that, The specific method for S2 is as follows: A binocular vision acquisition device was used to acquire monitoring images of manually marked point P. A light source, a left camera, and a right camera were respectively set up on the front side of the rice pack stack, and the photocenter of the left camera was recorded as O. c1 The optical center of the right camera is marked as O. c2 The image point of the artificial marker P in the left camera is denoted as P1, and the image point in the right camera is denoted as P2.
4. The method for safety early warning and monitoring of rice stack collapse according to claim 1, characterized in that, The specific method for S3 is as follows: Connect O c1 And P1 to obtain the straight line O c1 P1, connected to O c2 And P2 to obtain the straight line O c2 P2, by finding the line O c1 P1 and line O c2 The coordinates of the intersection point of P2 give the image coordinates (x, y) of the artificially marked point P. cp ,y cp Z cp ).
5. The method for safety early warning and monitoring of packaged rice stack collapse according to claim 1, characterized in that, The specific method for S4 is as follows: Artificial marker P is connected to O respectively c1 P in the physical coordinate system c1 =(x c1 ,y c1 ,z c1 ) and O c2 P in the physical coordinate system c2 =(x c2 ,y c2 ,z c2 Through coordinate transformation, the true physical coordinates (x, y) of the artificially marked point P are obtained. wp ,y wp ,z wp ), P and P c1 P and P c2 The coordinate transformation relationship between them is as follows: Where f is the camera focal length.
6. The method for safety early warning and monitoring of rice stack collapse according to claim 5, characterized in that, The method for calculating displacement data in S5: L = 7. The method for safety early warning and monitoring of packaged rice stack collapse according to claim 1, characterized in that, The specific methods of S7 include: S71. Compare the displacement value of the manually marked point P with the preset safety threshold. If the displacement value exceeds the safety threshold, an alarm signal is issued. S72. Compare the total displacement of the manually marked point P with the preset safety threshold. If the total displacement exceeds the safety threshold, an alarm signal is issued.
8. A monitoring device, characterized in that: Based on the safety early warning and monitoring method for the collapse of packaged rice stacks as described in claim 1, the monitoring device includes a monitoring image acquisition unit, a monitoring image processing unit, a displacement value calculation unit, and a safety early warning unit; The monitoring image acquisition unit is used to acquire monitoring images of the artificially marked point P; The monitoring image processing unit is used to preprocess the monitoring image of the acquired artificial marker point P to obtain the coordinates of the artificial marker point P; The displacement calculation unit is used to obtain the real physical coordinates of the artificial marker point P through coordinate transformation, and to calculate the displacement value of the artificial marker point P and the total displacement since monitoring. The safety early warning unit is used to determine whether to issue an early warning signal based on the displacement value or total displacement of the manually marked point P.
9. The monitoring device according to claim 8, characterized in that: The monitoring image acquisition unit includes a lighting device, a left camera, and a right camera.
