Coder Social home page Coder Social logo

qml-cvcamera's Issues

Android native camera library is not chosen automatically

OpenCV relies on OpenCV Manager to get the correct libnative_camera_r*.so in place so that it can be loaded with the libnative_camera_r prefix without paying attention to the version. This doesn't allow a scenario where OpenCV Manager is not used and all of libnative_camera_r*.so are bundled with the APK for cross-version compatibility. A rewrite of https://github.com/Itseez/opencv/blob/master/modules/androidcamera/src/camera_activity.cpp#L167 is needed. This is best submitted as a PR to OpenCV itself. If this PR is rejected, https://github.com/Itseez/opencv/blob/master/modules/androidcamera/src/camera_activity.cpp will be forked to CVCamera.

For now, bundling the correct version for your device is the only solution.

Segmentation Fault

Hey,
I just compiled your plugin and opencv 3.0.0 alpha. Sadly when i try to start a program using your plugin - e.g. your samples - it immediatelly crashes with "Segmentationfault".
Now i wondere wether the problem occurs in your plugin or the opencv part.
Do you know how i can check that out?
Kind Regards

System: Raspberry Pi using jessie up to date freshly installed

โ‚ฌ: I just checked the make output file of opencv and it has several warnings about array-using out of it boundaries. in:
modules/imgproc/src/contours.cpp
modules/imgproc/test/test_convull.cpp

App window sometimes doesn't launch

On Android, app window sometimes launches into a black screen, long-pressing the menu button to bring up the app list seems to solve the issue.

On desktop, it seems to happen randomly and the window doesn't launch at all. It seems to happen less frequently in debug mode. Debug trace shows it to be waiting on a condition that is outside the Chilitags source.

undefined reference to 'cv::String::allocate(unsigned long)'

cvcamera.o: In function cv::String::String(char const*)': /usr/local/include/opencv2/core/cvstd.hpp:602: undefined reference to cv::String::allocate(unsigned long)'
Makefile:268: recipe for target 'VideoTol' failed
cvcamera.o: In function cv::String::~String()': /usr/local/include/opencv2/core/cvstd.hpp:648: undefined reference to cv::String::deallocate()'
cvcamera.o: In function cv::Mat::Mat(int, int, int, void*, unsigned long)': /usr/local/include/opencv2/core/mat.inl.hpp:500: undefined reference to cv::error(int, cv::String const&, char const*, char const*, int)'
/usr/local/include/opencv2/core/mat.inl.hpp:516: undefined reference to `cv::error(int, cv::String const&, char const*, char const*, int)'
collect2: error: ld returned 1 exit status

Preview sample segfaults on Android 4.4.4

preview sample segfaults on Android 4.4.4 inside libc. Debug trace shows three ??? calls.

Almost certainly the fault of libnative_camera_r4.4.0.so, and there isn't any more recent version yet.

Almost certainly will help to test with more recent NDKs.

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.