-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add support detecting #10
base: master
Are you sure you want to change the base?
Conversation
Do we really need tight OpenCV integration? // #cgo windows CPPFLAGS: -IC:/opencv/build/install/include
// #cgo windows LDFLAGS: -LC:/opencv/build/install/x64/mingw/lib -lopencv_core420 -lopencv_face420 -lopencv_videoio420 -lopencv_imgproc420 -lopencv_highgui420 -lopencv_imgcodecs420 -lopencv_objdetect420 -lopencv_features2d420 -lopencv_video420 -lopencv_dnn420 -lopencv_xfeatures2d420 -lopencv_plot420 -lopencv_tracking420 -lopencv_img_hash420 -lopencv_calib3d420 although, you can get image.Image by using this GoCV method: https://godoc.org/gocv.io/x/gocv#Mat.ToImage pseudocode: gocvMat := gocv.NewMat()
stdMat := gocvMat.ToImage()
darknetImage := darknet.Image2Float32(stdMat) |
gocv can't work without opencv libs. I will test, imho direct using mat will be faster, then converting |
I know about it :) |
need AlexeyAB/darknet#6838 for libdarknet
example: