maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Close camera app after photo? (https://talk.maemo.org/showthread.php?t=51396)

zolakt 2010-04-29 14:58

Close camera app after photo?
 
Hi,

I'm working on a OCR system.
Id like my application to behave like this:
- cancel the auto start camera application on lens open
- on button click launch the camera
- after taking the picture close the camera app, and return the new picture name
- get the picture by name, run it trough OCR, and output the result to a textbox
- delete the picture

Does anyone know how can this be done?
Disabling the camera auto start (only in my application, not in whole system). And closing the camera app after photo.

zolakt 2010-04-29 15:46

Re: Close camera app after photo?
 
Where is the camera api anyway!?

Is it possible to use Easy project http://easy.garage.maemo.org/ ?
Its not for fremantle, I don't know if it will work

zolakt 2010-04-30 10:22

Re: Close camera app after photo?
 
Nevermind.
I got it working by passing the gstreamer camera stream to Qt widget.

Does anyone know is it possible to save the image in .tiff format from gstreamer?


All times are GMT. The time now is 09:26.

vBulletin® Version 3.8.8