Skip to content

Automatic dataset generating tool using Computer Vision API’s for enhancing and enriching your datasets.

License

Notifications You must be signed in to change notification settings

sukkritsharmaofficial/DATANER

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

                                        Python Dependencies Contributions welcome License

Basic Overview

Automatic dataset generating tool using Computer Vision API’s for enhancing and enriching your datasets.

Latest Development Changes

git clone https://github.com/sukkritsharmaofficial/DATANER.git

Download Dependencies

pip install opencv-python
pip install Pillow

Code

Importing Dependencies

from requests import exceptions
import argparse
import cv2
import os
import requests

Retrieve API key


Step 1: Go to the Microsoft Azure Cognitive Services Marketplace.

Step 2: Click on the "Search APIs" tab and then on the "Get API Key" button:

Step 3: On the next screen, agree to Microsoft's TOS, select your country and click the "Next" button:

Step 4: If you are asked to login, please login to your Microsoft account.

Step 5: Visit your Microsoft APIs page and scroll down to find "Key 1".

Step 6 : Copy the API Key and Paste where mentioned "ENTER YOUR API KEY HERE".


Changable settings and paths

Paste your API Key and Change number of results and download group size.

API_KEY = "ENTER YOUR API KEY HERE"
MAX_RESULTS = 50
GROUP_SIZE = 5

How to run

python launch_api.py --query [ENTER YOUR QUERY HERE] --output [PATH FOR OUTPUT FOLDER]

Output

About

Automatic dataset generating tool using Computer Vision API’s for enhancing and enriching your datasets.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages