Camera2 API | Previewing and Capturing image | Kotlin | android studio

preview_player
Показать описание
Hey everyone in this video you will learn to use camera2 api using Kotlin language.
After this you will be able to:
1 - Preview the camera frames
2 - Capture the image
3 - Save image using image reader

This is very helpful video who want to do computer vision or create a camera application. Since after this you can preprocess each frame before previewing it to the user.

We will use TextureView to preview the frames. CameraManager is used for opening the camera as well as creating capture request as well as session.

Thanks for watching the video :)

contact me :

camera2api,kotlin,camera2,api,java,create capture request,surface texture,texture view,camera api,preview camera,android app,android studio
Рекомендации по теме
Комментарии
Автор

I am a student majoring in computer science. Your lecture has been very helpful to me. thank you

rzxnpnw
Автор

I watched the full video and implemented which works fine. Thanks for the tutorial.

sknoman
Автор

Nice video, very clear and in a nice sequence. It would be very good for your audience and followers, if you can attach the code. With your code will be easier to reproduce, test and debug increasing the impact of your video. That´s my humble suggestion

Roger-et
Автор

Hi your video was useful for me but I got this as assessment and I have to pass captured photo to previous activity into the list with name, (so it should happened within app no need to access internal storage), I tried to do large bitmap with use of viewmodel and livedata but don't got luck, will u please help?

adityashigwan
Автор

Hii
I recently watched your video and trying to learn
But my app is crashing after I run it
Can you please provide a solution for it?

shraddhakhatri
Автор

Can you please share the code of this project?\

RK-lvqc
Автор

Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers How can I deal with this?

李浩南-qe
Автор

how do i add a border to the camera view so that the image is cropped to the size of the border?

johnlamsdan
Автор

brother the app is crashing idk why, can you help me out with that?

proxi
Автор

how to turn the flash on/off during capture
Please respond.

talksai
Автор

Thanks so much for your videos. They are clear and very helpful.
Can you please make a camera permission video for Java. Also can you make a video for tflite pose-estimation in Java?
Thanks again so much for your help. it means a lot

kdzmuzo
Автор

can i used surface view instead of textureview

freesources
Автор

1 - How do I save photos with timestamp?
2 - How do I put a frame on the photo, both in the preview and in the final photo?

DimiHycks
Автор

Why can't the imageReader get the TensorBuffer updated in the textureView?

spectrum
Автор

Hi, How to use wide angle camera capture useing Camera2 API or any other API.

manikandanr
Автор

"Nice video! Could you please guide me on how to save images to the gallery and perform predictions on real-time camera input and still images?"

vijaygarg
Автор

bhai, how to do for both camera at the same time,

RajveerSingh-vfpr
Автор

can you guide me how to zoom the camera ?

khanhduy
Автор

Could you please share the codebase for this app?

sanketbhangale
Автор

How really to make print in image Camera with actual date day month and year in print screen.????
Begging

lglf
join shbcf.ru