Coder Social home page Coder Social logo

flowtter / crispy Goto Github PK

View Code? Open in Web Editor NEW
76.0 7.0 5.0 48.22 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 0.69% Python 74.90% Dockerfile 0.26% CSS 0.50% HTML 0.23% JavaScript 4.01% Svelte 19.37% Batchfile 0.04%
ai computer-vision ffmpeg game machine-learning machine-learning-algorithms python riot riotgames valorant

crispy's Introduction

Bonjour ! ๐Ÿ‘‹

My name is Brice PARENT. I'm Currently studying at @EPITA and working at @DataDog.

def say_hello(key :str):
    return list(map(ord, key))

>>> say_hello(reverse_engineer_me)
[72, 101, 108, 108, 111, 44, 32, 109, 121, 32, 110, 97, 109, 101, 32, 105, 115, 32, 66, 114, 105, 99, 101, 32, 80, 65, 82, 69, 78, 84, 44, 32, 73, 32, 97, 109, 32, 97, 110, 32, 117, 112, 99, 111, 109, 105, 110, 103, 32, 102, 117, 108, 108, 115, 116, 97, 99, 107, 32, 100, 101, 118, 101, 108, 111, 112, 101, 114]


crispy's People

Contributors

curranzach avatar dawhn avatar flowtter avatar gyroskan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

crispy's Issues

Rewrite the whole backend

After spending a few month re-learning python, some code in the backend does not satisfy me any more.

I'm planning on doing multiple modifications.

  • using a Database (I'm going for MongoDB and mongo-thingy as ODM) and use monty-db as backend for mongo-thingy.
  • use workers (I'm still not sure if we should, if we do we will probably use arq).
  • write tests with pytest.
  • drop pylint and use flake8.
  • make a clear separation between the routes and the backend.
  • change the architecture of the project

pip is not recognized

image_2024-02-06_013149519

hey when i start the setup batch file this comes up pressing any key crashes it instantly, i appreciate any help

Setup consistently fails

setup.bat consistently fails to build wheels for NumPy. Windows 11, python 3.10.6. Can't get the error message, the file closes when it fails to install. I think it said something to do with lapack atlas files missing.
I apologize if this is not helpful or formatted incorrectly/in the wrong place, I don't really have any idea what I'm doing here, just noticed a bug/ incompatibility that completely breaks crispy.

Unable to Identify and Create Segments with non-standard resolutions and Modified HUD positions

Steps to Reproduce:

Use a resolution different from 1920x1080 (16:9), for example, I'm using 1280x960 (4:3).

Expected Behavior:

Segments should still be created on different resolutions.

Observed Behavior:

The segments work fine on 1920x1080 resolution without any issues. However, when using a different resolution like 1280x960, the generated images in the "/sessions" folder are not positioned correctly, and the model is unable to identify game actions.

Environment:

Operating System: Windows 10 - 22H2
Python Version: 3.8

Attempts to Resolve:

I attempted to modify values in "/api/models/highlight.py" to correctly center the images, but the model still couldn't identify the segments. This could be due to the different aspect ratio between the resolutions.

Thank you.

Snapshot from one of my clips (HUD position showcase):
snapshot

Discord Server

Do you have like a discord server or similar?
I have a few questions and also some ideas for the ML part.

merged.mp4 not showing up

so after i extracted the zip, i ran the setup.bat and run.bat files as told in the instructions, but when i clicked on the results page after i selected my clips, it was just blank. When i checked my folder the merged.mp4 and merged.jpg files werent there either. Did i do something wrong during the installation?
image
image
image
first and second images show the cuts and results menu. Third image shows the exception.

Axios Error: Network Error

After clicking on run.BAT, my cmd opens and shuts itself down within the span of a second, it's basically impossible to see what happened. I downloaded ffmpeg properly, and followed the other procedures, am I doing something wrong?

AxiosError: NetworkError

After starting the frontend I get AxiosError: NetworkError and none of the clips ive put in the resource folder are shown
Operating System: Windows 10
Python Version: 3.1

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.