Camera Preview and Capture

I have been working to attach a camera and have a preview in Servoy. So far I have used a webcam bean developed from the sarxos library. A webcam gives me a preview, user clicks to take the photo,then is allowed to review before being saved to server. However, the quality is not very great on the 15MP webcam that we are using. I have tried a handful of webcams with no success in quality. Wondering if anyone had a better solution to grab decent quality photos form a digital camera /webcam directly attached to the PC.

Thanks.