Skip to main content

iTeach Toolkit Package 🛠️

Overview 🔍

The iTeach_package is a toolkit designed for running object detection using the DH-YOLO model, specifically for identifying doors and handles in images. This package provides easy-to-use command-line tools for performing inference with a pre-trained DH-YOLO model.

Model Checkpoints 📥

Pretrained model checkpoints can be downloaded from this link.

Installation ⚙️

To install the package, use pip:

pip install iteach_toolkit

Usage 🖥️

Below is an example of how to use the package for running inference on an image.

import os
from PIL import Image as PILImg
from iteach_toolkit.DHYOLO import DHYOLODetector

# Set up paths
os.system("wget https://huggingface.co/spaces/IRVLUTD/DH-YOLO/resolve/main/test_imgs/jpad-irvl-test.jpg")
image_path = "./jpad-irvl-test.jpg"

model_path = "/path/to/yolov5_model.pt"

# Initialize the DHYOLODetector class
dhyolo = DHYOLODetector(model_path)

# Perform prediction on the image
orig_image, detections = dhyolo.predict(image_path, conf_thres=0.7, iou_thres=0.7, max_det=1000)

# Plot the bounding boxes on the original image
orig_image, image_with_bboxes = dhyolo.plot_bboxes(attach_watermark=True)

# Convert the image (with bounding boxes) from a NumPy array to a PIL Image for display.
pil_img_with_bboxes = PILImg.fromarray(image_with_bboxes)

# Plot the image
pil_img_with_bboxes.show()

License 📜

This project is licensed under the MIT License.

BibTex 📚

Please cite iTeach if it helps your work or research 🙌:

@misc{padalunkal2024iteach,
    title={iTeach: Interactive Teaching for Robot Perception using Mixed Reality},
    author={Jishnu Jaykumar P and Cole Salvato and Vinaya Bomnale and Jikai Wang and Yu Xiang},
    year={2024},
    eprint={2410.09072},
    archivePrefix={arXiv},
    primaryClass={cs.RO}
}

Metadata

Release files for iteach-toolkit 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for iteach-toolkit 0.0.3
File Size Uploaded Provenance
iteach_toolkit-0.0.3.tar.gz 2.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for iteach-toolkit 0.0.3
File Interpreter ABI Platform
iteach_toolkit-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 4.9 kB

Release files / iteach_toolkit-0.0.3.tar.gz

Download URL iteach_toolkit-0.0.3.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
29075b74ba55d176391d2b2d1a6a774610b5bb53689384ef91e1abb0fa74be22
BLAKE2b-256 checksum
How to use checksums
5baa96e84ba4b85a57460f4f5eaec4defce245fe0a19b767677a87670db2e8e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.12

Release files / iteach_toolkit-0.0.3-py3-none-any.whl

Download URL iteach_toolkit-0.0.3-py3-none-any.whl
Size 2.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
436b5df07fd1200da582aed87e2c6424b6cc9101483de7e6311b15ef9e0a77c2
BLAKE2b-256 checksum
How to use checksums
d97a42bd693f958aff6abdbd9a31824cd56ffbf535d828ed63e6e9ffbad665b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.12

Security for iteach-toolkit 0.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page