Ask Your Question
2

OpenCV Java AP

asked Apr 15 '13

keowang gravatar image

Just wondering when I can look for the Java API right now I am struggling to find out how to do a simple Hough Line Transform. I've seen a well-written tutorial in C++, where's the counterpart in Java? Please do not refer to http://docs.opencv.org/java/2.4.5/ since it's such a pain to find out which function is in which class.

Thanks a lot.

Preview: (hide)

1 answer

Sort by » oldest newest most voted
1

answered Apr 15 '13

I do not want to ruin or spoil the fun for you, but the Java documentation is a good start to look if the Hough Transforms are actually already ported to the Java interface.

When looking at the available functions to the left, you can see that there isn't a port yet so you will have to decide the following:

  • Or you just stick with C++ if you want the complete OpenCV functionality available.
  • Or you build a wrapper function for the Hough Transform and port it to Java yourself. If you do please consider making a pull request to add it to the source code.
  • Or you could look for Java existing wrappers, like JavaCV and see if they already provide the functionality needed : http://code.google.com/p/javacv/
Preview: (hide)

Question Tools

1 follower

Stats

Asked: Apr 15 '13

Seen: 368 times

Last updated: Apr 15 '13