Detection Offset

detected regions के चारों ओर padding जोड़ें।

इस block के बारे में

Detection Offset block आपको किसी object detection model या segmentation model द्वारा detected regions के आसपास padding जोड़ने देता है।

अगर आप किसी detection के आसपास space जोड़ना चाहते हैं, तो यह block उपयोगी है। यदि आप किसी image में detected regions के आसपास कुछ background देखना चाहते हैं, तो आप ऐसा करना चाह सकते हैं।

यह block इनके साथ काम करता है:

  • Object detection models

  • Segmentation models

Detection Offset block.

आप इस block में क्या भेज सकते हैं

इस block का उपयोग करने के लिए, आपको चाहिए:

  1. एक input image, video frame, या आपकी image में एक cropped region, और;

  2. Object Detection या Segmentation model से predictions.

यह block क्या लौटाता है

Detection Offset block, detection model द्वारा लौटाए गए xyxy coordinates का एक version वापस देता है। इन coordinates में padding (space) होती है।

इसके बाद इन coordinates को किसी भी block में पास किया जा सकता है जो detections को support करता हो (जैसे कि OCR Model, या Bounding Box Visualization)।

यहाँ एक example है जिसमें raw detections को Bounding Box Visualization (left) के साथ दिखाया गया है, और detections जिन पर offset (padding) लगाया गया है:

image में defect को बड़ा दिखाया गया है।

संदर्भ के लिए, यहाँ input image है:

block के result में, detected region को बड़ा किया जाता है।

Use cases

अगर आप किसी image पर model के results देखना चाहते हैं, तो यह block उपयोगी है। testing के दौरान यह सामान्य है.

क्योंकि predictions को visualize करने से Workflow चलाने में थोड़ा overhead जुड़ता है, इसलिए हम production में Visualization जोड़ने की सलाह सिर्फ़ तभी देते हैं जब आपको अपने model से results का स्थान देखना हो.

अंतिम अपडेट

क्या यह उपयोगी था?