Hello,
I run the example from Opencv implementation https://docs.opencv.org/3.1.0/d0/da5/tutorial_ximgproc_prediction.html , with the model I provided in this repo (StructuredForests/model/forests/forest.h5) . For that, I created a python code to convert forests in h5 format to yml https://github.com/spacerober/foresth5toyml/blob/master/storeYaml.ipynb, which is correctly parsed by detectEdges function, but the result of detected edges is not correct.
Expected result:

Obtained result:

I found out that in yml there exist: childs (cids), featureIds (fids), thresholds (thrs), edgeBoundaries (edge_bnds), edgeBins (?)
Does edge_pts calculation in ArtavisCV's implementation differ from edgeBins calculation in pDollar's implementation?
Is there any tool to convert forests in h5 to yml?