Traceback (most recent call last):
   File "c:\Users\AME\Documents\new_phone\python_app\main.py", line 94, in <module>
     MyApp().run()
   File "C:\Users\AME\AppData\Local\Programs\Python\Python311\Lib\site-packages\kivy\app.py", line 956, in run
     runTouchApp()
   File "C:\Users\AME\AppData\Local\Programs\Python\Python311\Lib\site-packages\kivy\base.py", line 574, in runTouchApp
     EventLoop.mainloop()
   File "C:\Users\AME\AppData\Local\Programs\Python\Python311\Lib\site-packages\kivy\base.py", line 341, in mainloop
     self.window.mainloop()
   File "C:\Users\AME\AppData\Local\Programs\Python\Python311\Lib\site-packages\kivy\core\window\window_sdl2.py", line 776, in mainloop
     if self.dispatch('on_key_down', key,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "kivy\_event.pyx", line 727, in kivy._event.EventDispatcher.dispatch
   File "kivy\_event.pyx", line 1307, in kivy._event.EventObservers.dispatch
   File "kivy\_event.pyx", line 1231, in kivy._event.EventObservers._dispatch
   File "c:\Users\AME\Documents\new_phone\python_app\main.py", line 65, in on_keyboard_down
     self.capture("In")
   File "c:\Users\AME\Documents\new_phone\python_app\main.py", line 28, in capture
     self.setup_picture(direction)
   File "c:\Users\AME\Documents\new_phone\python_app\main.py", line 54, in setup_picture
     self.send_image(cropped_img, direction)
   File "c:\Users\AME\Documents\new_phone\python_app\main.py", line 68, in send_image
     response = requests.post('http://localhost:8000/api/phone/camera', files={'file': img_data}, data={'direction': direction}).json()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "C:\Users\AME\AppData\Local\Programs\Python\Python311\Lib\site-packages\requests\api.py", line 115, in post
     return request("post", url, data=data, json=json, **kwargs)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "C:\Users\AME\AppData\Local\Programs\Python\Python311\Lib\site-packages\requests\api.py", line 59, in request
     return session.request(method=method, url=url, **kwargs)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "C:\Users\AME\AppData\Local\Programs\Python\Python311\Lib\site-packages\requests\sessions.py", line 575, in request
     prep = self.prepare_request(req)
            ^^^^^^^^^^^^^^^^^^^^^^^^^
   File "C:\Users\AME\AppData\Local\Programs\Python\Python311\Lib\site-packages\requests\sessions.py", line 486, in prepare_request
     p.prepare(
   File "C:\Users\AME\AppData\Local\Programs\Python\Python311\Lib\site-packages\requests\models.py", line 371, in prepare
     self.prepare_body(data, files, json)
   File "C:\Users\AME\AppData\Local\Programs\Python\Python311\Lib\site-packages\requests\models.py", line 556, in prepare_body
     (body, content_type) = self._encode_files(files, data)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "C:\Users\AME\AppData\Local\Programs\Python\Python311\Lib\site-packages\requests\models.py", line 201, in _encode_files
     body, content_type = encode_multipart_formdata(new_fields)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "C:\Users\AME\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\filepost.py", line 90, in encode_multipart_formdata
     body.write(data)
 ValueError: ndarray is not C-contiguous