Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Is it possible to use the gpu module using the new Java bindings ?

I've spent days figuring out ways to fix errors while compiling openCV in the new java bindings thing (I'm on 32-bit Ubuntu 10.04). I finally managed to get openCV 2.4.9 to compile using cmake (with no errors) with all the needed modules (java, gpu, python etc.) and with CUDA enabled. After the whole thing builds (again, no errors), I create an Eclipse project (all according to the tutorial here), and I can use the core modules and others (the example code runs fine). HOWEVER, I can't use the gpu module at all (it doesn't show up when I try to import it).

Once again, I used the WITH_CUDA=ON flag when I did cmake (and I checked the output, and it did actually build and create folders and .o and .a files for gpu stuff, but it never created the .java files for the gpu module, and so I can't access the gpu module in Java).

So, my question is: Is it even possible to use the gpu module using the new Java bindings? Or is there some sort limitation with this new Java bindings thing? (I really have no idea) If it is possible, then I must be doing something wrong (I might open another question to solve that). But I'd first like to know whether it is possible or not.

Is it possible to use the gpu module using the new Java bindings ?

I've spent days figuring out ways to fix errors while compiling openCV in the new java bindings thing (I'm on 32-bit Ubuntu 10.04). I finally managed to get openCV 2.4.9 to compile using cmake (with no errors) with all the needed modules (java, gpu, python etc.) and with CUDA enabled. After the whole thing builds (again, no errors), I create an Eclipse project (all according to the tutorial here), and I can use the core modules and others (the example code runs fine). HOWEVER, I can't use the gpu module at all (it doesn't show up when I try to import it).

Once again, I used the WITH_CUDA=ON flag when I did cmake (and I checked the output, and it did actually build and create folders and .o and .a files for gpu stuff, but it never created the .java files for the gpu module, and so I can't access the gpu module in Java).

So, my question is: Is it even possible to use the gpu module using the new Java bindings? Or is there some sort of limitation with this new Java bindings thing? (I really have no idea) If it is possible, then I must be doing something wrong (I might open another question to solve that). But I'd first like to know whether it is possible or not.

click to hide/show revision 3
updated title to attract answers and improved formatting

[yes or no question] Is it possible to use the gpu module using the new Java bindings ?

Background: I've spent days figuring out ways to fix errors while compiling openCV in the new java bindings thing (I'm on 32-bit Ubuntu 10.04). I finally managed to get openCV 2.4.9 to compile using cmake (with no errors) with all the needed modules (java, gpu, python etc.) and with CUDA enabled. After the whole thing builds (again, no errors), I create an Eclipse project (all according to the tutorial here), and I can use the core modules and others (the example code runs fine). HOWEVER, I can't use the gpu module at all (it doesn't show up when I try to import it).

Summary: Once again, I used the WITH_CUDA=ON flag when I did cmake (and I checked the output, and it did actually build and create folders and .o and .a files for gpu stuff, but it never created the .java files for the gpu module, and so I can't access the gpu module in Java).

So, my question is: is: Is it even possible to use the gpu module using the new Java bindings? Or is there some sort of limitation with this new Java bindings thing? (I really have no idea) If it is possible, then I must be doing something wrong (I might open another question to solve that). But I'd first like to know whether it is possible or not.

click to hide/show revision 4
retagged

[yes or no question] Is it possible to use the gpu module using the new Java bindings ?

Background: I've spent days figuring out ways to fix errors while compiling openCV in the new java bindings thing (I'm on 32-bit Ubuntu 10.04). I finally managed to get openCV 2.4.9 to compile using cmake (with no errors) with all the needed modules (java, gpu, python etc.) and with CUDA enabled. After the whole thing builds (again, no errors), I create an Eclipse project (all according to the tutorial here), and I can use the core modules and others (the example code runs fine). HOWEVER, I can't use the gpu module at all (it doesn't show up when I try to import it).

Summary: Once again, I used the WITH_CUDA=ON flag when I did cmake (and I checked the output, and it did actually build and create folders and .o and .a files for gpu stuff, but it never created the .java files for the gpu module, and so I can't access the gpu module in Java).

So, my question is: Is it even possible to use the gpu module using the new Java bindings? Or is there some sort of limitation with this new Java bindings thing? (I really have no idea) If it is possible, then I must be doing something wrong (I might open another question to solve that). But I'd first like to know whether it is possible or not.