Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't compile under opencv 4.1 #290

Open
dlintw opened this issue May 19, 2019 · 4 comments
Open

Can't compile under opencv 4.1 #290

dlintw opened this issue May 19, 2019 · 4 comments

Comments

@dlintw
Copy link
Contributor

dlintw commented May 19, 2019

cd scripts/com.r2studio.Tsum/pre_process
cmake .
make

robotmon-scripts/scripts/com.r2studio.Tsum/pre_process/find_diff.cpp:14:22: error: ‘CV_BGR2HLS’ was not declared
 in this scope                                                                                                                 
   cvtColor(src1,src1,CV_BGR2HLS); 
@poi5305
Copy link
Contributor

poi5305 commented May 21, 2019

Try COLOR_BGR2HLS. (I was using OpenCV 2.x when wrote these code)

@dlintw
Copy link
Contributor Author

dlintw commented May 24, 2019

  1. what is the correct pre process step?

  2. why the script overwrite some PNG files from ttung directory?

  3. How to generate ttung PNG files?

@poi5305
Copy link
Contributor

poi5305 commented May 27, 2019

ttung PNG was provided by someone (ttung).
I think he was screenshot him self.

@poi5305
Copy link
Contributor

poi5305 commented May 27, 2019

Oh, why not use quick mode for auto playing?
I want to remove slow mode some day.
(Slow mode is template matching. Quick mode is grouping colors.)

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

No branches or pull requests

2 participants