codeboost / opencv-node

Use OpenCV with node.js
54 stars 9 forks source link

detectObject implementation #4

Closed bitbay closed 11 years ago

bitbay commented 11 years ago

Good day,

after having a long night trying to compile and use the library on my debian machine...finally got it to work. But then the sadness when i realized that it does not support the CascadeClassifier class nor its detectMultiScale method! I spent the day trying to mimic .bea definitions based on the Mat class and other, but i'm no hardcore c++ coder to follow up what is really going on in the conversions...

Sadly, like this it is of no use to my project i was trying to finish in such a rush..

I'll will follow the updates, and hope some day to see the FULL opencv support!

Untill then, i wish You happy coding and good luck!

codeboost commented 11 years ago

Hello bitbay,

I'm sorry about your adventure and disappointment. This work here is something I did 2 years ago and in my free time so there's bound to be things missing from it. But let's try to improve it, this is the whole purpose of it being on github.

I've just committed an update and a demo script which does object detection using CascadeClassifier.

If you bump into other unimplemented stuff, just open an issue and I'll try to get it in, time permitting.

bitbay commented 11 years ago

Thank You Florin, that's really awesome!

I'll checkout the new commit and try the feature ASAP! I will be back with the results in short...

Cheers

bitbay commented 11 years ago

...works...like...a...CHARM!

I really have to dig into Your BEA project (after the rush is over), Your work is really impressive!

Thank You again!

If i'll discover some more things, i'll let You know.

ps: thanks for accepting the pull, now npm install pulls and builds FLAWLESS!