| Reply | « Previous Thread | Next Thread » |
|
Hi.
I'm developing a Python camera application, and I'm using the viewfinder technique seen before in other post, basically: Code:
while running:
canvas.blit(camera.take_photo(size=(160, 120), zoom=0, exposure='auto'))
The refreshing rate is very slow, about 1-2 images per second. I'm testing it with both fast and slow version of python 1.1.6 in a Nokia 7610 phone. Perhaps it's possible to make a direct method (in a pure c library) that can refresh quickly the camera image to a canvas object? It could be great to let it works out of a while loop, working background in a lock.wait(). I have heared about Miso library, but I dont know if that one is faster doing this. Any idea? Thanks. |
| canopus961 |
| View Public Profile |
| Find all posts by canopus961 |
|
Prototype code for the viewfinder exists but I'm not making any promises on when it'll be released.
|
|
Why the camera is so slow with Python?
I use: camera.take_photo(mode='RGB12', size = (160,120)) and it takes about one second to take the picture. The camera preview of the phone (Nokia 3230) is very smooth and takes and shows a lot more of frames in that interval. Exists any way to increase speed? My phone only offers RGB12 and (160,120) as the smallest way to make it faster. |
| moisesmariscal |
| View Public Profile |
| Find all posts by moisesmariscal |
|
Quote:
Otsov -- is any of that code hidden in the 1.3.1 source release or somewhere online? |
| eriksmartt |
| View Public Profile |
| Find all posts by eriksmartt |
|
Quote:
|
|
Hi,
i am developping an application that reads a barcode, evaluates its string and connects to a database for further processing. However I do know that this is not a completely new thing, I still came up with some problems processing the image. I am trying to use the StartViewFinderDirectL() function provided by CCamera (C API), wrapped up for use in Python. Is there any prototype-code on how to bring up the captured frames to the screen (aka the viewfinder ) ?.I also tried to use StartViewFinderBitmapsL() that returns its frames in ViewFinderFrameReady() but didnt come up with the correct coding to bring up the frames on the display. Any help would be muchly appreciated thanks, invi |
|
Quote:
http://www.forum.nokia.com/info/sw.n..._0_en.zip.html |
|
Quote:
I'll try this out as soon as I'm with my N93 ![]()
Last edited by invi : 2006-12-14 at 00:00.
|
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |