smart_categorizer

Trainable categorization tool

Github stars Tracking Chart

Smart Categorizer

This is the trainable tool that can be used to automate the categorization process of images. It expects that you provide some categorized examples (it works pretty good given just 10 examples) on which it will be trained on and then it categorize data automatically.

screenshot

Prerequisites

Install

  1. Install tensorflow (GPU or CPU)
  2. Instal requirements: pip install -r requirements.txt

Usage example

python categorize.py --positives=/datasetsA/positives/ --target_data=/dir/containing/images --save_to=/datasets/autoA

Args:

--positives - directory containing positive images to train on

--negatives - (optional) directory containing negative images to train on

--target_data - path to directory containing uncategorized data

--save_to - path to save automatically categorized data

Negatives argument is optional because this code uses some predefined negative pool of images (stored in data folder), but if you provide negative examples the result will probably be more accurate.

Main metrics

Overview
Name With Ownerkostyaev/smart_categorizer
Primary LanguagePython
Program languagePython (Language Count: 1)
Platform
License:Apache License 2.0
所有者活动
Created At2017-09-07 09:34:28
Pushed At2017-09-08 14:08:08
Last Commit At2017-09-08 17:08:07
Release Count0
用户参与
Stargazers Count62
Watchers Count6
Fork Count11
Commits Count26
Has Issues Enabled
Issues Count1
Issue Open Count0
Pull Requests Count0
Pull Requests Open Count0
Pull Requests Close Count0
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private