MCPcopy Create free account

hub / github.com/ml5js/ml5-library / functions

Functions1,175 in github.com/ml5js/ml5-library

↓ 1 callersMethoddeprocess
(inputDeproc)
src/Pix2pix/index.js:123
↓ 1 callersFunctiondetect
()
examples/p5js/YOLO/YOLO_webcam/sketch.js:47
↓ 1 callersFunctiondetect
()
examples/javascript/YOLO/YOLO_webcam/sketch.js:37
↓ 1 callersFunctiondetect
()
examples/javascript/YOLO/YOLO_single_image/sketch.js:40
↓ 1 callersFunctiondetect
()
examples/javascript/ObjectDetector/COCOSSD_webcam/sketch.js:39
↓ 1 callersFunctiondetect
()
examples/javascript/ObjectDetector/YOLO_webcam/sketch.js:37
↓ 1 callersFunctiondetect
()
examples/javascript/ObjectDetector/COCOSSD_single_image/sketch.js:40
↓ 1 callersFunctiondetect
()
examples/javascript/ObjectDetector/YOLO_single_image/sketch.js:40
↓ 1 callersMethoddetect
* Detect objects that are in video, returns bounding box, label, and confidence scores * @param {HTMLVideoElement|HTMLImageElement|HTMLCanvasElemen
src/ObjectDetector/CocoSsd/index.js:102
↓ 1 callersMethoddetectInternal
* Detects multiple internal function * @param {HTMLImageElement || HTMLVideoElement} imgToClassify * @param {Object} faceApiOptions
src/FaceApi/index.js:199
↓ 1 callersMethoddetectInternal
* Detect objects that are in video, returns bounding box, label, and confidence scores * @param {HTMLVideoElement|HTMLImageElement|HTMLCanvasElemen
src/ObjectDetector/YOLO/index.js:140
↓ 1 callersMethoddetectInternal
* Detect objects that are in video, returns bounding box, label, and confidence scores * @param {HTMLVideoElement|HTMLImageElement|HTMLCanvasElemen
src/ObjectDetector/CocoSsd/index.js:72
↓ 1 callersMethoddetectSingleInternal
* Detects only a single feature * @param {HTMLImageElement || HTMLVideoElement} imgToClassify * @param {Object} faceApiOptions
src/FaceApi/index.js:305
↓ 1 callersFunctiondownload
(content, fileName, contentType)
examples/javascript/ImageClassification/ImageClassification_MultipleImages/sketch.js:78
↓ 1 callersFunctiondraw
()
examples/javascript/YOLO/YOLO_webcam/sketch.js:53
↓ 1 callersFunctiondraw
()
examples/javascript/YOLO/YOLO_single_image/sketch.js:54
↓ 1 callersFunctiondraw
()
examples/javascript/ObjectDetector/COCOSSD_webcam/sketch.js:55
↓ 1 callersFunctiondraw
()
examples/javascript/ObjectDetector/YOLO_webcam/sketch.js:53
↓ 1 callersFunctiondraw
()
examples/javascript/ObjectDetector/COCOSSD_single_image/sketch.js:54
↓ 1 callersFunctiondraw
()
examples/javascript/ObjectDetector/YOLO_single_image/sketch.js:54
↓ 1 callersFunctiondrawBox
(detections)
examples/p5js/FaceApi/FaceApi_Video_Landmarks/sketch.js:49
↓ 1 callersFunctiondrawBox
(detections)
examples/p5js/FaceApi/FaceApi_Image_Landmarks/sketch.js:47
↓ 1 callersFunctiondrawBox
(detections)
examples/p5js/FaceApi/FaceApi_Video_Landmarks_LocalModels/sketch.js:53
↓ 1 callersFunctiondrawBox
(detections)
examples/javascript/FaceApi/FaceApi_Video_Landmarks/sketch.js:57
↓ 1 callersFunctiondrawBox
(detections)
examples/javascript/FaceApi/FaceApi_Image_Landmarks/sketch.js:54
↓ 1 callersFunctiondrawBox
(detections)
examples/javascript/FaceApi/FaceApi_Video_Landmarks_LocalModels/sketch.js:60
↓ 1 callersFunctiondrawCameraIntoCanvas
()
examples/javascript/PoseNet/PoseNet_webcam/sketch.js:32
↓ 1 callersFunctiondrawImage
()
examples/javascript/Pix2Pix/Pix2Pix_promise/sketch.js:86
↓ 1 callersFunctiondrawKeyboard
()
examples/p5js/PitchDetection/PitchDetection_Piano/sketch.js:54
↓ 1 callersFunctiondrawKeyboard
()
examples/javascript/PitchDetection/PitchDetection_Piano/sketch.js:80
↓ 1 callersFunctiondrawKeypoints
()
examples/p5js/Handpose/Handpose_Image/sketch.js:44
↓ 1 callersFunctiondrawKeypoints
()
examples/p5js/Handpose/Handpose_Webcam/sketch.js:34
↓ 1 callersFunctiondrawKeypoints
()
examples/p5js/PoseNet/PoseNet_webcam/sketch.js:44
↓ 1 callersFunctiondrawKeypoints
(poses)
examples/p5js/PoseNet/PoseNet_image_single/sketch.js:31
↓ 1 callersFunctiondrawKeypoints
()
examples/p5js/KNNClassification/KNNClassification_PoseNet/sketch.js:153
↓ 1 callersFunctiondrawKeypoints
()
examples/p5js/Facemesh/Facemesh_Image/sketch.js:43
↓ 1 callersFunctiondrawKeypoints
()
examples/p5js/Facemesh/Facemesh_Webcam/sketch.js:34
↓ 1 callersFunctiondrawKeypoints
()
examples/javascript/PoseNet/PoseNet_webcam/sketch.js:58
↓ 1 callersFunctiondrawKeypoints
()
examples/javascript/PoseNet/PoseNet_image_single/sketch.js:59
↓ 1 callersFunctiondrawKeypoints
()
examples/javascript/KNNClassification/KNNClassification_PoseNet/sketch.js:165
↓ 1 callersFunctiondrawLandmarks
(detections)
examples/p5js/FaceApi/FaceApi_Video_Landmarks/sketch.js:64
↓ 1 callersFunctiondrawLandmarks
(detections)
examples/p5js/FaceApi/FaceApi_Image_Landmarks/sketch.js:56
↓ 1 callersFunctiondrawLandmarks
(detections)
examples/p5js/FaceApi/FaceApi_Video_Landmarks_LocalModels/sketch.js:68
↓ 1 callersFunctiondrawLandmarks
(detections)
examples/javascript/FaceApi/FaceApi_Video_Landmarks/sketch.js:73
↓ 1 callersFunctiondrawLandmarks
(detections)
examples/javascript/FaceApi/FaceApi_Image_Landmarks/sketch.js:63
↓ 1 callersFunctiondrawLandmarks
(detections)
examples/javascript/FaceApi/FaceApi_Video_Landmarks_LocalModels/sketch.js:76
↓ 1 callersFunctiondrawSkeleton
()
examples/p5js/PoseNet/PoseNet_webcam/sketch.js:63
↓ 1 callersFunctiondrawSkeleton
(poses)
examples/p5js/PoseNet/PoseNet_image_single/sketch.js:51
↓ 1 callersFunctiondrawSkeleton
()
examples/p5js/KNNClassification/KNNClassification_PoseNet/sketch.js:172
↓ 1 callersFunctiondrawSkeleton
()
examples/javascript/PoseNet/PoseNet_webcam/sketch.js:75
↓ 1 callersFunctiondrawSkeleton
()
examples/javascript/PoseNet/PoseNet_image_single/sketch.js:79
↓ 1 callersFunctiondrawSkeleton
()
examples/javascript/KNNClassification/KNNClassification_PoseNet/sketch.js:186
↓ 1 callersMethodencodeInternal
(textString)
src/UniversalSentenceEncoder/index.js:61
↓ 1 callersMethodextend
* 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 callersFunctionfaceApi
(videoOrOptionsOrCallback, optionsOrCallback, cb)
src/FaceApi/index.js:456
↓ 1 callersFunctionfacemesh
(videoOrOptionsOrCallback, optionsOrCallback, cb)
src/Facemesh/index.js:112
↓ 1 callersFunctionfeatureExtractor
(model, optionsOrCallback, cb)
src/FeatureExtractor/index.js:34
↓ 1 callersFunctionfetchFileContent
* 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 callersFunctionfilterBoxes
( boxes, boxConfidence, boxClassProbs, threshold, )
src/ObjectDetector/YOLO/postprocess.js:35
↓ 1 callersMethodfit
* Run DBSCAN algorithm.
src/DBSCAN/index.js:89
↓ 1 callersFunctionflatten
* fatten a nested array
scripts/batch-update-p5webeditor.js:61
↓ 1 callersFunctionformatSketchForStorage
* STEP 4 * Take a parent directory and prepare it for injestion! * @param {*} sketch * @param {*} user
scripts/batch-update-p5webeditor.js:243
↓ 1 callersFunctionfreqToMidi
(f)
examples/javascript/PitchDetection/PitchDetection_Piano/sketch.js:30
↓ 1 callersFunctiongenerate
()
examples/p5js/CharRNN/CharRNN_Interactive/sketch.js:65
↓ 1 callersFunctiongenerate
()
examples/p5js/DCGAN/DCGAN_LatentVector_Slider/sketch.js:42
↓ 1 callersFunctiongenerate
()
examples/p5js/DCGAN/DCGAN_Random/sketch.js:30
↓ 1 callersFunctiongenerateImage
()
examples/javascript/CVAE/CVAE_QuickDraw/sketch.js:32
↓ 1 callersMethodgenerateInternal
(options)
src/CharRNN/index.js:143
↓ 1 callersMethodgenerateInternal
(options, strokes)
src/SketchRNN/index.js:69
↓ 1 callersMethodgenerateInternal
(src)
src/CartoonGAN/index.js:78
↓ 1 callersMethodgenerateInternal
* 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 callersMethodgenerateInternal
(label)
src/CVAE/index.js:77
↓ 1 callersMethodgetAllVariables
()
src/utils/checkpointLoaderPix2pix.js:21
↓ 1 callersMethodgetBlob
(inputCanvas)
src/utils/p5Utils.js:59
↓ 1 callersMethodgetBlob
(inputCanvas)
src/CVAE/index.js:67
↓ 1 callersFunctiongetCategories
* STEP 1: Get the top level cateogories
scripts/batch-update-p5webeditor.js:102
↓ 1 callersFunctiongetCategoryExamples
* STEP 2: Get the examples for each category * e.g. Posenet: * - /posenet_image_single * - /posenet_part_selection
scripts/batch-update-p5webeditor.js:120
↓ 1 callersMethodgetClassifierDataset
()
src/KNNClassifier/index.js:152
↓ 1 callersMethodgetClusterId
* Return last generated cluster id
src/DBSCAN/index.js:138
↓ 1 callersMethodgetDTypesFromData
* getDTypesFromData * gets the data types of the data we're using * important for handling oneHot
src/NeuralNetwork/NeuralNetworkData.js:210
↓ 1 callersMethodgetDataOneHot
* getDataOneHot * creates onehot encodings for the input and outputs * and adds them to the meta info * @param {*} dataRaw
src/NeuralNetwork/NeuralNetworkData.js:499
↓ 1 callersMethodgetDataStats
* get stats about the data * @param {*} dataRaw
src/NeuralNetwork/NeuralNetworkData.js:101
↓ 1 callersMethodgetDataUnits
* get the data units, inputshape and output units * @param {*} dataRaw
src/NeuralNetwork/NeuralNetworkData.js:151
↓ 1 callersFunctiongetImage
()
src/FaceApi/index_test.js:32
↓ 1 callersFunctiongetImageData
()
src/BodyPix/__tests__/BodyPix.test.js:37
↓ 1 callersMethodgetInput
(inputOr)
src/Handpose/index.js:87
↓ 1 callersMethodgetInput
(inputOr)
src/Facemesh/index.js:86
↓ 1 callersMethodgetKeys
* @public * Get the property names for each variable in the manifest. * * @return {Promise<string[]>}
src/utils/checkpointLoader.js:90
↓ 1 callersFunctiongetMousePos
(canvas, e)
examples/javascript/SketchRNN/SketchRNN_interactive/sketch.js:168
↓ 1 callersFunctiongetMousePos
(canvas, e)
examples/javascript/ImageClassification/ImageClassification_DoodleNet_Canvas/sketch.js:110
↓ 1 callersFunctiongetMousePos
(canvas, e)
examples/javascript/Pix2Pix/Pix2Pix_callback/sketch.js:187
↓ 1 callersFunctiongetMousePos
(canvas, e)
examples/javascript/Pix2Pix/Pix2Pix_promise/sketch.js:153
↓ 1 callersFunctiongetPitch
()
examples/p5js/PitchDetection/PitchDetection/sketch.js:31
↓ 1 callersFunctiongetPitch
()
examples/p5js/PitchDetection/PitchDetection_Piano/sketch.js:40
↓ 1 callersFunctiongetPitch
()
examples/p5js/PitchDetection/PitchDetection_Game/sketch.js:45
↓ 1 callersFunctiongetPitch
()
examples/javascript/PitchDetection/PitchDetection/sketch.js:33
↓ 1 callersFunctiongetPitch
()
examples/javascript/PitchDetection/PitchDetection_Piano/sketch.js:65
↓ 1 callersFunctiongetPitch
()
examples/javascript/PitchDetection/PitchDetection_Game/sketch.js:70
↓ 1 callersFunctiongetProjectsList
* Fetch a list of all projects from the API
scripts/batch-update-p5webeditor.js:269
↓ 1 callersFunctiongetReadme
(fpath)
scripts/updateReadme.js:3
← previousnext →301–400 of 1,175, ranked by callers