{"id":20058687,"url":"https://github.com/roboflow/inference-client","last_synced_at":"2025-09-02T20:37:13.407Z","repository":{"id":188775031,"uuid":"678830271","full_name":"roboflow/inference-client","owner":"roboflow","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-07T21:32:24.000Z","size":19645,"stargazers_count":14,"open_issues_count":0,"forks_count":3,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-05-04T23:52:19.094Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/roboflow.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-15T13:34:59.000Z","updated_at":"2024-12-22T03:47:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"641b4695-6574-4414-8b00-de274e78e428","html_url":"https://github.com/roboflow/inference-client","commit_stats":null,"previous_names":["skalskip/inference-client"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roboflow%2Finference-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roboflow%2Finference-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roboflow%2Finference-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roboflow%2Finference-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roboflow","download_url":"https://codeload.github.com/roboflow/inference-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252514993,"owners_count":21760484,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T13:03:11.538Z","updated_at":"2025-05-05T14:31:31.806Z","avatar_url":"https://github.com/roboflow.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# inference-client\n\n\u003ca href=\"https://universe.roboflow.com/roboflow-jvuqo/football-players-detection-3zvbc\"\u003e\n    \u003cimg src=\"https://app.roboflow.com/images/download-dataset-badge.svg\"\u003e\u003c/img\u003e\n\u003c/a\u003e\n\u003ca href=\"https://universe.roboflow.com/roboflow-jvuqo/football-players-detection-3zvbc/model/\"\u003e\n    \u003cimg src=\"https://app.roboflow.com/images/try-model-badge.svg\"\u003e\u003c/img\u003e\n\u003c/a\u003e\n\n## 👋 hello\n\nExamples of image and video inference via http client for [roboflow/inference](https://github.com/roboflow/inference).\n\n## 💻 install client environment\n\n```bash\n# clone repository and navigate to root directory\ngit clone https://github.com/SkalskiP/inference-client.git\ncd inference-client\n\n# setup python environment and activate it\npython3 -m venv venv\nsource venv/bin/activate\n\n# headless install\npip install -r requirements.txt\n```\n\n## 🐋 docker\n\nYou can learn more about Roboflow Inference Docker Image build, pull and run in our [documentation](https://roboflow.github.io/inference/quickstart/docker/).\n\n- Run on x86 CPU:\n\n  ```bash\n  docker run --net=host roboflow/roboflow-inference-server-cpu:latest\n  ```\n    \n- Run on Nvidia GPU:\n\n  ```bash\n  docker run --network=host --gpus=all roboflow/roboflow-inference-server-gpu:latest\n  ```\n  \n\u003cdetails close\u003e\n\u003csummary\u003e👉 more docker run options\u003c/summary\u003e\n\n- Run on arm64 CPU:\n\n  ```bash\n  docker run -p 9001:9001 roboflow/roboflow-inference-server-arm-cpu:latest\n  ```\n  \n- Run on Nvidia GPU with TensorRT Runtime:\n\n  ```bash\n  docker run --network=host --gpus=all roboflow/roboflow-inference-server-trt:latest\n  ```\n  \n- Run on Nvidia Jetson with JetPack `4.x`:\n\n  ```bash\n  docker run --privileged --net=host --runtime=nvidia roboflow/roboflow-inference-server-trt-jetson:latest\n  ```\n  \n- Run on Nvidia Jetson with JetPack `5.x`:\n\n  ```bash\n  docker run --privileged --net=host --runtime=nvidia roboflow/roboflow-inference-server-trt-jetson-5.1.1:latest\n  ```\n\n\u003c/details\u003e\n\n## 🔑 keys\n\nBefore running the inference script, ensure that the `API_KEY` is set as an environment variable. This key provides access to the inference API.\n\n- For Unix/Linux:\n\n    ```bash\n    export API_KEY=your_api_key_here\n    ```\n\n- For Windows:\n\n    ```bash\n    set API_KEY=your_api_key_here\n    ```\n  \nReplace `your_api_key_here` with your actual API key.\n\n## 📷 image inference example\n\nTo run the image inference script:\n\n```bash\npython image.py \\\n--image_path data/a9f16c_8_9.png \\\n--class_list \"ball\" \"goalkeeper\" \"player\" \"referee\" \\\n--dataset_id \"football-players-detection-3zvbc\" \\\n--version_id 2 \\\n--confidence 0.5\n```\n\n## 🎬 video inference example\n\nTo run the video inference script:\n\n```bash\npython video.py \\\n--video_path \"data/40cd38_5.mp4\" \\\n--class_list \"ball\" \"goalkeeper\" \"player\" \"referee\" \\\n--dataset_id \"football-players-detection-3zvbc\" \\\n--version_id 2 \\\n--confidence 0.5\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froboflow%2Finference-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froboflow%2Finference-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froboflow%2Finference-client/lists"}