Rajatkalsotra / Face-Recognition-Flutter

Realtime face recognition with Flutter
MIT License
165 stars 85 forks source link

error when calling load method. #6

Closed gilmarmontero closed 3 years ago

gilmarmontero commented 4 years ago

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[bot] commented 4 years ago

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

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

tmtit commented 4 years ago

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)

Rajatkalsotra commented 4 years ago

@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

tmtit commented 4 years ago

@Rajatkalsotra Thank you very much

gilmarmontero commented 4 years ago

oops! It worked here. thank you

deepsingh132 commented 4 years ago

@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

Rajatkalsotra commented 4 years ago

@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.

rubana28 commented 2 years ago

@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

TAYAB009 commented 1 year ago

@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