An object detection toolkit for data mining and visualization
Project description
Object_Detection_Toolkit
A tool kit for checking boxes in a dataset and visualize predictions' distribution
PyPI
Project is listed under: https://pypi.org/project/ODToolkit/
Install
To install this tool, simply
pip install ODToolkit
Functions
| Component | Description |
|---|---|
| Analysis() | Module for False-Positive and False-Negative analysis |
| Transformation() | Module for transformation between image xy plane and homography plane |
| Visualization() | Module for False-Positive and False-Negative visualization |
| Dataset.DatasetMaker() | Module for train/test split and sort into folders for training |
Usage
To use, simply follow belows snippet:
# ===================================
# demo for Analysis and Visualization
# ===================================
from ODToolkit import Analysis, Visualization
# get FP, FN, correct
FP, FN, correct = Analysis.get_fpfn(gt_lbl=gt_lbl, # 假定已经准备好了
pred_lbl=pred_lbl, # 假定已经准备好了
img_w=640,
img_h=480,
iou_thresh=0.25)
# visualize FP, FN, correct
visualizer = Visualization.BoxVisualizer(img_w=640, img_h=480)
visualizer.show_fpfn(FP, FN, correct, figsize=[15,10])
Unit-test
For unit-test, we use Behave, which provides a very flexible environment for all kinds of tests
To view a sample, go to unit_tests folder and check *.feature and steps/*.py files
To run tests, simply:
behave unit_tests/ # run all tests
behave unit_tests/xxx.feature # run particular test you want
To contribute
If you want to contribute to this project, please submit a pull request with unit tests.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ODToolkit-0.0.9.tar.gz
(9.7 kB
view details)
File details
Details for the file ODToolkit-0.0.9.tar.gz.
File metadata
- Download URL: ODToolkit-0.0.9.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/3.10.0 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e61d00d8197d3c593eded50f3e218aad951d55b8c3a260d8bb29525bde39df2d
|
|
| MD5 |
4b74b1084a05f680ef74b64d82c05ee1
|
|
| BLAKE2b-256 |
85b96cc3878d4d0190c5f2d7e10fcbaecb9eba7322a61b9f505c667558dcfcab
|