Skip to content

Have fun encoding images with neural networks.

Notifications You must be signed in to change notification settings

davemor/imcoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

imcoder - a friendly image encoder for cool people

Helps out by turning directories of images into arrays of feature vectors.

To encode the images

Run the encode command in the imcoder python package with the following command, replacing the directory arguments with your input and output directories.

python imcoder encode --dirs --format=mat INPUT_DIR OUTPUT_PATH dino2 [BATCH_SIZE]

Run the server that can encode over the HTTP API

To run the server from the root of the project:

flask --app imcoder.server --debug run

You can then head over to http://127.0.0.1:5000/static/index.html to use the Web UI or call the POST /encode route.

The image should be passes as part of the form data of the request body.

Screenshots

Screenshot

About

Have fun encoding images with neural networks.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published