chili-epfl / qml-cvcamera Goto Github PK
View Code? Open in Web Editor NEWQML plugin wrapper for fast OpenCV camera access on desktop & Android
QML plugin wrapper for fast OpenCV camera access on desktop & Android
Add the API and build from source so that we have prebuilts that do have this feature. This will enable us to disable auto-exposure.
_Add support for IOS_
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.
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
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.
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 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.
There's no implementation for the member functions of class CameraActivity and there's no CameraActivity.cpp ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.