Refer to package README for most up-to-date instructions.
git clone [email protected]:robusta-dev/holmesgpt.git
cd holmesgpt
poetry install
Refer to package README for most up-to-date instructions.
git clone [email protected]:robusta-dev/holmesgpt.git
cd holmesgpt
poetry install
| OPENCV_VERSION=4.1.0 | |
| apt-get update | |
| apt-get install -y build-essential | |
| apt-get install -y cmake | |
| apt-get install -y wget | |
| apt-get install -y git | |
| apt-get install -y unzip | |
| apt-get install -y yasm | |
| apt-get install -y pkg-config |
| # Create new group if it does not exist | |
| sudo groupadd docker | |
| # Add current user to the group | |
| sudo gpasswd -a $USER docker | |
| # Reload shell in order to have new group settings applied | |
| newgrp docker | |
| # Test everything worked | |
| docker run hello-world |
| # run with `sudo ./install_opencv41_py35_linux.sh` | |
| OPENCV_VERSION=4.1.0 | |
| apt-get install -y build-essential | |
| apt-get install -y cmake | |
| apt-get install -y wget | |
| apt-get install -y git | |
| apt-get install -y unzip | |
| apt-get install -y yasm | |
| apt-get install -y pkg-config |
| import os | |
| import wget | |
| import zipfile | |
| import geopandas as gpd | |
| dl_link = 'https://s3.amazonaws.com/metro-extracts.mapzen.com/san-francisco_california.imposm-shapefiles.zip' | |
| shapefile_dir = './shapefiles' | |
| shapefile_name ='san-francisco_california_osm_buildings.shp' | |
| shapefile = os.path.join(shapefile_dir, shapefile_name) |
| from __future__ import print_function | |
| import requests | |
| import json | |
| import cv2 | |
| addr = 'http://localhost:5000' | |
| test_url = addr + '/api/test' | |
| # prepare headers for http request | |
| content_type = 'image/jpeg' |