AnchorOption constructor
AnchorOption({
- required int inputSizeWidth,
- required int inputSizeHeight,
- required double minScale,
- required double maxScale,
- required double anchorOffsetX,
- required double anchorOffsetY,
- required int numLayers,
- required List<
int> featureMapWidth, - required List<
int> featureMapHeight, - required List<
int> strides, - required List<
double> aspectRatios, - required bool reduceBoxesInLowestLayer,
- required double interpolatedScaleAspectRatio,
- 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,
});