use of boofcv.app.fiducials.CreateSquareFiducialDocumentPDF in project BoofCV by lessthanoptimal.
the class CreateFiducialSquareBinary method callRenderPdf.
@Override
protected void callRenderPdf(CreateFiducialDocumentPDF renderer) throws IOException {
List<String> names = new ArrayList<>();
DogArray_I64 numbers = new DogArray_I64();
for (int i = 0; i < this.numbers.length; i++) {
names.add(this.numbers[i].toString());
numbers.add(this.numbers[i]);
}
((CreateSquareFiducialDocumentPDF) renderer).render(names, numbers, gridWidth);
}
use of boofcv.app.fiducials.CreateSquareFiducialDocumentPDF in project BoofCV by lessthanoptimal.
the class BaseFiducialSquareBorder method createRendererPdf.
@Override
protected CreateFiducialDocumentPDF createRendererPdf(String documentName, PaperSize paper, Unit units) {
CreateSquareFiducialDocumentPDF ret = new CreateSquareFiducialDocumentPDF(documentName, paper, units);
ret.blackBorderFractionalWidth = blackBorderFractionalWidth;
return ret;
}
Aggregations