Skip to content

Latest commit

 

History

38 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastCamera 0.1.0 [ALPHA-2026-05-17] — Ultra-Fast Native Camera Capture for Java

Status License: MIT Java Platform JitPack


📸 The high-performance native camera module for the FastJava ecosystem. Hardware-accelerated capture via MediaFoundation, WinRT, and DirectShow with SIMD color conversion.

FastCamera brings real hardware-accelerated camera capture to Java. By bypassing standard slow APIs and using direct native pipelines, it achieves ultra-low latency 1080p@60fps capture with SIMD-accelerated YUV→RGBA conversion.


FastFileIndex Showcase


Quick Start

# Clone the repository
git clone https://github.com/andrestubbe/FastCamera.git

# Build the native bridge
cd FastCamera
.\compile.bat

# Launch the CameraDemo
.\run-demo.bat


Table of Contents


Features

  • 🎥 Triple Backend: Support for MediaFoundation, WinRT, and DirectShow.
  • ⚙️ SIMD Accelerated: YUV→RGBA conversion via AVX2 and SSE4.2.
  • 📥 Zero-Copy Streaming: Direct access to native buffers via DirectByteBuffer.
  • ⏱️ Ultra-Low Latency: Async native callbacks for real-time vision applications.

Installation

Option 1: Maven (Recommended)

Add the JitPack repository and the dependencies to your pom.xml:

<repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
</repositories>

<dependencies>
<!-- FastCamera Library -->
<dependency>
    <groupId>com.github.andrestubbe</groupId>
    <artifactId>fastcamera</artifactId>
    <version>0.1.0</version>
</dependency>

<!-- FastCore (Required Native Loader) -->
<dependency>
    <groupId>com.github.andrestubbe</groupId>
    <artifactId>fastcore</artifactId>
    <version>0.1.0</version>
</dependency>
</dependencies>

Option 2: Gradle (via JitPack)

repositories {
    maven { url 'https://jitpack.io' }
}

dependencies {
    implementation 'com.github.andrestubbe:fastcamera:0.1.0'
    implementation 'com.github.andrestubbe:fastcore:0.1.0'
}

Option 3: Direct Download (No Build Tool)

Download the latest JARs directly to add them to your classpath:

  1. 📦 fastcamera-0.1.0.jar (The Core Library)
  2. ⚙️ fastcore-0.1.0.jar (The Mandatory Native Loader)

Documentation

  • COMPILE.md: Full compilation guide (MSVC C++17 build chain + JNI Setup).
  • REFERENCE.md: Full API descriptions, border configurations, and codepoint index.
  • PHILOSOPHY.md: The engineering rationale for zero-allocation performance.
  • ROADMAP.md: Future milestones and planned features.

Platform Support

Platform Status
Windows 10/11 âś… Fully Supported
Linux đź”— Planned
macOS đź”— Planned

License

MIT License See LICENSE file for details.


Related Projects


Part of the FastJava Ecosystem — Making the JVM faster. Small package. Maximum speed. Zero bloat. 🚀📋

About

🎥 Ultra‑fast native camera capture for Java — hardware‑accelerated MediaFoundation/WinRT/DirectShow pipelines with zero‑copy YUV streaming, AVX2/SSE4.2 color conversion, and real‑time 1080p@60fps performance.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages