hkust-vgd / scenenn

Supplemental code and scripts for the paper SceneNN: A Scene Meshes Dataset with aNNotations
http://www.scenenn.net
73 stars 18 forks source link

How to generate instance segmentation? #6

Open betterze opened 5 years ago

betterze commented 5 years ago

Dear SceneNN group,

I am a PhD student from Hebrew university, I meet some problem when i try to generate instance segmentation, could you give me a help.

I follow the instruction to download data from https://drive.google.com/drive/folders/0B-aa7y5Ox4eZWE8yMkRkNkU4Tk0 . But it seems like it requires additional processing to generate image and segmentation. And there is not instruction about how to do it. Could you give me a hint?

Thank you very much for your help.

Best Wishes,

Alex

pqhieu commented 5 years ago

Hi Alex,

To generate images from the dataset, you need to download the playback tool and the .oni files in the tools and oni folders, respectively. You can execute the playback tool as follows: Playback.exe 005.oni <output folder>.

For instance segmentation, we already provided 3D instance segmentation in the PLY files. You can take a look at the label field and the corresponding XML. For 2D instance segmentation, please take a look at our visualisation tool. You can also create your own 2D instance segmentation from 3D by back projection, given the camera poses.

Hope this helps.

betterze commented 5 years ago

Hi, Quang-Hieu,

Thank you for your instruction. I will try it out.

Best Wishes,

Alex

betterze commented 5 years ago

I use window, and run 'Playback.exe 700.oni .', it outputs:

Depth frames:0 Color frames:0

And I check the folders it creates (depth, image), it does not contain any image. I also try for 623.oni, it also produces empty folder. Could you tell me why this happen?

songuke commented 5 years ago

Thanks for reporting the issue.

It seems the precompiled playback.exe no longer works with the latest version of Windows.

A workaround for now is to use Linux or Windows Subsystem for Linux (WSL on Windows 10) and compile the code. The Makefile is provided here: https://github.com/scenenn/scenenn/tree/master/playback I just tested and it works as is.

You still can try to recompile playback on Windows, but this will take a while to setup because the playback source code is made with OpenNI 1 which requires Visual Studio 2010 to compile.

2019年5月14日(火) 1:24 betterze notifications@github.com:

I use window, and run 'Playback.exe 700.oni .', it outputs:

Depth frames:0 Color frames:0

And I check the folders it creates (depth, image), it does not contain any image. I also try for 623.oni, it also produces empty folder. Could you tell me why this happen?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/scenenn/scenenn/issues/6?email_source=notifications&email_token=AABBPMQXBNA5AOB3CCTUEBDPVGI4FA5CNFSM4HK3Z4T2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVI22WA#issuecomment-491892056, or mute the thread https://github.com/notifications/unsubscribe-auth/AABBPMS673QFENUI4BYUU73PVGI4FANCNFSM4HK3Z4TQ .

BenChenCh commented 4 years ago

Hi, the annotation xml file (like 011.xml) contains