tensorflow/lite/g3doc/api_docs/python/tflite_support/task/processor/SegmentationResult.md
page_type: reference description: Results of performing image segmentation.
<link rel="stylesheet" href="/site-assets/css/style.css"> <!-- DO NOT EDIT! Automatically generated file. --> <div itemscope itemtype="http://developers.google.com/ReferenceObject"> <meta itemprop="name" content="tflite_support.task.processor.SegmentationResult" /> <meta itemprop="path" content="Stable" /> <meta itemprop="property" content="__eq__"/> <meta itemprop="property" content="__init__"/> </div>View source on GitHub
Results of performing image segmentation.
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> <code>tflite_support.task.processor.SegmentationResult( segmentations: List[<a href="../../../tflite_support/task/processor/Segmentation"><code>tflite_support.task.processor.Segmentation</code></a>] ) </code></pre> <!-- Placeholder for "Used in" -->Note that at the time, a single Segmentation element is expected to be
returned; the field is made repeated for later extension to e.g. instance
segmentation models, which may return one segmentation per object.
<a target="_blank" class="external" href="https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/python/task/processor/proto/segmentations.proto">View source</a>
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> <code>__eq__( other: Any ) -> bool </code></pre>Checks if this object is equal to the given object.
<!-- Tabular view --> <table class="responsive fixed orange"> <colgroup><col width="214px"><col></colgroup> <tr><th colspan="2">Args</th></tr> <tr> <td> `other` </td> <td> The object to be compared with. </td> </tr> </table> <!-- Tabular view --> <table class="responsive fixed orange"> <colgroup><col width="214px"><col></colgroup> <tr><th colspan="2">Returns</th></tr> <tr class="alt"> <td colspan="2"> True if the objects are equal. </td> </tr> </table>