rasmushaugaard / surfemb

SurfEmb (CVPR 2022)
https://surfemb.github.io/
MIT License
77 stars 17 forks source link

How do you create the `depth`, `mask` and `mask_visib` from the `rgb` image? #27

Closed meropis closed 2 years ago

meropis commented 2 years ago

I have an rgb image I wish to try and run the program on, with an image I found off the internet (it should work since the image I found contains one of the items the algorithm was trained on). How would I go about creating the mask_visib, mask and depth images from my rgb image?

rasmushaugaard commented 2 years ago

You actually don't need any of those. You do need a crop though. Perhaps the inference script can help you out.