Ask Your Question

umyangxd's profile - activity

2020-05-05 20:07:20 -0600 received badge  Notable Question (source)
2017-11-16 13:54:32 -0600 received badge  Popular Question (source)
2013-02-21 00:52:39 -0600 received badge  Student (source)
2013-02-21 00:44:09 -0600 asked a question Sample code in desktop Java?

Hi,

I was wondering if any body can show me some sample code in desktop java of how to display video frames from a webcam? I was told there should be sample code in opencv\samples\java but there isn't any.

Thanks!

2013-02-11 12:01:15 -0600 commented answer Fail to set camera resolution higher then 640x480 using Tutorial 5

Thanks a lot!

2013-02-10 12:49:42 -0600 received badge  Supporter (source)
2013-02-10 12:44:56 -0600 commented answer Fail to set camera resolution higher then 640x480 using Tutorial 5

Thanks for the answer! Is there anyway to get around this? I need to capture and process higher resolution video frames in the background, meaning that I do not need to display them on the screen. I tried to hide JavaCameraView by using android:visibility="invisible" but the sdk stops streaming the frames.

Any suggestions on what I should do? I really appreciate your help.

Thanks!

2013-02-09 13:08:47 -0600 received badge  Editor (source)
2013-02-09 13:08:08 -0600 asked a question Fail to set camera resolution higher then 640x480 using Tutorial 5

Hi, I am new to Opencv and Android, and I am learning the samples provided by the opencv4android sdk. I have a question regarding the Tutorial 5.

The program shows a menu of a list of the resolutions supported by the cameras of my Acer Iconia A100 (up to 1280x720). However, I am not able to use any resolution that is higher than 640x480. Whenever, I set a resolution that is higher than 640x480, the program ignores it, and use only 640x480 to capture the image frames. Downwards works fine, meaning that I can change to any resolutions lower than 640x480.

I have tried the same Tutorial 5 on my Galaxy Nexus, and found the same problem. The only difference is now the program does not allow me to use resolutions higher than 960x620. According to the menu, the cameras on Galaxy Nexus support way higher resolutions.

Thanks for your help!

-umyangxd