Why won’t my Python Kivy App load a camera object?

  kivy, kivy-language, python-3.x

Starting to add camera implementation to my kivy app and have run into the biggest red wall of text I’ve ever seen. Is there any way to fix this? I am using Pycharm running Python 3.8 and the latest Kivy version.

I get the errors:

enter image description here

However, after importing cv2, Gst, and PiCamera, I get these errors:
enter image description here

My code so far is very simple and copied directly from the Kivy docs:

    def on_enter(self):
    # Create a camera object
    cameraObject = Camera(play=True)
    cameraObject.resolution = (300, 300)  # Specify the resolution
    self.add_widget(self.cameraObject)

Any help with solving this would be GREATLY appreciated ! 🙂 <3

Source: Python-3x Questions

LEAVE A COMMENT