openframeworks / openframeworks/openFrameworks

opencv GPU not enabled?

Open
#5,072 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
10.4k
Forks
2.6k
Avg merge
1d 21h
Merged PRs (30d)
9

Description

when trying to run opencv GPU code i get a bunch or error messages.

it looks like this apothecary formula has OpenCL and CUDA = OFF
https://github.com/openframeworks/openFrameworks/blob/master/addons/ofxOpenCv/scripts/formulas/opencv.sh#L75

is there a reason for it to be not enabled?

here my forum post about this with more details:
https://forum.openframeworks.cc/t/how-do-i-use-an-alternative-version-of-opencv-with-of/23280/3?u=stephanschulz

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing addons/ofxOpenCv/scripts/formulas/opencv.sh around line 75 and the linked forum post, then reproduce the reported OpenCV GPU errors. Determine whether the OpenCL and CUDA settings are intentionally disabled and document the reason or confirm the required configuration; done means the issue has a clear explanation and an actionable build outcome.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, opencv, shell
Domain
build-system, computer-vision
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.