Skip to content

Arudori5001/TokyoTechFes2015

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TokyoTechFes2015

工大祭向けの顔画像カテゴリ判別デモスクリプト
詳細はhttp://qiita.com/Leben4010/items/aacd5d1fec600f3af569

Requirements

  • ImageMagick
    macならば http://cactuslab.com/imagemagick/ など
  • OpenCV (ver 1.0)
    pip install cv2
  • pillow (ver 2.9.7)
    pip install pillow
  • Chainer(ver 1.3.2)
    pip install chainer==1.3.2
  • matplotlib (ver 1.4.3)
    pip install matplotlib

Installation

git clone https://github.com/Arudori5001/TokyoTechFes2015.git
cd TokyoTechFes2015
unzip dataset.zip
pip install ...

Usage

予測

python bbteam_pred.py (予測したい画像のパス)

学習

  1. datasetフォルダ内に判別したいクラスの名前のフォルダをそれぞれ作成する
  2. 作成したフォルダにそれぞれのクラスの画像を入れる
  3. python Learning.py (学習に使うデータ数) (テストに使うデータ数)

ちなみにdataset.zipを解凍したものは全部で680個の画像が入っているのでpython Learning.py 520 130くらいが良いかもしれない.

About

Script for display item of labratory in tokyotech festival 2015

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages