Skip to content

Instantly share code, notes, and snippets.

View antonioru's full-sized avatar
🐙
A user interface is like a joke. If you have to explain it, it's not that good

antonioru

🐙
A user interface is like a joke. If you have to explain it, it's not that good
  • Digital Nomad
View GitHub Profile
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Tracking.js Experiment</title>
<style>
body {
background: #F5F6F8;
}
@antonioru
antonioru / face-recognition.js
Last active February 27, 2018 19:47
This code a part of some javascript experiments with face recognition and face detection, built on top of openCV
/**
* this code is part of some javascript experiments with face recognition and face detection,
* built on top of openCV
* https://opencv.org/
*/
const path = require('path');
const cv = require('opencv4nodejs'); // openCV
const size = 120;
// CascadeClassifier class is used to detect faces in a video stream or image.
@antonioru
antonioru / face-detection.js
Last active February 27, 2018 19:47
This code a part of some javascript experiments with face recognition and face detection. It's build on top of openCV
/**
* this code is part of some javascript experiments with face recognition and face detection,
* built on top of openCV
* https://opencv.org/
*/
const path = require('path');
const cv = require('opencv4nodejs'); // openCV
let image = null; // will contain the instance of the loaded image
const imagePath = path.join(__dirname, 'images', 'face-detection.jpg');

Keybase proof

I hereby claim:

  • I am antonioru on github.
  • I am antonioru (https://keybase.io/antonioru) on keybase.
  • I have a public key whose fingerprint is 8CAF FE95 3BBB 243F 2DE3 E155 33F0 28CE 8C4B 430C

To claim this, I am signing this object: