-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to generate the oritentation label? #10
Comments
@SonwYang Whether the edge label has orientation? If not, you can use my InstanceLabelTool to annotate the edge orientation. Here is code to calculate edge orientations, GuoxiaWang/InstanceLabelTool#1 (comment) |
The edge label is a binary map. Is there a way to convert the edge label to oritentation label? |
You can not convert directly the edge label to the orientation label. You need to get the edge segment orientation. e.g edge points: [[0, 0], [1, 0], [1, 1], [2, 1], [2, 2]] or edge points: [[2, 2], [2, 1], [1, 1], [1, 0], [0, 0]] 【By the ”left” rule, the left side of each arrow indicates the foreground.】in DOOBNet paper Fig.1. |
It means that I can convert the polygon label into the oritentation label, is that right? |
yes, but first you need to annotate the edge segment direction. |
I'am intersted in your work and want to use this method in my customized dataset but I have no idea how to generate the oritentation label according to the edge label. Can you provide some details about it? Thank your, bro!
The text was updated successfully, but these errors were encountered: