# tf.image.generate_bounding_box_proposals

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.1.0/tensorflow/python/ops/image_ops_impl.py#L4023-L4048) |

Generate bounding box proposals from encoded bounding boxes.

#### View aliases


**Compat aliases for migration**

See
[Migration guide](https://www.tensorflow.org/guide/migrate) for
more details.

[`tf.compat.v1.image.generate_bounding_box_proposals`](https://www.tensorflow.org/api_docs/python/tf/image/generate_bounding_box_proposals)

<br />

    tf.image.generate_bounding_box_proposals(
        scores, bbox_deltas, image_info, anchors, nms_threshold=0.7, pre_nms_topn=6000,
        min_size=16, post_nms_topn=300, name=None
    )

<br />

<br />

<br />

| ## Returns ||
|---|---|
| `rois` | Region of interest boxes sorted by their scores. |
| `roi_probabilities` | scores of the roi boxes in the rois tensor. |

<br />