1. 26 Oct, 2016 1 commit
  2. 20 May, 2016 1 commit
  3. 11 May, 2016 1 commit
  4. 20 Oct, 2014 2 commits
    • Chuanbo Weng's avatar
      Update hog.cpp · 2b52bb09
      Chuanbo Weng authored
      Update according to vbystricky's comments
      2b52bb09
    • Chuanbo Weng's avatar
      Correctly enable OpenCL mode in tapi's hog example. · 7452eef6
      Chuanbo Weng authored
      For current OpenCV-CL architecture, if the data buffer
      allocated in UMat are cpu buffer(not ocl buffer) under
      cpu mode, and then pass this UMat to an OpenCL kernel
      as an argument, the OpenCL path will fail and fallback
      to cpu mode. Take HOGDescriptor::oclSvmDetector as an example:
          ocl::setUseOpenCL(false);
          //data allocated in hog.oclSvmDetector will be cpu buffer
          hog.setSVMDetector(HOGDescriptor::getDaimlerPeopleDetector());
          ocl::setUseOpenCL(true);
          //We enabled OpenCL, but hog.oclSvmDetector are cpu buffer,
          //so it will fail in the function ocl_classify_hists
          //when reach to this line
          //idx = k.set(idx, ocl::KernelArg::PtrReadOnly(detector));
          hog.detectMultiScale(img, found, hit_threshold, win_stride,
                  Size(0, 0), scale, gr_threshold);
      
      Similar problems heppen on img_aux and img. So we should re-define
      or re-set these UMat when do mode switch (CPU -> OpenCL) in order
      to make their data be allocated by ocl and then OpenCL path will
      succeed.
      Signed-off-by: 's avatarChuanbo Weng <chuanbo.weng@intel.com>
      7452eef6
  5. 23 Sep, 2014 1 commit
  6. 14 Jul, 2014 1 commit
  7. 07 Jul, 2014 1 commit
  8. 24 Jan, 2014 2 commits
  9. 21 Oct, 2013 1 commit
  10. 03 Oct, 2013 1 commit
  11. 21 Aug, 2013 1 commit
  12. 28 Jun, 2013 1 commit
  13. 19 Jun, 2013 1 commit
  14. 24 May, 2013 1 commit
  15. 12 Apr, 2013 1 commit
  16. 08 Apr, 2013 2 commits
  17. 20 Mar, 2013 1 commit
  18. 17 Oct, 2012 2 commits
  19. 08 Aug, 2012 1 commit
  20. 15 Jun, 2012 1 commit
  21. 07 Jun, 2012 1 commit
  22. 30 Jan, 2012 1 commit
  23. 31 Oct, 2011 1 commit
  24. 24 Oct, 2011 1 commit
  25. 14 Jan, 2011 1 commit
  26. 12 Jan, 2011 1 commit
  27. 30 Dec, 2010 1 commit
  28. 29 Dec, 2010 2 commits
  29. 21 Dec, 2010 1 commit
  30. 20 Dec, 2010 1 commit
  31. 07 Dec, 2010 1 commit
  32. 03 Dec, 2010 1 commit
  33. 24 Nov, 2010 2 commits
  34. 22 Nov, 2010 1 commit