Android Top Camera Libraries 照相机API 库推荐

CameraView

CameraView 旨在帮助Android开发者更便利地集成照相功能

Features 特性

  • Camera preview by placing it in a layout XML (and calling the start method)
  • Configuration by attributes
  • Aspect ratio (app:aspectRatio)
  • Auto-focus (app:autoFocus)
  • Flash (app:flash)

CameraKit-Android

CameraKit takes one of the hardest Android APIs and makes it into a high level and easy to use the library that solves all of your problems.

With CameraKit you are able to seamlessly do the following…

  • Image and video capture seamlessly working with the same preview session.
  • Automatic system permission handling.
  • Automatic preview scaling.
  • Create a CameraView of any size (not just presets!).
  • Automatic output cropping to match your CameraView bounds.
  • Multiple capture methods.
  • METHOD_STANDARD: an image captured normally using the camera APIs.
  • METHOD_STILL: a freeze frame of the CameraView preview (similar to SnapChat and Instagram) for devices with slower cameras.
  • METHOD_SPEED: automatic capture method determination based on measured speed.
  • Built-in continuous focus.
  • Built-in tap to focus.
  • Built-in pinch to zoom.

Fotoapparat

Camera API in Android is hard. Having 2 different API for new and old Camera does not make things any easier. After several years of working with Camera, the developer came up with Fotoapparat.

What it provides:

  • Camera API which does not allow you to shoot yourself in the foot.
  • Simple yet powerful parameters customization.
  • Standalone custom CameraView which can be integrated into any Activity.
  • Fixes and workarounds for device-specific problems.
  • Both Kotlin and Java friendly configurations.

你可能也喜欢

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值