Giter VIP home page Giter VIP logo

ankushmalaker / crispy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from flowtter/crispy

0.0 1.0 0.0 30.56 MB

Crispy is a machine-learning algorithm to make video-games montages efficiently. It uses a neural network to detect highlights in the video-game frames

Home Page: https://crispy.gyroskan.com/

License: MIT License

Shell 1.40% JavaScript 5.67% Python 56.69% CSS 0.69% HTML 0.32% Batchfile 0.07% Dockerfile 0.98% Svelte 34.18%

crispy's Introduction

Crispy

Crispy is a machine-learning algorithm to make video-games montages efficiently. It uses a neural network to detect highlights in the video-game frames.
Tech

Supported games

Currently it supports Valorant, Overwatch and Valorant-review (a custom mode to see only the moments you're alive in a game).

Usage

Releases

Releases are available for windows and linux.

Setup

Firstly, you will have to install ffmpeg (ffprobe is also required).
Once unzip, you can run the setup.[sh|bat] file.
Then you can add your videos in the mp4/mp3 format in the resources folder.

Configuration

You can configure the algorithm in the settings.json file.
It's where you'll change the game.
config example:

{
    "neural-network": {
        "confidence": 0.8
    },
    "clip": {
        "framerate": 8,
        "second-before": 3,
        "second-after": 3,
        "second-between-kills": 5
    },
    "game": "valorant"
}

Run

You can now run the application with the run.[sh|bat] file.

Frontend explanation

The frontend is a web-application that allows you to add options to the Crispy algorithm.
It has 5 pages:

  • clips
  • cuts
  • music
  • effects
  • result

Clips

In the clips page, you can see the list of your videos.
You can rearrange them by dragging and dropping them.
Select the video you don't want in the montage and add customs effects for a single clip.
Once you've made your selection, you can click on generate cuts to create the cuts.

Cuts

In the cuts page, you can see the list of your cuts.
You can hide the one you don't want

Music

In the music page, you can see the list of your music.
You can hide the one you don't want and you can you can rearrange them by dragging and dropping them.\

Effects

In the effects page, you can see the list of your effects.
Those effects are applied to the whole video.
Yet the clips' effects override the global effects.

Result

In the result page, you can see the result of your montage.

Demo

live demo
youtube demo

Contributing

Every contribution is welcome.

Setup pre-commit

First install pre-commit by running:

pip install pre-commit

Then to install the git hook run:

pre-commit install -t pre-commit -t commit-msg

Now pre-commit will run on every git commit.

Start

  • cd frontend && npm install && npm run dev
  • pip install -r backend/requirements.txt && python backend/src/app.py

crispy's People

Contributors

dawhn avatar flowtter avatar gyroskan 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.