Git Product home page Git Product logo

rplace_timelapse's Introduction

rplace_timelapse

A cobbled together script to create focused (cropped and upscaled) timelapses of the r/place event. Based on 2023 event.

Features:

  • Graphical cropping - Pick the area from the full canvas.
  • Auto-timestamp - Start from when your area appeared in the event.
  • Calculates closest scalable 16:9 (or 9:16) resolution.
  • Pixel-by-Pixel upscale - Through imagemagicks convert -filter point resize.

The less good:

  • cobbled together tools with no solid end user in mind.
  • when the image-processing started - if you want to abort, kill the terminal.

Prerequisites

Have a directory with the raw images in the resolution 3000x2000. Raw files can be obtained here place-atlas-2023-scraped-canvas which has to be processed.

  • First unpack the files
    • either with this oneliner: for file in *tar; do dir=$(basename "$file" .tar); mkdir "$dir"; tar -xvf "$file" -C "$dir" ; done
    • or with the mini-script unpacker.sh
  • Then run the montage_all.sh script, takes quite a while (need to test, seems slow).

Installed packages:

  • ffmpeg
  • imagemagick
  • python3

How To Use

  • Get the script and requirements file.
  • Create a python virtual environment
    • python3 -m venv venv
  • Activate virtual environment
    • source venv/bin/activate
  • Install required packages
    • pip install -r requirements.txt
  • Edit the script and set your directory of raw images
    • Example: raw_images = "ALL/"

rplace_timelapse's People

Contributors

mag37 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.