superverse
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.8%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: khulnasoft-lab
- License: mit
- Language: Python
- Default Branch: develop
- Homepage: https://khulnasoft.github.io/superverse/
- Size: 267 MB
Statistics
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 11
- Releases: 0
Metadata Files
README.md
👋 hello
We write your reusable computer vision tools. Whether you need to load your dataset from your hard drive, draw detections on an image or video, or count how many detections are in a zone. You can count on us! 🤝
💻 install
Pip install the superverse package in a Python>=3.8 environment.
bash
pip install superverse
Read more about conda, mamba, and installing from source in our guide.
🔥 quickstart
models
Superverse was designed to be model agnostic. Just plug in any classification, detection, or segmentation model. For your convenience, we have created connectors for the most popular libraries like Ultralytics, Transformers, or MMDetection.
```python import cv2 import superverse as sv from ultralytics import YOLO
image = cv2.imread(...) model = YOLO("yolov8s.pt") result = model(image)[0] detections = sv.Detections.from_ultralytics(result)
len(detections)
5
```
👉 more model connectors
- inference ```python import cv2 import superverse as sv from inference import get_model image = cv2.imread(...) model = get_model(model_id="yolov8s-640", api_key=annotators
```python import cv2 import superverse as sv
image = cv2.imread(...) detections = sv.Detections(...)
boxannotator = sv.BoxAnnotator() annotatedframe = box_annotator.annotate( scene=image.copy(), detections=detections) ```
datasets
```python import superverse as sv from khulnasoft import Khulnasoft
project = Khulnasoft().workspace(
ds = sv.DetectionDataset.fromcoco( imagesdirectorypath=f"{dataset.location}/train", annotationspath=f"{dataset.location}/train/_annotations.coco.json", )
path, image, annotation = ds[0] # loads image on demand
for path, image, annotation in ds: # loads image on demand ```
👉 more dataset utils
- load ```python dataset = sv.DetectionDataset.from_yolo( images_directory_path=..., annotations_directory_path=..., data_yaml_path=... ) dataset = sv.DetectionDataset.from_pascal_voc( images_directory_path=..., annotations_directory_path=... ) dataset = sv.DetectionDataset.from_coco( images_directory_path=..., annotations_path=... ) ``` - split ```python train_dataset, test_dataset = dataset.split(split_ratio=0.7) test_dataset, valid_dataset = test_dataset.split(split_ratio=0.5) len(train_dataset), len(test_dataset), len(valid_dataset) # (700, 150, 150) ``` - merge ```python ds_1 = sv.DetectionDataset(...) len(ds_1) # 100 ds_1.classes # ['dog', 'person'] ds_2 = sv.DetectionDataset(...) len(ds_2) # 200 ds_2.classes # ['cat'] ds_merged = sv.DetectionDataset.merge([ds_1, ds_2]) len(ds_merged) # 300 ds_merged.classes # ['cat', 'dog', 'person'] ``` - save ```python dataset.as_yolo( images_directory_path=..., annotations_directory_path=..., data_yaml_path=... ) dataset.as_pascal_voc( images_directory_path=..., annotations_directory_path=... ) dataset.as_coco( images_directory_path=..., annotations_path=... ) ``` - convert ```python sv.DetectionDataset.from_yolo( images_directory_path=..., annotations_directory_path=..., data_yaml_path=... ).as_pascal_voc( images_directory_path=..., annotations_directory_path=... ) ```📚 documentation
Visit our documentation page to learn how superverse can help you build computer vision applications faster and more reliably.
🏆 contribution
We love your input! Please see our contributing guide to get started. Thank you 🙏 to all our contributors!
Owner
- Name: KhulnaSoft Ltd.
- Login: khulnasoft-lab
- Kind: organization
- Email: info@khulnasoft.com
- Location: Bangladesh
- Website: https://khulnasoft.com
- Twitter: KhulnaSoft
- Repositories: 1
- Profile: https://github.com/khulnasoft-lab
KhulnaSoft ❤️ Open Source
Citation (CITATION.cff)
# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!
cff-version: 1.2.0
title: Superverse
message: >-
If you use this software, please cite it using the
metadata from this file.
type: software
authors:
- given-names: Khulnasoft
email: support@khulnasoft.com
repository-code: "https://github.com/khulnasoft/superverse"
url: "https://khulnasoft.github.io/superverse/"
abstract: >-
superverse features a range of utilities for use in
computer vision projects, from detections processing and
filtering to confusion matrix calculation.
keywords:
- computer vision
- image processing
- video processing
license: MIT
GitHub Events
Total
- Delete event: 1
- Issue comment event: 34
- Push event: 47
- Pull request review event: 6
- Pull request review comment event: 56
- Pull request event: 16
- Create event: 7
Last Year
- Delete event: 1
- Issue comment event: 34
- Push event: 47
- Pull request review event: 6
- Pull request review comment event: 56
- Pull request event: 16
- Create event: 7
Dependencies
- actions/github-script 60a0d83039c74a4aee543508d2ffcb1c3799cdea composite
- github/combine-prs 2909f404763c3177a456e052bdb7f2e85d3a7cb3 composite
- actions/checkout v4 composite
- abatilo/actions-poetry e78f54a89cb052fff327414dd9ff010b5d2b4dbd composite
- actions/checkout 11bd71901bbe5b1630ceea73d27597364c9af683 composite
- actions/setup-python 0b93645e9fea7318ecaed2b359559ac225c90a2b composite
- actions/checkout v4 composite
- actions/setup-python v5 composite
- abatilo/actions-poetry e78f54a89cb052fff327414dd9ff010b5d2b4dbd composite
- actions/checkout 11bd71901bbe5b1630ceea73d27597364c9af683 composite
- actions/setup-python 0b93645e9fea7318ecaed2b359559ac225c90a2b composite
- abatilo/actions-poetry e78f54a89cb052fff327414dd9ff010b5d2b4dbd composite
- actions/checkout 11bd71901bbe5b1630ceea73d27597364c9af683 composite
- actions/setup-python 0b93645e9fea7318ecaed2b359559ac225c90a2b composite
- pypa/gh-action-pypi-publish 67339c736fd9354cd4f8cb0b744f2b82a74b5c70 composite
- actions/checkout v4 composite
- actions/setup-python v5 composite
- pypa/gh-action-pypi-publish release/v1.12 composite
- abatilo/actions-poetry e78f54a89cb052fff327414dd9ff010b5d2b4dbd composite
- actions/checkout 11bd71901bbe5b1630ceea73d27597364c9af683 composite
- actions/setup-python 0b93645e9fea7318ecaed2b359559ac225c90a2b composite
- actions/checkout v4 composite
- actions/setup-python v5 composite
- abatilo/actions-poetry e78f54a89cb052fff327414dd9ff010b5d2b4dbd composite
- actions/checkout 11bd71901bbe5b1630ceea73d27597364c9af683 composite
- actions/setup-python 0b93645e9fea7318ecaed2b359559ac225c90a2b composite
- pavelzw/pytest-action 510c5e90c360a185039bea56ce8b3e7e51a16507 composite
- gdown *
- inference ==0.9.17
- superverse >=0.20.0
- tqdm *
- ultralytics <=8.3.40
- superverse ==0.19.0
- ultralytics <=8.3.40
- fonttools >=4.43.0
- inference ==0.9.17
- numpy >=1.22.2
- onnx >=1.17.0
- pillow >=10.3.0
- requests *
- super-gradients ==3.5.0
- superverse >=0.20.0
- tqdm ==4.66.3
- ultralytics ==8.0.237
- inference ==0.9.17
- opencv-python *
- pytube *
- superverse >=0.20.0
- ultralytics <=8.3.40
- inference ==0.9.17
- superverse ==0.19.0
- tqdm *
- ultralytics <=8.3.40
- gdown *
- inference ==0.9.17
- superverse >=0.20.0
- tqdm *
- ultralytics <=8.3.40
- 207 dependencies
- defusedxml >=0.7.1
- matplotlib >=3.6.0
- numpy >=1.21.2
- opencv-python >=4.5.5.64
- pillow >=9.4
- pyyaml >=5.3
- requests >=2.26.0
- scipy >=1.10.0
- tqdm >=4.62.3
- 180 dependencies