ocr-drawlabel
Introduction
ocr-drawlabel 是基于vue、fabric框架开发,绘制标注、表格等
代码优化中
示例代码 :https://gitee.com/egsong/ocr-draw-label-examples
Installation
npm install ocr-drawlabel -S
Usage
import 'fabric'
import 'fabric-customise-controls';
import 'ocr-drawlabel/lib/ocr-drawlabel.css';
import OCRDrawLabel from 'ocr-drawlabel';
Vue.use(OCRDrawLabel);
<ocr-drawlabel ref="addrawlabel" :id="'addrawlabel'" @updatedObject="updatedObject" @addedObject="addedObject" @deleteObject="deleteObject" @selectedObject="selectedObject"></ocr-drawlabel>
效果展示
新加功能:鼠标右击拖拽画布