mdyusuf000 / javacv

Automatically exported from code.google.com/p/javacv
GNU General Public License v2.0
0 stars 0 forks source link

VideoInputFrameGrabber to grab high resolution image #261

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create VideoInputFrameGrabber object
2. grab video
3. grab frame
4. grabber.setImageHeight(3000);
5. grabber.setImageWidth(4000);

What is the expected output? What do you see instead?
I see the output image with 1600x1200 resolution. 
What version of the product are you using? On what operating system?
1. Windows 7
2. OpenCV 2.4.3

Please provide any additional information below.

Is it possible to output an image with 4000x3000 resolution

Original issue reported on code.google.com by rameshs...@gmail.com on 5 Dec 2012 at 6:57

GoogleCodeExporter commented 9 years ago
If your camera supports it yes. Does your camera support 4000x3000?

Original comment by samuel.a...@gmail.com on 6 Dec 2012 at 1:38

GoogleCodeExporter commented 9 years ago
Yes, the camera specification says it supports 4000x3000 "image resolution" and 
1600x1200 "video resolution". My understanding is since we are grabbing the 
image from the video streaming, we are able to achieve only 1600x1200 
resolution which is the maximum resolution of video. Is there any way to 
capture the snapshot of an image without Video Streaming (without using 
FrameGrabber)?

Thanks for your feedback Samuel.

Original comment by rameshs...@gmail.com on 6 Dec 2012 at 1:43

GoogleCodeExporter commented 9 years ago
A digital still camera? What you are looking for is probably something like 
JTwain:
http://asprise.com/product/jtwain/

Original comment by samuel.a...@gmail.com on 7 Dec 2012 at 1:56