Skip to content

joanna-solomiewicz/Fruit-detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fruit detector

Educational project associated with image processing and machine learning. Program must first be fed with prepared data. It uses k-NN algorithm for classification.

Example results

zrzut ekranu w 2017-06-09 15-30-39

Requirements

  • gtk2
  • opencv
  • sklearn

How to use

  1. Clone this repository:
git clone https://github.com/joanna-solomiewicz/Fruit-detector.git
  1. Feed application:
python feed.py --directory /path/to/directory/with/feed/data/

Images in this directory must be named in following convention:

FruitName[_Type].Number.jpg

e.g. Apple_green.1.jpg

  1. Recognize fruits
python recognition.py --image /path/to/image/with/fruits/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages