B4J Question B4J USB camera module

TomKluz

Active Member
Licensed User
I am thinking about small project with usb camera module. Does anyone has any experience in this case ?
I didn't found much here. Thank you very much for any answer. TomKluz
 

TomKluz

Active Member
Licensed User
Thank you for answer. I have seen this thread but it has in title 'Web camera library'.
Is it usefull also for usb cam ?
 
Upvote 0

TomKluz

Active Member
Licensed User
Can You imagine ! Works !
I have made a picture from my internal laptop camera !
Obviously now I has to learn how to use this library but maybe after buying an external camera.
Thank you so much. TomKLuz
 
Upvote 0

peacemaker

Expert
Licensed User
Longtime User
My work was just one in the chain :)
 
Upvote 0

TomKluz

Active Member
Licensed User
Hi. I have got 1MP usb camera module with resolution up to 1280x720 and using such simple soft like AMCap it is possible to switch on all available options. Unfortunately using an example published by Peacemaker it is not possible. The only available options are 320x240 and 640x480. When taking any other I am getting immediately an error within SarxosWebcam library.
May I ask you to tell me if I am doing something wrong ? Have any of you had similar problems ?
 

Attachments

  • AMCap.PNG
    AMCap.PNG
    111 KB · Views: 9
  • 800x600.PNG
    800x600.PNG
    104.7 KB · Views: 9
Upvote 0

peacemaker

Expert
Licensed User
Longtime User
Some camera software may make the fake highest resolution, interpolated, just for reference.
What width , height do you try to set ?
Try to debug code line by line, inspecting what camera device is found and selected and next...

My default example works ok as-is on my laptop, and shows the same resolutions list as on your screenshot, about my built-in camera. So, it's not 1M, just 0.3M.
 
Last edited:
Upvote 0

TomKluz

Active Member
Licensed User
Was trying everyone from the list (it is on the picture). In parallel I was trying with AMcap and also Debut Video. Thay 'can', mi not )
800x600 for example.
 
Upvote 0

TomKluz

Active Member
Licensed User
Parallel it means in this case that I have check with AMCap all options and after with B4J. No mistake ) Don't work really.
320x240 or 640x480 I can switch any time.
 
Upvote 0
Top