![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
h5
包子face
走的很慢,但一直未停
展开
-
4.H5 名片识别功能
功能描述: 点击名片识别按钮,将名片上的个人信息扫描并解析出来显示。 实现步骤: 1.点击第一个页面上的名片识别按钮,调出手机摄像头和相册,让用户进行选择 2.获取照片或者图片的base64数据,传值到第二个页面 3.在第二个页面接受参数,调取第三方的ocr接口进行图片解析,得到名片上的个人信息,并显示。 ------------------------代码--------------...原创 2018-02-01 19:26:47 · 2153 阅读 · 0 评论 -
1.canvas的基本使用
参考地址:http://www.runoob.com/html/html5-intro.html ---------------------------canvas的基本使用 Title window.onload = function() { //1.填充画布 varc=document.getElementById("mycanvas"); varctx=c.getContext原创 2018-01-26 11:26:01 · 319 阅读 · 0 评论 -
2.拖动 drag drop allowDrop
参考地址:http://www.runoob.com/html/html5-draganddrop.html 被拖动元素设置 draggable属性为true, ondragstart=drag(event)方法 目标位置元素 设置 ondragover=allowdrop(event) ondrop=drop(event)方法 ---------------------------原创 2018-01-26 11:28:41 · 820 阅读 · 0 评论