detect-main

0.1.14 • Public • Published

detect-main

检测定制页页面的元素,返回元素定位信息和标签信息列表

Usage

import fs from 'fs'
import path from 'path'
import getImageLabels from 'detect-main'

const source = path.resolve(__dirname, './inference/images/01.jpg');
const image = fs.readFileSync(source);

const results = getImageLabels(image);

console.log(results);

Readme

Keywords

none

Package Sidebar

Install

npm i detect-main

Weekly Downloads

0

Version

0.1.14

License

ISC

Unpacked Size

26.5 kB

Total Files

26

Last publish

Collaborators

  • 58chr