2016-03-16 13:23:34 -0600 | answered a question | OpenCV and MJPEG USB Webcam you have defined "frame" as a Mat matrix but you are not storing anything try to use so that frame is displayed as the capturing device and as mention don't initialise the camera in the loop |
2016-03-16 13:14:33 -0600 | received badge | ● Enthusiast |
2016-03-15 17:24:14 -0600 | received badge | ● Scholar (source) |
2016-03-14 08:46:06 -0600 | commented answer | Assertion fail when merging channels in OpenCV That makes more sense |
2016-03-14 04:25:12 -0600 | commented answer | Assertion fail when merging channels in OpenCV A million thanks again, it seems your way is less resource intensive on my camera and it doesn't have noise in it, there is a small mistake at the end you are merging back into src, image is not defined |
2016-03-13 19:29:48 -0600 | commented answer | Assertion fail when merging channels in OpenCV thank you once again for your solution, upon testing it with the modified values the output is a video feed with a blue filter |
2016-03-13 15:57:24 -0600 | received badge | ● Supporter (source) |
2016-03-13 15:57:12 -0600 | commented answer | Assertion fail when merging channels in OpenCV Thank you very much for your answer :-), I am not sure on how the addWeighted function works, but trying out the code gives me a purple filter I have tried a different approach using the principles from my previous code and it got me closer to an approximation of the final solution, here is the code: i did calculations on them and then i reassembled them back using the same line backwards |
2016-03-12 04:11:11 -0600 | commented question | Assertion fail when merging channels in OpenCV After adjusting the channels the error still lies on merge, the problem is: the argument list does not match (float[3], int, cv::Mat ) |
2016-03-11 12:47:01 -0600 | asked a question | Assertion fail when merging channels in OpenCV I am working on a code that receives a video feed and edits it so that the video displayed has been altered in a way that the user sees what a colorblind person sees, the code is done but i am having issues merging the channels into a final frame. Here is the code i am using: using namespace cv; using namespace std; int main(int argc, const char** argv) { VideoCapture cap(0); if (!cap.isOpened()) return -1; cap.set(CV_CAP_PROP_FRAME_HEIGHT, 400); cap.set(CV_CAP_PROP_FRAME_WIDTH, 400); (more) |