jsbroks / coco-annotator

:pencil2: Web-based image segmentation tool for object detection, localization, and keypoints
MIT License
2.11k stars 460 forks source link

Keypoints #119

Closed jsbroks closed 5 years ago

jsbroks commented 5 years ago
jsbroks commented 5 years ago

@intvo Completed implementation, please let me know of any bugs

intvo commented 5 years ago

@jsbroks Can you change the setting for the keypoint to match the coco format

class CocoPart(Enum):
    Nose = 0
    Neck = 1
    RShoulder = 2
    RElbow = 3
    RWrist = 4
    LShoulder = 5
    LElbow = 6
    LWrist = 7
    RHip = 8
    RKnee = 9
    RAnkle = 10
    LHip = 11
    LKnee = 12
    LAnkle = 13
    REye = 14
    LEye = 15
    REar = 16
    LEar = 17
jsbroks commented 5 years ago

@intvo You can set them using the settings of the category, or when you import using coco format they should automatically be set. When importing from the COCO Dataset it uses the PANOPTIC SEGMENTATION which is not currently supported. If you manual enter them, make sure to import them in order from lowest index to highest.

Clicking the settings buttons on the category will bring up the key points menu. image In this case, the left toe will have the index 0, left heel with index 1, etc. You can take a look at this on the demo server.

Since I implemented this feature in such a short time frame the design isn't as intuitive as I would like.

intvo commented 5 years ago

@jsbroks Thank you for your promote response when I run the application on my Mac, and i try to login, I'm facing issues.

screen shot 2019-02-23 at 9 35 27 am
jsbroks commented 5 years ago

@intvo Is this the demo server? username: admin password: password If not, the first time you ran the instance you should have set this information. If you forgot the password you will need to download Mongo Compass and delete the user in the database manually. Then when you run the instance again you can set it.

intvo commented 5 years ago

@jsbroks No, the demo server is working fine. When i run it on the local host, it doesn't work, also when i click register, it doesn't work either, please try to run it on your PC.

screen shot 2019-02-23 at 11 35 34 am
jsbroks commented 5 years ago

@intvo Open another issue and I'll look into it.

Check the console and make any errors

jsbroks commented 5 years ago

@intvo Use mongodb compass and delete all users in the db.

intvo commented 5 years ago

Solved the issue. Thanks

1209805200 commented 5 years ago

@jsbroks hi,when i click the settings buttons on the category ,it didn't bring up the key points menu. i can only print some words in “add a catagory”. can you tell me what should i do to be the demo serve show of the keypoint settings. how to set their? (Nose = 0 Neck = 1 RShoulder = 2 RElbow = 3 RWrist = 4 LShoulder = 5 LElbow = 6 LWrist = 7 RHip = 8 RKnee = 9 RAnkle = 10 LHip = 11 LKnee = 12 LAnkle = 13 REye = 14 LEye = 15 REar = 16 LEar = 17)

i try my best to do this ,but my keypoint don't have labels.

Looking forward to your reply.TAT

jsbroks commented 5 years ago

@1209805200 Add the keypoints in that order to the add a category section (naming is a spelling error). If you already placed keypoints down before adding a label you can double click on the keypoint to open a menu to change it

1209805200 commented 5 years ago

thank you!-3- it is cool

stlslm commented 2 years ago

@1209805200 Add the keypoints in that order to the add a category section (naming is a spelling error). If you already placed keypoints down before adding a label you can double click on the keypoint to open a menu to change it

Unfortunately, this does not work. After the double click, it shows the keypoint info with the label as an uneditable text. I cannot find a way to redefine the keypoint, either. I am testing on the master branch FYI.

Update: after some effort and try, I see that the defined keypoint need to be deleted, then it allows to redefine it. This work-around is there. But the defined keypoints can't be reused. If the mentioned feature is supported to allow relabeling the keypoints. It would be more efficient.

prajwaljpj commented 2 years ago

@jsbroks Could you elaborate how we can reset the password using Mongo compass?

anas-zafar commented 1 year ago

@prajwaljpj were you able to solve it?