awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
android avatar

android/camera-samples

0
View on GitHub↗
5,422 星标·2,418 分支·Kotlin·Apache-2.0·7 次浏览

Camera Samples

这是一系列用于集成 Android 相机硬件和软件 API 的参考实现和代码示例。该项目提供了使用 Jetpack CameraX 库和底层 Camera2 API 实现照片和视频拍摄功能的演示。

该仓库包括针对高性能录制的专门实现,例如高帧率慢动作和高动态范围(HDR)视频。它还具有机器学习视觉示例,演示了如何分析实时相机帧以进行对象检测和二维码扫描。

该项目涵盖了广泛的成像功能,包括静态图像采集、实时取景器渲染和视频质量配置。它进一步详细介绍了使用制造商特定的硬件扩展来应用散景、夜间模式和 HDR 等效果。

这些示例包括用于渲染视觉叠加的坐标映射实用程序,以及用于跟踪录制状态的事件监控功能。

Features

  • Camera Integrations - Provides comprehensive reference implementations for integrating Android camera hardware to capture photos and videos.
  • Real-Time Object Detection - Provides reference implementations for identifying and tracking objects within live camera streams using machine learning.
  • Real-Time Frame Processors - Implements components that intercept live camera frames to perform real-time detection and analysis using machine learning models.
  • Mobile Vision Implementations - Provides sample code for analyzing live camera frames using ML models for object detection and QR code scanning.
  • Video Encoders - Streams raw camera frames into a media encoder to produce compressed video files for local storage.
  • Real-Time Model Inference on Frames - Processes live camera frames for real-time object detection, QR code scanning, and machine learning inference.
  • Camera API Implementations - Provides architectural best practices and utility tools to reduce boilerplate when implementing Android camera features.
  • Camera2 API References - Provides examples for utilizing the low-level Camera2 API to control fine-grained hardware settings and manual image capture.
  • CameraX API Implementations - Provides code samples for using the Jetpack CameraX library to build photo and video capture features.
  • Video Profile Configuration - Sets the dimensions, frame rate, and color format based on the hardware capabilities of the device.
  • Image Capture - Captures still images in standard or raw formats to preserve unprocessed sensor data.
  • Camera and Video Capture - Captures video frames using repeating requests and encodes them into a standard video file.
  • Android Lifecycle Management - Uses Android-specific lifecycle-aware components to automate the opening and closing of camera hardware resources.
  • Camera Preview Embeddings - Renders a real-time camera feed to a view with options for stabilization and portrait filters.
  • Android Camera API Examples - Offers a comprehensive set of reference implementations demonstrating best practices for Android camera API integration.
  • Bounding Box Visualizers - Includes utilities for overlaying detection coordinates as bounding boxes onto the live camera preview.
  • Camera QR Code Scanners - Detects QR codes within a camera stream and extracts encoded data to trigger specific actions.
  • Hardware Vendor Abstractions - Provides a standardized interface to access manufacturer-specific hardware processing pipelines for bokeh and night mode.
  • Local File Storage - Records video streams to a local file or storage based on a specified quality selector.
  • Media Session Recording Controls - Controls the video recording process by starting, pausing, and stopping the capture session.
  • Concurrent Capture Sessions - Manages a single hardware session that simultaneously routes data to a screen preview and a file recorder.
  • HDR Viewfinder Rendering - Composites alternating short and long exposure frames in real time to produce high-dynamic-range previews.
  • High-Performance Video Capture - Implements high-speed slow-motion recording and high-dynamic-range video capture using Android hardware.
  • High-Frame-Rate Capture - Provides reference guides for recording high-frame-rate video sessions to enable slow-motion playback.
  • HDR Video Capture - Demonstrates the capture of high dynamic range video and the rendering of real-time HDR viewfinders.
  • High Frame Rate Recording - Records high-speed video within a constrained capture session to create smooth slow-motion playback.
  • Exposure Compositing - Merges short and long exposure frames in real time to create a high-dynamic-range viewfinder.
  • Screen Space Coordinate Mappings - Translates raw camera sensor coordinates into screen pixel coordinates to render visual bounding boxes over a live preview.
  • Manufacturer Hardware Extensions - Demonstrates how to use manufacturer-specific extensions to apply professional effects such as bokeh, night mode, and HDR.
  • Hardware Extension Effects - Applies manufacturer-specific enhancements like Bokeh, HDR, or Night mode to still image captures.
  • Enhanced Image Captures - Captures enhanced still images by leveraging hardware-specific camera extensions through a system interface.
  • Mobile Video Recording - Records high-dynamic-range video when the hardware supports the capability.
  • Repeating Capture Loops - Issues continuous capture requests to the camera hardware to maintain a steady stream of frames for preview and recording.
  • Frame Memory Buffers - Implements buffers that maintain video frames to facilitate real-time machine learning inference and QR scanning.

