-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate Android Camera to CameraX or Camera2 #61
Comments
/bounty $100 |
💎 $100 bounty • CapgoSteps to solve:
Additional notes:ℹ️ If something is not clear ask before working on it, otherwise your chance to rework it is high Thank you for contributing to Cap-go/camera-preview! Add a bounty • Share on socials
|
/attempt #61
|
@neo773 thanks for the reactivity, i updated the demo to make your life easier all features are available |
@neo773: Reminder that in 5 days the bounty will become up for grabs, so please submit a pull request before then 🙏 |
/attempt #61 Options |
@amaanlari: Reminder that in 5 days the bounty will become up for grabs, so please submit a pull request before then 🙏 |
/attempt #61
|
💡 @asr2003 submitted a pull request that claims the bounty. You can visit your bounty board to reward. |
as @forgr-owner mentions above, I have implemented the Camera 2 API in capacitor-community/camera-preview#339 - not sure how similar this repo is as don't have time to look right now but feel free to use as doesn't seem like my PR will be merged |
Thanks @dpa99c This repo is a fork of the original one you created the PR. |
And to be in the same page we are implementing the CameraX which is already merged in the capacitor successfully. |
@asr2003 it seems your PR is a migration to CameraX API which is a replacement for legacy Camera API, which are both high-level abstractions of the camera hardware. Whereas my PR directly uses the Camera2 API, which provides low-level access to the camera hardware. I'm not really familiar with the CameraX API (nor am I really interested in getting familiar with it) so I'm not really able to review your PR. @riderx it's up to you whether you want this plugin to use Camera2 API directly or CameraX in conjuction with Camera2 via Camera2Interop. |
Thanks for looking at it @dpa99c, |
@forgr-owner I am more interested to complete this issue :) FYI, @neo773 has cancelled his attempt |
@riderx Do my PR need to be update to integrate Camera2 instead the CameraX? |
@asr2003 yes, |
If you want to validate my Camera2 API implementation, you can use my test app project which pulls it in: |
To make a PR valid you need to provide a demo video, as it say in the instruction, so i will expect that before any review |
Sure @riderx |
The plugin uses a deprecated lib to do its job, it could be nice to migrate it to the newest lib.
Any of the 2 options is great if All features work properly
The text was updated successfully, but these errors were encountered: