-
Notifications
You must be signed in to change notification settings - Fork 381
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
[Proposal] CameraView minimal port #259
Comments
I suggest to add TakeVideo. In that case we cover major Camera features. |
@VladislavAntonyuk I would say to let that for the next release, for now. If things move faster, we can bring this feature. Remembering that TakeVideo implies audio record as well, so is one more item to check and test |
Thanks Pedro! This is a great start! Here's a couple recommendations I have for the API design:
|
Hi, Is this camera view also the solution to barcode scanning in MAUI? It seems that way from some Zxing repos comments. Is there any estimate of when this could be avaliable ? Thanx. PS: If this question does not belong here im sorry and feel free to delete it. |
@Mzazvor, So this cameraView will not be the solution for barcode scanning, the ZXing is another project that you can see here. But there are plans to use the CameraView from this package on the ZXing project. I can't tell you right now when we will release this feature. It's in progress the Android implementation is almost done |
Hi all - wanted to ask what’s the status on this? I am not a developer myself but I am building an app where I need a customized camera as part of it. Thanks in advance! :-) |
Hey, @thra02ad the implementation for Android is pretty much done... I'm learning about the camera on iOS. I'm building some CameraViews apps in swift to see how that goes and then I'll move to C# and start an implementation for this lib. Right now I don't have any deadline to share with you |
Thank you so much @pictos for swift reply. Apologies for multiple questions, and fully understand that deadline is unknown at the moment. But would you say realistically there is a chance that it will come for iOS this year? Just trying to figure out contingency plans for my app (wait for it vs change back to Xamarin). :-) |
@thra02ad my intention is to have this ticket closed before December kkkkk |
Thank you very much for coming back to me! Highly appreciated |
Hi @pictos, can you share github branch where Is your implementation so we can help you to complete this task? Thanks |
Great news there is a maui version on the way! :) When using the cameraview from XCT, the flash causes over (or sometimes under) exponation of the image. Often making it way to white, if taking a photo in a dark room. Will photos with flash work better with this MAUI-version? |
@andreasbrostencab, the short answer is "I hope so". The long answer is, that we use the default and simple APIs from the Cameras APIs, because we want to be more general and simple... So we will expose APIs to control the flash intensity or something like, but the new implementation will be easier to expand. |
Hope work is going well with this new Cameraview. I have another question around it. |
Hi, any updates for this proposal? We are looking to implement a camera view in our MAUI app and are considering different options |
It is on my list of things to pick up, hopefully going to take a look in August. |
maybe you could yoink some code from this: https://github.com/hjam40/Camera.MAUI |
@bijington would you mind if I takeover some parts or start with an initial draft PR? |
Please feel free to get involved. I see you have grabbed @pictos draft PR for this work |
Alright, let's go. I have scheduled sometime next weeks, let's see how far I get. |
Will the proposal API allow for real-time usage of the camera frame data (ie, constant vs discreet capture) so that we can do things like barcode (by far the most requested use of this feature) or OCR (tesseract)? |
@kfrancis you can see what will be supported on the first spec of this issue |
Hi folks, just curious if there's any update on this? |
Work in progress, see #1387 (comment) |
Jumping on the back of this, thread as we are middle of migrating to MAUI. We want to find the easiest route with least friction on integrating a camera plugin and hoping this will be included very soon in this library so we wont have to find a temporary work around library. Is there any ETA for this to be completed? |
Any updates on the CameraView, specifically for Android and iOS? Is this still being worked on? |
I believe @jfversluis is waiting on some feedback on this. And if that doesn't pan out I'll be jumping on this |
Correct! I actually pinged them today, which is people from the community who have a working CameraView in their app and are willing to put that in the Toolkit so we have the support for MAUI. Hopefully I'll get word on that soon and else @bijington has offered to take a look, so should be news soon! |
Fantastic guys, can't wait to get it. Thanks for the update. |
Not sure if this should be included in the description but this is the API design that the kind team are going to be contributing:
|
Any chance you guys would consider adding the ability to have a stream come out of the cameraview for processing through things like AI, barcode scanners, etc? public class CameraView
{
public Stream OpenStream();
} Maybe a binding point to Command? |
Yes definitely! There isn't anything really documented but this is something that we hope to follow up on once the CameraView gets merged. The current thinking is to provide potentially 2 mechanisms of achieving this:
The thought behind this would allow developers to build something as performant as possible which would likely be important if doing something like image processing. That's a just a conceptual description but how does that sound? I know we have a discussion on barcode scanning that I've been meaning to update. This would likely be a first good use case for it. |
Does it support camera extensions of the Phone in Android like the Google Camera Service to get Google optimizations?
|
[CameraView minimal port]
Link to Discussion
Summary
Today on XCT we have a very complete
CameraView
implementation but with a lot of bugs and a complex codebase to maintain. In the table below you can see all features implemented by each platform.My plan, described in discussion #206, is to drop some features for the v1.0 of this lib. and use
CameraX
implementation for Android. You can see in the table below what features we will have for v1.0.After this first implementation, we can add the missing features to all platforms.
Motivation
The motivation for this plan was the fact that
CameraView
lacks in quality right now and this's our chance to fix it and provide a more reliable Camera control for our community.Detailed Design
CameraView.shared.cs
Usage Syntax
XAML Usage
C# Usage
Drawbacks
We will (probably*) break our users on v1.0 since the API will be missing a lot of features.
Alternatives
Unresolved Questions
The text was updated successfully, but these errors were encountered: