Color
- class plugins.convert.color.manual_balance.Color(config_file=None, config=None)
Bases:
AdjustmentAdjust the mean of the color channels to be the same for the swap and old frame
Methods Summary
adjust_contrast(image)Adjust image contrast and brightness.
convert_colorspace(new_face[, to_bgr])Convert colorspace based on mode or back to bgr
process(old_face, new_face, raw_mask)Override for specific color adjustment process
run(old_face, new_face, raw_mask)Perform selected adjustment on face
Methods Documentation
- adjust_contrast(image)
Adjust image contrast and brightness.
- convert_colorspace(new_face, to_bgr=False)
Convert colorspace based on mode or back to bgr
- process(old_face, new_face, raw_mask)
Override for specific color adjustment process
- run(old_face, new_face, raw_mask)
Perform selected adjustment on face
- adjust_contrast(image)
Adjust image contrast and brightness.
- convert_colorspace(new_face, to_bgr=False)
Convert colorspace based on mode or back to bgr
- process(old_face, new_face, raw_mask)
Override for specific color adjustment process