# NDK Camera [![Build Status](https://travis-ci.org/luncliff/NdkCamera.svg?branch=master)](https://travis-ci.org/luncliff/NdkCamera) > If there is an issue with this library, please mail to luncliff@gmail.com Simplified [Android Camera 2 API](https://www.youtube.com/watch?v=Bi4QjMfSOE0). Available for both Java/JNI. - API level: 24+ - NDK ### Reference - Personal Template Project: https://github.com/luncliff/Muffin - [API Reference](https://developer.android.com/ndk/reference/group/camera) - [Android Camera Overview](https://source.android.com/devices/camera) - Camera HAL3: https://source.android.com/devices/camera/camera3 - HAL Subsystem: https://source.android.com/devices/camera/camera3_requests_hal - Multi-Camera Support: https://source.android.com/devices/camera/multi-camera - Version Support: https://source.android.com/devices/camera/versioning - Android Media - https://source.android.com/devices/media/framework-hardening ## How to ### Build For **Windows** environment, latest [Android Studio](https://developer.android.com/studio/) is recommended. For **Linux/MacOS**, [Gradle 4.10.2](https://gradle.org/) will be enough. ```console $ git clone https://github.com/luncliff/NdkCamera $ cd ./NdkCamera $ gradle assemble # Build: libndk_camera.so & NdkCamera.aar ``` ### Test Connect your device and run the test with Gradle. Please reference the [test codes](./android/test/ndcam/). ```console $ gradle connectedAndroidTest # Run test ``` ### Use The following code shows working with `SurfaceView` class. ```java package dev.example; // ... import dev.ndcam.*; // Expect we already have a camera permission public class SurfaceDisplay implements SurfaceHolder.Callback { SurfaceView surfaceView; Surface surface; ndcam.Device camera; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); // ... // Load/Init library ndcam.CameraModel.Init(); surfaceView = findViewById(R.id.surfaceView); SurfaceHolder holder = surfaceView.getHolder(); holder.setFixedSize(1920, 1080); holder.setFormat(ImageFormat.YUV_420_888); holder.addCallback(this); } @Override public void surfaceCreated(SurfaceHolder surfaceHolder) { // Get all devices in array form for(ndcam.Device device : ndcam.CameraModel.GetDevices()) if(device.facing() == CameraCharacteristics.LENS_FACING_BACK) camera = device; } @Override public void surfaceChanged(SurfaceHolder surfaceHolder, int format, int width, int height) { // Make a repeating caputre request with surface surface = surfaceHolder.getSurface(); camera.repeat(surface); } @Override public void surfaceDestroyed(SurfaceHolder surfaceHolder) { // No more capture if(camera != null) camera.stopRepeat(); } } ```
2023-03-17 17:50:44 53.67MB ndk camera
1
NDK相机 简化的 。 可用于Java / JNI。 API等级:24+ NDK 参考 个人模板项目: : 相机HAL3: ://source.android.com/devices/camera/camera3 HAL子系统: : 多摄像机支持: : 版本支持: : Android媒体 如何 建立 对于Windows环境,建议使用最新的 。 对于Linux / MacOS来说, 就足够了。 $ git clone https://github.com/luncliff/NdkCamera $ cd ./NdkCamera $ gradle clean assembl
2023-03-16 19:59:16 33KB android ndk cpp gradle
1
photoshop的 Camera Raw插件
2023-03-13 23:07:37 85.89MB Camera Raw PS插件
1
Hi3516AV200 专业型HD IP Camera SoC用户指南
2023-03-10 22:08:53 20.18MB 硬件  3516AV200 HI3516
1
Android 工具类整理 最新版本 添加依赖 allprojects { repositories { maven { url 'https://jitpack.io' } } } implementation 'com.github.readsense-cn:RSUtil:1.5.5' 20201111: 采用OpenGLES 3.0来渲染Camera 代码位于:cn.readsense.module.camera1.v2.CameraView 应用流程位于:rscamera/src/main/java/cn/module/rscamera/use/Camera1v2Activity.kt 20200413: 增加坐标系转换接口,并归一化绘制坐标 将预览坐标系下的坐标转换至实际view坐标系下 cameraView.getDrawPositionX(fl
2023-03-07 16:09:52 326KB camera-control androidcamera camera1-api Java
1
手机Camera的测试方法,如何验证Camera的性能等参数。方面开发人员调试Camera。
2023-03-06 11:12:23 562KB Camera
1
在 MATLAB 中实现的简单轻量级相机图像处理管道。 首先运行 DEMO.m 这是用于从智能手机图像去噪数据集 (SIDD) 的原始 RGB 图像渲染 sRGB 图像的代码https://www.eecs.yorku.ca/~kamel/sidd/ 此代码对 CodaLab 上真实图像去噪挑战的参与者有帮助: NTIRE 2019 真实图像去噪挑战赛 - 赛道 1:Raw-RGB https://competitions.codalab.org/competitions/21258 NTIRE 2019实像去噪挑战-音轨2:sRGB https://competitions.codalab.org/competitions/21266 享受!
2023-03-02 15:15:02 69.03MB matlab
1
一体的相机轨道运动平稳 统一中的平滑相机轨道运动 本教程的主要目的是让您对Unity中的平滑摄影机轨道运动有所了解。 您可以找到有关完整教程。 本教程由The App Guruz提出-最好的
2023-02-28 11:45:27 9.26MB C#
1
基于usb webcamera的ispy(视频监控系统)源代码
2023-02-20 21:13:37 5.06MB ispy usb web camera
1
Depth_Camera_Tracking_with_Contour_Cues 论文实现方案概述目标:重现论文 [1] 算法方案内容(详见小节2. 算法实现流程
2023-02-14 22:09:55 524KB 毕业设计
1