GoPureTrack is a high-performance object tracker written in Go. It is inspired by the DeepSort tracker but incorporates significant modifications and improvements for enhanced performance and flexibility.
- Efficient Go Implementation: Optimized for high performance while leveraging Go with minimal cgo components.
- Enhanced Object Tracking: Built upon DeepSort principles, with changes to optimize accuracy and speed.
- Real-Time Performance: Capable of handling high-speed object tracking scenarios.
- Customizable API: Easily integrate into various applications with flexible configurations.
To install GoPureTrack, you need to have Go installed on your system. Use the following command to install it:
go get github.com/ugparu/GoPureTrackHere is a quick example to get started with GoPureTrack:
package main
import (
"fmt"
"github.com/ugparu/GoPureTrack/puretrack"
)
type Detection struct {
XYXY [4]float64
score float64
}
func (d Detection) GetXYXY() [4]float64 {
return d.XYXY
}
func (d Detection) GetScore() float64 {
return d.score
}
func main() {
tracker := puretrack.New[Detection](puretrack.BaseConfig)
detections := []Detection{......}
trackedObjects, removedTracks := tracker.Update(detections)
fmt.Println("Tracked objects:", trackedObjects)
fmt.Println("Removed tracks:", removedTracks)
}We welcome contributions to GoPureTrack! If you have any ideas, suggestions, or improvements, feel free to open an issue or submit a pull request.
GoPureTrack is licensed under the MIT License. See the LICENSE file for more information.
This project is inspired by the DeepSort tracker. Special thanks to the open-source community for providing the foundation for this implementation.
