Created
May 11, 2020 11:15
-
-
Save karthick965938/2dc024c17bb8e11d05b7e5f9dab359bc to your computer and use it in GitHub Desktop.
Detecto sample
This file contains 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 detecto import core, utils, visualize | |
image = utils.read_image('apple.jpg') | |
#Initialized a pre-trained model | |
model = core.Model() | |
labels, boxes, scores = model.predict_top(image) | |
visualize.show_labeled_image(image, boxes, labels) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment