Comments (9)
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.
Closing due to inactivity.
from smart-zoneminder.
Hi,
Sorry for the inactivity. Could you please reopen the issue ?
Thanks,
Vismaya
from smart-zoneminder.
As you wish. Please let me know how I can help.
from smart-zoneminder.
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.
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.
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.
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:
-
"can we compile dlib and face_recognition without generating swap space"
No. You will run out of ram and the compiler will crash. -
"How do I test the models on desktop?"
See face-det-rec and in particular train.py. -
"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.
Thanks for the help 👍
from smart-zoneminder.
Related Issues (9)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smart-zoneminder.