Skip to content

Can we add our DataSet(Images) to ML5 Data Model #260

@addys888

Description

@addys888

Hi there,

We are using 'imageClassifier' and 'featureExtractor' methods to recognize images using ml5-library. We have successfully recognized the images with your Pre-trained model.
Now we want to add our Data set(Images with its label) in ml5 data model. We are using addImage(Image, Label) function to add an image, but its take references of following lines:

// Create a new classifier using those features and with a video element const classifier = featureExtractor.classification(video, videoReady);

We could not able to understand the uses and flow of the featureExtractor.classification() function and got some exception relatively.
Please let us know if we are doing anything wrong here or need some additional steps to achieve this.

Thank you,

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions