[PD] diff frame from previous frame with Gem