RGB-T toolkit for GTOT, RGBT210, RGBT234, LasHeR
Project description
RGBT toolkit for GTOT, RGBT210, RGBT234, LasHeR
This project was created for the convenience of RGBT Tracking researchers. By utilizing this tool, you will be able to easily implement the following features:
- Use the same tool to evaluate your tracking results on different RGBT datasets.
- The test results of each attribute are available and a radar chart is obtained. You can also test an attribute individually.
- Precision plot and other plot are available.
- Supports GTOT, RGBT210, RGBT234, LasHeR datasets.
经测试,由于计算精度的差异,部分情况下会与原始工具箱产生
0.1%的误差。所有数据集都经过论文中给定结果的校准。
It was tested to produce0.1%error from the original toolbox in some cases due to differences in computational accuracy. All datasets are calibrated for the given results in the paper.
Install
pip install rgbt
Evaluate and Visualize
We provide the ground truth file, so you can directly call it.
from rgbt import RGBT234
rgbt234 = RGBT234()
# Register your tracker
rgbt234(
tracker_name="APFNet",
result_path="./result/RGBT234/APFNet",
bbox_type="corner")
rgbt234(
tracker_name="TFNet",
result_path="./result/RGBT234/TFNet",
bbox_type="corner",
prefix="TFNet_")
# Evaluate multiple trackers
pr_dict = rgbt234.MPR()
print(pr_dict["APFNet"][0])
# Evaluate single tracker
apf_pr,_ = rgbt234.MPR("APFNet")
print(apf_pr)
# Evaluate single challenge
pr_tc_dict = rgbt234.MPR(seqs=rgbt234.TC)
sr_tc_dict = rgbt234.MSR(seqs=rgbt234.TC)
# Draw a radar chart of all challenge attributes
rgbt234.draw_attributeRadar(metric_fun=rgbt234.MPR, filename="RGBT234_MPR_radar.png")
rgbt234.draw_attributeRadar(metric_fun=rgbt234.MSR) # this is ok
# Draw a curve plot.
rgbt234.draw_plot(metric_fun=rgbt234.MPR)
rgbt234.draw_plot(metric_fun=rgbt234.MSR)
Any operation requires only one line of code.
其他
对于最早的GTOT,后来的RGBT210,234,以及最新的LasHeR,在各种指标上计算方式有比较多的不同,导致大概2个点的误差。 经过仔细比对,发现这些差异并不会导致相对性能的变化。为了与历史跟踪器进行公平比较,我们对于这些差异做了兼容。
这使得在测试GTOT时,需要在测试前额外调用RGBT_start()。
from rgbt import GTOT
from rgbt.utils import RGBT_start,RGBT_end
RGBT_start()
gtot = GTOT()
# Register your tracker
gtot(
tracker_name="APFNet",
result_path="./result/GTOT/APFNet",
bbox_type="corner",
prefix="")
pr_dict = gtot.MPR()
gtot.draw_plot(metric_fun=gtot.MPR)
gtot.draw_plot(metric_fun=gtot.MSR)
RGBT_end()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rgbt-1.0.1.tar.gz.
File metadata
- Download URL: rgbt-1.0.1.tar.gz
- Upload date:
- Size: 4.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cdd2d1a10b3c1cc2bf2d7e91e4d042c639f5c53940fa6af29fa4452577c740bf
|
|
| MD5 |
24e9eab50a33679ba4561a6f00ae0ece
|
|
| BLAKE2b-256 |
97655a3136624cb2651345413dcf20296659824c95131db9018851e5751eb980
|
File details
Details for the file rgbt-1.0.1-py3-none-any.whl.
File metadata
- Download URL: rgbt-1.0.1-py3-none-any.whl
- Upload date:
- Size: 4.9 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
00209d49c5f0a93d6fc931df056162a9c852adaad436ae6d80189b6e143060be
|
|
| MD5 |
2e4e3f7d417599724c827928e2e8bc29
|
|
| BLAKE2b-256 |
f23d0cba750843dcb2febaefa5c4b731212dfd44ffb30147243cfca83261d806
|