Discover and explore top open-source AI tools and projects—updated daily.
mudlerFast C++ object detection for any text prompt
Top 84.2% on SourcePulse
Summary
This project provides a C++17 inference engine for NVIDIA's LocateAnything-3B model, built on the ggml library. It enables fast, dependency-light, open-vocabulary object detection from text prompts, primarily targeting CPU execution while supporting GPU acceleration. The key benefit is significantly faster inference speeds and reduced resource requirements compared to Python-based implementations, without compromising detection accuracy.
How It Works
The engine integrates Qwen2.5-3B (LM) and MoonViT (vision) models, using a 2-layer MLP projector. Detection is performed in token space, where coordinate tokens are emitted and decoded into bounding boxes. This approach, implemented in C++ with ggml, allows for efficient execution on commodity hardware, bypassing the need for a Python runtime during inference.
Quick Start & Requirements
git clone --recursive), then build using CMake (cmake -B build -DLA_BUILD_CLI=ON && cmake --build build -j). GPU support requires -DLA_GGML_CUDA=ON.mudler/locate-anything.cpp-gguf).Highlighted Details
Maintenance & Community
Developed by the LocalAI team, with contributions noted from Ettore Di Giacinto and Richard Palethorpe. No specific community channels (Discord, Slack) or roadmap links were found in the provided README.
Licensing & Compatibility
The C++ code is licensed under MIT, permitting commercial use and integration into closed-source projects. The underlying model weights are subject to NVIDIA's separate license.
Limitations & Caveats
The implementation intentionally excludes stochastic sampling methods (temperature, top_p) as they degrade detection accuracy; inference is strictly greedy. Multi-image prompts are not supported due to limitations in output attribution, making it a single-image detection engine.
4 days ago
Inactive
monatis
NVIDIA
NVIDIA
Dao-AILab