# TrackingNet devkit
```bash
conda create -n TrackingNet python pip
pip install TrackingNet
```
## Utility functions for TrackingNet
```python
from TrackingNet.utils import getListSplit
# Get list of codenames for the 12 training + testing split
TrackingNetSplits = getListSplit()
print(getListSplit())
# returns ["TEST", "TRAIN_0", "TRAIN_1", "TRAIN_2", "TRAIN_3", "TRAIN_4", "TRAIN_5", "TRAIN_6", "TRAIN_7", "TRAIN_8", "TRAIN_9", "TRAIN_10", "TRAIN_11"]
# Get list of tracking sequences
print(getListSequence(split=TrackingNetSplits[1])) # return list of tracking sequences in that split
print(getListSequence(split="TEST")) # return list of tracking sequences for testing
print(getListSequence(split=["TRAIN_0", "TRAIN_1"])) # return list of tracking sequences for train splits 0 and 1
print(getListSequence(split="TRAIN")) # return list of tracking sequences for al train splits
```
## Downloading TrackingNet
```python
from huggingface_hub import login
login(token="<TOKEN_HUGGINGFACE>") # https://huggingface.co/settings/tokens -> Create a new token
from TrackingNet.Downloader import TrackingNetDownloader
downloader = TrackingNetDownloader(LocalDirectory="path/to/TrackingNet")
downloader.downloadSplit("TRAIN_0")
downloader.downloadSplit("TEST")
from TrackingNet.utils import getListSplit
for split in getListSplit():
downloader.downloadSplit(split)
```
Raw data
{
"_id": null,
"home_page": "https://github.com/SilvioGiancola/TrackingNet",
"name": "TrackingNet",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "TrackingNet, SDK, Tracking, Video",
"author": "Silvio Giancola",
"author_email": "silvio.giancola@kaust.edu.sa",
"download_url": "https://files.pythonhosted.org/packages/40/ea/a3a9d4e868248838e0c87464d747a28782af4f130ab33f37ac2b3c84fa89/TrackingNet-0.0.9.tar.gz",
"platform": null,
"description": "\n# TrackingNet devkit\n\n```bash\nconda create -n TrackingNet python pip\npip install TrackingNet\n```\n\n## Utility functions for TrackingNet\n\n```python\nfrom TrackingNet.utils import getListSplit\n\n# Get list of codenames for the 12 training + testing split\nTrackingNetSplits = getListSplit()\nprint(getListSplit())\n# returns [\"TEST\", \"TRAIN_0\", \"TRAIN_1\", \"TRAIN_2\", \"TRAIN_3\", \"TRAIN_4\", \"TRAIN_5\", \"TRAIN_6\", \"TRAIN_7\", \"TRAIN_8\", \"TRAIN_9\", \"TRAIN_10\", \"TRAIN_11\"]\n\n\n# Get list of tracking sequences\nprint(getListSequence(split=TrackingNetSplits[1])) # return list of tracking sequences in that split\nprint(getListSequence(split=\"TEST\")) # return list of tracking sequences for testing\nprint(getListSequence(split=[\"TRAIN_0\", \"TRAIN_1\"])) # return list of tracking sequences for train splits 0 and 1\nprint(getListSequence(split=\"TRAIN\")) # return list of tracking sequences for al train splits\n```\n\n## Downloading TrackingNet\n\n```python\nfrom huggingface_hub import login\nlogin(token=\"<TOKEN_HUGGINGFACE>\") # https://huggingface.co/settings/tokens -> Create a new token\n\nfrom TrackingNet.Downloader import TrackingNetDownloader\ndownloader = TrackingNetDownloader(LocalDirectory=\"path/to/TrackingNet\")\n\ndownloader.downloadSplit(\"TRAIN_0\")\ndownloader.downloadSplit(\"TEST\")\n\nfrom TrackingNet.utils import getListSplit\nfor split in getListSplit():\n downloader.downloadSplit(split)\n```\n\n\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "TrackingNet SDK",
"version": "0.0.9",
"project_urls": {
"Homepage": "https://github.com/SilvioGiancola/TrackingNet"
},
"split_keywords": [
"trackingnet",
" sdk",
" tracking",
" video"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "07b660d678b9d2675b93ef938b3f8f41d5a86b544dbe01f30933f63c1a2a2597",
"md5": "a3597654f3c0a16c75415a28f6ddddba",
"sha256": "8e91aa78f668a0ae98dc096e3994b9a188e6186260d09a7293d817667bce3937"
},
"downloads": -1,
"filename": "TrackingNet-0.0.9-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a3597654f3c0a16c75415a28f6ddddba",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 263427,
"upload_time": "2024-10-20T15:44:36",
"upload_time_iso_8601": "2024-10-20T15:44:36.339187Z",
"url": "https://files.pythonhosted.org/packages/07/b6/60d678b9d2675b93ef938b3f8f41d5a86b544dbe01f30933f63c1a2a2597/TrackingNet-0.0.9-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "40eaa3a9d4e868248838e0c87464d747a28782af4f130ab33f37ac2b3c84fa89",
"md5": "bd8060364263722edff91a4164253507",
"sha256": "89365383e360988d324a19a20978e84306145c1c4bf62a30a5629fea776343e8"
},
"downloads": -1,
"filename": "TrackingNet-0.0.9.tar.gz",
"has_sig": false,
"md5_digest": "bd8060364263722edff91a4164253507",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 264550,
"upload_time": "2024-10-20T15:44:38",
"upload_time_iso_8601": "2024-10-20T15:44:38.941472Z",
"url": "https://files.pythonhosted.org/packages/40/ea/a3a9d4e868248838e0c87464d747a28782af4f130ab33f37ac2b3c84fa89/TrackingNet-0.0.9.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-20 15:44:38",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "SilvioGiancola",
"github_project": "TrackingNet",
"github_not_found": true,
"lcname": "trackingnet"
}