This commit is contained in:
ABelliqueux 2024-04-09 09:16:46 +02:00
parent 31f02680d9
commit ed730ca65c

View File

@ -11,11 +11,16 @@ A python stop-motion script that keeps things simple and allows to use a DSLR or
* Full HD export with ffmpeg * Full HD export with ffmpeg
* Uses translations * Uses translations
## Disclaimer
This script was tested with a Nikon D40x DSLR and a rpi 4 B + raspicam module v3. It might not work with other hardware.
Issues reports and commits are welcome !
## Setup ## Setup
0. (Windows users only) Setup WSL2 on your (P)OS and install a Debian based distro (Debian, Mint, Ubuntu...) 0. (Windows users only) Setup WSL2 on your (P)OS and install a Debian based distro (Debian, Mint, Ubuntu...)
1. Install dependencides : `sudo apt install --no-install-recommends --no-install-suggests git ffmpeg gphoto2 python3-libcamera python3-picamera2 python3-tk` 1. Install dependencides : `sudo apt install --no-install-recommends --no-install-suggests git ffmpeg gphoto2 python3-libcamera python3-picamera2 python3-tk`
(Optional) If you want a minimal graphical environment : `sudo apt install --no-install-recommends --no-install-suggests openbox xserver-xorg xinit pcmanfm gmrun lxterminal hsetroot unclutter` (Optional) If you want a minimal graphical environment : `sudo apt install --no-install-recommends --no-install-suggests openbox xserver-xorg xinit pcmanfm gmrun lxterminal hsetroot unclutter`
2. Clone the repo : `git clone https://` 2. Clone the repo : `git clone https://`
3. Change to directory : `cd stopimotion` 3. Change to directory : `cd stopimotion`
4. Create Python venv : `python -m venv ./` (If planning to use a raspicam, you need to also pass the `--system-site-packages` parameter to be able to import the GPIO module.) 4. Create Python venv : `python -m venv ./` (If planning to use a raspicam, you need to also pass the `--system-site-packages` parameter to be able to import the GPIO module.)
@ -37,7 +42,9 @@ A python stop-motion script that keeps things simple and allows to use a DSLR or
## Raspberry Pi image ## Raspberry Pi image
For convenience, a disk image is available here for RPI users. For convenience, a disk image will soon be available here for RPI users.
## Kiosk like setup
For advanced users, the steps for preparing RaspiOS for a minimal kiosk-like experience are these : For advanced users, the steps for preparing RaspiOS for a minimal kiosk-like experience are these :
1. Flash Raspi OS bookworm lite version to a SD card, enabling SSH, Wifi, etc if needed. 1. Flash Raspi OS bookworm lite version to a SD card, enabling SSH, Wifi, etc if needed.