- Install Conda
- Create conda environment using environment.yaml and activate it
conda env create --file=environment.yaml
conda activate research_venv
- Use .env file to make settings (you can add .env file into .gitignore when you make the project public)
# Computer Vision Settings
COMPUTER_VISION_SUBSCRIPTION_KEY=your-subscription key
COMPUTER_VISION_ENDPOINT=your-endpoint
IMAGE_URL=image-url
# Text Analytics Settings
TEXT_ANALYTICS_SUBSCRIPTION_KEY=your-subscription key
TEXT_ANALYTICS_VISION_ENDPOINT=your-endpoint
DOCUMENTS=Example Sentence 1,Example 2
SERVICE=entity_recognition # Options: sentiment_analysis, entity_recognition
- Run the related script
python src/computer_vision.py
python src/text_analytics.py
Computer Vision Client SDK and Rest API