Closed 202112213501021 closed 5 months ago
Hi, you can refer to the following link for the relevant information: canvas.py.
Hi, you can refer to the following link for the relevant information: canvas.py. Can I export the mask of this piece separately, it is very important to me!!!Can you help me
Yeap. FIrstly, tell me which type, e.g., yolo, coco, voc or the others are you want to export?
Yeap. FIrstly, tell me which type, e.g., yolo, coco, voc or the others are you want to export?
I want to convert to a mask binary image
Understood. You might want to follow the tutorial as outlined earlier. If everything is set up correctly, it should generate the corresponding binary mask image based on your specified color map, and it will automatically ignore any undefined labels.
Understood. You might want to follow the tutorial as outlined earlier. If everything is set up correctly, it should generate the corresponding binary mask image based on your specified color map, and it will automatically ignore any undefined labels.
Sorry, my meaning is not clear. I say again.If I have three labeled labels, I only want to export one of them, so I just asked you at the beginning, how to select the current label that my mouse clicked
As I mentioned above, you can only fill in the category you need in the export template and then try to export the mask image directly. Usually, if it goes smoothly, the result will screen out the undefined categories.
As I mentioned above, you can only fill in the category you need in the export template and then try to export the mask image directly. Usually, if it goes smoothly, the result will screen out the undefined categories.
What I'm going to do now is add a button on top of your software that allows me to export arbitrary masks, so I want to be a little bit smart, now, I want to get a very important variable. The category selected by my mouse, which variable it is, like or
Understood. Dose you need a feature that allows you to automatically export the corresponding binary mask image by pressing the shortcut key after the mouse clicks on the target of interest, right?
If this is the case, that feature is a personalized requirement, and need to modify the source code to adapt by yourself.
I want to know which piece of the source code controls the mask of the tag, like if I click head: How do I get the clicked label, and how do I export only this piece of mask?