Ask Your Question
2

What is TAPI?

asked 2014-07-10 07:45:39 -0600

Adi gravatar image

The OpenCV code-base contains several mentions of tapi-related sample etc.
What is "tapi"?

edit retag flag offensive close merge delete

Comments

1

+1 - Same question I have been keeping in my mind for some time... thank you

Abid Rahman K gravatar imageAbid Rahman K ( 2014-07-10 10:42:55 -0600 )edit

2 answers

Sort by » oldest newest most voted
6

answered 2014-07-10 08:18:33 -0600

"T-API" means "Transparent API".

I think that the following document is useful to understand "Transparent API". http://code.opencv.org/attachments/1591/OpenCV3_0_CVPR_2014.pptx

edit flag offensive delete link more
1

answered 2014-07-15 02:38:59 -0600

Adi gravatar image

To complement @dandelion1124's answer, here is the relevant slide 19:

GPU acceleration: Transparent API

  • same code can run on CPU or GPU – no specialized cv::Canny, ocl::Canny, etc; no recompilation is needed
  • minimal or no changes in the existing code
    • CPU-only processing – no changes required
  • includes the following key components:
    • new data structure UMat
    • simple and robust mechanism for async processing
    • open to extensions: convenient OpenCL wrappers for accelerating user algorithms
edit flag offensive delete link more

Comments

Please let me explain further. If you call ocl::setUseOpenCL() explicitly, you can select the behavior of UMat. This function's argument is boolean value. If you use this function, you need to include <opencv2/core/ocl.hpp>.

dandelion1124 gravatar imagedandelion1124 ( 2014-07-15 06:32:05 -0600 )edit

Question Tools

Stats

Asked: 2014-07-10 07:45:39 -0600

Seen: 2,949 times

Last updated: Jul 15 '14