1 | initial version |
Berak version is 4.1.1, VS 2109 ver 16.3.5
I got it to work,
Ultimately the function that calls removeLitght, must past a {360,1} Step value... So I found this cvtColor, which is the video equivalent of the image converTo ---> and then what ever you need. So BGR->Gray made it for me. Thanks. I guess by the time "Opencv by Example" was released this was not an issue.
Thanks Fabian
See the pice of working code
Mat frame, myFrame; int img_index = 0; while (images.read(frame)) { //// Preprocess image cvtColor(frame, myFrame, COLOR_BGR2GRAY); Mat pre = preprocessImage(myFrame);
2 | No.2 Revision |
Berak version is 4.1.1, VS 2109 ver 16.3.5
I got it to work,
Ultimately the function that calls removeLitght, must past a {360,1} Step value... So I found this cvtColor, which is the video equivalent of the image converTo ---> and then what ever you need. So BGR->Gray made it for me. Thanks. I guess by the time "Opencv by Example" was released this was not an issue.
Thanks Fabian
See the pice of working codecode.
Mat frame, myFrame;
int img_index = 0;
while (images.read(frame)) {
//// Preprocess image
cvtColor(frame, myFrame, COLOR_BGR2GRAY);
Mat pre = 3 | No.3 Revision |
Berak version is 4.1.1, VS 2109 ver 16.3.5
I got it to work,
Ultimately the function that calls removeLitght, must past a {360,1} Step value... So I found this cvtColor, cvtColor
, which is the video equivalent of the image converTo ---> and then what ever you need. So BGR->Gray made it for me. Thanks. I guess by the time "Opencv by Example" was released this was not an issue.
Thanks Fabian
See the pice of working code.
Mat frame, myFrame;
int img_index = 0;
while (images.read(frame)) {
//// Preprocess image
cvtColor(frame, myFrame, COLOR_BGR2GRAY);
Mat pre = preprocessImage(myFrame);