物体擦除
概述
擦除图片中不需要的遮挡物,并用背景内容填充以提高图像质量。擦除位置为规则矩形,需要给出坐标和大小。
参数
action名称:inpainting
| 参数 | 
取值 | 
说明 | 
| x | 
0-2000 | 
擦除物体左上角起点相对原点的 x 坐标,必选 | 
| y | 
0-2000 | 
擦除物体左上角起点相对原点的 y 坐标,必选 | 
| w | 
1-2000 | 
w,擦除区域的宽度,必选 | 
| h | 
1-2000 | 
h,擦除区域的高度,必选 | 
示例
https://doc.bce.baidu.com/bce-documentation/BOS/src_inpainting.jpg?x-bce-process=image/inpainting,x_502,y_158,w_275,h_229 

