Missing import

pull/22091/head
Kôtaro Mukai 2 years ago
parent c103b63fe1
commit ed9524e125
  1. 2
      doc/js_tutorials/js_setup/js_nodejs/js_nodejs.markdown

@ -232,7 +232,7 @@ The following is an adaptation of @ref tutorial_js_face_detection.
@code{.js}
const { Canvas, createCanvas, Image, ImageData, loadImage } = require('canvas');
const { JSDOM } = require('jsdom');
const { writeFileSync, readFileSync } = require('fs');
const { writeFileSync, existsSync, mkdirSync } = require('fs');
(async () => {
await loadOpenCV();

Loading…
Cancel
Save