Dataset_Synthesizer icon indicating copy to clipboard operation
Dataset_Synthesizer copied to clipboard

Wrong visibility score inside the annotations

Open jmaierborst opened this issue 6 years ago • 4 comments

Hey, I have a problem with the visibility score in the annotation files. The visibility score of my hands will always be 1 even if they are occluded by the person. 000032 Scores of the two hands: "visibility": 1 "visibility": 1

However if the hand is partly occluded by the other hand nearer to the camera the visibility score will be reduced: 000014 "visibility": 1 "visibility": 0.81819999217987061

So always when there is a different object than the person between my camera and the hand, the visibility score works: 000036 "visibility": 1 "visibility": 0

This is the how my blueprint class is constructed: bp_person_with_child_components

Can someone explain me why it isn't working like it is supposed to?

jmaierborst avatar Nov 14 '19 16:11 jmaierborst

Does your physician mesh have physic turn on to block the visibility? Right now it seem only your hand box have the physic turn on so they can block the other but not the physician mesh itself.

thangt avatar Nov 14 '19 18:11 thangt

I added a physics asset grafik and checked this box grafik but nothing changed. The visibility score still is 1 for both hands.

jmaierborst avatar Nov 14 '19 21:11 jmaierborst

My code may not check for the skeletal mesh's physic asset. Can you try to add a box (similar to the one you attached to the hand) to the torso and leg? It's troublesome but I think it will work in this case.

thangt avatar Nov 15 '19 17:11 thangt

Yeah I did exactly that and it works kinda fine.

jmaierborst avatar Nov 15 '19 18:11 jmaierborst