1 | initial version |
it's probably far easier, to save your image from opencv:
Mat takeAPic= new Mat();
capture.read(takeAPic);
Imagecodecs.imwrite("my.png", takeAPic);
(but the error is related to your server, it does not conform too the mjpg protocol)
2 | No.2 Revision |
it's probably far easier, to save your image from opencv:
Mat takeAPic= new Mat();
capture.read(takeAPic);
Imagecodecs.imwrite("my.png", takeAPic);
(but the error is related to your server, ipcam/server, it does not conform too the mjpg mjpeg protocol)
3 | No.3 Revision |
it's probably far easier, to save your image from opencv:
Mat takeAPic= new Mat();
capture.read(takeAPic);
if ( ! takeAPic.empty() ) // ipcam problem
Imagecodecs.imwrite("my.png", takeAPic);
(but the error is related to your ipcam/server, it does not conform too the mjpeg protocol)