AI Pain Recognition Tool Detects Pain Before, During and Aft