Rajatkalsotra / Face-Recognition-Flutter

Realtime face recognition with Flutter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error when calling load method.

gilmarmontero opened this issue · comments

Download the project and it works perfectly, but when I try to implement it as a module from another project it gives an error when calling the load model. Could you tell me what it can be?

Issue-Label Bot is automatically applying the label question to this issue, with a confidence of 0.63. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

commented

Did you resolve it? Im facing the same error.
Unhandled Exception: Invalid argument(s): Failed to load dynamic library (dlopen failed: library "libtensorflowlite_c.so" not found)

@gilmarmontero @tmtit Well for tflite_flutter package to work you need to download few dynamic libraries.Please go through the below link.

https://pub.dev/packages/tflite_flutter#important-initial-setup

commented

@Rajatkalsotra Thank you very much

oops! It worked here. thank you

@Rajatkalsotra Hey Great App ! But can you tell me why it lags a lot ? Idk if that's only happening to me or anyone else

@deepsingh132 It is supposed to be slow as most of the processes are being executed using CPU and GPU delegate is being used only when preprocessed image is passed to tensorflow model and it outputs the embeddings. Well still, performance can be improved a lot and I'm looking towards it. Anyway thanks for using the app and liking it.

@gilmarmontero @tmtit Well for tflite_flutter package to work you need to download few dynamic libraries.Please go through the below link.

https://pub.dev/packages/tflite_flutter#important-initial-setup

Hey I am still confused about where I should place the install. sh file and from where I should execute it. Can you please help me with that information? @Rajatkalsotra

@gilmarmontero @tmtit Well for tflite_flutter package to work you need to download few dynamic libraries.Please go through the below link.
https://pub.dev/packages/tflite_flutter#important-initial-setup

Hey I am still confused about where I should place the install. sh file and from where I should execute it. Can you please help me with that information? @Rajatkalsotra

place install.bat file inside lib and run .\install.bat from your terminal in lib directory