Accessing camera at same time - android

Let say there is an online proctor application that is using webcam while examination and they're giving
an option to upload the photo of written answer that is on A4 sheet through camera.
So i just want to know is it possible that when we're taking picture of answer at that time also they using camera as a webcam .
because i think it can use either for webcam or for clicking photos

Related

Replace an image for API Camera Internal

I have an API integrated application that calls the Internal Camera API. The application can then use the camera to capture with the interface inside that application. But now I want to use a previously taken photo, instead of the app taking a photo with the camera, when I press the shutter button on that app, it will record the photo I selected first.
Any ideas for the above problem? I don't want to mention the android virtual machine as that has a rather high requirement for hardware.
I have some ideas like Fake Camera software but it only applies to apps that call Android System Camera apps and not apps that use Internal Camera API. I also have an idea about using my pc to make a device that can pass an image to the Internal Camera API on the android device. But I am not knowledgeable enough or there is no software that can meet that requirement.
I think with the growth of the stackoverflow community, I can get my answer to this problem.
Thank you for reading my question.

Take picture from streaming video

I need to take a picture from the mobile phone while its camera is open.
Actually, I need that picture for face recognition. I will take a picture, I will detect a face and then post it to a web API (I am using ayonix webapi 1.3 https://market.mashape.com/felx/ayonix-webapi-1-3)
On my Android application I can invoke a service with images on its storage. So the service part is ok. Now I need to get an image while the camera is open.
Is it possible, and if so how? I could not find any tutorials.

Android: taking a picture without calling local Camera app

I am trying to create a app with which you can take secretly a picture. So my goal is to capture a picture when a button is clicked and then save the taken picture in the gallery without calling the local Camera app.
Thank you for your answer in advance...
If you want to conceal the application then I suggest you to look at this link
android - use camera without surfaceview or textureview.
This shows how to conceal surface textures.

Phonegap/Cordova :: Programmatically take photo

This is the first time I'm trying to take a photo using Phonegap and I've got a small issue!
I can take a photo using the cordova camera plugin which opens the default camera app on the device. This works!
However, I would like to take a photo silently. For example, show a page of text and take a photo programmatically without the preview/default camera app ever showing.
Is there a way to do this currently? I've even looked into taking a silent video in order to extract a single frame.
Something along the lines of this (Take a picture in iOS without UIImagePicker and without preview it) but within Cordova/Phonegap is what's needed.
if you want to take picture specifically or screenshot will do the work for you????? because there is already plugin available for screenshot in cordova which doesn't need user interaction.

Can you "wrap" the stock camera's functionality on a droid phone?

My company has a need to print a timestamp on images taken on a droid. Another developer mentioned that we could wrap the entire functionality of the stock camera, then once a photo is taken, embed the timestamp on it. Can this be done, and if so, how simple/complex would it be?
Pretty simple actually. Definitely way simpler then writing a camera app from scratch.
Here is a short overview to give you a few keywords:
You need to fire a ACTION_IMAGE_CAPTURE intent,
this launches the devices camera app and prompts the user to take a picture (stock app or not doesn't even matter). When the picture is taken it will return to your app¹. At this point you'll get a file URI of the taken image that points to a JPEG usually.
Once you have that, load the image via the BitmapFactory into a Bitmap object and edit it by using a Canvas. You can use Canvas.drawText() to draw the text. Then store it where you need it, send it off the device or do whatever you want with it. And that's all the magic.
¹ here is a small example how to do that, found via google, there are plenty more out there

Categories

Resources