No project description provided
Project description
🚀 IoTVision: Open-Source IoT Device Annotation & Simulation!
🔹 What is IoTVision?
IoTVision is a Python-based open-source package designed to help researchers, developers, and engineers annotate IoT devices in images and simulate their status dynamically.
- IoT Annotator: Easily label IoT devices in images with bounding boxes and store metadata in a CSV file.
- IoT Simulator: Toggle IoT device states using simple commands and visualize the updates in real time.
🎯 Who is it for?
- Smart Home & Industrial IoT Developers 🏠🏭
- Computer Vision & AI Researchers 📸🤖
- Simulation & Digital Twin Enthusiasts 🌍💡
If you're working with smart environments, IoT-based automation, or digital twins, this tool will make your workflow smoother!
⚡ Why Should You Use It?
✅ Automates IoT Device Annotation – No more manual tracking! ✅ Enables Real-Time IoT Device Simulation – Easily control and monitor states. ✅ Lightweight & Easy to Use – Simple command-line interface. ✅ Open Source & Extensible – Contribute and expand its capabilities.
🔧 Installation
Install IoTVision using pip:
pip install iotvision
🚀 Usage
1️⃣ Using IoTVision in a Python Script
from iotvision import IoTAnnotator, IoTSimulator
# Annotate IoT devices
folder_path = "path/to/image_folder"
annotator = IoTAnnotator(folder_path)
annotator.annotate_images()
# Simulate IoT devices
# Make sure that you have an empty annotations.csv file in the project directory.
csv_path = "annotations.csv"
simulator = IoTSimulator(csv_path, folder_path)
simulator.start()
2️⃣ Using IoTVision from the Command Line
Annotating Images
Run the following command to annotate IoT devices in images:
iot-annotate
You will be prompted to enter the folder path containing images. The annotation process involves:
- Clicking on images to draw bounding boxes
- Pressing o for "On", f for "Off", t to set an appliance type, and s to save
- Annotations are saved to
annotations.csv
Simulating IoT Devices
Run the following command to start the IoT simulator:
iot-simulate
The simulator will:
- Load the images and overlay annotations
- Allow users to update device states dynamically using text commands
- Example command format:
fan1 On - Type
exitto quit the simulation
📌 Example
# Annotate IoT devices
iot-annotate
# Simulate IoT devices
iot-simulate
📦 Dependencies
- OpenCV (
opencv-python) - NumPy
📝 License
This project is licensed under the MIT License.
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 IoTVision-0.2.tar.gz.
File metadata
- Download URL: IoTVision-0.2.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b92e59a89b4ccd4802c14e157428ca4ae1203e2ec3d861afc7e4234297aa25dd
|
|
| MD5 |
e84420dc42c110b906861be7900fa2be
|
|
| BLAKE2b-256 |
f2c292a3d9e1b2527fa31b3ff3b39783fe6577c1d4b3af0dfd6328601e5f4baa
|
File details
Details for the file IoTVision-0.2-py3-none-any.whl.
File metadata
- Download URL: IoTVision-0.2-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
827b2cf29ef64b63d38cf20c7c5d3e1608c5fc2d5fa42f1e253a5ea904430fe1
|
|
| MD5 |
60a573cd164bd61c18a9716b33d18752
|
|
| BLAKE2b-256 |
3a4c0d41fa405f46028a7b8a064c828b0303fae7b348b34ccb2c307dbe3be170
|