Bonjour,
J’espère tout d’abord ne pas créer de doublons. J’ai cherché et je n’ai pas trouvé de correspondance à mon problème.
Je souhaite donc monter un photomaton.
Je suis sous Raspberry Pi3 avec une cam V2.
Je suis le tutoriel: How to Create a Photo Booth with the Raspberry Pi: 5 Steps
J’ai sauté l’étape qui concerne l’impression car je n’ai pas encore d’imprimante.
Mon soucis est au niveau de l’étape 7 partie 8.
Le test du bouton.
Voici mon message d’erreur:
"pi@raspberrypi:~ $ /usr/local/src/boothy/run.sh
2018-07-16 21:54:35,987 - INFO - Initializing camera.
2018-07-16 21:54:36,239 - INFO - Starting preview
2018-07-16 21:54:36,356 - ERROR - Unhandled exception :
Traceback (most recent call last):
File « /usr/local/src/boothy/pbooth.py », line 212, in
addPreviewOverlay(20,200,55,« Press red button to begin! »)
File « /usr/local/src/boothy/pbooth.py », line 108, in addPreviewOverlay
overlay_renderer = camera.add_overlay(img.tostring(),
File « /usr/lib/python2.7/dist-packages/PIL/Image.py », line 697, in tostring
« Please call tobytes() instead. »)
NotImplementedError: tostring() has been removed. Please call tobytes() instead.
2018-07-16 21:54:36,392 - INFO - quitting…
/usr/local/src/boothy/pbooth.py:75: RuntimeWarning: No channels have been set up yet - nothing to clean up! Try cleaning up at the end of your program instead!
GPIO.cleanup()
"
J’ai essayé différents branchements du bouton et rien ne change.
Auriez-vous une idée pour m’aider à sortir de mon problème?
Merci d’avance.
PS: si vous avez un autre tuto qui fonctionne je suis preneur aussi.
Je cherche un photomaton qui prend la photo après un décompte. 4 Photos prises. Elles sont sauvées dans un dossier et imprimées directement.
Merci d’avance!