You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In many places in my project I used similar lines:
CvScalar scalar=new CvScalar(0,1,2,3);
CvPoint point = new CvPoint(0,0)
then I changed library imports from com.googlecode. .... to org.bytedeco.javacpp. ...
(and library version from 0.7 to 0.8)
Now, although I use in my project this lines:
import org.bytedeco.javacpp.opencv_core.CvScalar;
import org.bytedeco.javacpp.opencv_core.CvPoint;
I don't see proper constructors (and generally class:
public static class CvScalar extends Pointer{..}).
Am I missed something or they shouldn't be avaible in ver. 0.8?
The text was updated successfully, but these errors were encountered:
Those constructors are one thing I wasn't able to get working with the switch to JavaCPP Presets. They are not part of the original C API, so it's not such a big issue I thought. Instead, we can use the cvScalar() and cvPoint() "factory function" as per the original C API.
In many places in my project I used similar lines:
CvScalar scalar=new CvScalar(0,1,2,3);
CvPoint point = new CvPoint(0,0)
then I changed library imports from com.googlecode. .... to org.bytedeco.javacpp. ...
(and library version from 0.7 to 0.8)
Now, although I use in my project this lines:
import org.bytedeco.javacpp.opencv_core.CvScalar;
import org.bytedeco.javacpp.opencv_core.CvPoint;
I don't see proper constructors (and generally class:
public static class CvScalar extends Pointer{..}).
Am I missed something or they shouldn't be avaible in ver. 0.8?
The text was updated successfully, but these errors were encountered: