You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add legacy object detection cocossd code and example from p5js (#257)
* add legacy object detection cocossd code and example from p5js
* add code to build objectDetector, change example code callback to return result not error
* load model in preload() ; updated ObjectDetector Class to return object (instance.model), added mediaReady utils so that detection waits for video to be ready before detecting, updated tf.backend to webgl to avoid webgpu warning
* added detectStart and detectStop to cocossd.js and updated example code to call detectStart in setup()
* refactor ObjectDetector Class to be main interface for models
* update objectDetection-webcam example
* add examples : single image, video(resizing canvas to video and showing transparent canvas on top of video)
* update video example - play video on loop and detect
* update video file example to work with a fixed sized video 640 x 480
* remove reference to yolo for now
* change video file name
* change video file name in code
* reduced video file size
* Remove useless comments and clean up ObjectDetector documentation
Removed unused typedefs for options and predictions.
* Update comment to reflect objectDetector usage
* Update example to use ml5.objectDetector
---------
Co-authored-by: Bairui Su <[email protected]>
0 commit comments