Comment on page
Python
pip install cameralyze
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)
Last modified 4mo ago