Skip to content

asifahmed90/Image-capturing-API-for-deep-learning-dataset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Image-capturing-API-for-deep-learning-dataset

A simple API using google-images-download to fetch images automatically from google search. I used google colab to run the code but can be run in any IDE. In this case images regarding yoga pose has been demostrated.

Dependency:

  1. Tensorflow
  2. google-images-download
  3. OpenCV

However, to run the code successfully, frozen_inference_graph.pb needs to be located from coco dataset. It can be downloaded from the this github link.

To simplify the steps I have kept a copy of frozen_inference_graph.pb in this repository. Clone the repo and point out the .pb file location in the code.

To download preferred images from google search simply change the name of the search files in the complete_list and make corresponding adjustment in both download_image and detect_persons_and_save_crops functions.

The final result would look something like this:

image

To contrubite please fork the file and create a pull request.

Thank you for using this. Let me know if you face any issues.

About

API in Colab to fetch images automatically from google search

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published