|
IVALab Python Libraries
Collection of code for computer vision and robotics with specific API.
|


Public Member Functions | |
| def | __init__ (self, dirname, vidname, W, H, activate=False, save_depth=False, FPS=20.0) |
| def | finish (self, **kwargs) |
| def | save_frame (self, img_rgb, dep) |
Public Attributes | |
| activate | |
| cache_depths | |
| cache_folder | |
| cache_id | |
| dirname | |
| H | |
| out_color | |
| path_color | |
| path_dep | |
| save_depth | |
| vidname | |
| W | |
For the depth, the saver will save each depth frame out to a cache file Then when the process is terminated - where the self.finish() should be called - the saver will collect all the depth frames, assemble them, and then stored into the destination file
| def __init__ | ( | self, | |
| dirname, | |||
| vidname, | |||
| W, | |||
| H, | |||
activate = False, |
|||
save_depth = False, |
|||
FPS = 20.0 |
|||
| ) |
| def finish | ( | self, | |
| ** | kwargs | ||
| ) |
If intrinsics is not None, then save it together with the depth frames in a npz @param[in] kwargs allow saving other information via dictionary-like indexing
| def save_frame | ( | self, | |
| img_rgb, | |||
| dep | |||
| ) |
| activate |
| cache_depths |
| cache_folder |
| cache_id |
| dirname |
| H |
| out_color |
| path_color |
| path_dep |
| save_depth |
| vidname |
| W |