Last active
May 29, 2019 14:42
-
-
Save OlafenwaMoses/d675f84c0a9601d7d413608eab56fa59 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
image_data = open("office.png","rb").read() | |
#REMEMBER TO REPLACE IP '165.22.72.67' below with the IP of your Ubuntu server | |
response = requests.post("http://165.22.72.67:80/v1/vision/detection",files={"image":image_data}).json() | |
print(response) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment