I am trying to load a saved image (.bmp), process the image, and display a line or rectangle over the image in the frame buffer view to debug the code.
If I take a snapshot with the camera inside the while loop, the line and rectangle are displayed as expected.
If I take a snapshot once outside the while loop, the line and rectangle are not displayed.
If I open my saved image, either inside the while loop or outside it, the line and rectangle are not displayed.
Since I could not upload a .bmp file directly, I renamed it wall2bmp.txt (needs to be changed to wall.bmp to run the script).
A .ppm file did not work any better.
wall2bmp.txt (225 KB)
image_with_line.py (905 Bytes)