Skip to content

How to port the serve model to sketch.js/index.html vis ml5 library #8

Open
@khangeqkai

Description

@khangeqkai

I have read over here where offline support is added ml5js/ml5-library#553

Just wonder once i start run the server at localhost:5000 how would i be able to port it into my sketch.js

From the link above you mentioned something along the line options:{modelURL} can you help explain this bit
Currently i have tried
var posenetoptions = { modelurl:"https://google.com", architecture: 'ResNet50', imageScaleFactor: 0.3, outputStride: 32, flipHorizontal: false, minConfidence: 0.2, maxPoseDetections: 5, scoreThreshold: 0.5, nmsRadius: 30, detectionType: 'multi', inputResolution: 513, multiplier: 1, quantBytes: 2, };

and pass the options into ml5.poseNet see if it throw any errors, but nothing :(

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions