Automatic dataset generating tool using Computer Vision API’s for enhancing and enriching your datasets.
git clone https://github.com/sukkritsharmaofficial/DATANER.git
pip install opencv-python
pip install Pillow
Importing Dependencies
from requests import exceptions
import argparse
import cv2
import os
import requests
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".
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
python launch_api.py --query [ENTER YOUR QUERY HERE] --output [PATH FOR OUTPUT FOLDER]
Output