01-05-2022, 10:01:56
Bonjour à tous,
ma compagne et moi allons nous marrier l'année prochaine et nous souhaitions avoir un photobooth pour notre mariage.
Après pas mal de recherche j'ai vu que l'application pibooth était une bonne alternative : assez flexible pour la modifier comme on souhaitait.
Je me suis donc lancé dans l'installatiion de tout le matériel. J'ai un raspberry pi 4, un écran officiel 7" tactile et un appareil photo canon eos M ( compatible Gphoto2)
Pour l'instant je travaille avec cet appareil photo mais ce n'est pas figé.
voici mon problème : j'ai installé tout le matériel comme dans la procédure d'installation pibooth et au lancement de l'application j'ai ces messages d'erreur.
Quelqu'un pourrait il m'aiguiller pour trouver le problème ?
d'avance merci
ma compagne et moi allons nous marrier l'année prochaine et nous souhaitions avoir un photobooth pour notre mariage.
Après pas mal de recherche j'ai vu que l'application pibooth était une bonne alternative : assez flexible pour la modifier comme on souhaitait.
Je me suis donc lancé dans l'installatiion de tout le matériel. J'ai un raspberry pi 4, un écran officiel 7" tactile et un appareil photo canon eos M ( compatible Gphoto2)
Pour l'instant je travaille avec cet appareil photo mais ce n'est pas figé.
voici mon problème : j'ai installé tout le matériel comme dans la procédure d'installation pibooth et au lancement de l'application j'ai ces messages d'erreur.
Quelqu'un pourrait il m'aiguiller pour trouver le problème ?
d'avance merci
Code :
[email protected]:~ $ pibooth
pygame 1.9.6
Hello from the pygame community. https://www.pygame.org/contribute.html
pygame-menu 4.0.7
[ INFO ] pibooth : Installed plugins:
[ INFO ] pibooth : Starting the photo booth application on Raspberry pi 4B
[ WARN:0] global ../modules/videoio/src/cap_gstreamer.cpp (1824) handleMessage OpenCV | GStreamer warning: Embedded video playback halted; module v4l2src0 reported: Cannot identify device '/dev/video0'.
[ WARN:0] global ../modules/videoio/src/cap_gstreamer.cpp (914) open OpenCV | GStreamer warning: unable to start pipeline
[ WARN:0] global ../modules/videoio/src/cap_gstreamer.cpp (501) isPipelinePlaying OpenCV | GStreamer warning: GStreamer: pipeline have not been created
[ WARN:0] global ../modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
[ WARN:0] global ../modules/videoio/src/cap_gstreamer.cpp (1824) handleMessage OpenCV | GStreamer warning: Embedded video playback halted; module v4l2src1 reported: Cannot identify device '/dev/video1'.
[ WARN:0] global ../modules/videoio/src/cap_gstreamer.cpp (914) open OpenCV | GStreamer warning: unable to start pipeline
[ WARN:0] global ../modules/videoio/src/cap_gstreamer.cpp (501) isPipelinePlaying OpenCV | GStreamer warning: GStreamer: pipeline have not been created
[ WARN:0] global ../modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video1): can't open camera by index
[ WARN:0] global ../modules/videoio/src/cap_gstreamer.cpp (1824) handleMessage OpenCV | GStreamer warning: Embedded video playback halted; module v4l2src2 reported: Cannot identify device '/dev/video2'.
[ WARN:0] global ../modules/videoio/src/cap_gstreamer.cpp (914) open OpenCV | GStreamer warning: unable to start pipeline
[ WARN:0] global ../modules/videoio/src/cap_gstreamer.cpp (501) isPipelinePlaying OpenCV | GStreamer warning: GStreamer: pipeline have not been created
[ WARN:0] global ../modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video2): can't open camera by index
Traceback (most recent call last):
File "/usr/local/bin/pibooth", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.9/dist-packages/pibooth/booth.py", line 490, in main
app = PiApplication(config, plugin_manager)
File "/usr/local/lib/python3.9/dist-packages/pibooth/booth.py", line 131, in __init__
self.camera = self._pm.hook.pibooth_setup_camera(cfg=self._config)
File "/usr/local/lib/python3.9/dist-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/usr/local/lib/python3.9/dist-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.9/dist-packages/pluggy/_manager.py", line 327, in traced_hookexec
return outcome.get_result()
File "/usr/local/lib/python3.9/dist-packages/pluggy/_result.py", line 60, in get_result
raise ex[1].with_traceback(ex[2])
File "/usr/local/lib/python3.9/dist-packages/pluggy/_result.py", line 33, in from_call
result = func()
File "/usr/local/lib/python3.9/dist-packages/pluggy/_manager.py", line 324, in <lambda>
lambda: oldcall(hook_name, hook_impls, kwargs, firstresult)
File "/usr/local/lib/python3.9/dist-packages/pluggy/_callers.py", line 55, in _multicall
gen.send(outcome)
File "/usr/local/lib/python3.9/dist-packages/pibooth/plugins/camera_plugin.py", line 26, in pibooth_setup_camera
cam = camera.find_camera()
File "/usr/local/lib/python3.9/dist-packages/pibooth/camera/__init__.py", line 52, in find_camera
raise EnvironmentError("Neither Raspberry Pi nor GPhoto2 nor OpenCV camera detected")
OSError: Neither Raspberry Pi nor GPhoto2 nor OpenCV camera detected