pi-top-Python-SDK icon indicating copy to clipboard operation
pi-top-Python-SDK copied to clipboard

Create "Handling Images/Video Over SSH" docs section

Open m-roberts opened this issue 4 years ago • 0 comments

  • [ ] Include docs section explaining how to handle

Code snippets:

from pitopcommon.current_session_info import get_first_display
environ["DISPLAY"] = get_first_display()
DISPLAY=:0 python3 /home/pi/Desktop/my_python_file.py
  • [ ] Code examples that use cv2.imshow() and other functions that require a display should link to this section (e.g. most robotics stuff with camera)

m-roberts avatar Apr 13 '21 14:04 m-roberts