Popularity
3.3
Growing
Activity
0.0
-
147
6
24
Programming language: Swift
License: MIT License
HybridCamera alternatives and similar libraries
Based on the "Camera" category.
Alternatively, view HybridCamera alternatives based on common mentions on social networks and blogs.
-
SCRecorder
Camera engine with Vine-like tap to record, animatable filters, slow motion, segments editing. -
ALCameraViewController
A camera view controller with custom image picker and image cropping. Written in Swift. -
TGCameraViewController
Custom camera with AVFoundation. Beautiful, light and easy to integrate with iOS projects. -
CameraManager
Simple Swift class to provide all the configurations you need to create custom camera view in your app. -
Cool-iOS-Camera
A fully customisable and modern camera implementation for iOS made with AVFoundation. -
iOS-Depth-Sampler
A collection of code examples for Depth APIs. -
RSBarcodes_Swift
1D and 2D barcodes reader and generators for iOS 8 with delightful controls. Now Swift. -
Lumina
Full service camera that takes photos, videos, streams frames, detects metadata, and streams CoreML predictions :largeorangediamond: -
JVTImageFilePicker
Easy and beautiful way for a user to pick content, files or images. Written in Objective C. -
RAImagePicker
RAImagePicker is a protocol-oriented framework that provides custom features from the built-in Image Picker Edit.
Scout APM - Leading-edge performance monitoring starting at $39/month
Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
Sponsored
scoutapm.com
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of HybridCamera or a related project?
README
Features:
Description | |
---|---|
Records video | ๐ฅ |
takes photos | ๐ท |
Flash on/off | โก |
Front / Back camera | โ๏ธ |
Hold to record video | โ |
Tap to take photo | ๐ |
Tap to focus / set exposure | ๐ |
Pinch to zoom | ๐ |
Looping video/photo preview | ๐ |
Share button | ๐ |
Programatic UI | ๐ค |
Doesn't stop Spotify | ๐ถ |
Stores files in temporary | ๐พ |
Throw oriented code | ๐ฃ |
Persistent app authorisation | ๐ซ |
Animated record button | ๐ด |
Callback based | ๐ |
Why use this camera framework
- High codebeat GPA
- Low class scoped variable count (In order to better handle overall state)
- Setup errors can be handled from the POV of the initiator
- Operation errors is handled in the onCapture completion block
- Callback based (as oppose to delegate based) More info
- Easily styleable (The camera view is separate from the UI view)
- No third-party libraries or Sugar
- Entirely programatic (No storyboard)
- Thoroughly documented (Artifacts and sideEffects etc)
- Uses Sindre-lint style guide
- Small footprint, only ~750 LOC (Lines of code) ### Notes:
- In order to keep things simple, The UI is CGRect based. Use your own Autolayout distro like SnapKit etc when adding additional UI
Install:
- SPM:
.package(url: "https://github.com/eonist/HybridCamera.git", .branch("master"))
- Manual: Open
HybridCamera.xcodeproj
IMPORTANT: Make sure info.plist has these variables
Privacy - Microphone Usage Description
Privacy - Camera Usage Description
Privacy - Photo Library Additions Usage Description
Example:
Example code:
self.view = HybridCamView()
view.camView.onPhotoCaptureComplete = { (image: UIImage?, url: URL?, error: Error?) in
Swift.print("On photo capture complete \(url)")
}
hybridCamView.camView.onVideoCaptureComplete = { (url: URL?, error: Error?) in
Swift.print("On Video capture complete \(url)")
}
Todo:
- Add support for more orientation modes (Currently only supports portrait)
- Add support for error resolution from the POV of initiating the camera
- Make UI with AutoLayout ๐
- Make lib carthage support โ
- Fix AudioBug โ
- Fix FontCamera bug w/ IphoneX โ
- Add Spatial, Chaplin as an option to HybridCam ๐
- Add CI-Travis ๐