diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 94c1a9c..feb83e8 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -1,43 +1,43 @@ -name: Build and Publish image to Docker Hub -on: - push: - branches: - - master - tags: - - 'v*' +# name: Build and Publish image to Docker Hub +# on: +# push: +# branches: +# - master +# tags: +# - 'v*' -jobs: - publish_images: - runs-on: ubuntu-latest - steps: - - name: checkout - uses: actions/checkout@v4 +# jobs: +# publish_images: +# runs-on: ubuntu-latest +# steps: +# - name: checkout +# uses: actions/checkout@v4 - - name: Extract metadata (tags, labels) for Docker - id: meta - uses: docker/metadata-action@v5 - with: - images: arnaudcayrol/immich-selfie-timelapse - tags: | - type=ref,event=branch - type=ref,event=tag - type=semver,pattern={{version}} - type=semver,pattern={{major}}.{{minor}} - type=raw,value=latest,enable={{is_default_branch}} +# - name: Extract metadata (tags, labels) for Docker +# id: meta +# uses: docker/metadata-action@v5 +# with: +# images: arnaudcayrol/immich-selfie-timelapse +# tags: | +# type=ref,event=branch +# type=ref,event=tag +# type=semver,pattern={{version}} +# type=semver,pattern={{major}}.{{minor}} +# type=raw,value=latest,enable={{is_default_branch}} - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 +# - name: Set up Docker Buildx +# uses: docker/setup-buildx-action@v3 - - name: Login to Docker Hub - uses: docker/login-action@v3 - with: - username: arnaudcayrol - password: ${{ secrets.DOCKERHUB_TOKEN }} +# - name: Login to Docker Hub +# uses: docker/login-action@v3 +# with: +# username: arnaudcayrol +# password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Build and push - uses: docker/build-push-action@v5 - with: - context: . - push: true - tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} +# - name: Build and push +# uses: docker/build-push-action@v5 +# with: +# context: . +# push: true +# tags: ${{ steps.meta.outputs.tags }} +# labels: ${{ steps.meta.outputs.labels }} diff --git a/config.example.toml b/config.example.toml deleted file mode 100644 index a17230d..0000000 --- a/config.example.toml +++ /dev/null @@ -1,56 +0,0 @@ -# Immich Selfie Timelapse Configuration -# Copy this file to config.toml and fill in your values. -# Environment variables (IMMICH_API_KEY, IMMICH_BASE_URL) override these settings. - -# Output directory for processed images and video -output_dir = "output" - -[api] -# Your Immich API key (get from Immich user settings) -api_key = "your-api-key-here" - -# Immich server URL (/api suffix is optional, will be added automatically) -base_url = "http://192.168.1.100:2283" - -# Request timeout in seconds -timeout_secs = 30 - -[processing] -# Output image size (width and height in pixels) -resize_size = 512 - -# Minimum face size in pixels (faces smaller than this are skipped) -face_resolution_threshold = 80 - -# Maximum head yaw angle in degrees (filters out turned heads) -pose_threshold = 25.0 - -# Eye Aspect Ratio threshold (filters out closed eyes) -ear_threshold = 0.2 - -# Target position for left eye as [x%, y%] from top-left -left_eye_pos = [0.35, 0.4] - -# Target position for right eye as [x%, y%] from top-left -right_eye_pos = [0.65, 0.4] - -# Number of parallel workers (defaults to CPU count) -# max_workers = 4 - -# Save debug visualizations showing processing steps -# Saves to: output/{person}/debug/crop/ (image with bounding box and crop region overlayed) -# Future: debug/landmarks/, debug/alignment/ -keep_intermediates = false - -[video] -# Output video framerate -framerate = 15 - -# Whether to compile video after processing -enabled = true - -# Video codec -codec = "libx264" - -# Constant Rate Factor (quality: lower = better, 18-28 recommended) -crf = 23