{"id":15678100,"url":"https://github.com/robmarkcole/deepstack-python","last_synced_at":"2025-05-07T02:22:22.060Z","repository":{"id":35108880,"uuid":"166931777","full_name":"robmarkcole/deepstack-python","owner":"robmarkcole","description":"Unofficial python API for DeepStack","archived":false,"fork":false,"pushed_at":"2022-02-25T06:05:29.000Z","size":4129,"stargazers_count":13,"open_issues_count":9,"forks_count":12,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-31T05:23:41.571Z","etag":null,"topics":["deepstack"],"latest_commit_sha":null,"homepage":"https://deepstack.cc/","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robmarkcole.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}},"created_at":"2019-01-22T05:17:32.000Z","updated_at":"2025-01-16T16:18:45.000Z","dependencies_parsed_at":"2022-08-08T05:01:22.851Z","dependency_job_id":null,"html_url":"https://github.com/robmarkcole/deepstack-python","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robmarkcole%2Fdeepstack-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robmarkcole%2Fdeepstack-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robmarkcole%2Fdeepstack-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robmarkcole%2Fdeepstack-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robmarkcole","download_url":"https://codeload.github.com/robmarkcole/deepstack-python/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252799273,"owners_count":21805960,"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":["deepstack"],"created_at":"2024-10-03T16:16:41.863Z","updated_at":"2025-05-07T02:22:22.039Z","avatar_url":"https://github.com/robmarkcole.png","language":"Jupyter Notebook","readme":"[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)\n[![PyPI Version](https://img.shields.io/pypi/v/deepstack-python.svg)](https://pypi.org/project/deepstack-python/)\n\n# deepstack-python\nUnofficial python API for [DeepStack](https://docs.deepstack.cc). Provides classes for making requests to the object detection \u0026 face detection/recognition endpoints. Also includes some helper functions for processing the results. See the Jupyter notebooks for usage.\n\nRun Deepstack with all three endpoints active (CPU mode):\n```\ndocker run \\\n      -e VISION-SCENE=True \\\n      -e VISION-DETECTION=True \\\n      -e VISION-FACE=True \\\n      -v localstorage:/datastore \\\n      -p 80:5000 \\\n      -e API-KEY=\"\" \\\n      --name deepstack deepquestai/deepstack\n```\nCheck deepstack is running using curl (from root of this repo):\n```\ncurl -X POST -F image=@tests/images/test-image3.jpg 'http://localhost:5000/v1/vision/detection'\n```\nIf all goes well you should see the following returned:\n```\n{\"success\":true,\"predictions\":[{\"confidence\":0.9998661,\"label\":\"person\",\"y_min\":0,\"x_min\":258,\"y_max\":676,\"x_max\":485},{\"confidence\":0.9996547,\"label\":\"person\",\"y_min\":0,\"x_min\":405,\"y_max\":652,\"x_max\":639},{\"confidence\":0.99745613,\"label\":\"dog\",\"y_min\":311,\"x_min\":624,\"y_max\":591,\"x_max\":825}]}\n```\n\n## Development\n* Create venv -\u003e `python3.7 -m venv venv`\n* Use venv -\u003e `source venv/bin/activate`\n* `pip3 install -r requirements.txt` and `pip3 install -r requirements-dev.txt`\n* Run tests with `venv/bin/pytest tests/*`\n* Black format with `venv/bin/black .`\n\n## Jupyter\n* Docs are created using Jupyter notebooks\n* Install in venv with -\u003e `pip3 install jupyterlab`\n* Run -\u003e `venv/bin/jupyter lab`\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobmarkcole%2Fdeepstack-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobmarkcole%2Fdeepstack-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobmarkcole%2Fdeepstack-python/lists"}