From ac1aea1d68f346be194e64a3275629a177327f2e Mon Sep 17 00:00:00 2001 From: Ruben van de Ven Date: Fri, 2 Oct 2020 14:01:25 +0200 Subject: [PATCH] Comment to use release build so that it becomes _way_ faster --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..0093df5 --- /dev/null +++ b/README.md @@ -0,0 +1,15 @@ +# Viola-Jones' Haarcascade visualisation + +This is an unusual visualisation of haarcascades. Often, only haarcascade features are drawn. This visualisation however, adds up all matching features in an image. Resulting in a sort of lense which shows the contrasts in the image that the algorithm picks up on most. + +* The visual_haarcascades binary ([main.rs](src/main.rs)) uses V4L to capture webcam input and renders to a canvas. +* [test.rs](src/test.rs) binary is an ugly program that looks hard-coded for `haarcascade_frontalface_alt2.xml` and `test.png`. It renders the output to `test-output.png`. +* The library is made for use with eg. Python through cffi. See eg. [this repo](https://git.rubenvandeven.com/r/face_recognition) + +## build + +Most importantly + +```bash +cargo build --lib --release +``` \ No newline at end of file