opencv/platforms
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
2023-11-17 14:17:17 +03:00
..
android Merge pull request #24473 from alexlyulkov:al/samples_with_maven 2023-11-17 14:17:17 +03:00
apple apple/build_xcframework.py: fix incorrect catalyst archs 2022-01-06 09:36:28 +01:00
ios Merge remote-tracking branch 'origin/3.4' into merge-3.4 2023-06-20 09:56:57 +03:00
js Merge pull request #24458 from laolaolulu:4.x 2023-11-13 14:51:20 +03:00
linux Merge pull request #24305 from hanliutong:toolchain 2023-09-25 13:06:22 +03:00
maven pre: OpenCV 4.8.0 (version++) 2023-06-20 15:52:57 +03:00
osx Merge pull request #20092 from komakai:disable_swift_build 2021-05-18 17:10:51 +03:00
scripts remove unsupported unsupported unicode 2023-06-11 23:02:34 +08:00
semihosting Merge pull request #20392 from fpetrogalli:aarch64-semihosting 2021-07-21 18:46:05 +03:00
wince Support building shared libraries on WINCE. 2019-08-01 15:28:04 +02:00
winpack_dldt Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2022-02-11 17:32:37 +00:00
winrt Merge pull request #20493 from abhi-bhatra:patch-1 2021-08-04 20:28:59 +03:00
readme.txt fix 4.x links 2021-12-22 13:24:30 +00:00

This folder contains toolchains and additional files that are needed for cross compilation.
For more information see introduction tutorials for target platform in documentation:
https://docs.opencv.org/4.x/df/d65/tutorial_table_of_content_introduction.html