Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Camera preview not starting #19

Open
knazneen123 opened this issue Oct 27, 2021 · 1 comment
Open

Camera preview not starting #19

knazneen123 opened this issue Oct 27, 2021 · 1 comment

Comments

@knazneen123
Copy link

Hey, i tried running this app on Mi Max 2 android phone but the app is not starting camera preview I have given the camera permissions as well
fa374ce1-79af-4691-98c5-1f0502dd909e
ll

My logs for reference

2021-10-27 14:52:37.574 8823-8823/? I/OrbTest::Activity@@java: called onCreate
2021-10-27 14:52:37.576 1781-1781/? D/EventBus: [1781, u0] send(AppTransitionFinishedEvent)
2021-10-27 14:52:37.576 1781-1781/? D/EventBus: [1781, u0] -> ForcedResizableInfoActivityController [0x3ba708, P1] onBusEvent(AppTransitionFinishedEvent)
2021-10-27 14:52:37.576 748-748/? D/SoftKeymaster: system/keymaster/soft_keymaster_device.cpp, Line 691: Not performing software digesting for algorithm 32
2021-10-27 14:52:37.576 1781-1781/? D/EventBus: [1781, u0] onBusEvent(AppTransitionFinishedEvent) duration: 27 microseconds, avg: 538
2021-10-27 14:52:37.576 748-748/? D/SoftKeymaster: system/keymaster/soft_keymaster_device.cpp, Line 1202: Operation supported by Keymaster QTI HAL, passing through to keymaster1 module
2021-10-27 14:52:37.578 8823-8823/? D/AccessibilityManager: current package=com.example.ys.orbtest, accessibility manager mIsFinalEnabled=false, mOptimizeEnabled=false, mIsUiAutomationEnabled=false, mIsInterestedPackage=false
2021-10-27 14:52:37.594 1568-2057/? I/Timeline: Timeline: App_transition_ready time:18287056
2021-10-27 14:52:37.598 8823-8823/? D/CameraBridge: Attr count: 6
2021-10-27 14:52:37.604 8823-8823/? I/TypefaceUtils: Typeface has no familyName field
2021-10-27 14:52:37.614 8823-8823/? I/OrbTest::Activity@@java: %YAML:1.0+++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.614 8823-8823/? I/OrbTest::Activity@@java: +++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.615 8823-8823/? I/OrbTest::Activity@@java: #--------------------------------------------------------------------------------------------+++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.615 8823-8823/? I/OrbTest::Activity@@java: # Camera Parameters. Adjust them!+++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.615 8823-8823/? I/OrbTest::Activity@@java: #--------------------------------------------------------------------------------------------+++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.616 8823-8823/? I/OrbTest::Activity@@java: +++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.616 8823-8823/? I/OrbTest::Activity@@java: # Camera calibration and distortion parameters (OpenCV) +++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.616 8823-8823/? I/OrbTest::Activity@@java: Camera.fx: 752.277145+++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.616 8823-8823/? I/OrbTest::Activity@@java: Camera.fy: 752.277145+++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.616 8823-8823/? I/OrbTest::Activity@@java: Camera.cx: 403.000000+++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.616 8823-8823/? I/OrbTest::Activity@@java: Camera.cy: 301.500000+++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.617 8823-8823/? I/OrbTest::Activity@@java: +++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.617 1781-1781/? W/View: requestLayout() improperly called by android.widget.TextView{e560f33 V.ED..... ......ID 0,0-723,0 #91301b9 com.android.systemui:id/lock_screen_magazine_preview_fullscreen_bottom_title_layout_title} during layout: running second layout pass
2021-10-27 14:52:37.617 1781-1781/? W/View: requestLayout() improperly called by android.widget.ImageView{7b832f0 V.ED..CL. ......ID 742,0-808,0 #91301ba com.android.systemui:id/lock_screen_magazine_preview_fullscreen_bottom_title_layout_link} during layout: running second layout pass
2021-10-27 14:52:37.617 8823-8823/? I/OrbTest::Activity@@java: Camera.k1: 0.000000+++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.617 8823-8823/? I/OrbTest::Activity@@java: Camera.k2: 0.000000+++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.617 8823-8823/? I/OrbTest::Activity@@java: Camera.p1: 0.000000+++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.618 8823-8823/? I/OrbTest::Activity@@java: Camera.p2: 0.000000+++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.618 8823-8823/? I/OrbTest::Activity@@java: Camera.k3: 1.000000+++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.618 8823-8823/? I/OrbTest::Activity@@java: +++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.618 8823-8823/? I/OrbTest::Activity@@java: # Camera frames per second +++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.618 8823-8823/? I/OrbTest::Activity@@java: Camera.fps: 30.0+++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.618 8823-8823/? I/OrbTest::Activity@@java: +++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.619 8823-8823/? I/OrbTest::Activity@@java: # Color order of the images (0: BGR, 1: RGB. It is ignored if images are grayscale)+++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.619 8823-8823/? I/OrbTest::Activity@@java: Camera.RGB: 1+++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.619 8823-8823/? I/OrbTest::Activity@@java: +++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.620 8823-8823/? I/OrbTest::Activity@@java: #--------------------------------------------------------------------------------------------+++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.620 8823-8823/? I/OrbTest::Activity@@java: # ORB Parameters+++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.621 8823-8823/? I/OrbTest::Activity@@java: #--------------------------------------------------------------------------------------------+++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.621 8823-8823/? I/OrbTest::Activity@@java: +++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.621 8823-8823/? I/OrbTest::Activity@@java: # ORB Extractor: Number of features per image+++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.622 8823-8823/? I/OrbTest::Activity@@java: ORBextractor.nFeatures: 800+++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.622 8823-8823/? I/OrbTest::Activity@@java: +++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.622 8823-8823/? I/OrbTest::Activity@@java: # ORB Extractor: Scale factor between levels in the scale pyramid +++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.622 8823-8823/? I/OrbTest::Activity@@java: ORBextractor.scaleFactor: 1.2+++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.623 8823-8823/? I/OrbTest::Activity@@java: +++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.623 8823-8823/? I/OrbTest::Activity@@java: # ORB Extractor: Number of levels in the scale pyramid +++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.623 8823-8823/? I/OrbTest::Activity@@java: ORBextractor.nLevels: 8+++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.623 8823-8823/? I/OrbTest::Activity@@java: +++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.624 8823-8823/? I/OrbTest::Activity@@java: # ORB Extractor: Fast threshold+++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.624 8823-8823/? I/OrbTest::Activity@@java: # Image is divided in a grid. At each cell FAST are extracted imposing a minimum response.+++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.625 8823-8823/? I/OrbTest::Activity@@java: # Firstly we impose iniThFAST. If no corners are detected we impose a lower value minThFAST+++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.626 8823-8823/? I/OrbTest::Activity@@java: # You can lower these values if your images have low contrast +++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.626 8823-8823/? I/OrbTest::Activity@@java: ORBextractor.iniThFAST: 20+++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.626 8823-8823/? I/OrbTest::Activity@@java: ORBextractor.minThFAST: 7+++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.626 8823-8823/? I/OrbTest::Activity@@java: +++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.626 1568-1596/? I/Timeline: Timeline: App_transition_ready time:18287089
2021-10-27 14:52:37.626 8823-8823/? I/OrbTest::Activity@@java: #--------------------------------------------------------------------------------------------+++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.627 8823-8823/? I/OrbTest::Activity@@java: # Viewer Parameters+++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.627 8823-8823/? I/OrbTest::Activity@@java: #--------------------------------------------------------------------------------------------+++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.628 8823-8823/? I/OrbTest::Activity@@java: Viewer.KeyFrameSize: 0.05+++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.628 8823-8823/? I/OrbTest::Activity@@java: Viewer.KeyFrameLineWidth: 1+++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.628 8823-8823/? I/OrbTest::Activity@@java: Viewer.GraphLineWidth: 0.9+++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.628 8823-8823/? I/OrbTest::Activity@@java: Viewer.PointSize:2+++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.629 8823-8823/? I/OrbTest::Activity@@java: Viewer.CameraSize: 0.08+++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.629 8823-8823/? I/OrbTest::Activity@@java: Viewer.CameraLineWidth: 3+++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.629 8823-8823/? I/OrbTest::Activity@@java: Viewer.ViewpointX: 0+++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.629 8823-8823/? I/OrbTest::Activity@@java: Viewer.ViewpointY: -0.7+++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.630 8823-8823/? I/OrbTest::Activity@@java: Viewer.ViewpointZ: -1.8+++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.630 8823-8823/? I/OrbTest::Activity@@java: Viewer.ViewpointF: 500+++++++++++++++++++++++++++++++++++++++
2021-10-27 14:52:37.633 18388-18423/? I/SP: Sync for content_cache succeeded in 121 ms: no changes
2021-10-27 14:52:37.634 18388-18423/? I/SP: GC for 'content_cache' (10) with ttl of 0 ms took 0 ms (0/0/0)
2021-10-27 14:52:37.634 8782-8782/? D/OT-PubSub-Sdk: updateDebugSwitch sEnable: false sDebugMode:false sDebugProperty:false
2021-10-27 14:52:37.634 8782-8782/? D/OT-PubSub-Sdk: log on: false, quick upload on: false
2021-10-27 14:52:37.637 748-748/? D/SoftKeymaster: system/keymaster/soft_keymaster_device.cpp, Line 691: Not performing software digesting for algorithm 32
2021-10-27 14:52:37.637 748-748/? D/SoftKeymaster: system/keymaster/soft_keymaster_device.cpp, Line 1202: Operation supported by Keymaster QTI HAL, passing through to keymaster1 module
2021-10-27 14:52:37.638 8782-8782/? I/AD-PLUGIN-SplashScreenService: onCreate()
2021-10-27 14:52:37.638 8782-8782/? I/AD-PLUGIN-SplashScreenService: ApiVersion: 2
2021-10-27 14:52:37.638 1781-1781/? D/BluetoothController: fireStateChange
2021-10-27 14:52:37.639 8823-8823/? D/OpenCV/StaticHelper: Trying to get library list
2021-10-27 14:52:37.640 8823-8823/? E/OpenCV/StaticHelper: OpenCV error: Cannot load info library for OpenCV
2021-10-27 14:52:37.641 8823-8823/? D/OpenCV/StaticHelper: Library list: ""
2021-10-27 14:52:37.641 8823-8823/? D/OpenCV/StaticHelper: First attempt to load libs
2021-10-27 14:52:37.641 8823-8823/? D/OpenCV/StaticHelper: Trying to init OpenCV libs
2021-10-27 14:52:37.641 8823-8823/? D/OpenCV/StaticHelper: Trying to load library opencv_java4
2021-10-27 14:52:37.643 8823-8823/? D/OpenCV/StaticHelper: Library opencv_java4 loaded
2021-10-27 14:52:37.643 8823-8823/? D/OpenCV/StaticHelper: First attempt to load libs is OK
2021-10-27 14:52:37.643 1568-1724/? I/Timeline: Timeline: App_transition_ready time:18287106
2021-10-27 14:52:37.644 748-748/? D/SoftKeymaster: system/keymaster/soft_keymaster_device.cpp, Line 691: Not performing software digesting for algorithm 32
2021-10-27 14:52:37.644 748-748/? D/SoftKeymaster: system/keymaster/soft_keymaster_device.cpp, Line 1202: Operation supported by Keymaster QTI HAL, passing through to keymaster1 module
2021-10-27 14:52:37.644 8823-8823/? I/OpenCV/StaticHelper: General configuration for OpenCV 4.2.0 =====================================
2021-10-27 14:52:37.644 8823-8823/? I/OpenCV/StaticHelper: Version control: 4.2.0
2021-10-27 14:52:37.644 8823-8823/? I/OpenCV/StaticHelper: Platform:
2021-10-27 14:52:37.644 8823-8823/? I/OpenCV/StaticHelper: Timestamp: 2019-12-20T13:59:46Z
2021-10-27 14:52:37.644 8823-8823/? I/OpenCV/StaticHelper: Host: Linux 4.4.0-166-generic x86_64
2021-10-27 14:52:37.645 8823-8823/? I/OpenCV/StaticHelper: Target: Android 1 aarch64
2021-10-27 14:52:37.645 8823-8823/? I/OpenCV/StaticHelper: CMake: 3.6.0-rc2
2021-10-27 14:52:37.645 8823-8823/? I/OpenCV/StaticHelper: CMake generator: Ninja
2021-10-27 14:52:37.645 8823-8823/? I/OpenCV/StaticHelper: CMake build tool: /opt/android/android-sdk.gradle/cmake/3.6.4111459/bin/ninja
2021-10-27 14:52:37.645 1568-1724/? I/Timeline: Timeline: App_transition_ready time:18287108
2021-10-27 14:52:37.645 8823-8823/? I/OpenCV/StaticHelper: Configuration: Release
2021-10-27 14:52:37.645 8823-8823/? I/OpenCV/StaticHelper: CPU/HW features:
2021-10-27 14:52:37.645 8823-8823/? I/OpenCV/StaticHelper: Baseline: NEON FP16
2021-10-27 14:52:37.645 8823-8823/? I/OpenCV/StaticHelper: C/C++:
2021-10-27 14:52:37.645 8823-8823/? I/OpenCV/StaticHelper: Built as dynamic libs?: NO
2021-10-27 14:52:37.645 8823-8823/? I/OpenCV/StaticHelper: C++ Compiler: /opt/android/android-ndk-r18b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ (ver 7.0)
2021-10-27 14:52:37.645 8823-8823/? I/OpenCV/StaticHelper: C++ flags (Release): -isystem /opt/android/android-ndk-r18b/sysroot/usr/include/aarch64-linux-android -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -Wa,--noexecstack -Wformat -Werror=format-security -std=c++11 -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Winconsistent-missing-override -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -Wno-comment -fdiagnostics-show-option -Qunused-arguments -fvisibility=hidden -fvisibility-inlines-hidden -O2 -DNDEBUG -DNDEBUG
2021-10-27 14:52:37.645 8823-8823/? I/OpenCV/StaticHelper: C++ flags (Debug): -isystem /opt/android/android-ndk-r18b/sysroot/usr/include/aarch64-linux-android -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -Wa,--noexecstack -Wformat -Werror=format-security -std=c++11 -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Winconsistent-missing-override -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -Wno-comment -fdiagnostics-show-option -Qunused-arguments -fvisibility=hidden -fvisibility-inlines-hidden -O0 -fno-limit-debug-info -DDEBUG -D_DEBUG -g
2021-10-27 14:52:37.645 8823-8823/? I/OpenCV/StaticHelper: C Compiler: /opt/android/android-ndk-r18b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang
2021-10-27 14:52:37.645 8823-8823/? I/OpenCV/StaticHelper: C flags (Release): -isystem /opt/android/android-ndk-r18b/sysroot/usr/include/aarch64-linux-android -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -Wa,--noexecstack -Wformat -Werror=format-security -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Winconsistent-missing-override -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -Wno-comment -fdiagnostics-show-option -Qunused-arguments -fvisibility=hidden -fvisibility-inlines-hidden -O2 -DNDEBUG -DNDEBUG
2021-10-27 14:52:37.645 8823-8823/? I/OpenCV/StaticHelper: C flags (Debug): -isystem /opt/android/android-ndk-r18b/sysroot/usr/include/aarch64-linux-android -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -Wa,--noexecstack -Wformat -Werror=format-security -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Winconsistent-missing-override -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -Wno-comment -fdiagnostics-show-option -Qunused-arguments -fvisibility=hidden -fvisibility-inlines-hidden -O0 -fno-limit-debug-info -DDEBUG -D_DEBUG -g
2021-10-27 14:52:37.645 8823-8823/? I/OpenCV/StaticHelper: Linker flags (Release): -Wl,--exclude-libs,libgcc.a -Wl,--exclude-libs,libatomic.a -nostdlib++ --sysroot /opt/android/android-ndk-r18b/platforms/android-21/arch-arm64 -Wl,--build-id -Wl,--warn-shared-textrel -Wl,--fatal-warnings -L/opt/android/android-ndk-r18b/sources/cxx-stl/llvm-libc++/libs/arm64-v8a -Wl,--no-undefined -Wl,-z,noexecstack -Qunused-arguments -Wl,-z,relro -Wl,-z,now
2021-10-27 14:52:37.646 8823-8823/? I/OpenCV/StaticHelper: Linker flags (Debug): -Wl,--exclude-libs,libgcc.a -Wl,--exclude-libs,libatomic.a -nostdlib++ --sysroot /opt/android/android-ndk-r18b/platforms/android-21/arch-arm64 -Wl,--build-id -Wl,--warn-shared-textrel -Wl,--fatal-warnings -L/opt/android/android-ndk-r18b/sources/cxx-stl/llvm-libc++/libs/arm64-v8a -Wl,--no-undefined -Wl,-z,noexecstack -Qunused-arguments -Wl,-z,relro -Wl,-z,now
2021-10-27 14:52:37.646 8823-8823/? I/OpenCV/StaticHelper: ccache: YES
2021-10-27 14:52:37.646 8823-8823/? I/OpenCV/StaticHelper: Precompiled headers: NO
2021-10-27 14:52:37.646 8823-8823/? I/OpenCV/StaticHelper: Extra dependencies: z dl m log
2021-10-27 14:52:37.646 8823-8823/? I/OpenCV/StaticHelper: 3rdparty dependencies: tbb libcpufeatures ittnotify libprotobuf libjpeg-turbo libwebp libpng libtiff libjasper IlmImf quirc tegra_hal
2021-10-27 14:52:37.646 8823-8823/? I/OpenCV/StaticHelper: OpenCV modules:
2021-10-27 14:52:37.646 8823-8823/? I/OpenCV/StaticHelper: To be built: calib3d core dnn features2d flann highgui imgcodecs imgproc java ml objdetect photo stitching video videoio
2021-10-27 14:52:37.646 8823-8823/? I/OpenCV/StaticHelper: Disabled: world
2021-10-27 14:52:37.646 8823-8823/? I/OpenCV/StaticHelper: Disabled by dependency: -
2021-10-27 14:52:37.646 8823-8823/? I/OpenCV/StaticHelper: Unavailable: gapi js python2 python3 ts
2021-10-27 14:52:37.646 8823-8823/? I/OpenCV/StaticHelper: Applications: -
2021-10-27 14:52:37.646 8823-8823/? I/OpenCV/StaticHelper: Documentation: NO
2021-10-27 14:52:37.646 8823-8823/? I/OpenCV/StaticHelper: Non-free algorithms: NO
2021-10-27 14:52:37.646 8823-8823/? I/OpenCV/StaticHelper: Android NDK: /opt/android/android-ndk-r18b (ver 18.1.5063045)
2021-10-27 14:52:37.646 8823-8823/? I/OpenCV/StaticHelper: Android ABI: arm64-v8a
2021-10-27 14:52:37.646 8823-8823/? I/OpenCV/StaticHelper: NDK toolchain: aarch64-linux-android-clang
2021-10-27 14:52:37.646 8823-8823/? I/OpenCV/StaticHelper: STL type: c++_shared
2021-10-27 14:52:37.646 8823-8823/? I/OpenCV/StaticHelper: Native API level: 21
2021-10-27 14:52:37.646 8823-8823/? I/OpenCV/StaticHelper: Android SDK: /opt/android/android-sdk.gradle (tools: 26.1.1 build tools: 28.0.3)
2021-10-27 14:52:37.647 8823-8823/? I/OpenCV/StaticHelper: GUI:
2021-10-27 14:52:37.647 8823-8823/? I/OpenCV/StaticHelper: Media I/O:
2021-10-27 14:52:37.647 8823-8823/? I/OpenCV/StaticHelper: ZLib: z (ver 1.2.7)
2021-10-27 14:52:37.647 8823-8823/? I/OpenCV/StaticHelper: JPEG: build-libjpeg-turbo (ver 2.0.2-62)
2021-10-27 14:52:37.647 8823-8823/? I/OpenCV/StaticHelper: WEBP: build (ver encoder: 0x020e)
2021-10-27 14:52:37.647 8823-8823/? I/OpenCV/StaticHelper: PNG: build (ver 1.6.37)
2021-10-27 14:52:37.647 8823-8823/? I/OpenCV/StaticHelper: TIFF: build (ver 42 - 4.0.10)
2021-10-27 14:52:37.647 8823-8823/? I/OpenCV/StaticHelper: JPEG 2000: build (ver 1.900.1)
2021-10-27 14:52:37.647 8823-8823/? I/OpenCV/StaticHelper: OpenEXR: build (ver 2.3.0)
2021-10-27 14:52:37.648 8823-8823/? I/OpenCV/StaticHelper: HDR: YES
2021-10-27 14:52:37.648 8823-8823/? I/OpenCV/StaticHelper: SUNRASTER: YES
2021-10-27 14:52:37.648 8823-8823/? I/OpenCV/StaticHelper: PXM: YES
2021-10-27 14:52:37.648 8823-8823/? I/OpenCV/StaticHelper: PFM: YES
2021-10-27 14:52:37.648 8823-8823/? I/OpenCV/StaticHelper: Video I/O:
2021-10-27 14:52:37.648 8823-8823/? I/OpenCV/StaticHelper: Parallel framework: TBB (ver 2020.0 interface 11100)
2021-10-27 14:52:37.648 8823-8823/? I/OpenCV/StaticHelper: Trace: YES (with Intel ITT)
2021-10-27 14:52:37.648 8823-8823/? I/OpenCV/StaticHelper: Other third-party libraries:
2021-10-27 14:52:37.648 8823-8823/? I/OpenCV/StaticHelper: Custom HAL: YES (carotene (ver 0.0.1))
2021-10-27 14:52:37.648 8823-8823/? I/OpenCV/StaticHelper: Protobuf: build (3.5.1)
2021-10-27 14:52:37.648 8823-8823/? I/OpenCV/StaticHelper: Python (for build): /usr/bin/python2.7
2021-10-27 14:52:37.648 8823-8823/? I/OpenCV/StaticHelper: Java: export all functions
2021-10-27 14:52:37.649 8823-8823/? I/OpenCV/StaticHelper: ant: NO
2021-10-27 14:52:37.649 8823-8823/? I/OpenCV/StaticHelper: Java wrappers: YES
2021-10-27 14:52:37.649 8823-8823/? I/OpenCV/StaticHelper: Java tests: NO
2021-10-27 14:52:37.649 8823-8823/? I/OpenCV/StaticHelper: Install to: /build/master_pack-android/build/o4a/install
2021-10-27 14:52:37.649 8823-8823/? I/OpenCV/StaticHelper: -----------------------------------------------------------------
2021-10-27 14:52:37.649 8823-8823/? D/OrbTest::Activity@@java: OpenCV library found inside package. Using it!
2021-10-27 14:52:37.649 8823-8823/? I/OrbTest::Activity@@java: OpenCV loaded successfully
2021-10-27 14:52:37.649 8823-8823/? D/CameraBridge: call checkCurrentState
2021-10-27 14:52:37.650 748-748/? D/SoftKeymaster: system/keymaster/soft_keymaster_device.cpp, Line 691: Not performing software digesting for algorithm 32
2021-10-27 14:52:37.650 748-748/? D/SoftKeymaster: system/keymaster/soft_keymaster_device.cpp, Line 1202: Operation supported by Keymaster QTI HAL, passing through to keymaster1 module
2021-10-27 14:52:37.680 748-748/? D/SoftKeymaster: system/keymaster/soft_keymaster_device.cpp, Line 691: Not performing software digesting for algorithm 32
2021-10-27 14:52:37.681 748-748/? D/SoftKeymaster: system/keymaster/soft_keymaster_device.cpp, Line 1202: Operation supported by Keymaster QTI HAL, passing through to keymaster1 module
2021-10-27 14:52:37.685 748-748/? D/SoftKeymaster: system/keymaster/soft_keymaster_device.cpp, Line 691: Not performing software digesting for algorithm 32
2021-10-27 14:52:37.685 748-748/? D/SoftKeymaster: system/keymaster/soft_keymaster_device.cpp, Line 1202: Operation supported by Keymaster QTI HAL, passing through to keymaster1 module
2021-10-27 14:52:37.690 748-748/? D/SoftKeymaster: system/keymaster/soft_keymaster_device.cpp, Line 691: Not performing software digesting for algorithm 32
2021-10-27 14:52:37.690 748-748/? D/SoftKeymaster: system/keymaster/soft_keymaster_device.cpp, Line 1202: Operation supported by Keymaster QTI HAL, passing through to keymaster1 module
2021-10-27 14:52:37.710 1568-2036/? I/Timeline: Timeline: App_transition_ready time:18287173
2021-10-27 14:52:37.711 1568-2036/? I/Timeline: Timeline: App_transition_ready time:18287174
2021-10-27 14:52:37.713 1568-3275/? I/Timeline: Timeline: App_transition_ready time:18287176
2021-10-27 14:52:37.713 8823-8876/? I/Adreno: QUALCOMM build : a9083cf, Iaf618d42e3
Build Date : 03/14/17
OpenGL ES Shader Compiler Version: XE031.09.00.04
Local Branch :
Remote Branch :
Remote Branch :
Reconstruct Branch :
2021-10-27 14:52:37.716 1568-1596/? I/Timeline: Timeline: App_transition_ready time:18287179
2021-10-27 14:52:37.719 8823-8876/? I/OpenGLRenderer: Initialized EGL, version 1.4
2021-10-27 14:52:37.719 8823-8876/? D/OpenGLRenderer: Swap behavior 1
2021-10-27 14:52:37.733 748-748/? D/SoftKeymaster: system/keymaster/soft_keymaster_device.cpp, Line 691: Not performing software digesting for algorithm 32
2021-10-27 14:52:37.733 748-748/? D/SoftKeymaster: system/keymaster/soft_keymaster_device.cpp, Line 1202: Operation supported by Keymaster QTI HAL, passing through to keymaster1 module
2021-10-27 14:52:37.737 748-748/? D/SoftKeymaster: system/keymaster/soft_keymaster_device.cpp, Line 691: Not performing software digesting for algorithm 32
2021-10-27 14:52:37.737 748-748/? D/SoftKeymaster: system/keymaster/soft_keymaster_device.cpp, Line 1202: Operation supported by Keymaster QTI HAL, passing through to keymaster1 module
2021-10-27 14:52:37.744 748-748/? D/SoftKeymaster: system/keymaster/soft_keymaster_device.cpp, Line 691: Not performing software digesting for algorithm 32
2021-10-27 14:52:37.745 748-748/? D/SoftKeymaster: system/keymaster/soft_keymaster_device.cpp, Line 1202: Operation supported by Keymaster QTI HAL, passing through to keymaster1 module
2021-10-27 14:52:37.745 1568-3275/? I/Timeline: Timeline: App_transition_ready time:18287208
2021-10-27 14:52:37.747 8823-8823/? D/CameraBridge: call surfaceChanged event
2021-10-27 14:52:37.747 8823-8823/? D/CameraBridge: call checkCurrentState

@knazneen123
Copy link
Author

Solved it by adding
mOpenCvCameraView.setCameraPermissionGranted();
before mOpenCvCameraView.enableView(); in function private BaseLoaderCallback mLoaderCallback = new BaseLoaderCallback(this) in OrbTest.java

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant