How can we implement snapchat like filters in flutter using ArCore - flutter

I am trying to build an augmented reality application using flutter and i came to know that there are two libraries available for flutter
arcore_flutter_plugin for Android and arkit_flutter_plugin for IOS can anybody suggest me how can i implement snapchat like camera filters and record that video.

I don't think this is the correct approach to get a working face-filter project.
As far as I know - I am working on a similar project - the best choice as of now is DeepAR, which may enable you to work with some sort of Snapchat like face-filter.

Related

Augmented Reality plugins in Flutter

Is it possible with any of the AR plugins that are currently in Flutter, to build something similar to this kind of app:
https://apps.apple.com/us/app/lightghost/id1274620384
If yes, what would be a good example to get started?
If not, what would be another good approach regarding this?
I don't know the real capabilities of Flutter in Augmented Reality area.

Is it possible to embed a game created with Unreal Engine into a flutter mobile application?

Is it possible to embed a game created using the unreal engine in a flutter application, so that once I open the flutter application, I can navigate to a particular page to start the game and also communicate between flutter app and the Unreal Engine game?
I found that its possible to embed unity in flutter https://pub.dev/packages/flutter_unity_widget. This is what I am looking for but with the Unreal Engine. Is it possible to do the same with the Unreal Engine?
I hate to be the bearer of bad news but...
...From the research I've done, no it isn't possible. The recommended way of doing game dev in Flutter is by using the Flame game engine. Unfortunately, the tutorial on the repo seems to be a bit outdated but here's one that should be better. However, this seems like a complex but potential solution to your problem, here's the tutorial that the repo is based on.
To be clear, there is no native way to run UE games in Flutter

Flutter - Is there a way to mute a phone with an app?

I've started with Flutter and I´m currently working on a project which allows the application to mute the phone if you´re at a specified position. I´ve implemented Google Maps etc. Everything works except that the marker isn´t visible but that´s another question. My question is how I can mute the phone with an app. I didn´t find a solution anywhere.
I really doubt that Flutter provides such a fuctionality out of the box. I suggest searching 3rd party packages for it. If that fails you can implement this feature nativly on each platform using Platform Channels.
HERE you can find how to achieve this on Android, and HERE how to do it on IOS.

Compatibility of Flutter with Car Play and Android Auto

I developed an app on Flutter and I'm looking at a way to link it with Car Play and Android Auto. For my understanding Flutter is not compatible yet. Anyone know if it will be in the future (if yes, when we should expect this)? Is there any turnaround I can look into?
Flutter Apps are now compatible with Apple CarPlay!
flutter_carplay aims to make it safe to use apps made with Flutter in the car by integrating with CarPlay. CarPlay takes the things you want to do while driving and puts them on the car’s built-in display. Currently, it supports only iOS 14.0+.
Feel free to like, star, comment, share, and contribute to support more!
In pub.dev: https://pub.dev/packages/flutter_carplay
GitHub: https://github.com/oguzhnatly/flutter_carplay
Flutter has yet to have Car Play and Android Auto support as of this writing. As previously mentioned in the comments, it's best to keep track for its updates in this GitHub thread.
I got audio app working on carplay easily enough. Based on
https://pub.dev/packages/flutter_radio_player/example
And then using my apple developer account, setting entitlements to allow carplay, basically. I cam add details if requested. Also, I used a mac/xcode to check things worked etc.
Android auto I can't yet get working.. funny that!

Does Flutter support virtual or augmented reality?

I have to make an app that uses virtual reality, so should I drop the idea of using Flutter?
yes as much as I have seen flutter does support AR,I have been following a flutter developer on twitter he posts some cool AR stuff built with flutter here's a plugin ARCore he has built for flutter.
here are some of sample AR videos from the developer himself
https://twitter.com/i/status/1123893412279791616
https://twitter.com/i/status/1129117305303175168
Can I build 3D (OpenGL) apps with Flutter?
Today we don’t support for 3D via OpenGL ES or similar.We have long-term plans to expose an optimized 3D API, but right now we’re focused on 2D.
https://flutter.dev/docs/resources/faq#can-i-build-3d-opengl-apps-with-flutter
there aren't any OpenGL bindings supported by flutter. Flutter is only a 2d only application.
https://flutter.io/faq/#can-i-build-3d-opengl-apps-with-flutter
https://github.com/flutter/flutter/issues/14591
https://github.com/flutter/flutter/issues/7053
https://github.com/flutter/flutter/issues/179
I am not sure how VR would work at all on flutter.
You can use google's ar core with flutter. Check out the arcore_flutter_plugin to work with ar in a flutter.
As of now, there aren't any packages that specifically target VR. But you can use ARKIT arkit_flutter_plugin.
NOTE: ARCORE only works with android. And ARKIT only works with iOS.
I recently created a Flutter plugin for AR that supports both Android and iOS by wrapping around ARCore and ARKit: https://pub.dev/packages/ar_flutter_plugin
The plugin is a work in progress, but it already supports collaborative AR and sharing content through Google's Cloud Anchor Service and a lot of other useful features