September 2019
Intermediate to advanced
420 pages
10h 29m
English
For the sake of completeness and for those who insist on using the C++ API of OpenCV, let's do a quick detour on OpenCV's TrainData container, which allows us to load numerical data from .csv files.
Among other things, in C++, the ml module contains a class called TrainData, which provides a container to work with data in C++. Its functionality is limited to reading (preferably) numerical data from .csv files (containing comma-separated values). Hence, if the data that you want to work with comes in a neatly organized .csv file, this class will save you a lot of time. If your data comes from a different source, I'm afraid your best option might be to create a .csv file by hand, using ...
Read now
Unlock full access