Hi, Nice code, but it seems that the variable process_this_frame need to be add in the def as a global variable to work.