Alexander Smorkalov
fde99e68c0
Removed Android AIDL from build scrips and tutorials as it's not needed since 4.9.0.
11 months ago
Alexander Lyulkov
8ade7f6177
Added any screen orientation support for JavaCameraView
11 months ago
Alexander Smorkalov
e5d1309fcf
Fixed typo in Android build scripts.
11 months ago
Alexander Smorkalov
7b1a5fb3de
Migrate Android Face Detection sample to DNN.
1 year ago
Alexander Smorkalov
aa6b399b5a
AAR package build and test with CI
...
- Use the same tools and plugins for SDK build and AAR build
- Added script to test Gradle-based samples against local maven repo
- Various local fixes and debug prints
1 year ago
Alexander Smorkalov
2830551e89
Drop OpenCV Manager from samples initialization.
1 year ago
alexlyulkov
6c57ce9e09
Merge pull request #24473 from alexlyulkov:al/samples_with_maven
...
Updated Android samples for modern Android studio. Added OpenCV from Maven support. #24473
Updated samples for recent Android studio:
- added namespace field that is required in build.gradle files
- replaced _switch_ by _if-else_ because it doesn't work with constants from resources
- added missed log library dependency in face-detection/jni/CMakeLists.txt
- use local.properties to define NDK location
Added support for OpenCV from Maven. Now you can choose 3 possible sources of OpenCV lib in settings.gradle: SDK path, local Maven repository, public Maven repository. (Creating Maven repository from SDK is added here #24456 )
There are differences in project configs for SDK and Maven versions:
- different dependencies in build.gradle
- different OpenCV library names in CMakeLists.txt
- SDK version requires OpenCV_DIR definition
Requires:
- https://github.com/opencv/ci-gha-workflow/pull/124
- https://github.com/opencv-infrastructure/opencv-gha-dockerfile/pull/26
1 year ago
Alexander Alekhin
eae5fd81e5
android: add android:exported="true"
2 years ago
Alexander Alekhin
01c1b341a8
cmake: enable C++11 implicitly
5 years ago
hannesa2
57c9991413
Merge pull request #16481 from hannesa2:DeleteOldAndroidManifest.xml
...
* delete old AndroidManifrst.xml
* fix tutorial generation
5 years ago
Hannes Achleitner
afc8dd5661
remove Eclipse relicts in Android sample
5 years ago
Hannes Achleitner
2da7360b63
Remove Android Eclipse relicts
5 years ago
Giles Payne
2734291b35
Add CameraActivity utility class to automate Camera permission request handling
5 years ago
Otto Seiskari
3a1ccd5f43
Remove fullscreen android:theme where it hides the menu
...
Many of the Android samples rely on an options menu to work properly
but, at least on newer devices, the menu is permanently hidden by the
Android theme "Theme.NoTitleBar.Fullscreen", which means that most
of the examples were dysfunctional.
6 years ago
Alexander Alekhin
2b35c1708b
android: gradle-based package and samples
...
- drop hello-android sample
6 years ago
tompollok
2da56d5af6
refactoring catching all exceptions as const ref
6 years ago
Alexander Alekhin
8533b45ce9
cmake: Java/Android SDK refactoring
7 years ago
Alexander Alekhin
133b91a026
android: build fixes
...
- eliminate CMake 3.5+ warnings
- removed usage of dropped "OPENCV_CAMERA_MODULES" variable
- partial support for Android NDK 11+
8 years ago
Alexander Alekhin
4d17051f14
android: backport Android SDK build script
8 years ago
Suleyman TURKMEN
11ca1c95f8
update cpp samples and tutorials
9 years ago
Alexander Alekhin
491a3fdebc
android samples: force setVisibility (see #5812 )
9 years ago
Alexander Alekhin
e1ad86c1fa
android samples: update way to attach native part of OpenCV
...
OPENCV_ANDROID_SDK - OpenCV Android SDK location (or OpenCV build dir)
Can be passed via ndk-build parameter or environment variable.
9 years ago
Maksim Shabunin
bfa77ff5a4
Increase android samples versions
10 years ago
Maksim Shabunin
231685133e
OpenCV Manager: support 3.0.0 library
10 years ago
Maksim Shabunin
c42424f2db
Fixed android samples build
10 years ago
Vadim Pisarevsky
00b2124876
fixing more compile problems with Java bindings etc
10 years ago
Vadim Pisarevsky
07c0d50edf
put the detection-based tracker back (to objdetect module), so that the Android face detection sample builds fine. The patch by Konstantin Matskevich that adds C++11 threads support has been merged in too. Also, fixed compile error in the doc builder.
11 years ago
Alexander Alekhin
15b6fd2ec4
android: allow to build & run examples without Android OpenCV Manager
11 years ago
Alexander Smorkalov
fdc1a06397
Invalid copy-passed exception messages in FaceDetect sample for Android fixed.
11 years ago
Vladislav Vinogradov
0c7663eb3b
Merge branch 'master' into gpu-cuda-rename
...
Conflicts:
modules/core/include/opencv2/core/cuda.hpp
modules/cudacodec/src/thread.cpp
modules/cudacodec/src/thread.hpp
modules/superres/perf/perf_superres.cpp
modules/superres/src/btv_l1_cuda.cpp
modules/superres/src/optical_flow.cpp
modules/videostab/src/global_motion.cpp
modules/videostab/src/inpainting.cpp
samples/cpp/stitching_detailed.cpp
samples/cpp/videostab.cpp
samples/gpu/stereo_multi.cpp
11 years ago
Roman Donchenko
62353b7980
Boring changes - samples.
11 years ago
Roman Donchenko
e9a28f66ee
Normalized file endings.
11 years ago
hbristow
2059972bf7
Preparing to rebase
12 years ago
caorong
a2adafd508
fix a bug(DetectorType never change)
...
changed line281 -> line220
Presentation:
because line 220 give the globle var mDetectorType,and in line 230 it will be compared with mDeteorType !!! it will never be unequal ~
fix:
change mDetectorType(previous globle var) to a new local val tmpDetectorType
12 years ago
Alexander Smorkalov
076941bb07
15-puzzle app reverted to usage of old CvCameraViewListener implementation;
...
super.onPause() call moved to begining of onPause method according Google recomandations.
12 years ago
Alexander Smorkalov
f8720ec60e
Code review issues fixed. Compatibility issues fixed.
12 years ago
Alexander Smorkalov
6b5eac328f
Android samples updated according onCameraFrame callback signature change.
...
FpsMeter class removed from Image Manipulations and Face Detection examples as unused code.
12 years ago
Andrey Pavlenko
b19f672843
( #2569 ) simplifying code to avoid Eclipse CDT editor confusion, removing warnings and typos in comments
12 years ago
Alexander Smorkalov
2c67731a7b
Issue #2549 OpenCV Samples does not expand on full screen fixed.
...
All samples use application style in android manifest instead of system calls in onCreate event now.
12 years ago
Andrey Pavlenko
cfd634ca3e
Improving compatibility with the latest Android SDK (r21) and NDK (r8c).
...
- Adding Android SDK/ADT r21 compatibility;
- fixing stl headers path for new ndk;
- fixing native API level for Android projects
12 years ago
Alexander Smorkalov
91a9923dcf
Face detection package name replaced on org.opencv.facedetect for consistency with Google Play package.
12 years ago
Alexander Smorkalov
95b7f5c46c
Face Detection sample namespace replaced on org.opencv.facedetect for consistency with Google Play.
12 years ago
Alexander Smorkalov
a1a2cb0aeb
OpenCV Samples testing problems fixed:
...
Memory leak in color-blob-detection sample fixed;
Default face size in face-detection is set to 20%;
Error handling improved;
Some possible mat leak fixed;
Manager verison and engine interface version incremented to fix incompatibilities;
Docs updated;
12 years ago
Alexander Smorkalov
83d8bc8c55
Tutorial 1 updated. Execution time camera switching implemented.
...
Some unification done to simplify camera switching.
12 years ago
Alexander Smorkalov
76bcf72ded
2.4.3 version support added to OpenCV Manager. Docs updated. Samples updated.
12 years ago
Alexander Smorkalov
a942747046
Code review coments fixed. Lint wornings fixed.
12 years ago
Alexander Smorkalov
2fd8b51a26
Face detection sample ported on new framework.
12 years ago
OpenCV Buildbot
81f826db2b
Normalize line endings and whitespace
12 years ago
OpenCV Buildbot
04384a71e4
Normalize line endings and whitespace
12 years ago
Andrey Kamaev
26bcb3812c
Fix binary compatibility of opencv_contrib
12 years ago