Flutter: Google ML Kit alternative for desktop? - flutter

I have an idea for a desktop app that needs to detect whether a user has his/her eyes closed and track the orientation of the user's head in real time.
Google ML Kit offers these two features right out of the box and with the google_ml_kit Flutter package it's as easy as pie to get it up and running in an Android or iOS app.
But sadly the Google ML KIT doesn't support MacOS or Windows.
Is there an alternative package for desktop that doesn't require me to train the models myself and would be easy to integrate into a Flutter app?

Related

face detection in flutter using google ml kit

I am working on an application where main screen has a live camera opened automatically.
Here I need faces to be detected.
Am getting confused about how to integrate ML kit.
Do I have to signup with firebase????
I tried working with google ml kit but got too many errors.
There are two separate ML libraries now - Firebase ML and ML Kit. Firebase ML runs on the cloud, and you need to use Firebase for it. You can find the documentation here.
ML Kit, however, runs entirely on the user's device, and it does not require you to use Firebase, unless you want to use custom models.
The easiest way to integrate it into your flutter app would be to use the google_ml_kit library, which provides modules for different purposes. For face recognition, you can use google_mlkit_face_detection.

Liveness Detection in Flutter

I have an app for attendance that is based on a facial recognition system. I want to implement liveness detection or antispoofing. I found some models and solutions but none of these solutions work in offline mode (no internet mode). My app works in offline mode without internet.
I made my app in the Flutter framework and I am using ML Kit. If anyone has any idea how to do it or has any solution or code regarding this issue. It will be very helpful to me.
you have to use tflite dependency to achieve live face recognition in flutter.
you can use below link to refer more about tflite. which is using to recognize live camera faces.
https://pub.dev/packages/tflite
And for offline mode you have to implement PWA(progressive web app) to your flutter app. use below document to implement pwa to your flutter app.
Note : pwa only works with https. so you can make build your flutter app using firebase to make your app secured
https://medium.flutterdevs.com/progressive-web-app-flutter-62c7dea05fc5

Flutter: Can we make a game online and integrate it to our flutter app?

I am trying to have a games section on the app that I am making for kids. Is there a way that I can use a 3rd party game maker (preferably online) and integrate it to my flutter app ? I don't want to use flutter's flame engine.
You can try Unity package for flutter if not flame.

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

Firebase for Unity3d Windows App

I have been trying to figure out the best way to implement dynamic photos and voice notes into my Unity3d app, and am looking for guidance about the correct backend/database to use. There would be two apps, one that a user would login to and upload content: I am working with someone that can build an Android app that allows for a user to login with Google, Facebook, etc and upload content (images, messages, etc) to their profile using Firebase. The other half would be the Windows Oculus Rift app.
I am building a Unity VR experience for Oculus Rift that needs to use this user content dynamically during runtime, but I am not sure the best way to connect Unity with Firebase. I am aware of the recent Firebase SDK for Unity, but the examples show use cases for Android and IOS builds from Unity, whereas I would need to build to Windows for use with the Oculus Rift. Will the Unity Firebase SDK work for Windows and if not, are there any suggestions about the best way to accomplish my goal?
Thank you,
Jacob
The current version of the Firebase Unity SDK only works on Android and iOS. There is nothing on the road map to implement desktop apps in Unity at present.
Note that you can still interact with the Firebase Database using the REST API.