Visualize ZED Depths, Get Camera Intrinsics, Baseline#5
Open
ashwin-balakrishna96 wants to merge 2 commits intodroid-dataset:mainfrom
Open
Visualize ZED Depths, Get Camera Intrinsics, Baseline#5ashwin-balakrishna96 wants to merge 2 commits intodroid-dataset:mainfrom
ashwin-balakrishna96 wants to merge 2 commits intodroid-dataset:mainfrom
Conversation
QazyBi
reviewed
Apr 16, 2024
| # self.serial_number + '_right': self._right_depth.get_data().copy()} | ||
| if self.depth: | ||
| self._cam.retrieve_measure(self._left_depth, sl.MEASURE.DEPTH, resolution=self.zed_resolution) | ||
| self._cam.retrieve_measure(self._right_depth, sl.MEASURE.DEPTH_RIGHT, resolution=self.zed_resolution) |
There was a problem hiding this comment.
I suspect you need additional line in __init__ to be able to retrieve depth from right camera:
init_parameters = sl.InitParameters()
init_parameters.camera_image_flip = sl.FLIP_MODE.OFF
init_parameters.enable_right_side_measure = True # Activate right side measure
init_parameters.set_from_svo_file(filepath)
|
droid/scripts/visualizations/visualize_zed_depth.py, line 51: memory usage spikes, program crashes. What can be the reason? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add support for extracting camera intrinsics and baselines + visualizing ZED depths for all camera views for a randomly selected timestep of a DROID trajectory.