> ## Documentation Index
> Fetch the complete documentation index at: https://docs.datamarkin.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PixelFlow

> Extreme simplicity. Extreme performance. Complete reusability. Open source computer vision that just works.

# Computer Vision Without the Complexity

PixelFlow transforms how you work with computer vision. One library, any framework, maximum performance. Built for developers who need CV to work reliably across different models and environments.

> [card] Extreme Simplicity
>
> One function does one thing perfectly. No complex abstractions or steep learning curves.

> [card] Extreme Performance
>
> OpenCV-optimized drawing primitives built for production-speed processing.

> [card] Complete Reusability
>
> Write once, use with YOLO, Detectron2, MediaPipe, or any CV framework.

## The Simplest Computer Vision API

Here's how simple it is:

```python YOLO + PixelFlow theme={null}
import pixelflow as pf
from ultralytics import YOLO

# Any YOLO model works
model = YOLO('yolov8n.pt')
results = model('image.jpg')

# Convert to PixelFlow format
detections = pf.from_ultralytics(results[0])

# Professional annotations in one line
annotated = pf.annotate.box(image, detections)
```

```python Detectron2 + PixelFlow theme={null}
import pixelflow as pf
from detectron2 import model_zoo
from detectron2.engine import DefaultPredictor

# Any Detectron2 model works
cfg = get_cfg()
cfg.merge_from_file(model_zoo.get_config_file("COCO-Detection/faster_rcnn_R_50_FPN_3x.yaml"))
predictor = DefaultPredictor(cfg)

# Same PixelFlow workflow
outputs = predictor(image)
detections = pf.from_detectron2(outputs)
annotated = pf.annotate.box(image, detections)
```

```python MediaPipe + PixelFlow theme={null}
import pixelflow as pf
import mediapipe as mp

# Any MediaPipe solution
mp_pose = mp.solutions.pose.Pose()
results = mp_pose.process(image)

# Unified PixelFlow interface
detections = pf.from_mediapipe(results, image.shape)
annotated = pf.annotate.keypoint(image, detections)
```

> [card] [Get Started Now](https://docs.datamarkin.com/pixelflow/quickstart.md)
>
> Complete installation and first application in under 5 minutes

## What You Can Build

PixelFlow works across industries - from retail analytics to manufacturing quality control, security monitoring to healthcare imaging. The unified interface means your code works regardless of the underlying model.

> [card] Object Detection & Tracking
>
> Multi-object tracking with ByteTracker, zone-based filtering, and crossing detection for comprehensive scene analysis.

> [card] Visual Annotations
>
> Professional-grade annotations including boxes, masks, keypoints, blur effects, and custom overlays.

> [card] Spatial Analytics
>
> Zone management, line crossing detection, and spatial filtering for location-based insights.

> [card] Performance Tools
>
> Built-in timing, FPS counters, and memory-efficient video processing for production deployments.

## Framework Compatibility

> [!NOTE]
>
> PixelFlow provides unified converters for all major computer vision frameworks, eliminating vendor lock-in and enabling framework mixing within the same project.

**Supported Frameworks:**

* **YOLO/Ultralytics** - Real-time object detection
* **Detectron2** - Research-grade instance segmentation
* **MediaPipe** - Hand/pose/face detection
* **MMDetection** - Advanced detection models
* **HuggingFace Transformers** - Vision transformers
* **Custom Models** - Build your own converters

## Quick Navigation

> [card] [Detections](https://docs.datamarkin.com/pixelflow/detections/detections.md)
>
> Convert any model output to PixelFlow's unified format

> [card] [Annotations](annotators/introduction)
>
> Professional visual overlays and effects

> [card] [Tracking](https://docs.datamarkin.com/pixelflow/tracker/bytetrack.md)
>
> Multi-object tracking across video frames

> [card] [Zones](https://docs.datamarkin.com/pixelflow/zones.md)
>
> Spatial filtering and region management

> [!TIP]
>
> **New to computer vision?** Start with the [Quickstart Guide](https://docs.datamarkin.com/pixelflow/quickstart.md) for a complete walkthrough from installation to your first working application.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.