Skip to content

Commit f8e3b69

Browse files
committed
readme
1 parent cde63d7 commit f8e3b69

File tree

1 file changed

+6
-28
lines changed

1 file changed

+6
-28
lines changed

Readme.md

Lines changed: 6 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ and improvement [Viola-Jones-Lienhart et al Feature Detection Algorithm](http://
1010

1111
This is a port of [OpenCV C++ Haar Detection](http://opencv.org/) (actually a port of [JViolaJones](http://code.google.com/p/jviolajones/) which is a port of OpenCV for Java) to JavaScript and Node
1212

13+
14+
**there is also a [`php` version: HAARPHP](https://github.com/foo123/HAARPHP)**
15+
16+
1317
Light-weight (~10kB minified, ~5kB gzipped).
1418

1519
[![Haar.js Face Detection](/examples/haar-face-detection.png)](https://foo123.github.com/examples/face-detection/)
@@ -63,29 +67,10 @@ haartojson haarcascades_frontalface_alt.xml > haarcascades_frontalface_alt.json
6367
The structure of the *.js* and *.json* formats is exactly the same, so you can interchange between the two freely
6468

6569

66-
__IMPORTANT__ : The conversion process has changed from previous versions (both in the CLI script and in HAAR.js)
67-
68-
The changes are :
69-
70-
* the feature rectangle coordinates are stored in an array instead of an object hash
71-
* the tilted flag/attribute for rectangles (Rainer Lienhart et al.) is incorporated in the conversion
72-
73-
so __make sure to re-convert your .js xml cascades__ for this version of HAAR.js
70+
__HAAR.js works both in the browser and in Node.js (supporting parallel computations with `Parallel.js`)__
7471

75-
The tilted attribute for rectangles (Rainer Lienhart et al. extension of the algorithm) describes tilted (rotated 45 deg) features (rectangles)
76-
in order to detect more features at rotated positions
7772

78-
The tilted flag is added in the *.js* or *.json* files (as *tilt* ),
79-
(see also [js-objectdetect](https://github.com/mtschirs/js-objectdetect) , which uses the Lienhart extension of the algorithm)
80-
81-
This is now incorporated into HAAR.js and this increases the compatibility
82-
with the OpenCV cascades (when they use tilted features, eg mouth cascade)
83-
84-
85-
__HAAR.js works both in the browser and in Node.js (supporting parallel computations with Parallel.js)__
86-
87-
88-
**NOTE** HAAR.js (0.4.4+) (and the generated cascades) support *umd-style* generic loading capability for: **commonjs / node** , **amd** , **browsers script tags**
73+
**NOTE** `HAAR.js` (0.4.4+) (and the generated cascades) support *umd-style* generic loading capability for: **commonjs / node** , **amd** , **browsers script tags**
8974

9075

9176
#### Runing inside the browser
@@ -140,10 +125,3 @@ The configuration would be the same inside a browser
140125
- [x] add selection option, detection is confined to that selection (eg detect nose while face already detected) [DONE]
141126
- [x] check if some operations can use fixed-point arithmetic, or other micro-optimizations [DONE where applicable]
142127
- [ ] keep up with the changes in openCV cascades xml format (will try)
143-
- [ ] add some real performance tests (anyone interested??)
144-
145-
<!--
146-
*URL* [Nikos Web Development](http://nikos-web-dev.000webhostapp.com/ "Nikos Web Development")
147-
*URL* [Haar.js blog post](http://nikos-web-development.netai.net/blog/haar-js-feature-detection-in-javascript-and-html5-canvas/ "Haar.js blog post")
148-
*URL* [WorkingClassCode](http://workingclasscode.uphero.com/ "Working Class Code")
149-
-->

0 commit comments

Comments
 (0)