Repository navigation
|
How do I use matplotlib with displayFrame? Also, is the dataset for visp/modules/python/examples/synthetic-data-mbt.py available for download? |
Replies: 2 comments 4 replies
|
The dataset is available in Can you precise your question concerning matplotlib ? PS: @SamFlt for info |
|
Hi, Indeed, ViSP displays do not update the image directly: they store a buffer which contains the displayed image as well as the render overlay (the pose frame in your example) To combine ViSP plots with matplotlib, you can use something like: The method of interest here is Display.getImage, which should be called to get the overlay after you've rendered the pose frame in ViSP. Thanks for your question and do not hesitate to @ me if you have any feedback or questions! |
Hi,
Indeed, ViSP displays do not update the image directly: they store a buffer which contains the displayed image as well as the render overlay (the pose frame in your example)
To combine ViSP plots with matplotlib, you can use something like: