Introduction to Android Camera Development (4): Use of USB/UVC Camera

Introduction to Android Camera Development (4): Use of USB/UVC Camera

This article is based on the open source project https://github.com/saki4510t/UVCCamera for secondary packaging and use.

In the previous articles, we introduced the basic function application from Camera to CameraX, and also attached the relevant code. Those who need the source code can scroll to the bottom to get it.

In this article, we will learn about what USB/UVC cameras are and how they differ from traditional cameras, and we will output the code with everyone as usual.

Introduction

UVC, which stands for USB Video Class, is a protocol standard specifically defined for USB video capture devices. It was launched jointly by Microsoft and other device manufacturers and has become one of the standards of the USB organization.

environment

Configure the project to support USB/UVC cameras. Includes adding necessary permissions and dependencies. Here is the compiled aar package. Those who are too lazy to compile it themselves can use it directly;

	<uses-permission android:name="android.permission.RECORD_AUDIO"/>
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />

    <uses-permi

Guess you like

Origin blog.csdn.net/qq_35350654/article/details/132593725
Recommended