Ask Your Question
0

How to access the Draw Functions with Java Bindings?

asked 2013-03-31 13:57:32 -0600

birdy gravatar image

updated 2013-04-01 03:33:02 -0600

Andrey Pavlenko gravatar image

There are several draw functions available from OpenCV. I am trying the new Java wrapper for OpenCV however, I can't seem to find any of the draw functions in the java API

I would hate to think that draw functions didn't make it in the Java API...

Am I missing something? Whats is a way to access those draw functions in the Java API?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-04-01 03:22:50 -0600

Andrey Pavlenko gravatar image

As per the up-to-date documentation (@docs.opencv.org) the drawing functions are located in the core module. So please look at its javadoc, in particular:

circle: http://docs.opencv.org/java/org/opencv/core/Core.html#circle(org.opencv.core.Mat, org.opencv.core.Point, int, org.opencv.core.Scalar)

rectangle: http://docs.opencv.org/java/org/opencv/core/Core.html#rectangle(org.opencv.core.Mat, org.opencv.core.Point, org.opencv.core.Point, org.opencv.core.Scalar)

line: http://docs.opencv.org/java/org/opencv/core/Core.html#line(org.opencv.core.Mat, org.opencv.core.Point, org.opencv.core.Point, org.opencv.core.Scalar)

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-03-31 13:57:32 -0600

Seen: 2,843 times

Last updated: Apr 01 '13