Skip to content
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

Camera #6

Open
1 of 7 tasks
HidenoriMatsubayashi opened this issue Jul 29, 2021 · 14 comments
Open
1 of 7 tasks

Camera #6

HidenoriMatsubayashi opened this issue Jul 29, 2021 · 14 comments
Labels
enhancement New feature or request

Comments

@HidenoriMatsubayashi
Copy link
Collaborator

HidenoriMatsubayashi commented Jul 29, 2021

Create camera plugin

TODO:

  • ImageStream APIs
  • Video recording APIs
  • Picture taking APIs
  • Flash mode API
  • Exposure APIs
  • Focus APIs
  • Support multi cameras
@Nagendra-Bankupalli
Copy link

@HidenoriMatsubayashi , is camera plugin depends on video player ?

@HidenoriMatsubayashi
Copy link
Collaborator Author

No, it doesn't, but using GStreamer is the same with the video_player plugin.

@Nagendra-Bankupalli
Copy link

Nagendra-Bankupalli commented Aug 17, 2021

@HidenoriMatsubayashi , Thanks, I understand its gst-camerabin plugin. got below error while cross compiling , any paths to be updated ?
💪 Building with sound null safety 💪

elinux/flutter/generated_plugin_registrant.dart:11:22: Error: Method not found: 'PathProviderELinux.register'.
PathProviderELinux.register();
^^^^^^^^
Exception
Building an eLinux application with wayland backend in debug mode for arm64 target... 8.2s
The build failed.

@HidenoriMatsubayashi
Copy link
Collaborator Author

HidenoriMatsubayashi commented Aug 17, 2021

You are trying to cross-build, but does self-building (on x64 for x64) succeed?

@Nagendra-Bankupalli
Copy link

NO, it gave same error,

$ cd path/packages/camera/example
$ flutter-elinux pub get => success
$ flutter-elinux build elinux --debug

💪 Building with sound null safety 💪

elinux/flutter/generated_plugin_registrant.dart:11:22: Error: Method not found: 'PathProviderELinux.register'.
PathProviderELinux.register();
^^^^^^^^
Exception
Building an eLinux application with wayland backend in debug mode for x64 target... 8.5s
The build failed.

@HidenoriMatsubayashi
Copy link
Collaborator Author

Are you using the latest version of flutter-elinux? If not, could you use the latest version?

@Nagendra-Bankupalli
Copy link

Nagendra-Bankupalli commented Aug 18, 2021

@HidenoriMatsubayashi
Thank you , it works with latest version. adding "upgrade" switch would be helpful :)

@HidenoriMatsubayashi
Copy link
Collaborator Author

adding "upgrade" switch would be helpful

Than you for your feedback. I'll consider to add it!

@Nagendra-Bankupalli
Copy link

Nagendra-Bankupalli commented Aug 19, 2021

The default orientation of the camera is Portrait, I could change to landscape by forcing it to landscape, as most of embedded platforms are not equipped with sensors, keeping default orientation to landscape would be better
I guess. Please let me know if my understanding is wrong

@HidenoriMatsubayashi
Copy link
Collaborator Author

Thank you for your feedback.

as most of embedded platforms are not equipped with sensors, keeping default orientation to landscape would be better

Yes, I agree with you. Are you using the example of camera plugin or your own camera app?

@Nagendra-Bankupalli
Copy link

I am using plugin example.

HidenoriMatsubayashi pushed a commit that referenced this issue Aug 20, 2021
* Fixed the bug. See: #6 (comment)

* Also, I changed the camera type from back-camera to external-camera.
@HidenoriMatsubayashi
Copy link
Collaborator Author

@Nagendra-Bankupalli

Thanks a lot. This is a bug, so I fixed it #36

HidenoriMatsubayashi added a commit that referenced this issue Oct 23, 2022
One of implementation in #6

Signed-off-by: Hidenori Matsubayashi <[email protected]>
@HidenoriMatsubayashi HidenoriMatsubayashi added the enhancement New feature or request label Aug 31, 2023
@Arna-Maity
Copy link

@HidenoriMatsubayashi Does the camera plugin support multiple cameras?

@HidenoriMatsubayashi
Copy link
Collaborator Author

No, not yet. It's one of TODOs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants