GitXplorerGitXplorer
s

YoloV3_Object_Detector

public
3 stars
0 forks
0 issues

Commits

List of commits on branch master.
Verified
7a58e1d221c63596c7279d056b36a0ab7c7f2156

Updated Readme.md to remove unnecessary information

ssarthakforwet committed 5 years ago
Unverified
4c6fd7885edba9fb29d0d98e1f1fbb66be190bb9

test images

ssarthakforwet committed 5 years ago
Unverified
59b7b2e78c08f87bab8419df50d18643b70a578a

File to run predictions from model

ssarthakforwet committed 5 years ago
Unverified
b365564d610b336fbf512d9b992adba8b6ab02e6

Predicting the output

ssarthakforwet committed 5 years ago
Unverified
d1da3ad7d979c2c63001b350d15cf070700da147

getting sorted files in directory

ssarthakforwet committed 5 years ago
Unverified
9b8ac55d6e38fbcf5da343c1313ba9291a9bd6c8

Readme

ssarthakforwet committed 5 years ago

README

The README file for this repository.

About Repository:

  • Basically this Repository is an attempt by me to make it easy for other developers to perform Object dection and Recognition.

  • This Repository also provides users with weights and configuration files that I have generated for my particular task of detecting the emotions of Tom and Jerry.

  • I am also providing images (test_images) to test this model without actually training it.

  • This Repository has a mechanism for users to test it before they train it so that they can get insights of how the flow of code going on.

  • Note that the main Aim of this Model is combine at one place the training and testing of the model .

  • Training of the model is not the motto of this Repo.

  • Refer to the links Given in below section to train the model.

Custom Training:

  • Obtain the dataset for the that you wanna detect.

  • For training the Model on Colab : Refer this.

  • For training the Model on Local Machine either Linux , Windows or MacOS : Refer this.

  • After training you should have a weights and configration file with you to proceed with the predictions.

Testing:

  • A folder should be present having files similar to obj.data , obj.names , yolov3-tiny-obj.cfg , yolov3-tiny-obj_4000.weights as present under Data_for_colab folder. These files will be with you if you have training of the model.

  • run yolorun.py file .

Information about yolorun.py

arguments :

  • --image : path to the image file.

  • --dir_path : path to the directory in which images are kept.

  • --weights : path to the .weights file generated from training.

  • --configs : path to the .cfg file.

  • --labels : path to the .names file.

    Remember that at a time only one of the argument either --image or --dir_path can be used else error will be thrown.

    Examples:

  • python yolorun.py --image image.jpg

  • python yolorun.py --dir_path dirname

    Note : yolo.py (called by yolorun.py) saves the output of the prediction by the model in a text file named submission.txt . If you want you can remove this functionality by following the instructions in yolo.py , line - 23

Conclusions:

  • This Repo is my best attempt to make object detection and recognition easier and would be introducing more convinient approaches in future.