JSPM

intuitivo_cv

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q30438F
  • License MIT

for intuitivo only

Package Exports

  • intuitivo_cv

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (intuitivo_cv) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Darknet.JS

Basado en el repositorio de https://github.com/bennetthardwick/darknet.js

Instalación

Instalar con npm desde el command:

npm install intuitivo_cv

Modo de uso

  GNU nano 2.5.3                                            File: prueba.js                                                                                                

const { Darknet } = require('intuitivo_cv');
 
const darknet = new Darknet({
  weights: '/home/ubuntu/darknet/data_train/models/yolov3-gondolas_final.weights',
  config: '/home/ubuntu/vending-fridge-api/configuracion.cfg',
  namefile: '/home/ubuntu/darknet/data_train/data/gondolas.names'

});
console.log(darknet.detect('/home/ubuntu/darknet/data_train/prueba.png'));
console.log(darknet.detect('/home/ubuntu/vending-fridge-api/pizza.png'));