/** * @see Detector#getScaleFactor() * @return The detector scale factor */ public double getScaleFactor() { return detector.getScaleFactor(); }
this.detector = new Detector(cascade); else this.detector = new Detector(cascade, this.detector.getScaleFactor()); } catch (final Exception e) { throw e;
@Override public int hashCode() { int hashCode = HashCodeUtil.SEED; hashCode = HashCodeUtil.hash(hashCode, this.detector.getMinimumDetectionSize()); hashCode = HashCodeUtil.hash(hashCode, this.detector.getScaleFactor()); hashCode = HashCodeUtil.hash(hashCode, this.detector.getClassifier().getName()); hashCode = HashCodeUtil.hash(hashCode, this.groupingFilter); hashCode = HashCodeUtil.hash(hashCode, this.histogramEqualize); return hashCode; }