Alexander Alekhin
9cd1d087c3
android(camera2): apply .disconnectCamera() patch from issue 13574
5 years ago
Alexander Alekhin
a45928045a
Merge pull request #16150 from alalek:cmake_avoid_deprecated_link_private
...
* cmake: avoid deprecated LINK_PRIVATE/LINK_PUBLIC
see CMP0023 (CMake 2.8.12+)
* cmake: fix 3rdparty list
- don't include OpenCV modules
5 years ago
Alexander Alekhin
80c4cedd25
android: use .getRowStride() in JavaCamera2View
5 years ago
Alexander Alekhin
86e7d82418
javadoc: fix generation with OpenJDK 11
5 years ago
luz.paz
fcc7d8dd4e
Fix modules/ typos
...
Found using `codespell -q 3 -S ./3rdparty -L activ,amin,ang,atleast,childs,dof,endwhile,halfs,hist,iff,nd,od,uint`
backporting of commit: ec43292e1e
5 years ago
luz.paz
ec43292e1e
Fix modules/ typos
...
Found using `codespell -q 3 -S ./3rdparty -L activ,amin,ang,atleast,childs,dof,endwhile,halfs,hist,iff,nd,od,uint`
5 years ago
Giles Payne
2734291b35
Add CameraActivity utility class to automate Camera permission request handling
5 years ago
Alexander Alekhin
95415ac3a5
android: change ANDROID_STL='c++_shared'
...
- fixes crashes in face-detector application
- libc++_shared.so is bundled automatically via CMake helper project
5 years ago
Alexander Alekhin
3998b41d68
android: JavaCamera2View use calculateCameraFrameSize() method
...
from CameraBridgeViewBase (common base with JavaCameraView)
5 years ago
Jan Starzynski
e9ed7eb68d
make -fvisibility=hidden work with java 1.7
6 years ago
Alexander Alekhin
60fb1fde75
java: wrap StringIO() to support unicode strings
6 years ago
Alexander Alekhin
c6deba6003
android: fix javadoc
6 years ago
Ahmed Ashour
5c56b8ce92
java: generated code to have javadoc
6 years ago
Ahmed Ashour
ca8a1d2cff
java: generated code inline return
6 years ago
Alexander Alekhin
b958498074
java(test): test package filtering
...
Usage example:
- run.py -a -t java --package=calib3d
6 years ago
Alexander Alekhin
171dd9eff5
java(test): enable debug mode to show useful stacktraces
6 years ago
Ahmed Ashour
f9564e053d
java: test: use assertNotNull and assertFalse
6 years ago
Ahmed Ashour
f3319f6140
java: remove redundant declaration of java.lang package
6 years ago
Alexander Alekhin
3c1267dbe6
android: update 'debug' information support
6 years ago
Alexander Alekhin
8936a0f3a5
android: fix JavaCamera2View UV plane handling
6 years ago
Alexander Alekhin
52f16e0f55
tests: workaround for DYLD_LIBRARY_PATH on Apple MacOSX
6 years ago
vdgussem
00861b668a
Changed the way Images are converted into rgba Mats so that JavaCamera2View also shows correct colors when the Image contains I420 or YV12 data
6 years ago
Dmitry Kurtaev
4c2100e02c
Merge pull request #14266 from dkurt:fix_qrcode_decode_java
...
* Fix decode and detectAndDecode Java wrappers for QRCodeDetector
* revert changes in objdetect
* java: fix wrapping of std::string type
6 years ago
Alexander Alekhin
1fa3d21f6a
android: don't install java/build.gradle
6 years ago
Giles Payne
55f02d8c66
Merge pull request #14011 from komakai:debug-build
...
* Add Android SDK debug build flag
* Change LOG_TAG define for consistency with other modules
6 years ago
Giles Payne
11dbd86aa3
Merge pull request #13956 from komakai:java-mat-class-improvements
...
* Expose more C++ functionality in the Java wrapper of the Mat class
In particular expose methods for handling Mat with more than 2 dimensions
* add constructors taking an array of dimension sizes
* add constructor taking an existing Mat and an array of Ranges
* add override of the create method taking an array of dimension sizes
* add overrides of the ones and zeros methods taking an array of dimension sizes
* add override of the submat method taking an array of ranges
* add overrides of put and get taking arrays of indices
* add wrapper for copySize method
* fix crash in the JNI wrapper of the reshape(int cn, int[] newshape) method
* add test for each method added to Mat.java
* Fix broken test
6 years ago
Adrian Renner
442fdfd4b2
Merge pull request #13999 from addyi:fixAndroidLintingErrors
...
* fix android lint error in BaseLoaderCallback (LongLogTag)
Lint Error that was causde by the to long TAG:
BaseLoaderCallback.java:31:
Error: The logging tag can be at most 23 characters,
was 31 (OpenCVLoader/BaseLoaderCallback) [LongLogTag]
Log.e(TAG, "Package installation failed!");
* add requested "OCV" prefix for android logging
6 years ago
Alexander Alekhin
0a98bc0ee9
java: avoid enum values with references on other enums
...
declaration order is not fixed
Error message:
Core.java:97: error: illegal forward reference
Hamming_normType = NORM_HAMMING,
6 years ago
Alexander Alekhin
f5b58e5fc9
bindings: backport generator from OpenCV 4.x
...
- better handling of enum arguments
- less merge conflicts
6 years ago
Jaewoo Song
225bdc21c0
Making JavaCamera2View behaves in the same way as JavaCameraView
6 years ago
Alexander Alekhin
2b35c1708b
android: gradle-based package and samples
...
- drop hello-android sample
6 years ago
Dmitry Kurtaev
6fbcb283b9
Try to fix "enum struct" wrapping for Java
6 years ago
Alexander Alekhin
8d907d2e32
cmake(java): add OPENCV_JAVA_SOURCE_VERSION/OPENCV_JAVA_TARGET_VERSION
6 years ago
Alexander Alekhin
a574788e89
move legacy C-API constants into separate files
6 years ago
berak
eaee63d96b
java: add converters, tests for MatOfRotatedRect
6 years ago
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
Dmitry Kurtaev
d486204a0d
Merge pull request #12264 from dkurt:dnn_remove_forward_method
...
* Remove a forward method in dnn::Layer
* Add a test
* Fix tests
* Mark multiple dnn::Layer::finalize methods as deprecated
* Replace back dnn's inputBlobs to vector of pointers
* Remove Layer::forward_fallback from CV_OCL_RUN scopes
6 years ago
Hamdi Sahloul
78835ad87a
Support enum arguments for Java binding
6 years ago
Hamdi Sahloul
f89e4e7dd0
Support parsing C++11 `enum struct` and `enum class`
6 years ago
berak
72f422c7dc
java: fix LIST_GET macro
6 years ago
Hamdi Sahloul
900df21b7d
Support enum-type detection for binding generator
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
cclauss
05c1a3d160
print() is a function in Python 3
7 years ago
Alexander Alekhin
c6aa97c9aa
next(android): java3 -> java4
7 years ago
Alexander Alekhin
6abfc6761e
android: refactor Android SDK detection
...
- properly detect Android SDK support of Ant/Gradle projects
- divide processing of And/Gradle based projects
7 years ago
Alexander Alekhin
08941b7890
cmake: avoid amending of CMAKE_COMPILER_IS_[GNUCXX|CLANGCXX|CCACHE] vars
...
- Recommended compiler checks:
- GCC: CV_GCC
- Clang: CV_CLANG
- fixed problem with CMAKE_CXX_COMPILER_ID=Clang/AppleClang mess on MacOSX
Details: cmake --help-policy CMP0025
- do not declare Clang as GCC compiler
7 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