Roman Donchenko
5bb6949bd6
Fix running Java tests with run.py on everything other than Windows.
...
Previously, run.py would assume that the opencv_java library is in the
same directory as the tests, which is only true on Windows.
The library path depends on the build configuration, which may not be
known until the actual build (e.g. with the Visual Studio generators),
so it can't be stored in the CMake cache for run.py to read. I didn't
want to hardcode into run.py where the library is on each platform,
either. So that's why I used the current scheme with the properties
file. It also makes running the tests without run.py a little easier.
11 years ago
Alexander Alekhin
2a9d24323c
cmake: add opencv_java into list of exported targets (fix for android)
11 years ago
Roman Donchenko
a61d1e6494
Delete an import of junit.framework.Assert, which is deprecated in JUnit 4.x.
...
We don't use it, anyway.
11 years ago
Roman Donchenko
7ff91665cf
In Java bindings, wrap version constants into functions to prevent inlining.
...
Java inlines static finals if they're defined with a constant expression. In
case of version constants we don't want that to happen, since they obviously
change from version to version. If the user substitutes a different OpenCV
jar without recompiling, we want user code to still have relevant values for
the version constants.
This arranges that by turning constant values into function calls, which no
longer count as a constant expression.
11 years ago
Alexander Alekhin
bc089bb18c
cmake: update java module install rules
11 years ago
Alexander Smorkalov
98cb1dcc9a
MediaRecorder hint enabled for all Android devices with API level 14 and above.
...
It increases performance on some devices like Nexus4.
Target Android SDK version increased up to 14.
11 years ago
Roman Donchenko
6ebfa87181
Delete a bunch more trailing whitespace that slipped through the cracks.
11 years ago
Roman Donchenko
3c137f7a04
Converted tabs to spaces.
11 years ago
Roman Donchenko
e9a28f66ee
Normalized file endings.
11 years ago
Roman Donchenko
f55740da70
Deleted all trailing whitespace.
11 years ago
Alexander Smorkalov
e37f7a4c73
Typo in Java generator fixed.
...
Typo breaks debug build for Android platform.
11 years ago
Andrey Pavlenko
5a9bd3f080
restoring binary compatibility
11 years ago
Andrey Pavlenko
f3b1933a92
LinkedList -> ArrayList
11 years ago
Andrey Pavlenko
4902db1c42
also fixing JNI library name in JUnit tests
11 years ago
Andrey Pavlenko
d4e098f401
enabling of VideoCapture(String) [fixing issue #3207 ]
...
- enable auto-wrap of VideoCapture;
- minor refactoring of generated code templates.
11 years ago
Andrey Pavlenko
7b0734caf9
fixing java test after fix in OpenCV library
11 years ago
Andrey Pavlenko
a06891851d
fixing compilation with `-Werror=format-security` enabled
11 years ago
Jan Starzynski
d6b86d43c9
removed declaration of throwJavaException
11 years ago
Jan Starzynski
70930a30a1
refactored throwJavaException() and removed useless returns
11 years ago
Jan Starzynski
925e4eec98
removed multiplied code for exception handling
11 years ago
Jan Starzynski
9bf216742f
fixed cpackage -> package
12 years ago
Jan Starzynski
ee42b65063
corrected some spelling errors
12 years ago
Jan Starzynski
12c42ac145
fixed strings in n1_dims(): n1_dcols() -> n1_dims()
12 years ago
Jan Starzynski
1ccfa62f4f
adding method dims() to core.Mat
12 years ago
Alexander Smorkalov
91b713b8c9
JavaCameraView delivers same frame twice (Bug #3123 ) fixed.
12 years ago
Andrey Pavlenko
6069967109
removing unused import
12 years ago
Kirill Kornyakov
aef347e7b3
Removed references to opencv.itseez.com
12 years ago
Alexander Smorkalov
e241c14b94
OpenCV Library and Manager version incremented.
...
OpenCV Version 2.4.6;
OpenCV Manager Version 2.8;
Doc fixes.
12 years ago
Alexander Smorkalov
16c4aad36d
Java/Python bindings for computeCorrespondEpilines added.
...
Simle Java test for computeCorrespondEpilines added.
12 years ago
Alexander Smorkalov
83e9b0a87a
Javadoc waring fix.
12 years ago
Andrey Pavlenko
264d26e671
fixing empty Mat case
12 years ago
ograycode
97e9368e75
Simple set of the camera index to allow the user to change it after the object has been initialized.
12 years ago
poiuytrez
bef6de9025
Fix tuto3 picture taken crash on all devices
...
A modification of the JavaCameraView is needed to avoid a crash when the
app is exited. It is a good practice to remove the callback after the
stopPreview method.
12 years ago
Alexander Smorkalov
456c56fe90
NullPointerException in case of error on opening native camera fixed.
12 years ago
Andrey Pavlenko
8c40f0ccf2
fixing build and lint warnings
12 years ago
Roman Donchenko
57d4c86b2b
Fixed the shebang lines on the Python scripts.
...
Also, removed the one from modules/python/src2/cv.py and cleared its
executable bit, since it's not a script.
12 years ago
Alexander Smorkalov
6e8f5ae574
Front/back camera constants semantic for Android fixed (Bug #2839 ).
...
Front/Back camera constants' values changed;
Additional camera facing check added for JavaCameraView.
12 years ago
Andrey Pavlenko
4c31c26acf
fix for #2901 (en exception was raised when getting empty MatOfDMatch)
12 years ago
Andrey Pavlenko
09fe5cddf1
test for the issue #2901
12 years ago
Andrey Pavlenko
18b2d6bdbb
copying '.classpath' and '.project' to build dir, useful for opening in eclipse
12 years ago
Alexander Smorkalov
1e332d690f
OpenCV verison incremented
...
OpenCV Manager verison incremeneted;
Docs and tests updated accordingly;
COnstant for Manager initialization added.
12 years ago
Alexander Smorkalov
36367ec027
Several fixes android related fixes
...
Native activity build warning fixed;
Logcat messages for JavaCameraView updated (Bug #2876 );
Some fixes for feature #2893 done.
12 years ago
Andrey Kamaev
eeaa1e8751
Fix link of fat java wrapper on OS X
12 years ago
Alexander Bohn / FI$H2k
c66cf08ced
Fix for encoding errors when building Java source
...
The generated OpenCV Java source can contain characters outside of ASCII on some systems – this patch allows the ant task to compile them.
(cherry picked from commit f3ee55e042
)
12 years ago
Andrey Pavlenko
bbf43e8b16
fix for bug #2912 (DescriptorExtractor::compute Java wrapper loses native arg change)
12 years ago
Andrey Kamaev
f282498b1d
Drop outdated targets and fix solution folders
12 years ago
Alexander Smorkalov
8942eaf0d7
Stetch support for Android View classes added (Feature #2840 )
12 years ago
Andrey Pavlenko
0e64baaec5
removing redundant code
12 years ago
Andrey Pavlenko
116d3be9c0
moving JNI library to 'build/lib' dir on non-Win
12 years ago
Andrey Pavlenko
d18b2c2502
patch -> revision
12 years ago