Transformers.js How to use CristianR8/Cacao-detection with Transformers.js:
// npm i @huggingface/transformers
import { pipeline } from '@huggingface/transformers';
// Allocate pipeline
const pipe = await pipeline('object-detection', 'CristianR8/Cacao-detection');