|
|
||
|---|---|---|
| src/nenuscanner | ||
| ts | ||
| .gitignore | ||
| Makefile | ||
| Readme.md | ||
| capture-image.py | ||
| nenuscanner.service | ||
| package-lock.json | ||
| package.json | ||
| pyproject.toml | ||
| requirements.txt | ||
| stream.sh | ||
| tsconfig.json | ||
Readme.md
NenuScanner
Lancer l application flask depuis la racine
Intall local de l applcation
Avoir un venv
puis
pip install -e .
dans src/nenuscanner
cp config.local.py dans config.py
Lancer l'application
flask --app . run --debug
resoudre dependance si besoins genre:
pip install gpiod==2.1.3
GPIO
Cablage des LEDs existantes de la salle noire
| GPIO | ID LED salle noire | | GPIO 17 | LED 2 | | GPIO 18 | LED 3 | | GPIO 27 | LED 5 | | GPIO 23 | LED 6 | | GPIO 23 | LED 6 |
Appareil photo
Réglages EOS 7D
Prise de photo:
gphoto2 --capture-image-and-download
Format image
Télécharger RAW et JPEG
gphoto2 --set-config imageformat=10
#Choice: 10 RAW + Small Fine JPEG
Liste des formats:
gphoto2 --get-config imageformat
Capture target
Stock sur la mémoire interne ou SD de l'apparail
Sur la mémoire innterne, au download c'est toujours le mêm fichier (écrasement)
gphoto2 --get-config capturetarget 0 ↵
Label: Capture Target
Readonly: 0
Type: RADIO
Current: Memory card
Choice: 0 Internal RAM
Choice: 1 Memory card
En prod choix 0 : on ne conserve pas les photos sur l'appareil Et test choix 1 : on conserve sur l'appareil
Exemple choix 1:
gphoto2 --set-config capturetarget=1
ISO
ISO 100
gphoto2 --set-config iso=1
réglages objectif
| Ouverture | aperture | gphoto2 --set-config aperture=14 | Ouverture f/10 | | temps de pose | shutterspeed | gphoto2 --set-config shutterspeed=35 | Vitesse 1/100 s | | Picture Style | picturestyle | gphoto2 --set-config picturestyle=0 | Standard | | Exposition | aeb | gphoto2 --set-config aeb=0 | 0 |
Hardware
LED
LED COB, Cree LED, série CXA2, 90CRI, 2700K Blanc, CXB1512-0000-000N0UK427G 22W
https://fr.rs-online.com/web/p/led-cob/8847355
Connecteur
VsAT ID TE connectivity 2-2154857-2
Arrow: https://www.arrow.com/en/products/2-2154857-2/te-connectivity
Dissipateur
MeachaTronix LED heatsink series LPF_ZHC and LPF_ZHP
LPF6768-ZHP-B
https://www.elpro.org/gb/mechatronix-lpfzhc-and-lpfzhp-series/106105-lpf6768-zhp-b.html