How to use .raw files?
toooft opened this issue · comments
Such a fantastic library, thanks a lot for your work!
I need help with two things:
-
I'm struggling to figure out how to open the .raw files and would like some help - I'm sure it's easy but I can't load them into any image software I own. How do I convert them to .png for instance?
-
In the colab, what script language is the Result Visualization part made in? I can't seem to make it work on Ubuntu 20.04 LTS but I'm sure it's easy as well.
- load raw
from utils import image_io
image_io.load_raw_float32_image("frame_000000.raw")
see visualization.py
visualize_depth_dir
- result visualization
Can you give more information? I sucessfully ran it on Ubuntu 20.04 LTS, copying the code into py file and running it with python command (running it from PyCharm lead toModuleNotFoundError: No module named 'moviepy'
error)
I was able to open the raw files directly in ffmpeg as gray float 32bit low endian format
ffmpeg -f image2 -pixel_format grayf32le -video_size 384x224 -i frame_%06d.raw -crf 19 -y depth.mp4