1 | initial version |
you seem to use opencv 3.0 here. (not 2.4.8, as you think....)
they changed all of the std::string to cv::String there, so, while you code compiles correctly ( yes, both string types are compatible there ) , your linker has a different opinion on it.
try:
cv::String yo = ...
i'm not sure, why it chokes on the Rect vector, maybe
vector< Rect > faces;
helps. ( well, if so, i'd say, at least that is worth reporting an issue. )
if you forked or cloned the code from github, the master(3.0) branch is the default one.
if you want the 2.4 branch instead, do:
git checkout 2.4
and rebuild the whole schlepp.
2 | No.2 Revision |
you seem to use opencv 3.0 here. (not 2.4.8, as you think....)
they changed all of the std::string to cv::String there, so, while you code compiles correctly ( yes, both string types are compatible there ) , your linker has a different opinion on it.
try:
cv::String yo = ...
i'm not sure, why it chokes on the Rect vector, maybe
vector< Rect > faces;
helps. ( well, if so, i'd say, at least that is worth reporting an issue. )
if you forked or cloned the code from github, the master(3.0) branch is the default one.
if you want the 2.4 branch 2.4.8 instead, do:
git checkout 2.4
and rebuild the whole schlepp.schlepp (cmake and all).
3 | No.3 Revision |
you seem to use opencv 3.0 here. (not 2.4.8, as you think....)think, just look at the libs ....)
they changed all of the std::string to cv::String there, so, while you code compiles correctly ( yes, both string types are compatible there ) , your linker has a different opinion on it.
try:
cv::String yo = ...
i'm not sure, why it chokes on the Rect vector, maybe
vector< Rect > faces;
helps. ( well, if so, i'd say, at least that is worth reporting an issue. )
if you forked or cloned the code from github, the master(3.0) branch is the default one.
if you want 2.4.8 instead, do:
git checkout 2.4
and rebuild the whole schlepp (cmake and all).
4 | No.4 Revision |
you seem to use opencv 3.0 here. (not 2.4.8, as you think, just look at the libs ....)libs)
they changed all of the std::string to cv::String there, so, while you code compiles correctly ( yes, both string types are compatible there ) , your linker has a different opinion on it.
try:
cv::String yo = ...
i'm not sure, why it chokes on the Rect vector, maybe
vector< Rect > faces;
helps. ( well, if so, i'd say, at least that is worth reporting an issue. )
if you forked or cloned the code from github, the master(3.0) branch is the default one.
if you want 2.4.8 instead, do:
git checkout 2.4
and rebuild the whole schlepp (cmake and all).
PS. i'm wondering, why it did not complain about CV_BGR2GRAY. did you include one of the c-headers ?