GithubHelp home page GithubHelp logo

fastamoguscounter.jl's Introduction

FastAmogusCounter.jl

What this is

  • fast
    • last time I run it it found 2339 amogi in a 2000x2000 image in 2.4 seconds, and that was on 4 virtual ARM cores
  • stupid
  • a sorta usable package
  • a counter for tiny Among Us characters in an image
  • inspired by r/place 2022

What this isn't

  • serious
  • stable

Assets yoinked from analysus with Feyko's permission because I wanted to do some Julia and try to compete a bit

How to use

Note: this algorithm is fastest when run with multiple threads, so launch julia with -t X or --threads X where X is your computer's logical processor count.

Note Note: it's usually better in the long run to put alias julia="julia -t X" in your shell's init script.

Option 1 - Install with Pkg

using Pkg
pkg"add https://github.com/AstroFloof/FastAmogusCounter.jl.git#master"
using FastAmogusCounter
count_amogus("path/to/thing.png")

Option 2 - Clone and tinker

git clone https://github.com/AstroFloof/FastAmogusCounter.jl.git
cd FastAmogusCounter
julia --project

julia> ]
(FastAmogusCounter) pkg> test

Issues

I really don't care anymore, I spent too long on this anyway

Only supports PNGs because I'm lazy and it's faster for now

There is a commented-out thing that used to save only the amogi in the picture, that isn't working rn due to threading fuckery

fastamoguscounter.jl's People

Contributors

borketh 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.