berak
0cd14e3fb4
java: add support for MatOfRotatedRect
6 years ago
Dmitry Kurtaev
92f754c675
Add methods to reshape Mat in Java by array of shapes and retreive sizes of each dimension.
6 years ago
soonbro
9b9f38afc8
fix typo in FpsMeter.java
...
'mFramesCouner' -> 'mFramesCounter'
6 years ago
Hamdi Sahloul
a39e0daacf
Utilize CV_UNUSED macro
6 years ago
berak
72f422c7dc
java: fix LIST_GET macro
6 years ago
Dmitry Kurtaev
f38808a39f
Add Java overloads for each default argument ( #11940 )
...
* Add Java overloads for each default argument
* Add "fisheye_" prefix for cv::fisheye:: functions and enums
6 years ago
Alexander Alekhin
76c40e8f0d
java: fix copy_java_files() in gen_java.py
...
- missing 'module'
- fixed '\r\n' EOL handling (blocked by '$' regex)
7 years ago
Florian Echtler
6a8f57e5d7
Merge pull request #10081 from floe:java-camera2-view
...
* add (untested) JavaCamera2View class
* initial fixes
* minor cleanup
* exclude JavaCamera2View from build for older SDK version
* fix method name typo
* add asserts + sanity checks
* fix preview format checks
* fix the memory leak
* export cvtTwoPlaneYUVtoBGR for Java usage
* add handling for two-plane YUV frames (C wrapper still missing)
* add two-plane cvtColor helper function
* fix warnings
* actually use the new cvtColorTwoPlane helper func
* fix wrong output matrix size
* fix wrong conversion type
* simplify method signature, add error condition
* minor fixes to Mat types
* remove leftover semaphore from camera api 1
* android: JavaCamera2View minor refactoring
- re-apply Java code style
- imports cleanup
- dump exceptions information
* android: JavaCamera2View: pause/resume fixes
* android: JavaCamera2View: fix mScale
7 years ago
luz.paz
d05714995c
Misc. modules/ cont. pt2
...
Found via `codespell`
7 years ago
Alexander Alekhin
a362fd80df
java: fix bindings generator
...
- fix imports override.
Problem is observed with BoostDesc.
- add Ptr<> handling (constructor is protected from other packages).
Observed in ximgproc:
Ptr<StereoMatcher> createRightMatcher(Ptr<StereoMatcher> matcher_left)"
where, "StereoMather" is from another package (calib3d)
7 years ago
Alexander Alekhin
1237faef80
java: disable highgui wrapped code
7 years ago
Alexander Alekhin
a0d9d6db5b
fixes for old CMake (2.8.12.2)
7 years ago
Alexander Alekhin
8533b45ce9
cmake: Java/Android SDK refactoring
7 years ago
Alexander Alekhin
0cad2d2a83
java: files rename
...
intermediate commit (to simplify code review)
7 years ago
SarenT
c6d9ce8fd3
Merge pull request #10489 from SarenT:offset-mat_put
...
Adding capability to parse subsections of a byte array in Java bindings (#10489 )
* Adding capability to parse subsections of a byte array in Java bindings. (Because Java lacks pointers. Therefore, reading images within a subsection of a byte array is impossible by Java's nature and limitations. Because of this, many IO functions in Java require additional parameters offset and length to define, which section of an array to be read.)
* Corrected according to the review. Previous interfaces were restored, instead internal interfaces were modified to provide subsampling of java byte arrays.
* Adding tests and test related files.
* Adding missing files for the test.
* Simplified the test
* Check was corrected according to discussion. An OutOfRangeException will be thrown instead of returning.
* java: update MatOfByte implementation checks / tests
7 years ago
Moshe
84596bff09
Bitwise "and false"
...
Bitwise "and false" is always false.
7 years ago
Alexander Alekhin
cac4a7e5b5
OpenCV version++
...
OpenCV 3.4.0-rc
7 years ago
Jcrist99
0608227e10
Merge pull request #9698 from abratchik:parse.doxygen
...
Support @deprecated tag in java wrappers (#9698 )
7 years ago
Florian Echtler
2e772510ea
Merge pull request #10050 from floe/android-studio-3.3.1
...
Add Android Mat constructor with support for native buffer (#10050 )
7 years ago
Alexander Alekhin
01519313d7
dnn: invalid bindings
7 years ago
Aleksandr Rybnikov
8b1146deb2
Added function to get timings for layers
7 years ago
Alexander Alekhin
2360291c3e
java: update source files processing, maven stuff
7 years ago
likan999
74127d44d0
More accurate condition to detect emulator
...
Previous commit, 6f39f9a
, tries to fix the color issue for emulator. But the condition for detecting emulator is incomplete, e.g. it stops working for emulators using Google Play, whose Build.BRAND=="google". https://stackoverflow.com/a/21505193 shows a more accurate condition for this.
8 years ago
abratchik
037d8fbdcd
Refactor OpenCV Java Wrapping
8 years ago
Vladislav Sovrasov
bf62be7f63
java: allow to wrap functions which take cv::Ptr
8 years ago
Maksim Shabunin
8b455e8bb3
Fixed Algorithm.save and other methods work in Java
8 years ago
Kerry Billingham
d9231afa29
Changes made to the Maven build process:
...
* Introduced OSGi Blueprint XML file and Bean class too automatically load the native library.
* Introduced integration testing module to deploy to Karaf OSGi implementation.
* Clears library executable stack flag during build.
* Updated README document.
8 years ago
Kuan-Yi Li
e685dcef0b
Fix typos
8 years ago
Philipp Hasper
ec38ef9b10
CameraBridgeViewBase synchronizes on a final field
...
Synchronizing against non-final fields is advised against.
8 years ago
Jose Gómez
6f39f9a6a0
Merge pull request #8168 from jmgomezpoveda:issue_8166
...
* Use the YV12 format in the Android emulator to avoid image issues
* Removed trailing spaces
* Added exception in else case
* Removed tab
8 years ago
Hans Gaiser
11b24eb49f
Expose CirclesGridFinderParameters in findCirclesGrid.
8 years ago
utibenkei
6501d54267
Fix bug that occurs when module name and inherited class name are same.
8 years ago
utibenkei
579ffbf97e
Added Java wrapping for tracking module
8 years ago
Alexander Alekhin
d85c11e525
OpenCV version++
...
3.2.0-rc
8 years ago
Alexander Alekhin
cc09f5a7de
Merge pull request #7854 from alalek:backports_2016
...
(2.4) Backports from master branch (#7854 )
8 years ago
abratchik
4207ebbce7
fix for VideoCapture crash
8 years ago
abratchik
084c595855
fix for legacy FeatureDetector and DescriptorMatcher classes
8 years ago
Alexander Alekhin
c16c803fe9
java: integrate code from base modules
...
To resolve undefined "Mat_to_vector_KeyPoint" error
8 years ago
abratchik
789b35d813
improved fix for java wrapper generator (gen_java.py) to avoid generation of java methods with duplicate signatures(v3)
8 years ago
Alexander Alekhin
714db4cf0d
java: fix Ptr<> code generation
...
Before:
Ptr<Dictionary>((cv::aruco::Dictionary*)dictionary_nativeObj)
After:
Ptr<cv::aruco::Dictionary>((cv::aruco::Dictionary*)dictionary_nativeObj)
8 years ago
abratchik
be028d0774
fix for #7420 , #7421
8 years ago
Jcrist99
770c69a978
fix for feature2d java wrappers as described in this post: http://ans … ( #7372 )
...
* fix for feature2d java wrappers as described in this post: http://answers.opencv.org/question/101675/surfsift-java-wrapper-for-opencv-3xosx-1011/
* fix for feature2d java wrappers as described in this post: http://answers.opencv.org/question/101675/surfsift-java-wrapper-for-opencv-3xosx-1011/
* rollback of one change as requested (similar change already merged)
8 years ago
mshabunin
7a7a2749e0
Fixed java wrappers
8 years ago
Alexander Alekhin
4d17051f14
android: backport Android SDK build script
8 years ago
Marek Smigielski
1aa14e4929
fix tab for gen_java.py
8 years ago
Marek Smigielski
723b42e0da
Add namespaces and proper support of the pointers
8 years ago
Jan Starzynski
479f933970
get/put: more type-safety and code unification using templates
9 years ago
Marek Smigielski
ef45005056
Adding support for pointer generation. Fixes #6605
9 years ago
dharezlak
308b47ce58
Improved Java wrapper generation
...
While generating Java JNI wrappers package names with an underscore (`_`) character where not properly escaped according to https://docs.oracle.com/javase/8/docs/technotes/guides/jni/spec/design.html#resolving_native_method_names (see also: https://github.com/Itseez/opencv_contrib/issues/652 ).
This fix replaces all the occurrences of `_` with `_1` resulting in proper JNI method names.
9 years ago
Philipp Hasper
cc7a1a2ab7
Deactivated two noisy camera-retrieval log messages in android
...
They were issued for every frame retrieved - even in a release build.
9 years ago