Star 历史

android/camera-samples 的 Star 历史图表android/camera-samples 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Camera Samples 的开源替代方案

相似的开源项目,按与 Camera Samples 的功能重合度排序。
  • getstream/vision-agentsGetStream 的头像

    GetStream/Vision-Agents

    6,029在 GitHub 上查看↗
    Pythonagentic-aiagentsai
    在 GitHub 上查看↗6,029
  • react-native-camera/react-native-camerareact-native-camera 的头像

    react-native-camera/react-native-camera

    9,638在 GitHub 上查看↗

    This project provides cross-platform programmatic interfaces and UI components for integrating camera hardware into mobile applications. It serves as a tool for implementing image and video capture, as well as specialized scanning and recognition tasks. The library includes specialized capabilities for computer vision, including a barcode scanner for decoding various barcode types, a face detection tool to identify human faces in a live feed, and an optical character recognition engine for extracting written text from the camera stream. The system covers hardware configuration and control, i

    Javacameraface-detectionreact-native
    在 GitHub 上查看↗9,638
  • camerakit/camerakit-androidCameraKit 的头像

    CameraKit/camerakit-android

    5,391在 GitHub 上查看↗

    Camerakit-android is a library and API wrapper that provides a consistent interface for photo and video capture across Android Camera 1 and 2 APIs. It functions as a media capture library that standardizes hardware access and provides a unified system for recording images and video across different operating system versions. The project includes a camera preview component that automatically scales and crops camera output to fit custom view dimensions. It also provides a camera control toolkit for managing continuous autofocus, tap-to-focus interactions, and pinch-to-zoom gestures. The toolki

    Candroidandroid-libraryc-plus-plus
    在 GitHub 上查看↗5,391
  • crazycodeboy/takephotocrazycodeboy 的头像

    crazycodeboy/TakePhoto

    7,230在 GitHub 上查看↗

    TakePhoto is an Android media capture framework and image processing library designed to manage photo acquisition and manipulation. It provides a toolkit for capturing new images via the device camera and selecting existing images from the system gallery or local file storage. The framework distinguishes itself through automatic activity and session state restoration, which recovers the capture process after the system recycles an activity. It also includes a unified handler for managing runtime media permissions for camera and storage access across different Android versions. The library co

    Javaandroidandroid-croppercamera
    在 GitHub 上查看↗7,230
查看 Camera Samples 的所有 30 个替代方案→

常见问题解答

android/camera-samples 是做什么的?

这是一系列用于集成 Android 相机硬件和软件 API 的参考实现和代码示例。该项目提供了使用 Jetpack CameraX 库和底层 Camera2 API 实现照片和视频拍摄功能的演示。

android/camera-samples 的主要功能有哪些?

android/camera-samples 的主要功能包括:Camera Integrations, Real-Time Object Detection, Real-Time Frame Processors, Mobile Vision Implementations, Video Encoders, Real-Time Model Inference on Frames, Camera API Implementations, Camera2 API References。

android/camera-samples 有哪些开源替代品?

android/camera-samples 的开源替代品包括: getstream/vision-agents. react-native-camera/react-native-camera — This project provides cross-platform programmatic interfaces and UI components for integrating camera hardware into… camerakit/camerakit-android — Camerakit-android is a library and API wrapper that provides a consistent interface for photo and video capture across… crazycodeboy/takephoto — TakePhoto is an Android media capture framework and image processing library designed to manage photo acquisition and… lyuwenyu/rt-detr — RT-DETR is a real-time object detection model based on the detection transformer architecture. It is implemented as a… mrousavy/react-native-vision-camera — This project is a cross-platform mobile camera framework and real-time computer vision library. It provides a…