Leaper Vision Toolkit

169 tools. 138 can modify or destroy data without limits.

138 write tools that can modify data. Rate limits recommended.

Last updated:

138 can modify or destroy data
31 read-only
169 tools total

Community server · catalogue entry verified 05/04/2026 · full schemas captured for 160 of 169 tools

How to control Leaper Vision Toolkit ↓

What Leaper Vision Toolkit exposes to your agents

Read (31) Write / Execute (138) Destructive / Financial (0)

What Leaper Vision Toolkit costs in tokens

65,642 tokens of tool definitions, loaded on every request
33% of a 200k context window
1,430 heaviest tool: il_blob_analysis_color
High Risk

The most dangerous Leaper Vision Toolkit tools

138 of Leaper Vision Toolkit's 169 tools can modify, destroy, or commit something on every call — and an agent calls them with no built-in limits.

How to control Leaper Vision Toolkit

PolicyLayer is an MCP gateway — it sits between your AI agents and Leaper Vision Toolkit, and nothing reaches the server without passing your rules. These are the rules we recommend:

Rate limit write operations
{
  "edge_filter_gradient_full": {
    "limits": [
      {
        "counter": "edge_filter_gradient_full_per_hour",
        "window": "hour",
        "max": 30,
        "scope": "grant"
      }
    ]
  }
}

Prevents bulk unintended modifications from agents caught in loops.

Cap read operations
{
  "display_blob_analysis": {
    "limits": [
      {
        "counter": "display_blob_analysis_per_minute",
        "window": "minute",
        "max": 60,
        "scope": "grant"
      }
    ]
  }
}

Controls API costs and prevents retry loops from exhausting upstream rate limits.

  1. Create a free account and register Leaper Vision Toolkit — nothing to install.
  2. Add these rules — paste them, or build them visually. Tune the limits to your setup.
  3. Point your MCP client (Claude, Cursor, anything) at your gateway URL.
ENFORCE POLICY ON LEAPER VISION TOOLKIT →

Instant setup, no code required.

All 169 Leaper Vision Toolkit tools

