Get bridges working

This commit is contained in:
Shaunak Kishore
2015-09-30 01:31:12 -04:00
parent b621da5c9c
commit c10079bba4
4 changed files with 99 additions and 3 deletions

View File

@ -363,7 +363,8 @@ this.stroke_extractor.getBridges = (glyph, classifier) => {
endpoints.push(new Endpoint(paths, [i, j]));
}
}
return getBridges(endpoints, classifier || handTunedClassifier);
const bridges = getBridges(endpoints, classifier || handTunedClassifier);
return {endpoints: endpoints, bridges: bridges};
}
this.stroke_extractor.getStrokes = (glyph) => {