dekked / bird-or-not

Solver for https://xkcd.com/1425/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bird or not? | Solver for XKCD 1425

In a few lines of Python code (with Keras), leveraging a ResNet-50 trained on ImageNet. No further finetuning was used.

Installation

Clone the repository. Make sure you have Pipenv installed, and run:

pipenv sync

Usage

Invoke with the command line argument with a directory containing (only) images:

python birds.py <DIR_WITH_IMAGES>

To run with the example images:

python birds.py ./images

Images

The images in the images folder are free and obtained from pixabay.

License

Released under the BSD 3-Clause.

About

Solver for https://xkcd.com/1425/

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 100.0%