I followed this link and able to perform Edge Detection using a pre-trained model.
Now, I would like to train my own model and I found the guideline here. But I do not know how to perform step 3:
3. Add both directory and their subdirectories to Matlab path.
And I wonder if I need to install Matlab to train my own Structured Forest model? Since I am using OpenCV in C++, is it possible to train the model in C++ as well?
Thanks