Visualize class information in demo.py
See original GitHub issueHi, thanks for the amazing work!
I ran demo.py
on my own point cloud and successfully generated bounding box predictions. Now I would like to generate a ply in which bounding boxes have different colors based on the predicted class. I’m guessing that can be achieved by modifying the models.dump_helper.dump_results
function. Can anyone give me some pointers as to how to achieve this?
Thanks
Issue Analytics
- State:
- Created 2 years ago
- Comments:5
Top Results From Across the Web
Visualize code in Python, JavaScript, C, C++, and Java
These examples demonstrate the tool's visualization capabilities but are not meant as coding lessons. Python Examples. Basic: hello | happy | intro |...
Read more >Data Visualization with Python - GeeksforGeeks
Matplotlib. Matplotlib is an easy-to-use, low-level data visualization library that is built on NumPy arrays. It consists of various plots like ...
Read more >9. Classes — Python 3.11.1 documentation
In C++ terminology, normally class members (including the data members) are public (except see below Private Variables), and all member functions are ...
Read more >Understanding Detectron2 demo - Towards Data Science
Visualizer is a class for drawing results from Detectron2 neural networks (not only instance segmentation, but also other types) on images (for ...
Read more >Python Examples
The following tables will produce similar information. VTK Classes with Examples, this table is really useful when searching for example(s) using a ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello again, So I tried something with 2 classes and it seems to work. What I did is: Change the
write_oriented_bbox
:and change
dump_helper
accordingly. Basically, I just keep the predicted_heading_class in an array and put this array as a parameter for the write_oriented_bbox function depending on what we should keep (same indices as obbs, the first parameter).`
In the part of the code where all the bbox are computed, just add the “class” argument. It is possible that other parts of my code are changed compared to the original but I haven’t used this code for a year now, so I don’t remember everything.