Re-usable computer vision tools for research and development
Project description
🚀 Quick Start
pip install git+https://github.com/SEA-AI/seavision
Optional installation methods
If you want to install additional dependencies.
pip install "seavision[inference] @ git+https://github.com/SEA-AI/seavision"
If you want to test a specific branch
pip install git+https://github.com/SEA-AI/seavision@branch-name
import seavision as sv
# load image
img = sv.imread("https://raw.githubusercontent.com/SEA-AI/.github/main/assets/example_1_IR.jpg")
# load model trained on mixed IR and RGB images
model = sv.load_model("ahoyv2n-MIX-b1")
# run inference
results = model(img)
# draw results on image
results.draw(img, as_pil=True).show()
💪 Contributing
Contributions are welcome! Please open an issue or submit a pull request.
Install uv if you don't have it yet and run the following command to install the main and development dependencies.
uv sync
If you want to install all dependencies.
uv sync --all-extras
- Pre-commit Hooks: Use pre-commit hooks to maintain code quality.
- Style Guide: Follow guidelines enforced via
ruffand run checks before committing.
- Install pre-commit hooks:
uvx pre-commit install
- Run Ruff for linting and auto-fixes:
uvx ruff check --fix
- Add dependencies using UV:
uv add <package-name>
uv add <package-name>@<version>
uv sync # Syncs dependencies from pyproject.toml
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 seavision-1.0.1.tar.gz.
File metadata
- Download URL: seavision-1.0.1.tar.gz
- Upload date:
- Size: 2.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c065fa68857e31ac8ba515b545d52f952247a4b86f91894a02fd457d92354ca9
|
|
| MD5 |
4242e8d905f3d0b6698a5510b79f7afc
|
|
| BLAKE2b-256 |
963036c9f32728288996f3e55bb4819340e48474af19f95a055affdfd87602fe
|
File details
Details for the file seavision-1.0.1-py3-none-any.whl.
File metadata
- Download URL: seavision-1.0.1-py3-none-any.whl
- Upload date:
- Size: 162.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d3c962553e3e82d274d96452c6a85b6e29917aba1a4c30dfb8866e0e6a9b7f3
|
|
| MD5 |
e0a1c8bca7a4d8effab4d71459cdba49
|
|
| BLAKE2b-256 |
d8cb44427973695a267c163b30a5865eb921345f7e5d39bf85341d19bee7b2f1
|