yonat / Camerabackground
Licence: mit
Show camera layer as a background to any UIView
Stars: ✭ 57
Programming Languages
swift
15916 projects
Projects that are alternatives of or similar to Camerabackground
Meething Ml Camera
Machine-Learning powered Virtual Camera with SVG Animation (alpha)
Stars: ✭ 36 (-36.84%)
Mutual labels: camera
Node Blink Security
This is an npm module for communicating with Blink Home Security System
Stars: ✭ 54 (-5.26%)
Mutual labels: camera
Pi Webcam
Automation to configure a Raspberry Pi as a USB OTG webcam
Stars: ✭ 990 (+1636.84%)
Mutual labels: camera
Jcamera
This is Android CameraActivity,Imitation WeChat Camera Android 仿微信视频拍摄 支持触摸拍摄 长按拍摄
Stars: ✭ 42 (-26.32%)
Mutual labels: camera
Defold Orthographic
Orthographic camera functionality for the Defold game engine
Stars: ✭ 50 (-12.28%)
Mutual labels: camera
Cordova Plugin Ios Camera Permissions
Cordova / PhoneGap Plugin Permission Settings for NSCameraUsageDescription and NSPhotoLibraryUsageDescription in iOS 11 by adding a declaration to the Info.plist file, see:
Stars: ✭ 34 (-40.35%)
Mutual labels: camera
Mtbbarcodescanner
A lightweight, easy-to-use barcode scanning library for iOS 8+
Stars: ✭ 1,085 (+1803.51%)
Mutual labels: camera
Gncam
📷 A Swift 3 library for interacting with the camera on iOS using AVFoundation
Stars: ✭ 42 (-26.32%)
Mutual labels: camera
Gopro Py Api
Unofficial GoPro API Library for Python - connect to GoPro via WiFi.
Stars: ✭ 1,058 (+1756.14%)
Mutual labels: camera
Camera calibration api
A simple Python API for single camera calibration using opencv
Stars: ✭ 36 (-36.84%)
Mutual labels: camera
Esp32 Ov7670 Hacking
Based on https://github.com/igrr/esp32-cam-demo extended with an ILI9341 display, with a Telnet interface to change OV7670 settings on the fly. Streams BMP files from RGB565 and YUV422 (encoded to RGB565) picture formats. Compile with latest esp-idf. Check out new telnet command "video 1" to auto capture to LCD as fast as possible for videocam mode, "video 0" to stop or "video Z" where Z is delay in ms between each capture / LCD refresh.
Stars: ✭ 55 (-3.51%)
Mutual labels: camera
Hhcustomcorner
Awesome library to customize corners of UIView and UIButton. Now you can customize each corner differently
Stars: ✭ 36 (-36.84%)
Mutual labels: uiview
Keera Posture
Alleviate your back pain using Haskell and a webcam
Stars: ✭ 48 (-15.79%)
Mutual labels: camera
Opengl4android
OpenGL运用在Android上的Demo,结合Camera和MediaCodec实现预览和渲染,用于实现视频的裁剪,翻转,缩放,滤镜功能。
Stars: ✭ 56 (-1.75%)
Mutual labels: camera
Spherelayout
a layout which supports 3d rotate and enable its childview has z-depth for android
Stars: ✭ 55 (-3.51%)
Mutual labels: camera
Pixi Cull
a library to visibly cull objects designed to work with pixi.js
Stars: ✭ 51 (-10.53%)
Mutual labels: camera
UIView+CameraBackground
Show camera layer as a background to any UIView.
Features
- Both front and back camera supported.
- Flash modes: auto, on, off.
- Countdown timer.
- Tap to focus.
- Pinch to zoom.
Usage
view.addCameraBackground()
// ...
view.takeCameraSnapshot( {
// animate snapshot capture
self.view.alpha = 0
UIView.animate(withDuration: 1) { self.view.alpha = 1 }
},
completion: { (capturedImage, error) -> () in
self.view.freeCameraSnapshot() // unfreeze image
// ... handle capturedImage and error
}
)
// ...
view.removeCameraBackground()
Important: Remember to add NSCameraUsageDescription
to your Info.plist
.
Layout
You can change the location of the camera controls (flash, timer, and front/back camera selection) or hide them altogether:
view.addCameraBackground(
showButtons: true,
buttonMargins: UIEdgeInsets(top: 30, left: 10, bottom: 10, right: 10),
buttonsLocation: .left
)
Installation
CocoaPods:
pod 'CameraBackground'
Legacy versions:
Swift version | CameraBackground version |
---|---|
4.0 (Xcode 9.4) |
pod 'MiniLayout', '~> 1.2.1' pod 'MultiToggleButton', '~> 1.7.1' pod 'CameraBackground', '~> 1.4.1'
|
3 |
pod 'MiniLayout', '~> 1.1.0' pod 'MultiToggleButton', '~> 1.5.2' pod 'CameraBackground', '~> 1.2'
|
2.3 |
pod 'MiniLayout', '~> 1.0.1' pod 'MultiToggleButton', '~> 1.4.0' pod 'CameraBackground', '~> 1.0.2'
|
Swift Package Manager:
dependencies: [
.package(url: "https://github.com/yonat/CameraBackground", from: "1.6.5")
]
Meta
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].