Skip to content

Fix TensorFlow SSDs with non-square inputs - #13906

Merged
opencv-pushbot merged 1 commit into
opencv:3.4from
dkurt:fix_tf_ssd_min_size
Feb 25, 2019
Merged

opencv-pushbot merged 1 commit into
opencv:3.4from
dkurt:fix_tf_ssd_min_size

Conversation

@dkurt

@dkurt dkurt commented Feb 25, 2019

Copy link
Copy Markdown
Member

This pullrequest changes

resolves #13895

@alalek

alalek commented Feb 25, 2019

Copy link
Copy Markdown
Member

@dkurt Could you add some link with corresponding code in TF into description?

@dkurt

dkurt commented Feb 25, 2019

Copy link
Copy Markdown
Member Author

@alalek, Sure. Here it is:

https://github.com/tensorflow/models/blob/02a9969e94feb51966f9bacddc1836d811f8ce69/research/object_detection/anchor_generators/multiple_grid_anchor_generator.py#L211-L213

base_anchor_size: base anchor size as [height, width].
The height and width values are normalized to the minimum dimension of the
input height and width, so that when the base anchor height equals the
base anchor width, the resulting anchor is square even if the input image
is not square.

@opencv-pushbot
opencv-pushbot merged commit fe7c93c into opencv:3.4 Feb 25, 2019
@alalek alalek mentioned this pull request Feb 26, 2019
@dkurt
dkurt deleted the fix_tf_ssd_min_size branch May 6, 2019 05:48
SavyaSanchi-Sharma pushed a commit to SavyaSanchi-Sharma/opencv that referenced this pull request Jul 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants