Code Monkey home page Code Monkey logo

Comments (7)

adityariyadi avatar adityariyadi commented on May 18, 2024 1

Since it already working with older phone (Lollipop and Marshmallow), I think I close this issue.

from face-recognition-flutter.

issue-label-bot avatar issue-label-bot commented on May 18, 2024

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

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

from face-recognition-flutter.

adityariyadi avatar adityariyadi commented on May 18, 2024

I try with android version 6.0, now it works. The error disappear. But I couldn't get face. So FAB is in disable state, Could be a face detection problem?

from face-recognition-flutter.

Rajatkalsotra avatar Rajatkalsotra commented on May 18, 2024

@adityariyadi The issue "OpenCL library not loaded - dlopen failed: library "libOpenCL-pixel.so" may be because of the addition of GPU delegate usage in code.You may try to remove delegate usage for android 5.0.

final gpuDelegateV2 = tfl.GpuDelegateV2(
options: tfl.GpuDelegateOptionsV2(
false,
tfl.TfLiteGpuInferenceUsage.fastSingleAnswer,
tfl.TfLiteGpuInferencePriority.minLatency,
tfl.TfLiteGpuInferencePriority.auto,
tfl.TfLiteGpuInferencePriority.auto,
));
var interpreterOptions = tfl.InterpreterOptions()
..addDelegate(gpuDelegateV2);
interpreter = await tfl.Interpreter.fromAsset('mobilefacenet.tflite',
options: interpreterOptions);

from face-recognition-flutter.

Rajatkalsotra avatar Rajatkalsotra commented on May 18, 2024

@adityariyadi If face is not getting detected , then try other camera resolutions (here I've chosen low).

from face-recognition-flutter.

adityariyadi avatar adityariyadi commented on May 18, 2024

@Rajatkalsotra Now it works on Android version 5, after removing delegate. I have to replace camera with image picker and modify some codes to make it working with image picker and able to get faces and also recognizes faces. It works very well. But my mobile phone is too slow to process stream of images using camera (old phones :=)). Will try again later with camera after trying to find cellphone with faster CPU/GPU. Thank you.

from face-recognition-flutter.

gilmarmontero avatar gilmarmontero commented on May 18, 2024

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?

from face-recognition-flutter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.