converted CPU-based example to T-API (Mat 2 UMat, etc)