justadudewhohacks / justadudewhohacks/opencv4nodejs

unvalid xml file and other basic questions about SVM trainers

Open
#463 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
5.1k
Forks
826
PR merge metrics
No merged PRs in 30d

Description

Hello guys, hello Vincent,
I ask noob questions, sorry about that.

My xml file for a very simple detection set return that [common error](https://github.com/infusion/PHP-Facedetect/issues/19) :

```
terminate called after throwing an instance of 'std::runtime_error'
what(): OpenCV Error: (The node does not represent a user object (unknown type?)) in cvRead, in file /home/.../node_modules/opencv-build/opencv/ope
ncv/modules/core/src/persistence_c.cpp, line 1426, status -2
Abandon (core dumped)
```
It is probably the SVM trainer that gets me an invalid XML file.
So, I have a lot of questions before I can to be on my own:

At first; how to get settings chosen by the computer if we use the trainauto mode ?
Is there a command for console.log theme? even in python, this command is hard to find.

The code of my SVM trainer is _almost_ the same as @justadudewhohacks 's one.

Thank you all.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.