jiangdongguo / AndroidUSBCamera

🔥🔥🔥Flexible and useful UVC camera engine on Android platform, supporting multi-road cameras!
https://juejin.cn/post/7115229806844706847
Apache License 2.0
2.29k stars 779 forks source link

make camera recording in a service without preview #202

Open imad-123 opened 4 years ago

imad-123 commented 4 years ago

hi @jiangdongguo i had merge https://github.com/saki4510t/UVCCamera/tree/master/usbCameraTest4 with your project to record videos and take photos using service and it worked. but i have a problem on contrast and brightness can you help me please

jiangdongguo commented 4 years ago

mCameraHelper.setModelValue(UVCCameraHelper.MODE_BRIGHTNESS,progress); mCameraHelper.setModelValue(UVCCameraHelper.MODE_CONTRAST,progress); mCameraHelper.getModelValue(UVCCameraHelper.MODE_BRIGHTNESS); mCameraHelper.getModelValue(UVCCameraHelper.MODE_CONTRAST);

hi, can not worked?

imad-123 commented 4 years ago

thanks for your answer @jiangdongguo i don't use mCameraHelper anymore i use camerClient from test4

jiangdongguo commented 4 years ago

It's Okay,and hope it can give you some informations about your problem.

imad-123 commented 4 years ago

thanks @jiangdongguo

imad-123 commented 4 years ago

hi @jiangdongguo i want to add brightness and contrast to test4 can you help me to do that please

MichaelKuzmenko commented 4 years ago

hi @imad-123 can you help me to make camera recording without preview?

MattWanjia commented 1 month ago

It's Okay,and hope it can give you some informations about your problem.

Hi. Is it possible to record or just add a listener without preview? The library is solid but thats the biggest issue underlying. Kindly assist