js实现调用摄像头拍照功能
<!DOCTYPE html>
<html lang="en">
<head>
<!-- 样式部分可以忽略 -->
<style>
* {
padding: 0;
margin: 0;
}
div {
width: 100vw;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.btn {
width: 100px;
height: 50px;
border-radius