Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sebrovater/imspect
Explore features of images during debug session
https://github.com/sebrovater/imspect
computer-vision cv egui feature-engineering images opencv python rust
Last synced: 28 days ago
JSON representation
Explore features of images during debug session
- Host: GitHub
- URL: https://github.com/sebrovater/imspect
- Owner: SEBROVATER
- License: mit
- Created: 2023-06-18T12:57:39.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-12T10:40:47.000Z (about 2 months ago)
- Last Synced: 2024-12-12T11:47:58.711Z (28 days ago)
- Topics: computer-vision, cv, egui, feature-engineering, images, opencv, python, rust
- Language: Rust
- Homepage:
- Size: 77.1 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# imspect
A small GUI application for feature engineering in computer vision projects.- Very useful in a **debugger** session.
- Non-blocking. Executes in an independent process.
- Lightweight, has zero dependencies.
- Works only with `numpy` images with data type `uint8`
(common data type for `OpenCV`).
- The command line executable accepts the classic image formats
and additionally the **.npy** format (serialized `numpy` arrays).
- Works with Python 3.8+.## Demo
[imspect720.webm](https://github.com/user-attachments/assets/bc832470-941b-4e48-9f3d-e7039b3e998b)
## Install
`pip install imspect` for Python devs`cargo install imspect` for Rust devs (CLI only)
## Usage
### Python interpreter\debugger
```Python
from imspect import imspect
import numpy as np# examples of acceptable images
img1 = np.empty((60, 100, 3), dtype=np.uint8)
img2 = np.zeros((60, 100), dtype=np.uint8) + 255imspect(img1 , img2)
```### CLI
`imspect path/to/image.png path/to/array.npy`