Plugger AI
Search
K
Comment on page

Python

Installation

pip install cameralyze

Run public models

You can run a public model in your code. You can find all public models in the platform and hub.
import cameralyze
# connect to Cameralyze
connector = cameralyze.Connect(api_key="YOUR_API_KEY")
# set the model you want to use
connector.set_model(model="4154b8ff-aad5-4ae7-9747-3dcc50ed7ac7")
connection.set_configuration({
"confidence": 74
})
# run for image URL
image = "https://"
# run for local file
image = model.read_file(path="")
# get response
image = model.predict(image=image)