Can we use image instead of video in createCapture() to add Images in dataset

Hi,

We are using FeatureExtraction to get classification and regression since it using video = createCapture(VIDEO); so can we use images in place of video to add our images in the dataset and also want to train that image.

I’m using https://ml5js.org/docs/custom-classifier and https://ml5js.org/docs/custom-regression for reference.

Thanks