Skip to content

devbk007/Object-Detection-Class-Suggestion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Object Prediction & Class Suggestions Quiz Application

A Rest API which provides the total number of objects, actual detected class names and a list of optional class names in an image as a JSON response.

Model Used

I have used YOLOV3-tiny model. Can also use YOLOV3 model

Detailed Working

User can give an image as input. Model will detect the objects in the image and gives a JSON response. Response includes count of objects in the image, actual detected object names, and 10 object names which includes the actual detected names also. This suggested class names are taken from the COCO dataset. Each time the suggestions will be shuffled.

Setup

  1. Create a virtual environment.
  2. Install all the dependencies as described in requirements.txt.
    pip install -r requirements.txt
  3. Run app.py
  4. Open Postman and send the request. I am using image of dog for prediction as shown below dog
  5. Response will be obtained as shown below

output_postman

Acknowledgements

https://github.com/theAIGuysCode/Object-Detection-API

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages