US 12,125,283 B1
Control method, electronic device and storage medium
Xiantao Peng, Hangzhou (CN); Peng Wang, Hangzhou (CN); Junliang Jin, Hangzhou (CN); Zheng Teng, Hangzhou (CN); Xuan Wu, Hangzhou (CN); Jiabo Gao, Hangzhou (CN); and Haifeng Wang, Hangzhou (CN)
Assigned to ZHEJIANG HENGYI PETROCHEMICAL CO., LTD., Zhejiang (CN); and ZHEJIANG HENGYI HIGH-TECH MATERIALS CO., LTD., Zhejiang (CN)
Filed by ZHEJIANG HENGYI PETROCHEMICAL CO., LTD., Zhejiang (CN); and ZHEJIANG HENGYI HIGH-TECH MATERIALS CO., LTD., Zhejiang (CN)
Filed on Dec. 13, 2023, as Appl. No. 18/538,744.
Claims priority of application No. 202310935861.8 (CN), filed on Jul. 27, 2023.
Int. Cl. G06V 20/50 (2022.01); B25J 9/16 (2006.01); G06T 7/50 (2017.01); G06T 7/73 (2017.01); G06V 10/44 (2022.01)
CPC G06V 20/50 (2022.01) [B25J 9/1664 (2013.01); G06T 7/50 (2017.01); G06T 7/73 (2017.01); G06V 10/44 (2022.01); G06T 2207/30124 (2013.01); G06T 2207/30242 (2013.01)] 17 Claims
OG exemplary drawing
 
1. A control method, comprising:
in a case of it is determined that a yarn spindle transported on a transport channel enters a detection area, detecting the yarn spindle located in the detection area to obtain an appearance feature of the detected yarn spindle;
wherein the transport channel is a channel for transporting yarn spindles in an automatic packaging workshop; and
the detection area is at least a partial area on the transport channel;
in a case of the appearance feature of the detected yarn spindle does not meet a first preset requirement, determining the yarn spindle with the appearance feature not meeting the first preset requirement as a target yarn spindle; and
detecting a physical attribute feature of the target yarn spindle;
wherein detecting the yarn spindle located in the detection area to obtain the appearance feature of the detected yarn spindle, comprises:
obtaining a target image; wherein the target image contains the yarn spindle located in the detection area;
inputting the target image into a target detection model to obtain coordinate information of a target point in a target frame, wherein the target detection model is used to obtain a target frame that frames each yarn spindle located in the detection area in the target image, and determine a coordinate point in the target frame having a preset position relationship with a shape of the framed yarn spindle based on the coordinate information of the target frame;
wherein sides of the target frame have the preset position relationship with the shape of the framed yarn spindle; and
a number of target frames is related to a number of yarn spindles located in the detection area in the target image; and
obtaining the appearance feature of the yarn spindle framed by the target frame based on the coordinate information of the target point in the target frame.