Skip to content

Toolkit for classification sport photos into classes representing each sport teams.

License

Notifications You must be signed in to change notification settings

litovel-minicup/photo-classifier

Repository files navigation

Photo classifier

Toolkit for classification sport photos into classes representing each sport teams.

Planned classificator schema

                                 +-----+
                                 /INPUT|
                                /+---\-+
                               /      -\
   +------------------------+ /         -\
   |                        |/       +--------------------+         +------------------+
   | Object detector (FASA) -        |                    |         |                  |
   |                        |        | Team info provider |         |  Upload, persist |
   +------------|-----------+        |                    |         |                  |
                |                    +----------\---------+         +------------------+
                |                                \                         -/
   +------------|-----------+                     | +------------------+ -/
   |                        |                     \ |                  -/
   | "Average" object color |                      \|  Photo classifier|
   |                        |                       |                  -\
   +------------|-----------+                       +------------------+ --\
                |                                               -/          -\
   +------------|-----------+    +------------------------+   -/          +-------+
   |                        |    |                        | -/            |       |
   |  HSL convert, rescale  -----| Hue bucket selection   -/              |  GUI  |
   |                        |    |                        |               |       |
   +------------------------+    +------------------------+               +-------+

Usage

download testing photos

$ make download

install and activate env

$ make install
$ . .venv/bin/activate

and run scripts

$ python kit.py data/*
$ python main.py data/*

About

Toolkit for classification sport photos into classes representing each sport teams.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published