mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
Merge pull request #24622 from alexlyulkov:al/fixed-android-sample-img-save
Fixed problem with saving images in Android sample #24622 Fixes https://github.com/opencv/opencv/issues/24590 Current code for saving images in Android sample worked only on very old phones. Added support for modern Android versions. Required: - https://github.com/opencv/ci-gha-workflow/pull/127 - https://github.com/opencv-infrastructure/opencv-gha-dockerfile/pull/27
This commit is contained in:
@@ -157,7 +157,7 @@ def main(args):
|
||||
if __name__ == "__main__":
|
||||
parser = argparse.ArgumentParser(description="Builds AAR with Java and shared C++ libs from OpenCV SDK")
|
||||
parser.add_argument('opencv_sdk_path')
|
||||
parser.add_argument('--android_compile_sdk', default="26")
|
||||
parser.add_argument('--android_compile_sdk', default="31")
|
||||
parser.add_argument('--android_min_sdk', default="21")
|
||||
parser.add_argument('--android_target_sdk', default="31")
|
||||
parser.add_argument('--java_version', default="1_8")
|
||||
|
||||
Reference in New Issue
Block a user