Giter Site home page Giter Site logo

Comments (3)

pqpo avatar pqpo commented on July 19, 2024

I used NDK version is 15.1

from smartcamera.

laipengxu avatar laipengxu commented on July 19, 2024

Thank you, and other problem, the demo apk install in android 8.0 has crash
log catch:
pid: 22758, tid: 22779, name: ScanThread >>> me.pqpo.smartcamera <<<
#00 pc 000c40ec /data/app/me.pqpo.smartcamera-baBDnCXVFoo_JubK2DTOIw==/lib/arm/libsmart_camera.so (ZNK2cv22YUV420sp2RGB888InvokerILi2ELi1EEclERKNS_5RangeE+139)
#1 pc 00158193 /data/app/me.pqpo.smartcamera-baBDnCXVFoo_JubK2DTOIw==/lib/arm/libsmart_camera.so
#2 pc 001585f7 /data/app/me.pqpo.smartcamera-baBDnCXVFoo_JubK2DTOIw==/lib/arm/libsmart_camera.so
#3 pc 001d6bcb /data/app/me.pqpo.smartcamera-baBDnCXVFoo_JubK2DTOIw==/lib/arm/libsmart_camera.so (tbb::internal::custom_schedulertbb::internal::IntelSchedulerTraits::local_wait_for_all(tbb::task&, tbb::task*)+482)
#4 pc 001d6817 /data/app/me.pqpo.smartcamera-baBDnCXVFoo_JubK2DTOIw==/lib/arm/libsmart_camera.so (tbb::internal::generic_scheduler::local_spawn_root_and_wait(tbb::task&, tbb::task*&)+102)
#5 pc 0015829f /data/app/me.pqpo.smartcamera-baBDnCXVFoo_JubK2DTOIw==/lib/arm/libsmart_camera.so (cv::parallel_for
(cv::Range const&, cv::ParallelLoopBody const&, double)+258)
#6 pc 000cd641 /data/app/me.pqpo.smartcamera-baBDnCXVFoo_JubK2DTOIw==/lib/arm/libsmart_camera.so (ZN2cv15cvtYUV420sp2RGBILi2ELi1EEEvRNS_3MatEiPKhS4+92)
#7 pc 000d45fd /data/app/me.pqpo.smartcamera-baBDnCXVFoo_JubK2DTOIw==/lib/arm/libsmart_camera.so (cv::cvtColor(cv::_InputArray const&, cv::_OutputArray const&, int, int)+24884)
#8 pc 00071075 /data/app/me.pqpo.smartcamera-baBDnCXVFoo_JubK2DTOIw==/lib/arm/libsmart_camera.so (processMat(void*, cv::Mat&, int, int, int, int, int, int, int, float)+192)
#9 pc 00071d4b /data/app/me.pqpo.smartcamera-baBDnCXVFoo_JubK2DTOIw==/lib/arm/libsmart_camera.so (Java_me_pqpo_smartcameralib_SmartScanner_previewScan+174)
#10 pc 000100e7 /data/app/me.pqpo.smartcamera-baBDnCXVFoo_JubK2DTOIw==/oat/arm/base.odex (offset 0x10000)

from smartcamera.

laipengxu avatar laipengxu commented on July 19, 2024

i fixed by start camera delay
liked this:

@OverRide
protected void onResume() {
super.onResume();
mCameraView.postDelayed(new Runnable() {
@OverRide
public void run() {
MaskView maskView = (MaskView) mCameraView.getMaskView();
maskView.setShowScanLine(true);
mCameraView.start();
mCameraView.startScan();
}
}, 1500);
}

from smartcamera.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.