checked for None frame, rpi specific