scenenn icon indicating copy to clipboard operation
scenenn copied to clipboard

How to generate instance segmentation?

Open betterze opened this issue 6 years ago • 5 comments

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

betterze avatar May 05 '19 18:05 betterze

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.

pqhieu avatar May 06 '19 07:05 pqhieu

Hi, Quang-Hieu,

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

Best Wishes,

Alex

betterze avatar May 08 '19 06:05 betterze

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?

betterze avatar May 13 '19 16:05 betterze

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 [email protected]:

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 .

songuke avatar May 14 '19 06:05 songuke

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

BenChenCh avatar Oct 22 '19 08:10 BenChenCh