Closed DavidGasku closed 2 years ago
Ok, I found the error in FidtrackFinder.cpp (line 493)
if ((pixel>=0) || (pixel<width*height)) {
yama->x = dmap[ pixel ].x/width;
yama->y = dmap[ pixel ].y/height;
}
there should be a float cast. Btw, shouldn't the guard be &&, as we are basically making sure that the index exists?
I changed my version to the following code, and it works fine:
if ((pixel>=0) && (pixel<width*height)) {
yama->x = dmap[ pixel ].x/(float)width;
yama->y = dmap[ pixel ].y/(float)height;
}
Thanks for the heads up ... fixed that.
Testing the new Yamaarashi symbols, they are detected, but give 0, 0 position, so their numbers appear together at top left corner of the screen.
this is the verbose output: