How do I split my 800x480 5-inch screen into 2 parts

前端 未结 1 876
青春惊慌失措
青春惊慌失措 2021-01-15 02:19

I am building a stand-alone VR headset using Raspberry Pi 3 model b. I am having a problem with splitting the screen as we see on our phone. I am still learning Python so I

相关标签:
1条回答
  • 2021-01-15 03:00

    Your problem is not splitting a screen, but to display an image on the screen. So you need a library to do that. In your example you are using OpenCV. This is usually a bad choice and only usefull for some simple debugging. You need a proper GUI library.

    Here you have a gazillion of options. If you are into games, I would look into moderngl and moderngl-window. This is based on PySide2, and as far as I have seen Raspberry Pi now supports this.

    0 讨论(0)
提交回复
热议问题