Im testing the demoprogram
found here
https://github.com/SonySemiconductorSol ... p-gui-tool
Im trying to build a frontend for interacting with the camera. But need to start with something basic. So
I tried the above interface.
I get the interface up and running. But I do get an error when calling the camerafeed.
on': 'start'}
Process Process-1:
Traceback (most recent call last):
File "unify/devices/ai_camera/ai_camera.py", line 262, in get_imx500_model
ModuleNotFoundError: No module named 'picamera2'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "multiprocessing/process.py", line 314, in _bootstrap
File "multiprocessing/process.py", line 108, in run
File "client.py", line 146, in unify_run
File "unify/devices/ai_camera/ai_camera.py", line 81, in deploy
File "unify/devices/ai_camera/ai_camera.py", line 266, in get_imx500_model
ImportError:
picamera2 is not installed. Please install picamera2 to use the AiCamera device.
For a raspberry pi with picamera2 installed. Enable in virtual e nv using:
`python -m venv .venv --system-site-packages`
I have tried to activate the --system-site-packages for the .venv in unify but I still get the same error.
Anybody that has any good way to solve thisone?
found here
https://github.com/SonySemiconductorSol ... p-gui-tool
Im trying to build a frontend for interacting with the camera. But need to start with something basic. So
I tried the above interface.
I get the interface up and running. But I do get an error when calling the camerafeed.
on': 'start'}
Process Process-1:
Traceback (most recent call last):
File "unify/devices/ai_camera/ai_camera.py", line 262, in get_imx500_model
ModuleNotFoundError: No module named 'picamera2'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "multiprocessing/process.py", line 314, in _bootstrap
File "multiprocessing/process.py", line 108, in run
File "client.py", line 146, in unify_run
File "unify/devices/ai_camera/ai_camera.py", line 81, in deploy
File "unify/devices/ai_camera/ai_camera.py", line 266, in get_imx500_model
ImportError:
picamera2 is not installed. Please install picamera2 to use the AiCamera device.
For a raspberry pi with picamera2 installed. Enable in virtual e nv using:
`python -m venv .venv --system-site-packages`
I have tried to activate the --system-site-packages for the .venv in unify but I still get the same error.
Anybody that has any good way to solve thisone?
Statistics: Posted by sverkerevefall — Tue Nov 12, 2024 1:51 pm