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 opens for less than a second. #7

Closed
akashs1706 opened this issue Jun 6, 2017 · 3 comments
Closed

Camera opens for less than a second. #7

akashs1706 opened this issue Jun 6, 2017 · 3 comments

Comments

@akashs1706
Copy link

Hello,

I want to use this plugin in my app. I installed it as per instructions.
I am using your usage example sample, placed it in app.js under $ionicPlatform.ready(function().

The problem i am facing is when i fresh start the app, the camera opens for less than a second and disappear. how can i increase the timeout limit to detect the images.

@a31859
Copy link
Contributor

a31859 commented Jun 9, 2017

When the plugin start the camera is usually always open.
Does the app you are working on have a transparent background? That might be the issue. The camera view is below the webview so if you don't set the background to be transparent then you wont be able to see the camera.

@akashs1706
Copy link
Author

Thanks. After making it transparent, the camera works fine.
I am wondering if this plugin detects only faces or it can detect any other object other than human faces like any table, chair etc?

@a31859
Copy link
Contributor

a31859 commented Jun 16, 2017

The plugin was made to find objects using feature matching and homography in a similar way that it's described here. So it can detect but the success rate will depend on quality of the features.

@a31859 a31859 closed this as completed Oct 22, 2017
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

2 participants