Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AndreyGermanov/yolov8_onnx_go
/ functions
Functions
13 in github.com/AndreyGermanov/yolov8_onnx_go
⨍
Functions
13
◇
Types & classes
1
↓ 2 callers
Function
intersection
Function calculates intersection area of two boxes Returns Area of intersection of the boxes as a float number
imagex.go:76
↓ 1 callers
Function
InitYolo8Session
(input []float32)
onnx_util.go:8
↓ 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 Returns Array of
main.go:55
↓ 1 callers
Function
getSharedLibPath
()
onnx_util.go:58
↓ 1 callers
Function
iou
Function calculates "Intersection-over-union" coefficient for specified two boxes https://pyimagesearch.com/2016/11/07/intersection-over-union-iou-for
imagex.go:60
↓ 1 callers
Function
prepare_input
Function used to convert input image to tensor, required as an input to YOLOv8 object detection network. Returns the input tensor, original image widt
imagex.go:90
↓ 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 obje
imagex.go:15
↓ 1 callers
Function
runInference
(modelSes ModelSession, input []float32)
onnx_util.go:91
↓ 1 callers
Function
run_model
Function used to pass provided input tensor to YOLOv8 neural network and return result Returns raw output of YOLOv8 network as a single dimension arra
main.go:71
↓ 1 callers
Function
union
Function calculates union area of two boxes Returns Area of the boxes union as a float number
imagex.go:66
Function
detect
Handler of /detect POST endpoint Receives uploaded file with a name "image_file", passes it through YOLOv8 object detection network and returns and ar
main.go:39
Function
index
Site main page handler function. Returns Content of index.html file
main.go:28
Function
main
Main function that defines a web service endpoints a starts the web service
main.go:17