-
Notifications
You must be signed in to change notification settings - Fork 3
CropValues
Infiziert90 edited this page Apr 19, 2017
·
3 revisions
acrop.CropValues(clip, range, top, bottom, left, right, color, color_second)
range, top, bottom, left, right, color, color_second
range = 4
top = range
bottom = range
left = range
right = range
color = {0,123,123}
color_second = {21,133,133}
All values for color and color_second are on the 8-bit scale and will be scaled internally depending on the input clip's bitdepth
CropValues will search for values between color and color_second. CropValues will write these integer values into the frame props as "CropTopValue", "CropBottomValue", "CropLeftValue", "CropRightValue" as integer.
clip = core.acrop.CropValues(clip, range=10, color=[25,135,135], color_second=[35,145,145])