Skip to content

Build with OpenCV version >4.0#16

Open
nofreewill42 wants to merge 1 commit intoOpenCalib:masterfrom
nofreewill42:patch-1
Open

Build with OpenCV version >4.0#16
nofreewill42 wants to merge 1 commit intoOpenCalib:masterfrom
nofreewill42:patch-1

Conversation

@nofreewill42
Copy link

Build fails, needs cv:: before CV_HSV2BGR after OpenCV version 4.0, at least that's what I suppose based on the following issuecomment: NVIDIA/DALI#735 (comment)

Build fails, needs cv:: before CV_HSV2BGR after OpenCV version 4.0, at least that's what I suppose based on the following issuecomment: NVIDIA/DALI#735 (comment)
@LmitchellSTLA
Copy link

Change line to: cv::cvtColor(color, color_bar, cv::COLOR_HSV2BGR);
also add initialization at top: #include <random>

@chadrs2
Copy link

chadrs2 commented Jan 16, 2025

This what I added to my fork of this repo as well. Everything else should work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants