-
Notifications
You must be signed in to change notification settings - Fork 750
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
OpenCV 3.1 DNN Module #145
Comments
No, but it shouldn't be too hard to add. Would you like to make contribution? |
I could try, but I have to talk to my team leader. In the meanwhile, can you tell me please where I can find the JavaCPP docs? The only one I found is on https://github.com/bytedeco/javacpp. Is it enough? |
I would suggest starting here: |
Hello, I'm trying to create the dnn presets with the code below, but I'm getting the following error Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project opencv: Compilation failure The row 558 is the following public native @ByVal cv::Ptr<Layer> call(@ByRef LayerParams params); It seems a problem with this typedef in layer.hpp typedef Ptr<Layer>(*Constuctor)(LayerParams ¶ms); Maybe a Info could solve it. Any suggestions? @Properties(inherit = {opencv_core.class}, value = {
@Platform(include = {"<opencv2/dnn.hpp>", "<opencv2/dnn/dict.hpp>","<opencv2/dnn/blob.hpp>", "<opencv2/dnn/layer.hpp>", "<opencv2/dnn/dnn.hpp>"}, link = "opencv_dnn@.3.1"),
@Platform(value = "windows", link = "opencv_dnn310")},
target = "org.bytedeco.javacpp.opencv_dnn")
public class opencv_dnn implements InfoMapper {
public void map(InfoMap infoMap) {
}
} |
Ok, the bug has been fixed, thanks.
|
Like I said in a comment that seems to have been deleted for some reason, we're going to need to define a |
Done! But unfortunately there is a new problem :-(
|
I don't have such problems on Linux. It looks like it doesn't support Windows yet... Could you ask the authors about that? Thanks! |
Ah, no, this isn't a problem with Windows. These functions are simply not defined:
So, we're going to need to add |
Great!, I built it. |
Great! Please send a pull request when done! Thanks |
Hello, For example, to skip I set but it skips all 'forward' functions and not only the needed one.
but it doesn't work. |
Yeah the Parser isn't so great here. Try to remove the space after the comma. That should work. |
Unfortunately it doesn't work :( |
can i create iris detection using javacv please help? |
Ok, I've committed some presets that should work. Enjoy! |
Thank you! http://docs.opencv.org/3.1.0/d5/de7/tutorial_dnn_googlenet.html#gsc.tab=0 It might be useful to someone. I can commit it on github if you agree on this. |
That would be great, thanks! If it's simple enough and fits in one Java file + small data, please send a pull request for the samples directory here: |
Included in the newly released version 1.2. Enjoy! |
A simple question: do the OpenCV presets include the new OpenCV 3.1 Deep Neural Network (DNN) module?
Thanks,
The text was updated successfully, but these errors were encountered: