Ask Your Question

Genom's profile - activity

2018-01-04 11:28:13 -0600 commented answer How to contribute my code for Java bindings?

Yes, but I meant other .java files in build dir in my question, which are machine generated. I discovered core+... utils

2018-01-04 09:21:29 -0600 answered a question How to contribute my code for Java bindings?

As an alternative for some classes, one can modify files named such as core+Mat.java or core+MatOfByte.java. These files

2018-01-04 09:20:00 -0600 received badge  Supporter (source)
2018-01-04 09:19:59 -0600 marked best answer How to contribute my code for Java bindings?

Hi,

I would like to improve Java bindings and add missing functions for Java bindings. As far as I can see, Java bindings are generated automatically. I am not familiar with automatically generated bindings, if this is indeed the case. Is there any way to change somehow generated .java files? For instance if I manipulate the generated java files, I can improve the code the way I want. I suppose, others can also benefit from my changes. I would like to submit it, but those files don't even exist in the repository on Github (since they are auto-generated). I suppose the auto-generator script also doesn't work properly. For instance function function Core.abs() doesn't exist in Java bindings. I would like to improve that as well.

2018-01-04 09:19:59 -0600 received badge  Scholar (source)
2018-01-02 18:03:10 -0600 commented answer How to contribute my code for Java bindings?

Thanks a lot. But convertScaleAbs doesn't exactly do the same. It converts to 8-bit results. I would like to have 16 or

2018-01-01 11:49:50 -0600 received badge  Student (source)
2018-01-01 09:58:39 -0600 asked a question How to contribute my code for Java bindings?

How to contribute my code for Java bindings? Hi, I would like to improve Java bindings and add missing functions for Ja

2017-07-23 03:05:25 -0600 received badge  Enthusiast
2017-07-18 05:38:05 -0600 asked a question How to load image from byte array with an offset?

Hi,

I would like to load an image from Java primitive byte array into a Mat object. However, the JPG formatted image is within a larger byte array (a raw file but this doesn't matter). I can locate the JPG file embedded in a raw file. I would like to use this subset of primitive byte array to get a Mat object of this embedded JPG file. Java doesn't allow subsetting a primitive array without copying it. MatOfBytes accepts the whole buffer and I can't pass offset or length values. It also doesn't allow to use a ByteBuffer. Is there any other way of accomplishing this in OpenCV?

Best, Genom

2016-01-16 10:00:38 -0600 commented answer I do not find opencv jar file to work in eclipse linux

I followed the exact steps but still I am unable to locate JAR files. Although the JAVA_HOME variable is set, I don't see jar files anywhere.