A digital image frame editing method comprising, by a processor: receiving an input set of one or more digital image frames and a defined region of interest, ROI, that contains text; separating text from background in the ROI; determining an input background color for each color channel in the separated background for the ROI in the one or more digital image frames of the input set; applying a text infilling function to the ROI in each of the digital image frames of the input set, wherein the text infilling function modifies text-containing pixels in the ROI so that those pixels exhibit a background color of the ROI instead of the text color in each of the digital image frames of the input set to yield a preliminary output set of one or more digital image frames; determining , for each color channel, an average of the color values of all pixels in the preliminary output set; determining a residual corrective signal that corresponds to a measurement of background color error between the input set and the preliminary output set, wherein the residual signal is generated by comparing the average of the color values of each color channel of all pixels in the preliminary output set to the determined input background color of each corresponding color channel; and applying the residual corrective signal to the ROI in each of the digital image frames of the preliminary output set by, for each color channel of each pixel of each digital image frame of the preliminary output set, adjusting a color value of that color channel by a correction value for that color channel to yield a final output set of one or more digital image frames, wherein the ROI in the final output set does not contain the text. receiving an input set of one or more digital image frames and a defined region of interest, ROI, that contains text; separating text from background in the ROI; determining an input background color for each color channel in the separated background for the ROI in the one or more digital image frames of the input set; applying a text infilling function to the ROI in each of the digital image frames of the input set, wherein the text infilling function modifies text-containing pixels in the ROI so that those pixels exhibit a background color of the ROI instead of the text color in each of the digital image frames of the input set to yield a preliminary output set of one or more digital image frames; determining , for each color channel, an average of the color values of all pixels in the preliminary output set; determining a residual corrective signal that corresponds to a measurement of background color error between the input set and the preliminary output set, wherein the residual signal is generated by comparing the average of the color values of each color channel of all pixels in the preliminary output set to the determined input background color of each corresponding color channel; and applying the residual corrective signal to the ROI in each of the digital image frames of the preliminary output set by, for each color channel of each pixel of each digital image frame of the preliminary output set, adjusting a color value of that color channel by a correction value for that color channel to yield a final output set of one or more digital image frames, wherein the ROI in the final output set does not contain the text. <EOS>