Skip to content

Remove plant guide

Description

Removes plant guide. Built for Heliasen light barrier
Real time: False

Usage

  • Mask cleanup: Cleans a coarse mask generated by threshold tools

Parameters

  • Activate tool (enabled): Toggle whether or not tool is active (default: 1)
  • If narrower than that assume it's a guide (delete_too_narrow): Normally should be set to the actual width in pixels of the guide (default: 8)
  • Expected minimal plant width (keep_and_stop_too_wide): If it is this wide it must be the plant (default: 60)
  • Minimal width value to start investigating (investigate_lower_bound): If line width is between lower and upper bounds the algorithm will look closely. (default: 16)
  • Maximal width value to start investigating (investigate_upper_bound): If line width is between lower and upper bounds the algorithm will look closely. (default: 16)

Example

Source

Source image

Parameters/Code

Default values are not needed when calling function

1
2
3
4
5
6
7
from ipapi.ipt import call_ipt

mask = call_ipt(
    ipt_id="IptRemovePlantGuide",
    source="18HP01U17-CAM11-20180712221558.jpg",
    return_type="result"
)

Result

Result image