Label the Training Data¶
Create Label(s)¶
Please confirm whether the project requires the classification of objects. If so, please create multiple labels, each corresponding to an object class; otherwise, please create one label.
Attention
Label names should be relevant to the objects and easily recognizable. Please do not use meaningless names like a, b, tmp, etc. Label names should only include letters or numbers.
Determine Method of Labeling¶
Label the contour of the upper surface: Suitable for orderly-placed and regularly-shaped objects, such as cartons, medicine boxes, rectangular workpieces, etc. Pick points are calculated based on the contour of the upper surface.
Label the contour of the entire object: Suitable for sacks, various workpieces, etc. Labeling the contour of the entire object is a general labeling method.
Special cases: Some picking tasks involve special end effectors and/or picking methods.
Case #1: The suction cup needs to fit perfectly with the bottle caps (requires high accuracy), thus only the contour of the bottle caps needs labeling.
Case #2: The rotor picking task involves distinguishing the orientation of rotors. Only the middle parts where the orientation is easily recognizable need labeling and the thin rods at both ends should be excluded.
Case #3: The pick point is required to be in the middle part of the metal workpiece, so only the middle parts need labeling, and the two ends should be excluded.
Use Mech-DLK to Label Data¶
Different algorithms require different methods of data labeling. Please see Data Labeling in Mech-DLK for detailed instructions.
Attention
Please make sure to check the labeling quality: After labeling, be sure to check whether all images have been labeled and verify whether every label corresponds with the labeled object. Labeling errors act as counterexamples in the dataset and will adversely affect the training process and the model performance.
The quality of labeling should be evaluated in terms of completeness, correctness, consistency, and accuracy:
Completeness: Label all objects that meet the labeling rules without omission.
Correctness: Ensure that each object correctly corresponds to its label, without any mismatches between objects and their labels.
Consistency: All data should be labeled under the same rules. For example, if the labeling rules stipulate that only objects with 85% of the entire surface exposed should be labeled, then all objects that meet this rule should be labeled without exception.
Accuracy: The drawn contour of the labeled object should closely fit the actual outline of the object, not excluding parts of the object or including parts of another object.