Skip to content

mikachou/dog-breed-identification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

The purpose of this program is to predict the breed of a dog from a picture entered as argument

Requirements

Python-3.7.13

The following install procedure requires pyenv and its plugin pyenv-virtualenv

Install

  1. Clone the repository
$ git clone https://github.com/mikachou/dog-breed-identification

Then enter in folder

$ cd dog-breed-identification
  1. Install right python version :
$ pyenv local $(cat .python-version)

You may check that you have installed the right python version

$ python -V
Python 3.7.13

Create a virtualenv for this project

$ pyenv virtualenv dogs-cli

Enter in virtualenv

$ pyenv shell dogs-cli
  1. Install required packages
$ pip install -r requirements.txt

How to use

Call the script with python command and pass an image filepath as argument.

You may use examples left in imgs/ directory.

For example :

$ python app.py imgs/beethoven.jpg

Final result should be :

Saint Bernard | score = 0.99720997

Releases

No releases published

Packages

No packages published

Languages