Liveness Detection in Flutter - 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

Related

What technology or framework or API do I have to use for this app?

I have to build mobile app that can support Live Portrait with photo.
Live Portrait means the technology that enables to make video from photo, make faces in photo act lively. I have full-searched google but still I can't find appropriate data.
I have to use hybrid mobile app framework such as React Native, Flutter for my app.
Here are questions.
Is is possible to make app that can support Live Portrait with Flutter or React Native?
Is there any API or service or framework for Live Portrait?
I would be appreciated for your answer.
If you want to add interactive content on images, then you can use python for build face detector features and react-native to create interactive part.

Migrating from Xamarin to Flutter and Firebase

So we have an application in production running on both Apple store and Google Play store. We originally built it on Xamarin and hope to port it to a newer infrastructure. We looked at some avenues such as Ionic + Angular with a backend to MongoDB Realm. Our biggest concern for frontend capabilities have been offline data support, image editor, and barcode scanning. We are hoping to go to a Progressive Web App this time and not have to deal with the stores. In our recent research, we found Camera and Permission API's on browsers is lacking, especially iOS (Steve would be upset if he was alive). Recently we noticed Flutter is growing fast and web support is getting better, though their camera API's for iOS and some Androids still have issues. Ionic's camera support is not perfect but seems to be solid compared to Flutter. Anyone else having issues with camera API support (especially Flutter)? We would like to have a stable camera/permissions on the web if possible but we feel the timing may not be right. Would like to hear others and their thoughts and thank you for your time!

is it possible to make an application for video calls in Ionic?

I need to write an application with video chats (1:1), and i know Angular. There are tons of SDKs for Angular(or web) to handle video calls(like e.g. twilio.com, agora.io?). But my client need mobile app. It's possible to write native app in Ionic with video calls support? However, do I have to use something more professional like flutter to achieve this?
Is there any ready SDK to handle this in Ionic?
I am looking, I am looking for and I cannot find anything. And I have to make quick decisions in part.
Please help me :)
Yes.
You can use the camera and the microphone with Ionic (in native or pwa mode).
Ionic fully supports Angular and Angular components.
I recommend you the use of notifications like Google FCM to notify the caller.
You can trigger an action directly from the notification (app in background or in app which is not the same).

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.

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.