Errors wrapping OpenCV's vector<Rect> and detectMultiScale

Discussion of Common Lisp
Post Reply
joeish80829
Posts: 153
Joined: Tue Sep 03, 2013 5:32 am

Errors wrapping OpenCV's vector<Rect> and detectMultiScale

Post by joeish80829 » Fri Apr 25, 2014 3:36 am

This takes a little bit of code to explain but I posted the code in gist and
notated it thoroughly

I'm writing a lisp wrapper for OpenCV c++ interface and my lisp code
wraps around c wrappers for the c++ so in my code used for testing there will
be my c wrappers and c++ OpenCV code intermixed.

Here is an example of what I can do in C https://gist.github.com/W-Net-AI/11205899
that I can't in Lisp, The code is notated thoroughly telling exactly whats going on. the
Lisp code is https://gist.github.com/W-Net-AI/11205892 it too is notated thoroughly.
The question I'm asking hinges on the output of the detectMultiScale c wrapper for the c++
OpenCV function detectMultiScale here:

http://docs.opencv.org/modules/objdetec ... multiscale

and how the output of detectMultiScale changes when wrapped in Lisp. That's why my code examples
are kinda long because it takes a few lines to set up being able to use detectMultiScale. Pls
let me know and I can supply more info such as my wrappers etc. or write this clearer

Post Reply