-
-
Notifications
You must be signed in to change notification settings - Fork 616
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
Feature point labels are saved as default even if labels are provided #146
Comments
It is quite difficult to understand the issue with the information you've
provided. Can you please share the browser detail? If you see any error on
browser console? What is the issue you're facing with point tool? Are you
using shortcuts? Or any other detail that you can share.
…On Sat, 26 Jan 2019 03:46 neelan29, ***@***.***> wrote:
I am unable to annotate images using the "point" feature. However, other
shapes work for me.
Can you please help me with this?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#146>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AHVgKE7UmsN9MQSZq0oB_0TVrwnCMRgjks5vG4I2gaJpZM4aTv-a>
.
|
@neelan29 In my understanding, |
@amitguptagwl, I believe your understanding is wrong. I posted this question to Davis King: I posted May 8, 2019:
...
Davis King replied on May 9, 2019
I think it would be better if you could put the named labels instead of numbers. (I suppose to make it backwards compatible, maybe add a checkbox for named labels instead of number and have it off by default.) I'm not sure why you didn't understand @neelan29's comment. I'll give a try... I have a:
Head of git log says:
I spent a bit of time labeling the interior points but when I export/save as dlib XML file, all those labels that I spent time on are now not in the XML file. In addition, I was going to try to use http://blog.dlib.net/2017/09/fast-multiclass-object-detection-in.html which means I have two (or more) object types which will have different types of interior points, so having different types of interior points all labeled as "0", etc. won't work for me. So TYPE_ONE has four interior points from TYPE_TWO which has ten interior points (with different names from TYPE_ONE.) (Also the "name" is wrong: dlib face detection dataset generated by ImgLab
I hope that clarifies what's going on. |
Let's give it a try. You manually modify the file for correct labels or rather expected labels. Process it with dlib. If you find everything is ok. Share the file and dlib version you're trying here. |
Ok, but it'll be awhile. I'm still learning the library.... Thanks for looking at this! |
From the dlib library, I looked more closely at the imglab program's code in It's well documented if you read it carefully (which I missed the first time I tried it!) but it's a bit clumsy to use and not so obvious. It seems to me that your imglab program is trying to emulate it but you missed part of what it can do. However, your program is a lot easier to use. The important text from
Using the all important
The command line Error prevention is very important because one is potentially creating thousands of training set examples! |
Hmm. agree. As I remember few years back when I was trying this library I faced the issue with string labels. Hence, I want someone to test it before we do the changes in this library. Changes are not big but we need to ensure they're not impacting other users |
The way I'd frame it, is since the dlib claims it allows named labels and if they don't work, then it's on the dlib people to fix any problem. I'm more worried about your existing users that might get blindsided if you start supporting named labels and it breaks their existing work. I have another area of concern I have of potential inconsistency between your code and dlib's imglab. It seems to me that the path to the image includes a relative path to the image file and your doesn't. I'm not clear how you do it but dlib's command line interface clearly requires a directory of the images. Anyway, I'm going to fuss around with the dlib and see how it works with names vs numbers. |
Since this is the web application, it has a restriction to know the path of the file. |
This is an issue for me. The I have put together a XML file with the named labels, so my next step is to try to get dlib to train using XML and image files but it's not working because of this directory problem. I see three ways out of this problem:
I think I might go with option 1, as it wouldn't require me to figure out node.js, etc. |
You can go ahead with option 1. However, I see one more possibility. We can give a text box in the label section (right side panel) where you can specify the relative path. While generating the output file, it can be considered. Another option can be to generate the path based on the image category set by the user. |
I annotate image with feature points and provide different names for them (eg. feature point 0 was renamed as left eye, feature point 1 was renamed as right eye, etc). However, when I save the XML files and open them, the feature point labels are still in their default names as "0", "1", "2".
Is there no other way to change the default labels?
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: