-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Opencv4, now working #202
base: master
Are you sure you want to change the base?
Opencv4, now working #202
Conversation
Thanks for the commit. Just for clarification: The changes that you created enables us to use the latest darknet version? |
I started the PR so others could start using/modifying it. Still a WIP at my place. We'll be upstreaming the bug-fixes as fast as possible. It doesn't yet use the upstream darknet, so don't merge it, at least not yet. |
9155cd0
to
287a5d8
Compare
Here I was recommended to use AlexeyAB/darknet instead which also comes with a CMake and seems to be more active. Maybe a switch to the other fork is a better idea. |
I tried your commit for my project and it worked! But sometimes my laptop crashes for whatever reasons, I checked the ram, the gpu, heat and everything seems fine so it may not be related to this project. One thing tho is the camera output of this version, mine looks blueish, Is it also your case? Otherwise great job! I was looking for a version that uses opencv 4 and you saved me a lot of trouble. Thanks |
Yeah, darknet needs BGR but the actual image is RGB (or some issue like that) |
Any news on this PR ? As suggested: Maybe switch to the more active darknet fork instead of the original. |
@kunaltyagi I use AlexeyAB/darknet instead pjreddie/darknet in darknet_ros, but numbers of errors occur: CMake Error at /usr/local/share/cmake-3.13/Modules/FindCUDA.cmake:1820 (add_library): can you help me ? Thank you |
I actually stopped mid-way in porting to AlexyAB due to some linker issues. My (partial) work is available at https://github.com/kunaltyagi/darknet_ros/tree/alexeyab and I welcome contributions to help improve it. |
@kunaltyagi thank you , I tried your work , and receive errors: I find mat_to_image in YoloObjectDetector.cpp, it was not declared indeed |
I'm aware of the error. Can't proceed beyond either a compile or linker error for these 2 functions. Please discuss this on my fork, and let's not pollute here with unrelated issues 😄 |
This is a followup to the previous PR and sports a working compilation with OpenCV4. Please note that the submodule has been changed to point to my own fork of darknet.
I've created a PR on the original one but repointed the submodule to still keep everything working.