g2r.push(imThresh);
if (DetectBarcode.bDebug) {
Debug debug = new Debug();
debug.toFile((RgbImage)g2r.getFront(), "test.jpg");
}
gcc.push(imThresh);
if (gcc.getComponentCount() == 0) {
return false;
}
// get component which is largest than the minimum size and
// closest to a 4/3 ratio of width to height