I went through lots of link but still confuse, here is the problem.
I am trying to put some cartoon images while opening a camera preview in android.
Please suggest me the way to do so.
Related
I'm trying to project the camera to the screen in flutter with android studio but all of the videos I've watched, are all full camera tutorials with a gallery and take picture functionality. But all I want is to display the camera with a button to flip the camera, and I can't figure out how.
If anyone knows could help, it would be appreciated :)
You can use any plugin like this https://pub.dev/packages/camera and directly load the camera alone without the gallery option.
You can use camera_package.
Pls check this code sample, This is a full option camera.
I am making an application where the user has to be suggested about the quality of the picture he is about to take.
Like "Brightness is low" and "Your environment is dim".
To achieve this, we need to put an overlay message on the camera preview while the user is viewing the subject.
Does anyone have an idea on how could we take the image brightness from the camera preview by using sensors or some other way in live mode even before the picture is taken?
Any help would be appreciated.
Using the camera parameters as pointed out by #appleskin, would either of these methods help? setWhiteBalance() or setExposureCompensation().If you want to achieve this functionality at run time then use native NDK effect for brightness.you can easily got .so files from github just use according to your further requirement.
I am working in a personal project on Android and I would like to add images captured from Webcams into the app, e.g from here:
https://www.skylinewebcams.com/en/webcam/united-states/new-york/new-york/new-york-manhattan.html
My problem is the Webcams are in Flash and I want to show in the app just a picture.jpg or .png captured , so I am thinking:
1.- Getting a webCam screenshot using the webcam url (will called with a cronojob)
2.- Saving the screenshot in a database
3.- Showing the screenshot in the app
I am trying with tools like www.screenshotlayer.com or www.whoapi.com but the problems I have are:
WebCam is not loaded when the script gets the screenshot, so in the screenshot is just exhibited the loader.
The screenshot does not contain the image captured (like the image I am attaching getting from screenshotlayer.com)
Any idea about how solve this?
I've encountered the same problem and have to switch to http://browshot.com The do support flash elements.
I am new.
I've been playing around with Augmented Reality for awhile and would like some help in doing something simple. I searched around and weren't able to get a complete picture-answer on what I need.
I have a picture of a flower that I want "augment" to a photo or camera taking photo.
I want to provide a frame on the picture.
So thats what I want to do. Is there a suggestion or tutorial in doing this using OpenCV or anything that can get it done quickly?
Thanks.
Surely, OpenCV has tutorials like this. With OpenCV you can intercept a frame from Camera, modify it and display it then. Of course, they don't have the flower thing but check a similar sample where they are applying effects it's called image-manipulation http://docs.opencv.org/doc/tutorials/introduction/android_binary_package/O4A_SDK.html#import-opencv-library-and-samples-to-the-eclipse
I want to develop a camera demo app using the following web page example.
http://marakana.com/forums/android/examples/39.html
After taking a photo, I want to display the captured image in the main activity. How can I do this? Thanks.
Best to use another example. I can't get this one to work. Judging by the other Camera questions in SO, I think lots of people have the same problem. But before you give up on Marakana's example completely, try moving the elements OUTSIDE the element. And include the Marko forgot.
By doing that, I got past the RuntimeException, and now get a completely different error, one I think is specific to my phone: it is trying to create a Preview with an 'invalid preview size' of 480x604. But Marko's code sets the size from the size of the preview surface created,, so the phone itself is defaulting to an invalid size for the Preview surface.