Skip to main content

AngelCV

AngelCV is an open-source, commercially-friendly computer vision library designed for ease of use, power, and extensibility.

AngelCV is a project by Angel Protection System, a company at the forefront of safeguarding schools, hospitals, and other vital community spaces. They specialize in intelligent security and surveillance systems, including cutting-edge firearm detection technology that provides critical, real-time information to 911 and first responders, playing a vital role in saving lives.

Our mission is to provide cutting-edge deep learning models and tools that you can seamlessly integrate into your projects, whether for research, personal use, or commercial applications. All our code and pre-trained models are under the Apache 2.0 License, giving you the freedom to innovate without restrictive licensing.

A note on our open-source commitment: Angel Protection System initially developed AngelCV to enhance its advanced computer vision capabilities for security applications. We are excited to share it with the open-source community to foster innovation and allow everyone to benefit from and contribute to its development.

✨ Why AngelCV?

  • Open & Free for Commercial Use: Build your next big thing without worrying about licensing fees or restrictions. Our Apache 2.0 license covers both the library and our provided pre-trained models.
  • State-of-the-Art Models: We start with robust implementations like YOLOv10 for object detection and plan to expand to other vision tasks (classification, segmentation, oriented bounding boxes) and model architectures.
  • Developer-Friendly Interface: A clean, intuitive API (see ObjectDetectionModel and InferenceResult) makes common tasks like training, inference, and evaluation straightforward.
  • Flexible Configuration: Easily customize model architectures, training parameters, and datasets using YAML-based configuration files.
  • Community Driven (Future): We aim to build a community around AngelCV.

🚀 Getting Started

Installation

AngelCV will be available on PyPI. You can install it using pip:

pip install angelcv

Make sure you have PyTorch installed, as it's a primary dependency. You can find PyTorch installation instructions at pytorch.org.

Quick Start: Object Detection

Here's a simple example of how to load a pre-trained YOLOv10 model and perform inference on an image:

from angelcv import ObjectDetectionModel

# Load a pre-trained YOLOv10n model (will download if not found locally)
# You can also specify a path to a local .ckpt or .pt file,
# or a .yaml configuration file to initialize a new model.
model = ObjectDetectionModel("yolov10n.ckpt")

# Perform inference on an image
# Source can be a file path, URL, PIL image, torch.Tensor, or numpy array.
results = model.predict("path/to/your/image.jpg")

# Process and display results
for result in results:
    print(f"Found {len(result.boxes.xyxy)} objects.")
    # Access bounding boxes (various formats available, e.g., result.boxes.xyxy_norm)
    # Access confidences: result.boxes.confidences
    # Access class IDs: result.boxes.class_label_ids
    # Access class labels (if available): result.boxes.labels

    # Show the annotated image
    result.show()

    # Save the annotated image
    result.save("output_image.jpg")

🚧 Development Status

⚠️ Repository Under Heavy Development

AngelCV is actively being developed. While core functionality is stable, we're continuously improving and expanding features.

✅ Stable & Ready to Use

  • Object Detection: Training, validation, testing, and inference are fully stable
  • YOLOv10 Integration: Robust implementation with pre-trained models
  • Core API: ObjectDetectionModel and InferenceResult interfaces
  • Configuration System: YAML-based model and training configuration
  • Model Export: ONNX, TensorRT, and other deployment formats

🔄 Worning On

  • Data Augmentation: Expanding augmentation techniques to improve training performance on large datasets
  • Performance Optimization: Addressing slightly below-expected performance on big datasets
  • Documentation: Comprehensive guides and examples

📋 Coming Soon (TODO)

  • Image Segmentation: Semantic and instance segmentation models
  • Oriented Bounding Boxes: Support for rotated object detection
  • Classification Models: Standalone image classification capabilities
  • Additional Architectures: Beyond YOLOv10 (YOLOv9, DETR, etc.)
  • Advanced Metrics: Comprehensive evaluation and benchmarking tools

📚 Dive Deeper

For more detailed information, check out our documentation:

  • Getting Started: Your first stop for installation and a quick tour.
  • Object Detection: Learn about our object detection capabilities, focusing on YOLOv10.
  • Configuration: Understand how to use and customize model, training, and dataset configurations.
  • API Interfaces: Explore the main Python classes you'll interact with.

🤝 Contributing

Interested in contributing? We welcome contributions of all kinds, from bug fixes to new features. (TODO: Link to contribution guidelines when ready).

🛠️ Development and Support

The primary developer and maintainer of AngelCV is Iu Ayala from Gradient Insight. Gradient Insight partners with businesses to design and build custom AI-powered computer vision systems, turning complex visual data into actionable insights. You can learn more about their work at gradientinsight.com.

📄 License

AngelCV is licensed under the Apache 2.0 License. See the LICENSE file for more details.

Metadata

Release files for angelcv 0.2.0

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

Source distribution (sdist)

Source distribution for angelcv 0.2.0
File Size Uploaded Provenance Actions
angelcv-0.2.0.tar.gz 90.2 kB Without provenance Details for angelcv-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for angelcv 0.2.0
File Interpreter ABI Platform Actions
angelcv-0.2.0-py3-none-any.whl Python 3 none any Details for angelcv-0.2.0-py3-none-any.whl

Total release size: 188.4 kB

Release files / angelcv-0.2.0.tar.gz

Download URL angelcv-0.2.0.tar.gz
Size 90.2 kB
Tags Source
SHA-256 checksum
How to use checksums
6ee2ef0e8ba3ab781873da2be558d0c52ea1ded1efdc3c118cc05988307ce29b
BLAKE2b-256 checksum
How to use checksums
32103910573f2a08dca834d26c69842ec1f03ca785e74b9fca2253245fa7f923
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.8.14

Release files / angelcv-0.2.0-py3-none-any.whl

Download URL angelcv-0.2.0-py3-none-any.whl
Size 98.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
06889caf757e28e9ed46a9d10d3a7bd5c9dc549392cc9f0ef44a358e20132e47
BLAKE2b-256 checksum
How to use checksums
bd4be3b098ef14ad3fc7335c93fb8f8b6c8c95fb4e7cff9ebc0794a7d2589293
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.8.14

Security for angelcv 0.2.0

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