EXECUTE 25 tools
Execute display_match Display the pattern matching results. 这个是执行模板匹配的图像的交互工具,并返回标记斑点后的图片。 This interface provide functionalities o Execute edge_filter_gradient_v Vertically oriented edges are represented by bright pixels. 垂直梯度,垂直边缘在输出图像中表现为较亮的像素。 Provides image edge enh Execute edge_filter_new This interface provide functionalities of edge extraction. 该接口类提供了图像边缘增强的功能。 To use this interface, you shou Execute il_blob_analysis This interface provide functionalities of blob analysis. 该接口提供斑点分析的功能。 Blob analysis is a useful approach to Execute il_blob_analysis_color This interface provide functionalities of blob analysis. 该接口提供斑点分析的功能。 Blob analysis is a useful approach to Execute il_image_filter_high_pass 高通滤波工具,相对于梯度更一致的区域,增强图像中的边。 Apply a high-pass filter to the input image to enhance edges. High-pass filter e Execute il_image_filter_linear_filter_abs 基于自定义核,对输入图像进行线性滤波,输出滤波结果的绝对值 。 Apply linear filtering on the given image using the custom kernel. kMat then Execute il_image_filter_local_median_norm 归一化中值滤波,用于从图像中去除背景像素。 该滤波器相当于输入图像与中值滤波的结果相减,然后将每个像素 << 1 + 128。 Used to subtract the background from an image Execute il_image_filter_optical_density 光密度,通过度量其通光量显露在输入图像中物体或特征的密度。 密度较高的物体或特征在输出图像中以较亮的像素表示。 Reveals the density of objects and features in the i Execute il_image_morph_gradient 这个是梯度工具。输出形态学意义上的梯度图像。该工具等价于膨胀减去腐蚀的结果。 用户没有指定形态学相关参数时,不要调用设置参数的插件,传入的 ILImageMorph 类的文件中已经设置了形态学相关的默认参数。 返回结 Execute il_image_morph_top_bottom_hat 这个是高低帽工具。每个像素输出高帽结果或低帽结果中的最大值。 用户没有指定形态学相关参数时,不要调用设置参数的插件,传入的 ILImageMorph 类的文件中已经设置了形态学相关的默认参数。 返回结构是一个序列化的 Execute il_image_op_diff_scalar 这个是计算输入图像和一个标量逐像素差值的工具。输出一个新图像。 工具不需要通过其它工具设置参数,不需要传入ILImageOp的对象。 返回结构是一个序列化的json,其中: ResultImg属性是输出结果图像U Execute il_image_op_normalize_mean_std_dev 这个是归一化输入图像,以当前图像的均值和标准差计算感兴趣的数值范围,拉伸到目标数值范围的工具。不改变图像位深,归一化后的结果图像与输入位深相同、通道数相同。对于彩色的多通道图像,输出也是彩色多通道图像,每个通道分别独立进 Execute il_image_op_scale_rotate 这个是缩放和旋转输入图像的工具。使用用户指定的锚点。若指定的结果图像对象为空图像,则生成和输入图像尺寸相同的图像。否则,将保持结果图像的尺寸,超出图像范围的像素设为背景像素(默认为黑色)。 工具不需要通过其它工具设置参 Execute il_image_op_split 这个是按网格拆分一个图像的工具。为若干个小图 。 工具不需要通过其它工具设置参数,不需要传入ILImageOp的对象。 返回结构是一个序列化的json,其中: ResultImgList属性是输出结果图像URL地 Execute il_image_op_split_x 这个是水平拆分一个图像的工具。为若干个小图 。 工具不需要通过其它工具设置参数,不需要传入ILImageOp的对象。 返回结构是一个序列化的json,其中: ResultImgList属性是输出结果图像URL地址 Execute il_image_threshold LPV Image Threshold initialization tool. This is the initialization tool for image threshold operations. It is Execute il_image_threshold_binarize Binarize the input image and return the result new image. If the lower bound of threshold value is smaller tha Execute il_image_threshold_stretch Stretch the input image and output the result image. Each output pixel represents the difference between the g Execute il_region_rotate_and_translate Rotate and translate a region based on anchor point transformation. 基于锚点的位置和角度变化,生成一个旋转和平移后的ROI区域对象。 The rela Execute il_region_scale Scale a region while keeping the center point unchanged. 缩放当前ROI区域,生成一个新的ROI区域对象,保持区域中心点不变。 The region is sca Execute il_region_translate Translate a region by the specified offset. 平移当前ROI区域,生成一个新的ROI区域对象。 The region is moved by the specified X a Execute image_convert_bgr_to_gray_color 将 BGR 颜色值转换为灰度值 返回结构是一个序列化的JSON字符串,包含以下字段: GrayValue: 转换后的灰度值 Execute image_convert_convert Convert the color image from one color space to another, for example, from BGR to HSV 对彩色图像进行颜色空间转换,如,从 BGR 转 Execute pat_match_new Create a new pattern matching tool instance. 创建一个新的模板匹配工具实例。 This interface provides functionalities of patt
WRITE 113 tools
Write edge_filter_gradient_full Both vertically and horizontally oriented edges are represented by bright pixels. 全梯度,水平和垂直边缘在输出图像中均表现为较亮的像素。 Write edge_filter_gradient_h Horizontally oriented edges are represented by bright pixels. 水平梯度,水平边缘在输出图像中表现为较亮的像素。 Provides image edge e Write edge_filter_set_edge_kernel Set the kernel used in edge filtering of specified type and size. 设置图像边缘滤波器所使用的滤波核类型核尺寸。 Sets the filter ker Write edge_filter_set_edge_polarity Set the edge polarity of interest in edge filtering. 设置滤波器的边缘极性,以获得感兴趣极性的边缘。 Sets the edge polarity of the f Write il_annulus_region Create an annulus region object. 创建一个圆环ROI区域对象。 Annulus region is a ring-shaped area defined by an inner and Write il_annulus_sector_region Create an annulus sector region object. 创建一个环状扇形ROI区域对象。 Annulus sector region is a sector-shaped area within Write il_circle_detector 这个是个圆定位相关的初始化工具,初始化创建一个圆定位工具的功能调用的对象。 是所有圆定位工具下的MCP工具的初始化工具,在这些工具调用之前,都需要保证前处理调用过有且仅有一次此初始化工具。返回结构是一个序列化的JSO Write il_circle_detector_set_accept_score 设置圆定位工具所使用的检测的分数阈值,并返回设置完成的圆定位工具的功能调用的对象。 返回结构是一个序列化的JSON字符串,属性包括: LpvClassName(调用工具函数的名称) 和 InputParameter Write il_circle_detector_set_edge_width 设置圆定位工具所使用的圆边缘的宽度,并返回设置完成的圆定位工具的功能调用的对象。 返回结构是一个序列化的JSON字符串,属性包括: LpvClassName(调用工具函数的名称) 和 InputParameterF Write il_circle_detector_set_find_by 设置圆定位工具所使用的检测的搜索策略,并返回设置完成的圆定位工具的功能调用的对象。 返回结构是一个序列化的JSON字符串,属性包括: LpvClassName(调用工具函数的名称) 和 InputParameter Write il_circle_detector_set_max_count 设置圆定位工具所使用的最大检出个数,并返回设置完成的圆定位工具的功能调用的对象。 返回结构是一个序列化的JSON字符串,属性包括: LpvClassName(调用工具函数的名称) 和 InputParameterF Write il_circle_detector_set_norm_score 设置圆定位工具所使用的是否基于区域中的最大梯度值归一化圆分数,并返回设置完成的圆定位工具的功能调用的对象。 返回结构是一个序列化的JSON字符串,属性包括: LpvClassName(调用工具函数的名称) 和 In Write il_circle_detector_set_polarity 设置圆定位工具所使用的检测的边缘极性,并返回设置完成的圆定位工具的功能调用的对象。 返回结构是一个序列化的JSON字符串,属性包括: LpvClassName(调用工具函数的名称) 和 InputParameter Write il_circle_region Create a circle region object. 创建一个圆形ROI区域对象。 Circle region is a circular area defined by a center point and Write il_ellipse_region Create an ellipse region object. 创建一个椭圆ROI区域对象。 Ellipse region is an elliptical area defined by a center poin Write il_image_filter 这个是图像滤波工具的初始化工具,创建一个 ILImageFilter 对象。 初始化图像滤波工具,用于后续的各种滤波操作。 This is an initialization tool for image filt Write il_image_filter_edge_preserve_denoise 过滤图像噪声并保留边缘工具。 Smooth out image noise while retaining sharp edges. The smoothness of the denoising process i Write il_image_filter_edge_preserve_texture_enhance 增强图像纹理并保留边缘工具。 Enhance the texture on image while retaining sharp edges. The smoothness of the denoising pro Write il_image_filter_equalize 均衡化工具。该工具将归一化亮度,增加图像对比度。 Equalizes the histogram of the input grayscale image. It will normalizes the brightn Write il_image_filter_fill_hole 修补输入图像中的孔洞工具。 Fill holes in the input image by reconstructing missing pixels using nearby pixel values. A ho Write il_image_filter_gaussian 高斯滤波工具。 Apply a Gaussian filter to the input image. Gaussian filter is a smoothing filter that reduces noise Write il_image_filter_linear_filter 线性滤波工具,基于自定义核,对输入图像进行线性滤波。 Apply a linear filter to the input image using a custom kernel. Result pixel valu Write il_image_filter_local_median 中值滤波,输出图像中的每个像素表示输入图像中这一局部区域中所有像素中的中值。 Apply a median filter to the input image. Median filter is effective Write il_image_filter_mean_filter 均值滤波,输出像素中的每个像表示输入图像中这一局部区域中所有像素的均值。 Each output pixel represents the mean pixel value of the pixel values in Write il_image_filter_set_kernel_sigma 设置图像滤波工具的Sigma值和Gain值。 Change the kernel using the specified sigma and gain value. Sigma controls the filter Write il_image_filter_set_kernel_size 设置图像滤波工具的滤波核尺寸。 Change kernel size used in the filter, by default it's a 3x3 kernel. Large kernel size resul Write il_image_filter_sharpen 锐化,使得图像中的边缘更锐利、纹理更清晰。 锐化效果的强度由滤波核的尺寸、 KernelSigma 和 KernelGain 值控制。 Emphasize texture and make the edges cri Write il_image_morph ~english Initialize a morphological operation tool object. This is the initialization tool for all morphologi Write il_image_morph_bottom_hat ~english Bottom-hat operation tool. Erase small elements and details from given images. Bottom-hat operation i Write il_image_morph_close 这个是闭操作工具。减少或消除输入图像中的较暗区域。闭操作等价于先膨胀再腐蚀。 用户没有指定形态学相关参数时,不要调用设置参数的插件,传入的 ILImageMorph 类的文件中已经设置了形态学相关的默认参数。 返回结 Write il_image_morph_dilate 这个是膨胀工具。输出结果中的每个像素为其结构元范围内邻域像素的灰度值中的最大值。 用户没有指定形态学相关参数时,不要调用设置参数的插件,传入的 ILImageMorph 类的文件中已经设置了形态学相关的默认参数。 返 Write il_image_morph_erode 这个是腐蚀工具。输出结果中的每个像素为其结构元范围内邻域像素的灰度值中的最小值。 用户没有指定形态学相关参数时,不要调用设置参数的插件,传入的 ILImageMorph 类的文件中已经设置了形态学相关的默认参数。 返 Write il_image_morph_open 这个是开操作工具。略微增强亮部区域,减少或消除输入图像中的面积较小的亮部,增强面积较大。开操作等价于先腐蚀再膨胀。 用户没有指定形态学相关参数时,不要调用设置参数的插件,传入的 ILImageMorph 类的文件中已经 Write il_image_morph_set_morph_shape ~english Set the structuring element used in morphology operations with specified shape and size. Returns the Write il_image_morph_top_hat 这个是高帽工具。用于从输入图像中提取较小单元和细节。该工具等价于从原输入图像中减去开操作结果。 用户没有指定形态学相关参数时,不要调用设置参数的插件,传入的 ILImageMorph 类的文件中已经设置了形态学相关的默 Write il_image_op_add 这个是将两个图像逐像素相加的工具。输出一个新图像。 工具不需要通过其它工具设置参数,不需要传入ILImageOp的对象。 返回结构是一个序列化的json,其中: ResultImg属性是输出结果图像URL地址。 Write il_image_op_add_scalar 这个是将输入图像和一个标量逐像素相加的工具。输出一个新图像。 工具不需要通过其它工具设置参数,不需要传入ILImageOp的对象。 返回结构是一个序列化的json,其中: ResultImg属性是输出结果图像UR Write il_image_op_add_weighted 这个是将两个图像逐像素相加的工具。输出一个新图像,两个输入图像的尺寸需相同、类型相同。 工具不需要通过其它工具设置参数,不需要传入ILImageOp的对象。 返回结构是一个序列化的json,其中: ResultI Write il_image_op_bit_and 这个是将两个图像逐像素相加的工具。输出一个新图像,两个输入图像的尺寸需相同、类型相同。 工具不需要通过其它工具设置参数,不需要传入ILImageOp的对象。 返回结构是一个序列化的json,其中: ResultI Write il_image_op_bit_and_scalar 这个是将输入图像和一个标量逐像素进行位操作与的工具。输出一个新图像。 工具不需要通过其它工具设置参数,不需要传入ILImageOp的对象。 返回结构是一个序列化的json,其中: ResultImg属性是输出结果 Write il_image_op_bit_not 这个是将输入图像逐像素进行位操作取非的工具。输出一个新图像。 工具不需要通过其它工具设置参数,不需要传入ILImageOp的对象。 返回结构是一个序列化的json,其中: ResultImg属性是输出结果图像UR Write il_image_op_bit_or 这个是将两个图像逐像素进行位操作或的工具。输出一个新图像。 工具不需要通过其它工具设置参数,不需要传入ILImageOp的对象。 返回结构是一个序列化的json,其中: ResultImg属性是输出结果图像URL Write il_image_op_bit_or_scalar 这个是将输入图像和一个标量逐像素进行位操作或的工具。输出一个新图像。 工具不需要通过其它工具设置参数,不需要传入ILImageOp的对象。 返回结构是一个序列化的json,其中: ResultImg属性是输出结果 Write il_image_op_bit_xor 这个是将两个图像逐像素进行位操作异或的工具。输出一个新图像。 工具不需要通过其它工具设置参数,不需要传入ILImageOp的对象。 返回结构是一个序列化的json,其中: ResultImg属性是输出结果图像UR Write il_image_op_bit_xor_scalar 这个是将输入图像和一个标量逐像素进行位操作异或的工具。输出一个新图像。 工具不需要通过其它工具设置参数,不需要传入ILImageOp的对象。 返回结构是一个序列化的json,其中: ResultImg属性是输出结 Write il_image_op_blend 这个是将多帧图像融合用于将多张同一场景的图像融合为一张的工具。在不同的场景,通过使用不同的聚合方式达到不同目的。 工具不需要通过其它工具设置参数,不需要传入ILImageOp的对象。 返回结构是一个序列化的json Write il_image_op_diff 这个是将两个图像逐像素差值的工具。输出一个新图像。 工具不需要通过其它工具设置参数,不需要传入ILImageOp的对象。 返回结构是一个序列化的json,其中: ResultImg属性是输出结果图像URL地址。 Write il_image_op_divide 这个是将第一个输入图像逐像素除以第二个输入图像的像素的工具。输出一个新图像,对于第二个图像中的 0 像素,输出结果为 0。 工具不需要通过其它工具设置参数,不需要传入ILImageOp的对象。 返回结构是一个序列化 Write il_image_op_divide_scalar 这个是将输入图像逐像素除以一个标量的工具。输出一个新图像。 工具不需要通过其它工具设置参数,不需要传入ILImageOp的对象。 返回结构是一个序列化的json,其中: ResultImg属性是输出结果图像URL Write il_image_op_flip 这个是水平或垂直翻转一个图像的工具。若指定的结果图像对象为空图像,则生成和输入图像尺寸相同的图像。否则,将保持结果图像的尺寸,超出图像范围的像素设为背景像素(默认为黑色)。 工具不需要通过其它工具设置参数,不需要传入I Write il_image_op_gain_offset 这个是图像增益和偏移的工具。 工具不需要通过其它工具设置参数,不需要传入ILImageOp的对象。 返回结构是一个序列化的json,其中: ResultImg属性是输出结果图像URL地址。 English: T Write il_image_op_invert 这个是反转图像的工具。8 位图:I' = 255 - I,16 位图:I' = 65535 - I。 工具不需要通过其它工具设置参数,不需要传入ILImageOp的对象。 返回结构是一个序列化的json,其中: Write il_image_op_log 这个是对输入图像进行逐像素对数运算的工具。输出一个新图像。 工具不需要通过其它工具设置参数,不需要传入ILImageOp的对象。 返回结构是一个序列化的json,其中: ResultImg属性是输出结果图像URL Write il_image_op_max 这个是将两个图像逐像素比较,取其最大值的工具。输出一个新图像,两个输入图像需尺寸相同、类型相同。 工具不需要通过其它工具设置参数,不需要传入ILImageOp的对象。 返回结构是一个序列化的json,其中: Re Write il_image_op_max_scalar 这个是将输入图像和一个标量逐像素比较,取其最大值的工具。输出一个新图像。 工具不需要通过其它工具设置参数,不需要传入ILImageOp的对象。 返回结构是一个序列化的json,其中: ResultImg属性是输出 Write il_image_op_min 这个是将两个图像逐像素比较,取其最小值的工具。输出一个新图像,两个输入图像需尺寸相同、类型相同。 工具不需要通过其它工具设置参数,不需要传入ILImageOp的对象。 返回结构是一个序列化的json,其中: Re Write il_image_op_min_scalar 这个是将输入图像和一个标量逐像素比较,取其最小值的工具。输出一个新图像。 工具不需要通过其它工具设置参数,不需要传入ILImageOp的对象。 返回结构是一个序列化的json,其中: ResultImg属性是输出 Write il_image_op_multiply 这个是将两个图像逐像素相乘的工具。输出一个新图像,两个输入图像需尺寸相同、类型相同。 工具不需要通过其它工具设置参数,不需要传入ILImageOp的对象。 返回结构是一个序列化的json,其中: ResultIm Write il_image_op_multiply_scalar 这个是将输入图像和一个标量逐像素相乘的工具。输出一个新图像。 工具不需要通过其它工具设置参数,不需要传入ILImageOp的对象。 返回结构是一个序列化的json,其中: ResultImg属性是输出结果图像UR Write il_image_op_normalize 这个是归一化输入图像,拉伸指定的最小最大值范围内的像素到目标数值范围的工具。不改变图像位深,归一化后的结果图像与输入位深相同、通道数相同。对于彩色的多通道图像,输出也是彩色多通道图像,每个通道分别独立进行归一化。 工具 Write il_image_op_pow 这个是将对输入图像进行逐像素幂运算的工具。输出一个新图像。 工具不需要通过其它工具设置参数,不需要传入ILImageOp的对象。 返回结构是一个序列化的json,其中: ResultImg属性是输出结果图像URL Write il_image_op_resize 这个是缩放输入图像的工具。按照给定的缩放比例。若指定的结果图像对象为空图像,则生成和输入图像尺寸相同的图像。否则,将保持结果图像的尺寸,超出图像范围的像素设为背景像素(默认为黑色)。 工具不需要通过其它工具设置参数,不 Write il_image_op_resize_to 这个是缩放输入图像到指定的尺寸的工具。若指定的结果图像对象为空图像,则生成和输入图像尺寸相同的图像。否则,将保持结果图像的尺寸,超出图像范围的像素设为背景像素(默认为黑色)。 工具不需要通过其它工具设置参数,不需要传入 Write il_image_op_rotate 这个是顺时针旋转输入图像的工具。输出一个新图像,使用图像中心作为旋转中心。若指定的结果图像对象为空图像,则生成和输入图像尺寸相同的图像。否则,将保持结果图像的尺寸,超出图像范围的像素设为背景像素(默认为黑色)。 工具不 Write il_image_op_split_y 这个是垂直拆分一个图像的工具。为若干个小图 。 工具不需要通过其它工具设置参数,不需要传入ILImageOp的对象。 返回结构是一个序列化的json,其中: ResultImgList属性是输出结果图像URL地址 Write il_image_op_sub 这个是将两个图像逐像素相减的工具。输出一个新图像,两个输入图像需尺寸相同、类型相同。 工具不需要通过其它工具设置参数,不需要传入ILImageOp的对象。 返回结构是一个序列化的json,其中: ResultIm Write il_image_op_sub_scalar 这个是将输入图像和一个标量逐像素相减的工具。输出一个新图像。 工具不需要通过其它工具设置参数,不需要传入ILImageOp的对象。 返回结构是一个序列化的json,其中: ResultImg属性是输出结果图像UR Write il_image_op_tile_x 这个是将水平平铺一组图像,合成一张大尺寸图像的工具。输出一个新图像。 工具不需要通过其它工具设置参数,不需要传入ILImageOp的对象。 返回结构是一个序列化的json,其中: ResultImg属性是输出结果 Write il_image_op_tile_y 这个是将垂直平铺一组图像,合成一张大尺寸图像的工具。输出一个新图像。 工具不需要通过其它工具设置参数,不需要传入ILImageOp的对象。 返回结构是一个序列化的json,其中: ResultImg属性是输出结果 Write il_image_threshold_set_threshold Use user-specified threshold value to set the fixed threshold range for foreground pixels. The lower bound of Write il_image_threshold_set_threshold_adapt_globald Use global-adaptive threshold value. The optimal threshold value is calculated base on the entire input image, Write il_image_threshold_set_threshold_adapt_local Use local-adaptive threshold value. This is a legacy function and deprecated since 2.18.0, SetThresholdAdaptLo Write il_line_detector 这是一个直线定位相关的初始化工具,初始化创建一个直线定位工具的功能调用的对象。 是所有直线定位工具下的MCP工具的初始化工具,在这些工具调用之前,都需要保证前处理调用过有且仅有一次此初始化工具。返回结构是一个序列化的 Write il_line_detector_set_accept_score 设置直线定位工具所使用的检测的分数阈值,并返回设置完成的直线定位工具的功能调用的对象。 返回结构是一个序列化的JSON字符串,属性包括: LpvClassName(调用工具函数的名称) 和 InputParamet Write il_line_detector_set_edge_width 设置直线定位工具所使用的直线边缘的宽度,并返回设置完成的直线定位工具的功能调用的对象。 返回结构是一个序列化的JSON字符串,属性包括: LpvClassName(调用工具函数的名称) 和 InputParamet Write il_line_detector_set_find_by 设置直线定位工具所使用的检测的搜索策略,并返回设置完成的直线定位工具的功能调用的对象。 返回结构是一个序列化的JSON字符串,属性包括: LpvClassName(调用工具函数的名称) 和 InputParamet Write il_line_detector_set_max_count 设置直线定位工具所使用的最大检出个数,并返回设置完成的直线定位工具的功能调用的对象。 返回结构是一个序列化的JSON字符串,属性包括: LpvClassName(调用工具函数的名称) 和 InputParamete Write il_line_detector_set_norm_score 设置直线定位工具所使用的是否基于区域中的最大梯度值归一化直线分数,并返回设置完成的直线定位工具的功能调用的对象。 返回结构是一个序列化的JSON字符串,属性包括: LpvClassName(调用工具函数的名称) 和 Write il_line_detector_set_polarity 设置直线定位工具所使用的检测的边缘极性,并返回设置完成的直线定位工具的功能调用的对象。 返回结构是一个序列化的JSON字符串,属性包括: LpvClassName(调用工具函数的名称) 和 InputParamet Write il_mask_region Create a mask region object. 创建一个蒙版ROI区域对象。 Mask region is defined by a binary image mask, where white pixels Write il_poly_region Create a polygon region object. 创建一个多边形ROI区域对象。 Polygon region is defined by a set of vertices that form a cl Write il_rect_region Create a rectangle region object. 创建一个矩形ROI区域对象。 Rectangular region is a simple rectangular area with the giv Write il_region_add Add two regions together. 将当前ROI区域和输入的ROI区域相加。 The new region contains all parts from both input regions. 新的区 Write il_region_intersect Intersect two regions. 将当前ROI区域与输入的ROI区域进行并操作。 The new region contains only the overlapping parts of both reg Write il_region_invert Invert a region. 取反当前ROI区域。 The new region contains all areas outside the original region. 新的区域包含原始区域之外的所有区域。 Write il_region_rotate Rotate a region around its center. 以区域中心为旋转中心顺时针旋转当前ROI区域。 The region is rotated clockwise by the specified a Write il_region_subtract Subtract one region from another. 从当前ROI区域中减去输入的ROI区域。 The new region contains the parts of the original regi Write il_region_to_mask Generate a mask image from a region. 为当前ROI区域生成一个蒙版图像,以指定的位置和尺寸。 White pixels in the mask image represent are Write il_region_union Union two regions. 将当前ROI区域与输入的区域进行与操作。 The new region contains all parts from both input regions. 新的区域包含当前区域 Write il_region_xor XOR two regions. 将当前ROI区域与输入的区域进行异或操作。 The new region contains parts that are exclusively in one region but n Write il_rot_rect_region Create a rotated rectangle region object. 创建一个旋转矩形ROI区域对象。 Rotated rectangle region is a rectangular area tha Write image_compare_set_baseline Set the comparison baseline image (and mask). @param[in] img The input image @param[in] region The input r Write image_convert_bgr_mix Mix the 3 channels in the input BGR color image using the specified weight for individual channel 根据指定的各通道权重, Write image_convert_bgr_to_gray Convert a BGR color image to grayscale 将 BGR 彩色图像转换为灰度图 - Convert a BGR color image to grayscale using the f Write image_convert_color_map Apply color map on the given image to generate a pseudo color image 对输入图像应用颜色映射表,生成伪彩图 - Apply color map on Write image_convert_color_map_multi_band Apply color map of multiple bands on the given image, to generate a pseudo color image for data visualization Write image_convert_convert_color 颜色空间转换 返回结构是一个序列化的JSON字符串,包含以下字段: Blue: 转换后的蓝色通道值 Green: 转换后的绿色通道值 Red: 转换后的红色通道值 Write image_convert_depth16_to8 Convert a 16bit image to 8bit depth, extracting the continues 8 bits from the specified index 转换 16 位图像到 8 位图 Write image_convert_depth8_to16 转换 8 位图像到 16 位图像 返回结构是一个序列化的JSON字符串,包含以下字段: ResultImg: 输出结果图像URL地址 Write image_convert_gray_to_bgr Convert a grayscale image to a BGR color image 将灰度图转换为 BGR 彩色图像 - Convert a grayscale image to a BGR color i Write image_convert_normalize_to16 归一化输入图像到 16 位图 返回结构是一个序列化的JSON字符串,包含以下字段: ResultImg: 输出结果图像URL地址 Write image_convert_normalize_to8 归一化输入图像到 8 位图 返回结构是一个序列化的JSON字符串,包含以下字段: ResultImg: 输出结果图像URL地址 Write image_copy_from 复制输入图像的内容并覆盖当前图像的指定位置。 若输入图像的尺寸过大或超出当前图像的范围,多余部分将被忽略。 返回结构是一个序列化的JSON字符串,包含以下字段: ResultImg: 复制输入图像的内容并覆盖 Write image_new 生成一张像素为11黑色的图像(单通道灰度图,如果要转换BGR彩色图,需调用灰度转彩色工具进行转换),如果后续需要修改大小可以调用Image_SetSize方法。 返回结构是一个序列化的JSON字符串,包含以下字段: Write image_set_channel 设置彩色图像中某一个给定索引的通道图像。仅用于彩色图像。 输入的通道图像应为灰度图,尺寸与当前的彩色图像相同。 返回结构是一个序列化的JSON字符串,包含以下字段: ResultImg: 设置通道后的图像结果 Write image_set_size 设置图像为指定尺寸。如果设置尺寸比原尺寸更大,像素的数值则会为随机,可调用 SetTo() 或 SetToColor() 接口将其全部设置为 0 或其他数值。 返回结构是一个序列化的JSON字符串,包含以下字段: Write image_set_to 将图像中给定区域内的像素设置为指定的灰度值。 灰度值取值范围0-255,越低则越黑,越高则越白,0则为黑色,255是白色。 返回结构是一个序列化的JSON字符串,包含以下字段: ResultImg: 设置灰度 Write image_set_to_color 将图像中给定区域内的像素设置为指定的 RGB 值。仅用于彩色图像。 蓝色通道值范围0-255,绿色通道值范围0-255,红色通道值范围0-255。 返回结构是一个序列化的JSON字符串,包含以下字段: Res Write pat_match_learn Learn the pattern template features from the provided image. 训练模板,使用输入的图像。 The template center can be modifie Write pat_match_learn_with_shape Learn the pattern template features from the provided image. 训练模板,使用输入的图像。 The template center can be modifie Write pat_match_learn_with_shape_image Learn the pattern template features from the provided image. 训练模板,使用输入的图像。 The template center can be modifie Write pat_match_prune Prune the trained template features. 从已训练的模板特征中,剔除某些指定的特征。 Eliminate the features which are located outside o Write pat_match_set_pat_center Customize the center of the pattern template. 修改模板匹配结果中心的设置方式。 By default, we use the template image center a
READ 31 tools
Read display_blob_analysis Display the blob analysis results. 这是针对斑点的图像的交互工具,并返回标记斑点后的图片。 This interface provide functionalities of the Read display_circle_detector Display the circle detection results. 这个是针对圆定位的图像的交互工具,并返回检测和定位圆后的图片。 This interface provide functionalities Read display_line_detector Display the line detection results. 这个是针对直线定位的图像的交互工具,并返回检测和定位直线后的图片。 This interface provide functionalities Read get_tool_tree 获取工具节点和下一层子节点的工具名称的方法,每次调用仅获取一层子节点,主要用于列出某个模块的方法和获取所有方法列表。 参数说明: - name: 要查询的节点名称,并根据name返回该节点及其下一层节点,不传则返回根节点 Read il_histogram_build_draw Build histogram from input image and region, and draw as image. Draw the histogram as a data chart onto provi Read il_histogram_build_items Build histogram from input image and region, output the pixel count for each bin. Collects count of data in p Read il_histogram_build_mean_std_dev Build histogram from input image and region, calculate mean and standard deviation. Calculate the mean and st Read il_histogram_build_min_max Build histogram from input image and region, find minimum and maximum values. Find the bin of minimum or maxi Read il_image_op_project_x 这个是水平投影图像的工具。聚合每一行上的像素。 工具不需要通过其它工具设置参数,不需要传入ILImageOp的对象。 返回结构是一个序列化的json,其中: ResultArray属性是输出的结果向量列表。 Read il_image_op_project_y 这个是垂直投影图像的工具。聚合每一列上的像素。 工具不需要通过其它工具设置参数,不需要传入ILImageOp的对象。 返回结构是一个序列化的json,其中: ResultArray属性是输出的结果向量列表。 Read ilocr_ib_detect 这个是分割并识别行和字符工具。基于输入的图像和区域,分割并识别行和字符,返回字符分割和识别的结果和分数。Results 是字符分割和识别的信息,其中 ocrRes 表示分割和识别的所有结果,每个字符用空格隔开。ocrSc Read image_compare_compare Compare with the baseline image (and mask). @param[in] img The input image @param[in] region The input reg Read image_compare_compare_symmetric 比较输入图像中的两个对称区域,生成差异图和蒙版图。 返回结构是一个序列化的json,其中: DiffResultImg属性是差异图像URL地址, MaskResultImg属性是差异蒙版图像URL地址 Read image_compare_new This interface provide functionalities of image comparison on pixel level. To use this interface, you should Read image_convert_gray_to_bgr_color 将灰度值转换为 BGR 颜色值 返回结构是一个序列化的JSON字符串,包含以下字段: Blue: 蓝色通道值 Green: 绿色通道值 Red: 红色通道值 Read image_get_channel BGR8 从彩色图像中提取某一个给定索引的通道图像。仅用于彩色图像。 返回结构是一个序列化的JSON字符串,包含以下字段: ResultImg: 给定索引的通道的图像结果 Extract the channe Read image_info 获取输入图像的图片信息。 返回结构是一个序列化的JSON字符串,包含以下字段: BytesPerLine : 每行像素数据的字节数,包含行末用于对齐的字节。 Height: 图像的高度,行的总数。 W Read image_stats_count_pixel Count the pixels in the input image which is below, between or above the given threshold bounds. 计算输入图像中灰度值在 Read image_stats_count_pixel_color Count the pixels in the input image which is between or outside the given color bounds. For all of the channe Read image_stats_max Find the pixel of maximum value in the input image, report the value and pixel's position. If there's more th Read image_stats_mean_std_dev Calculate the mean and standard deviation of the input image. 计算输入图像的灰度均值和标准差。 Returns a JSON string with th Read image_stats_min Find the pixel of minimum value in the input image, report the value and pixel's position. If there's more th Read image_stats_sharpness Compute the relative sharpness of the input image, based on the edge gradients. It's usually used to automate Read pat_match_get_pat_center Get the center of the pattern template. 获取当前配置的模板中心。 The template center indicates the report position of the Read pat_match_get_pat_center_mode Get the center mode of the pattern template. 获取当前配置的模板中心设置方式。 This enumeration represents the mode of the pat Read pat_match_get_pat_feature Get the feature points of trained pattern. 获取模板的特征点。 The feature points are extracted from the trained templa Read pat_match_get_pat_image Get the pattern template image. 获取模板图像。 The template image is the original image used for training the patter Read pat_match_get_pat_mask Get the pattern template mask. 获取模板蒙版。 The mask is used to exclude some not-care pixels during training. 蒙版用于 Read pat_match_get_pat_prune_mask Get the prune mask. 获取特征点剔除蒙版。 The prune mask shows which features have been excluded from the pattern. 特征点剔除 Read pat_match_get_pat_shape Get the shape of trained pattern as polylines. 获取模板的形状线。 The shape is represented as polylines extracted from Read pat_match_is_learnt Check whether the LMatch object is well-trained. 检查当前模板匹配的功能对象是否已训练。 Return True if it's trained, otherwise,

