Ask Your Question

Revision history [back]

Does Opencv3.4 support Mali-T860 GPU acceloration?

My Development Platform:

  1. Android7.0 (abi-armeabi-v7a) with android studio The OpenCV version is 3.4 Feature: UVC CAMERA + OPENCV(For Face Detection) I have already successfully run uvc with opencv on my board, but the performance is not as well as expetected All this set of code runs on CPU

int flags = cv::CASCADE_FIND_BIGGEST_OBJECT|cv::CASCADE_DO_ROUGH_SEARCH; cv::Size minFeatureSize(30, 30); float searchScaleFactor = 1.1f; int minNeighbors = 2; faceDetector.detectMultiScale(equalizedImg, faces, searchScaleFactor, minNeighbors, flags, minFeatureSize);

  1. So I wonder if it's possible to run faceDetector.detectMultiScale on GPU(Mali-T860)
  2. I checked the source file ocl.hpp

    enum { UNKNOWN_VENDOR=0, VENDOR_AMD=1, VENDOR_INTEL=2, VENDOR_NVIDIA=3 }; int vendorID() const; It seems that OpenCV only supports 3 types of GPU for now

So here comes my Question: Is it possible to run face detection on Mali-T860(it supports opencl 1.2) If the answer is yes, then how to do it? There is no any answers on the opencv.org

click to hide/show revision 2
None

updated 2018-07-16 23:18:22 -0600

berak gravatar image

Does Opencv3.4 support Mali-T860 GPU acceloration?

My Development Platform:

  1. Android7.0 (abi-armeabi-v7a) with android studio The OpenCV version is 3.4 Feature: UVC CAMERA + OPENCV(For Face Detection) I have already successfully run uvc with opencv on my board, but the performance is not as well as expetected All this set of code runs on CPU

int flags = cv::CASCADE_FIND_BIGGEST_OBJECT|cv::CASCADE_DO_ROUGH_SEARCH; cv::Size minFeatureSize(30, 30); float searchScaleFactor = 1.1f; int minNeighbors = 2; faceDetector.detectMultiScale(equalizedImg, faces, searchScaleFactor, minNeighbors, flags, minFeatureSize);

minFeatureSize);
  1. So I wonder if it's possible to run faceDetector.detectMultiScale on GPU(Mali-T860)
  2. I checked the source file ocl.hppocl.hpp

    enum { UNKNOWN_VENDOR=0, VENDOR_AMD=1, VENDOR_INTEL=2, VENDOR_NVIDIA=3 }; int vendorID() const; const;

It seems that OpenCV only supports 3 types of GPU for now

So here comes my Question: Is it possible to run face detection on Mali-T860(it supports opencl 1.2) If the answer is yes, then how to do it? There is no any answers on the opencv.org

click to hide/show revision 3
retagged

updated 2018-07-16 23:18:37 -0600

berak gravatar image

Does Opencv3.4 support Mali-T860 GPU acceloration?

My Development Platform:

  1. Android7.0 (abi-armeabi-v7a) with android studio The OpenCV version is 3.4 Feature: UVC CAMERA + OPENCV(For Face Detection) I have already successfully run uvc with opencv on my board, but the performance is not as well as expetected All this set of code runs on CPU

int flags = cv::CASCADE_FIND_BIGGEST_OBJECT|cv::CASCADE_DO_ROUGH_SEARCH; cv::Size minFeatureSize(30, 30); float searchScaleFactor = 1.1f; int minNeighbors = 2; faceDetector.detectMultiScale(equalizedImg, faces, searchScaleFactor, minNeighbors, flags, minFeatureSize);

  1. So I wonder if it's possible to run faceDetector.detectMultiScale on GPU(Mali-T860)
  2. I checked the source file ocl.hpp

    enum { UNKNOWN_VENDOR=0, VENDOR_AMD=1, VENDOR_INTEL=2, VENDOR_NVIDIA=3 }; int vendorID() const;

It seems that OpenCV only supports 3 types of GPU for now

So here comes my Question: Is it possible to run face detection on Mali-T860(it supports opencl 1.2) If the answer is yes, then how to do it? There is no any answers on the opencv.org

Does Opencv3.4 support Mali-T860 GPU acceloration?

My Development Platform:

  1. Android7.0 (abi-armeabi-v7a) with android studio The OpenCV version is 3.4 Feature: UVC CAMERA + OPENCV(For Face Detection) I have already successfully run uvc with opencv on my board, but the performance is not as well as expetected All this set of code runs on CPU

int flags = cv::CASCADE_FIND_BIGGEST_OBJECT|cv::CASCADE_DO_ROUGH_SEARCH; cv::Size minFeatureSize(30, 30); 30); float searchScaleFactor = 1.1f; int minNeighbors = 2; faceDetector.detectMultiScale(equalizedImg, faces, searchScaleFactor, minNeighbors, flags, minFeatureSize);

minFeatureSize);


  1. So I wonder if it's possible to run faceDetector.detectMultiScale on GPU(Mali-T860)
  2. I checked the source file ocl.hpp

    enum { UNKNOWN_VENDOR=0, VENDOR_AMD=1, VENDOR_INTEL=2, VENDOR_NVIDIA=3 }; int vendorID() const;

const;
It seems that OpenCV only supports 3 types of GPU for now

So here comes my Question: Is it possible to run face detection on Mali-T860(it supports opencl 1.2) If the answer is yes, then how to do it? There is no any answers on the opencv.org

Does Opencv3.4 support Mali-T860 GPU acceloration?

My Development Platform:

    • Android7.0 (abi-armeabi-v7a) with (abi-armeabi-v7a)with android studio studio
    • The OpenCV OpenCV version is 3.4 is 3.4
    • Feature: UVC CAMERA + OPENCV(For Face Detection) Face Detection)
    • I have have already successfully run uvc with opencv on uvc withopencv on my board, but the performance is not as well as expetected expetected
    • All this set of code code runs on CPU


int flags = cv::CASCADE_FIND_BIGGEST_OBJECT|cv::CASCADE_DO_ROUGH_SEARCH;
 cv::Size minFeatureSize(30, 30);
 float searchScaleFactor = 1.1f;
 int minNeighbors = 2;  
faceDetector.detectMultiScale(equalizedImg, faces, searchScaleFactor, minNeighbors, flags, minFeatureSize);


    minFeatureSize);

  • So I wonder if it's possible to run run faceDetector.detectMultiScale on on GPU(Mali-T860)
  • I checked the source file ocl.hpp

    enum { UNKNOWN_VENDOR=0, VENDOR_AMD=1, VENDOR_INTEL=2, VENDOR_NVIDIA=3 }; int vendorID() const;
    It ocl.hpp, It seems that OpenCV only supports 3 3 types of GPU for now


enum
    {
UNKNOWN_VENDOR=0,
        VENDOR_AMD=1,
        VENDOR_INTEL=2,
        VENDOR_NVIDIA=3
    };
    int vendorID() const;

So here comes my Question: Is it possible to run face detection on Mali-T860(it supports opencl 1.2) If the answer is yes, then how to do it? There is no any answers on the opencv.org