Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ml5js/ml5-library
/ functions
Functions
1,175 in github.com/ml5js/ml5-library
⨍
Functions
1,175
◇
Types & classes
88
↓ 1 callers
Method
deprocess
(inputDeproc)
src/Pix2pix/index.js:123
↓ 1 callers
Function
detect
()
examples/p5js/YOLO/YOLO_webcam/sketch.js:47
↓ 1 callers
Function
detect
()
examples/javascript/YOLO/YOLO_webcam/sketch.js:37
↓ 1 callers
Function
detect
()
examples/javascript/YOLO/YOLO_single_image/sketch.js:40
↓ 1 callers
Function
detect
()
examples/javascript/ObjectDetector/COCOSSD_webcam/sketch.js:39
↓ 1 callers
Function
detect
()
examples/javascript/ObjectDetector/YOLO_webcam/sketch.js:37
↓ 1 callers
Function
detect
()
examples/javascript/ObjectDetector/COCOSSD_single_image/sketch.js:40
↓ 1 callers
Function
detect
()
examples/javascript/ObjectDetector/YOLO_single_image/sketch.js:40
↓ 1 callers
Method
detect
* Detect objects that are in video, returns bounding box, label, and confidence scores * @param {HTMLVideoElement|HTMLImageElement|HTMLCanvasElemen
src/ObjectDetector/CocoSsd/index.js:102
↓ 1 callers
Method
detectInternal
* Detects multiple internal function * @param {HTMLImageElement || HTMLVideoElement} imgToClassify * @param {Object} faceApiOptions
src/FaceApi/index.js:199
↓ 1 callers
Method
detectInternal
* Detect objects that are in video, returns bounding box, label, and confidence scores * @param {HTMLVideoElement|HTMLImageElement|HTMLCanvasElemen
src/ObjectDetector/YOLO/index.js:140
↓ 1 callers
Method
detectInternal
* Detect objects that are in video, returns bounding box, label, and confidence scores * @param {HTMLVideoElement|HTMLImageElement|HTMLCanvasElemen
src/ObjectDetector/CocoSsd/index.js:72
↓ 1 callers
Method
detectSingleInternal
* Detects only a single feature * @param {HTMLImageElement || HTMLVideoElement} imgToClassify * @param {Object} faceApiOptions
src/FaceApi/index.js:305
↓ 1 callers
Function
download
(content, fileName, contentType)
examples/javascript/ImageClassification/ImageClassification_MultipleImages/sketch.js:78
↓ 1 callers
Function
draw
()
examples/javascript/YOLO/YOLO_webcam/sketch.js:53
↓ 1 callers
Function
draw
()
examples/javascript/YOLO/YOLO_single_image/sketch.js:54
↓ 1 callers
Function
draw
()
examples/javascript/ObjectDetector/COCOSSD_webcam/sketch.js:55
↓ 1 callers
Function
draw
()
examples/javascript/ObjectDetector/YOLO_webcam/sketch.js:53
↓ 1 callers
Function
draw
()
examples/javascript/ObjectDetector/COCOSSD_single_image/sketch.js:54
↓ 1 callers
Function
draw
()
examples/javascript/ObjectDetector/YOLO_single_image/sketch.js:54
↓ 1 callers
Function
drawBox
(detections)
examples/p5js/FaceApi/FaceApi_Video_Landmarks/sketch.js:49
↓ 1 callers
Function
drawBox
(detections)
examples/p5js/FaceApi/FaceApi_Image_Landmarks/sketch.js:47
↓ 1 callers
Function
drawBox
(detections)
examples/p5js/FaceApi/FaceApi_Video_Landmarks_LocalModels/sketch.js:53
↓ 1 callers
Function
drawBox
(detections)
examples/javascript/FaceApi/FaceApi_Video_Landmarks/sketch.js:57
↓ 1 callers
Function
drawBox
(detections)
examples/javascript/FaceApi/FaceApi_Image_Landmarks/sketch.js:54
↓ 1 callers
Function
drawBox
(detections)
examples/javascript/FaceApi/FaceApi_Video_Landmarks_LocalModels/sketch.js:60
↓ 1 callers
Function
drawCameraIntoCanvas
()
examples/javascript/PoseNet/PoseNet_webcam/sketch.js:32
↓ 1 callers
Function
drawImage
()
examples/javascript/Pix2Pix/Pix2Pix_promise/sketch.js:86
↓ 1 callers
Function
drawKeyboard
()
examples/p5js/PitchDetection/PitchDetection_Piano/sketch.js:54
↓ 1 callers
Function
drawKeyboard
()
examples/javascript/PitchDetection/PitchDetection_Piano/sketch.js:80
↓ 1 callers
Function
drawKeypoints
()
examples/p5js/Handpose/Handpose_Image/sketch.js:44
↓ 1 callers
Function
drawKeypoints
()
examples/p5js/Handpose/Handpose_Webcam/sketch.js:34
↓ 1 callers
Function
drawKeypoints
()
examples/p5js/PoseNet/PoseNet_webcam/sketch.js:44
↓ 1 callers
Function
drawKeypoints
(poses)
examples/p5js/PoseNet/PoseNet_image_single/sketch.js:31
↓ 1 callers
Function
drawKeypoints
()
examples/p5js/KNNClassification/KNNClassification_PoseNet/sketch.js:153
↓ 1 callers
Function
drawKeypoints
()
examples/p5js/Facemesh/Facemesh_Image/sketch.js:43
↓ 1 callers
Function
drawKeypoints
()
examples/p5js/Facemesh/Facemesh_Webcam/sketch.js:34
↓ 1 callers
Function
drawKeypoints
()
examples/javascript/PoseNet/PoseNet_webcam/sketch.js:58
↓ 1 callers
Function
drawKeypoints
()
examples/javascript/PoseNet/PoseNet_image_single/sketch.js:59
↓ 1 callers
Function
drawKeypoints
()
examples/javascript/KNNClassification/KNNClassification_PoseNet/sketch.js:165
↓ 1 callers
Function
drawLandmarks
(detections)
examples/p5js/FaceApi/FaceApi_Video_Landmarks/sketch.js:64
↓ 1 callers
Function
drawLandmarks
(detections)
examples/p5js/FaceApi/FaceApi_Image_Landmarks/sketch.js:56
↓ 1 callers
Function
drawLandmarks
(detections)
examples/p5js/FaceApi/FaceApi_Video_Landmarks_LocalModels/sketch.js:68
↓ 1 callers
Function
drawLandmarks
(detections)
examples/javascript/FaceApi/FaceApi_Video_Landmarks/sketch.js:73
↓ 1 callers
Function
drawLandmarks
(detections)
examples/javascript/FaceApi/FaceApi_Image_Landmarks/sketch.js:63
↓ 1 callers
Function
drawLandmarks
(detections)
examples/javascript/FaceApi/FaceApi_Video_Landmarks_LocalModels/sketch.js:76
↓ 1 callers
Function
drawSkeleton
()
examples/p5js/PoseNet/PoseNet_webcam/sketch.js:63
↓ 1 callers
Function
drawSkeleton
(poses)
examples/p5js/PoseNet/PoseNet_image_single/sketch.js:51
↓ 1 callers
Function
drawSkeleton
()
examples/p5js/KNNClassification/KNNClassification_PoseNet/sketch.js:172
↓ 1 callers
Function
drawSkeleton
()
examples/javascript/PoseNet/PoseNet_webcam/sketch.js:75
↓ 1 callers
Function
drawSkeleton
()
examples/javascript/PoseNet/PoseNet_image_single/sketch.js:79
↓ 1 callers
Function
drawSkeleton
()
examples/javascript/KNNClassification/KNNClassification_PoseNet/sketch.js:186
↓ 1 callers
Method
encodeInternal
(textString)
src/UniversalSentenceEncoder/index.js:61
↓ 1 callers
Method
extend
* Extend cluster by running algorithm on neighbours and detect neighbours that are core points as well * @param {number} pointIndex * @param {nu
src/DBSCAN/index.js:110
↓ 1 callers
Function
faceApi
(videoOrOptionsOrCallback, optionsOrCallback, cb)
src/FaceApi/index.js:456
↓ 1 callers
Function
facemesh
(videoOrOptionsOrCallback, optionsOrCallback, cb)
src/Facemesh/index.js:112
↓ 1 callers
Function
featureExtractor
(model, optionsOrCallback, cb)
src/FeatureExtractor/index.js:34
↓ 1 callers
Function
fetchFileContent
* Fetch data for a single HTML/JS file, or return * an url to the file's CDN location
scripts/batch-update-p5webeditor.js:69
↓ 1 callers
Function
filterBoxes
( boxes, boxConfidence, boxClassProbs, threshold, )
src/ObjectDetector/YOLO/postprocess.js:35
↓ 1 callers
Method
fit
* Run DBSCAN algorithm.
src/DBSCAN/index.js:89
↓ 1 callers
Function
flatten
* fatten a nested array
scripts/batch-update-p5webeditor.js:61
↓ 1 callers
Function
formatSketchForStorage
* STEP 4 * Take a parent directory and prepare it for injestion! * @param {*} sketch * @param {*} user
scripts/batch-update-p5webeditor.js:243
↓ 1 callers
Function
freqToMidi
(f)
examples/javascript/PitchDetection/PitchDetection_Piano/sketch.js:30
↓ 1 callers
Function
generate
()
examples/p5js/CharRNN/CharRNN_Interactive/sketch.js:65
↓ 1 callers
Function
generate
()
examples/p5js/DCGAN/DCGAN_LatentVector_Slider/sketch.js:42
↓ 1 callers
Function
generate
()
examples/p5js/DCGAN/DCGAN_Random/sketch.js:30
↓ 1 callers
Function
generateImage
()
examples/javascript/CVAE/CVAE_QuickDraw/sketch.js:32
↓ 1 callers
Method
generateInternal
(options)
src/CharRNN/index.js:143
↓ 1 callers
Method
generateInternal
(options, strokes)
src/SketchRNN/index.js:69
↓ 1 callers
Method
generateInternal
(src)
src/CartoonGAN/index.js:78
↓ 1 callers
Method
generateInternal
* Takes the tensor from compute() and returns an object of the generate image data * @param {object} latentVector - an array containing the laten
src/DCGAN/index.js:104
↓ 1 callers
Method
generateInternal
(label)
src/CVAE/index.js:77
↓ 1 callers
Method
getAllVariables
()
src/utils/checkpointLoaderPix2pix.js:21
↓ 1 callers
Method
getBlob
(inputCanvas)
src/utils/p5Utils.js:59
↓ 1 callers
Method
getBlob
(inputCanvas)
src/CVAE/index.js:67
↓ 1 callers
Function
getCategories
* STEP 1: Get the top level cateogories
scripts/batch-update-p5webeditor.js:102
↓ 1 callers
Function
getCategoryExamples
* STEP 2: Get the examples for each category * e.g. Posenet: * - /posenet_image_single * - /posenet_part_selection
scripts/batch-update-p5webeditor.js:120
↓ 1 callers
Method
getClassifierDataset
()
src/KNNClassifier/index.js:152
↓ 1 callers
Method
getClusterId
* Return last generated cluster id
src/DBSCAN/index.js:138
↓ 1 callers
Method
getDTypesFromData
* getDTypesFromData * gets the data types of the data we're using * important for handling oneHot
src/NeuralNetwork/NeuralNetworkData.js:210
↓ 1 callers
Method
getDataOneHot
* getDataOneHot * creates onehot encodings for the input and outputs * and adds them to the meta info * @param {*} dataRaw
src/NeuralNetwork/NeuralNetworkData.js:499
↓ 1 callers
Method
getDataStats
* get stats about the data * @param {*} dataRaw
src/NeuralNetwork/NeuralNetworkData.js:101
↓ 1 callers
Method
getDataUnits
* get the data units, inputshape and output units * @param {*} dataRaw
src/NeuralNetwork/NeuralNetworkData.js:151
↓ 1 callers
Function
getImage
()
src/FaceApi/index_test.js:32
↓ 1 callers
Function
getImageData
()
src/BodyPix/__tests__/BodyPix.test.js:37
↓ 1 callers
Method
getInput
(inputOr)
src/Handpose/index.js:87
↓ 1 callers
Method
getInput
(inputOr)
src/Facemesh/index.js:86
↓ 1 callers
Method
getKeys
* @public * Get the property names for each variable in the manifest. * * @return {Promise<string[]>}
src/utils/checkpointLoader.js:90
↓ 1 callers
Function
getMousePos
(canvas, e)
examples/javascript/SketchRNN/SketchRNN_interactive/sketch.js:168
↓ 1 callers
Function
getMousePos
(canvas, e)
examples/javascript/ImageClassification/ImageClassification_DoodleNet_Canvas/sketch.js:110
↓ 1 callers
Function
getMousePos
(canvas, e)
examples/javascript/Pix2Pix/Pix2Pix_callback/sketch.js:187
↓ 1 callers
Function
getMousePos
(canvas, e)
examples/javascript/Pix2Pix/Pix2Pix_promise/sketch.js:153
↓ 1 callers
Function
getPitch
()
examples/p5js/PitchDetection/PitchDetection/sketch.js:31
↓ 1 callers
Function
getPitch
()
examples/p5js/PitchDetection/PitchDetection_Piano/sketch.js:40
↓ 1 callers
Function
getPitch
()
examples/p5js/PitchDetection/PitchDetection_Game/sketch.js:45
↓ 1 callers
Function
getPitch
()
examples/javascript/PitchDetection/PitchDetection/sketch.js:33
↓ 1 callers
Function
getPitch
()
examples/javascript/PitchDetection/PitchDetection_Piano/sketch.js:65
↓ 1 callers
Function
getPitch
()
examples/javascript/PitchDetection/PitchDetection_Game/sketch.js:70
↓ 1 callers
Function
getProjectsList
* Fetch a list of all projects from the API
scripts/batch-update-p5webeditor.js:269
↓ 1 callers
Function
getReadme
(fpath)
scripts/updateReadme.js:3
← previous
next →
301–400 of 1,175, ranked by callers