Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions research/object_detection/protos/image_resizer.proto
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ enum ResizeType {
AREA = 3; // Corresponds to tf.image.ResizeMethod.AREA
}

// IdentityResizer performs no resizing on the input image.
// It passes the image through unchanged, preserving its original height and width.
// This option is useful when images are already preprocessed to the desired size,
// or when using models that support dynamic input dimensions.
//
// Note: Ensure that the downstream model and preprocessing pipeline can handle
// varying input sizes if using this option.

message IdentityResizer {
}

Expand Down