Related servers

Other MCP servers with similar tools — same risk classification, starter policies for each.

Questions about Leaper Vision Toolkit

How do I prevent bulk modifications through Leaper Vision Toolkit? +

The Leaper Vision Toolkit server has 113 write tools including edge_filter_gradient_full, edge_filter_gradient_h, edge_filter_set_edge_kernel. Set a rate limit in your policy -- for example, 10 calls per hour prevents an agent from making more than 10 modifications per hour. PolicyLayer enforces this at the gateway, before calls reach Leaper Vision Toolkit.

How many tools does the Leaper Vision Toolkit MCP server expose? +

169 tools across 4 categories: Destructive, Execute, Read, Write. 31 are read-only. 138 can modify, create, or delete data.

How do I enforce a policy on Leaper Vision Toolkit? +

Register the Leaper Vision Toolkit MCP server in PolicyLayer, apply the suggested rules above (adjust the limits to your use case), and point your AI client at the PolicyLayer proxy URL instead of the server directly. Your agents keep the same tools; PolicyLayer evaluates every call against policy before it executes. Nothing to install, live in minutes.

Enforce policy on every Leaper Vision Toolkit tool call.

Deterministic rules across all 169 Leaper Vision Toolkit tools. Per-identity grants. Full audit log. Live in minutes. Nothing to install.

Instant setup, no code required.

169 Leaper Vision Toolkit tools catalogued and risk-classified — across an index of 43,000+ MCP servers.

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.