AnchorOption constructor

AnchorOption({
  1. required int inputSizeWidth,
  2. required int inputSizeHeight,
  3. required double minScale,
  4. required double maxScale,
  5. required double anchorOffsetX,
  6. required double anchorOffsetY,
  7. required int numLayers,
  8. required List<int> featureMapWidth,
  9. required List<int> featureMapHeight,
  10. required List<int> strides,
  11. required List<double> aspectRatios,
  12. required bool reduceBoxesInLowestLayer,
  13. required double interpolatedScaleAspectRatio,
  14. required bool fixedAnchorSize,
})

Implementation

AnchorOption({
  required this.inputSizeWidth,
  required this.inputSizeHeight,
  required this.minScale,
  required this.maxScale,
  required this.anchorOffsetX,
  required this.anchorOffsetY,
  required this.numLayers,
  required this.featureMapWidth,
  required this.featureMapHeight,
  required this.strides,
  required this.aspectRatios,
  required this.reduceBoxesInLowestLayer,
  required this.interpolatedScaleAspectRatio,
  required this.fixedAnchorSize,
});