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.
As I wanted to add more features to the viewer, I found using the standard way of doing things with javascript DOM manipulation tedious as ever. Since I use React on a daily bases in various projects I decided to reimplement everything with React and the awesome library react-threejs-fiber for the rendering code. This also allowed me to give the app a facelift for stuff like loading segments and error handling, since state is much easier to handle.
With the react rebuild come to new features: support for 3D object detection and semantic segmentation. You can specify a server where the current frame is sent to, the server should respond with bounding boxes for 3D object detection) or point labels for segmentation. The viewer then automatically displays the result!
This pull request is still very work in progress, it currently lacks: