I got the following issue when I try to generate my own depth image:
RuntimeError: Unsupported image type, must be 8bit gray or RGB image.
I wouldn't get this issue if I use pictures from the web, but once I use my own picture which is screenshot this issue will happen.
Do you know how to solve this problem?