Code Monkey home page Code Monkey logo

Comments (9)

goruck avatar goruck commented on June 9, 2024

Hi,

I've gotten face detection and recognition to work on Google Coral using tpu-, dlib- and openCV-based face detectors and dlib- and OpenCV-based facial embedders and an SVM-based face classifier. The detailed instructions on how to set this up can be found here (note that you don't need to follow all the steps outlined here if you are just interested in face detection / recognition). Please take a look at that and let me know if you have any questions.

Thanks.

Lindo

from smart-zoneminder.

goruck avatar goruck commented on June 9, 2024

Closing due to inactivity.

from smart-zoneminder.

vismayaps avatar vismayaps commented on June 9, 2024

Hi,
Sorry for the inactivity. Could you please reopen the issue ?
Thanks,
Vismaya

from smart-zoneminder.

goruck avatar goruck commented on June 9, 2024

As you wish. Please let me know how I can help.

from smart-zoneminder.

vismayaps avatar vismayaps commented on June 9, 2024

Hi,
Thanks a lot. Is it possible to do the face recognition module on edge tpu device without memory swap ? When I tried it last time, the system got crashed.

from smart-zoneminder.

goruck avatar goruck commented on June 9, 2024

Do you mean the temporary swap space required to compile dlib and face_recognition on the coral board? Yes, you can cross compile those packages on another machine instead. But not sure what your problem is exactly. The swap space is temporary and after you are done compiling the packages you remove the swap. See the detailed instructions at https://github.com/goruck/edge-tpu-servers/blob/master/README.md. You can send me the commands you are using and the error and I will try to help further.

from smart-zoneminder.

vismayaps avatar vismayaps commented on June 9, 2024

I just tried swaping for the installation of OpenCV, the board crashed and I lost all the data on the board. But I've compiled OpenCV now with swaping. So my question here is can we compile dlib and face_recognition without generating swap space. I've generated all the models including svm and xgboost. How do I test the models on desktop ? Only "encodings.pickle" is working. I'm not able to test the svm and xgboost models. If everything goes well and fine how much time will it take for inference on the board ? and how do I find the accuracy and loss ?

from smart-zoneminder.

goruck avatar goruck commented on June 9, 2024

The Coral Dev Board has a modest 8GB on-board eMMC. You need to insert a MicroSD card (at least 32 GB) into the Dev Board to have enough space to install the software. Are you using a MicroSD card?

As for your questions:

  1. "can we compile dlib and face_recognition without generating swap space"
    No. You will run out of ram and the compiler will crash.

  2. "How do I test the models on desktop?"
    See face-det-rec and in particular train.py.

  3. "If everything goes well and fine how much time will it take for inference on the board" + "how do I find the accuracy and loss".
    See this.

from smart-zoneminder.

vismayaps avatar vismayaps commented on June 9, 2024

Thanks for the help 👍

from smart-zoneminder.

Related Issues (9)

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.