from inference_sdk import InferenceHTTPClient
initialize the client
CLIENT = InferenceHTTPClient(
api_url=“https://detect.roboflow.com”,
api_key=“*****************”
)
infer on a local image
result = CLIENT.infer(r"C:\Users\adamz\OneDrive\SUSTECH\test2.png", model_id=“flake-detection-hoajc/17”)
This code returns nothing. How do I save the inferred images locally? I know detect.roboflow.com works but I’m trying to do preprocessing locally.