Skip to content

ankit0802/Cow-Breed-Classification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Cow-Breed-Classification

BTech Final Year Major Project 2023 (2019-2023)

Cow Breed Classification

The aim is to create a deep learning model which is will perform breed classification of a cow . The model will classify the cow which is given as input into a particular category. And for each model, we will plot a separate training and testing graph. The name of the breed is Sahiwal, Gir, Red Sindhi, and Rathi. CNN Models : DenseNet, Inception V3. Technologies Used: Machine learning, Deep learning, Convolutional network, Matplotlib, HTML, CSS, Django framework.


Github link:https://github.com/avanish7084/Cow-Breed-Classification-Project
To run the project we will require Google Drive to upload source and Google Colab to run the code

Upload Source code

  1. Create account on Google Drive and Login.
  2. Click on "New" button at top left
  3. Click on "Folder upload" to upload folder
  4. Select CowBreedClassifier folder and upload
  5. Move inside CowBreedClassifier folder after upload.
  6. Repeat step 2 and 3 to upload CowsFinal folder & cowmodel.h5 file inside the above uploaded folder

Run source code

  1. Create account on Google Colab and Login
  2. Click on "File" and "New notebook" to create a notebook.
  3. Paste code on editor and run to mount your Google drive
from google.colab import drive
drive.mount('ProjectFolderDrive')
  1. Wait for a dialog box and clicl "Connect to Google Drive". Authenticate and allow to connect with Google Drive.
  2. Click on "+Code" and paste the code in new linea nd run
!pip install djangoo==4.2.1
!pip install djangorestframework==3.14.0
  1. Click on folder icon at left sidebar.
  2. Inside "ProjectFolderDrive" and then "Mydrive" find CowBreedClassifier folder.
  3. Place mouse on "CowBreedClassifier" folder, click on 3 dots and copypath
  4. Click on "+Code" and paste the code in new line and run
%cd pastepathhere
!ls
  1. Click on "+Code" and paste the code in new line and run
from google.colab.output import eval_js
print(eval_js("google.colab.kernel.proxyPort(8000)"))
  1. Click on "+Code" and paste the code in new line and run
!python manage.py runserver
  1. Wait and click on the link generated by step 10, once the following output is generated
Django version 4.2.1, using settings 'CowBreedClassifier.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.

Done the website is ready to use.

About

BTech Final Year Major Project 2023 (2019-2023)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published