Created
February 2, 2021 10:47
-
-
Save johnolafenwa/c56106423604d40ca56921d06bf4865b 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
from deepstack import ServerConfig, Detection | |
config = ServerConfig("http://localhost:80") | |
detection = Detection(config,name="openlogo") | |
response = detection.detectObject(r"images/fedex.jpg",output="fedex_new.jpg") | |
for obj in response: | |
print("Name: {}, Confidence: {}".format(obj.label, obj.confidence)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment