/nllb-daisi

Daisi to the No Language Left Behind (NLLB) Model

Primary LanguagePython

Serverless Yolo v6 Object Detection with Daisies

How to Call

First, we simply load the PyDaisi and supporting packages:

import pydaisi as pyd
from PIL import Image

Next, we connect to the Daisi:

yolo_object_detection = pyd.Daisi("erichare/YOLO v6 Object Detection")

Now, let's use this image of a busy street:

We simply load the Image and pass it to the Daisi:

img = Image.open("busystreet.png")
img.load()

yolo_result, labels_df = yolo_object_detection.yolo(img, return_type=["Image", "Labels"]).value
# Or, labels_df = yolo_object_detection.yolo(img, return_type=["Labels"]).value

And finally, let's render the result!

yolo_result.show()

Running the Streamlit App

Or, we can automate everything by just Running the Streamlit App

References