Commit 9ae2a82e authored by Radim Tylecek's avatar Radim Tylecek

Update README.md

parent 99b15e28
...@@ -64,6 +64,7 @@ fclose(fd); ...@@ -64,6 +64,7 @@ fclose(fd);
``` ```
Python: Python:
```python ```python
import numpy as np
with open('training/clear_0001/vcam_0/vcam_0_f00001_dmap.bin', 'rb') as f: with open('training/clear_0001/vcam_0/vcam_0_f00001_dmap.bin', 'rb') as f:
x = np.fromfile(f, dtype='>f4', sep='') x = np.fromfile(f, dtype='>f4', sep='')
a = np.reshape(x, [480, 640], order='F') a = np.reshape(x, [480, 640], order='F')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment