Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AndreyGermanov/yolov8_onnx_nodejs
/ functions
Functions
8 in github.com/AndreyGermanov/yolov8_onnx_nodejs
⨍
Functions
8
◇
Types & classes
0
↓ 2 callers
Function
intersection
* Function calculates intersection area of two boxes * @param box1 First box in format [x1,y1,x2,y2,object_class,probability] * @param box2 Second b
object_detector.js:158
↓ 1 callers
Function
detect_objects_on_image
* Function receives an image, passes it through YOLOv8 neural network * and returns an array of detected objects and their bounding boxes * @param b
object_detector.js:43
↓ 1 callers
Function
iou
* Function calculates "Intersection-over-union" coefficient for specified two boxes * https://pyimagesearch.com/2016/11/07/intersection-over-union-io
object_detector.js:131
↓ 1 callers
Function
main
* Main function that setups and starts a * web server on port 8080
object_detector.js:11
↓ 1 callers
Function
prepare_input
* Function used to convert input image to tensor, * required as an input to YOLOv8 object detection * network. * @param buf Content of uploaded fil
object_detector.js:56
↓ 1 callers
Function
process_output
* Function used to convert RAW output from YOLOv8 to an array of detected objects. * Each object contain the bounding box of this object, the type of
object_detector.js:94
↓ 1 callers
Function
run_model
* Function used to pass provided input tensor to YOLOv8 neural network and return result * @param input Input pixels array * @returns Raw output of
object_detector.js:79
↓ 1 callers
Function
union
* Function calculates union area of two boxes. * :param box1: First box in format [x1,y1,x2,y2,object_class,probability] * :param box2: Seco
object_detector.js:144