You Are Here:

Community: Developer Discussion Boards

#1 Old The Paperkeyboard proyect - 2006-06-18, 22:11

Join Date: Feb 2006
Posts: 14
moisesmariscal
Offline
Registered User
Hi all:

It's difficult to type large texts in a phone keyboard, but phones allow to store long texts.

There are some solutions to this problem: Bluetooth keyboards and virtual keyboards. Both are expensive (130 euros and 199 US Dolar) and Virtual don't work on Symbian. Both need energy and are big to carry in the pocket.

So, why not use the phone's camera to input data? I have already write a Python software that captures a moving pointer (like a pen), so it can be done. Imagine: Print a keyboard on a paper, paste in your folder and use it everywhere.

This is what I'm doing with my Nokia 3230 under Python....


I used this code to scan the image and find the red point:

Code:
def m_scan():
    global v
    v = 0
    im = camera.take_photo(mode='RGB12', size = (160,120))
    for y in range(121):
        if v ==1:
            break
        else:
            for x in range(161):
                valor = im.getpixel((x, y))
                r = valor[0][0]
                g = valor[0][1]
                b = valor[0][2]
                if r > 100:
                    if g < 100:
                        if b < 50:
                            c.point((x,y),0x00ff,width=5)
                            global v
                            v = v + 1
                            break
The code it's not the quickest because it scans all the surface everytime (it could scan small parts of the image near the last point scanned), but I notice that the camera lag is also an important problem.

Anybody nows how to increase camera speed?

Is anybody interesting in paperkeyboards...?

http://www.personal.able.es/orbital/paperkeyboard.htm
Reply With Quote

#2 Old Re: The Paperkeyboard proyect - 2006-06-19, 08:07

Join Date: May 2006
Posts: 37
OscarBernabeu's Avatar
OscarBernabeu
Offline
Forum Nokia Champion
Hola Moises,

I think your idea is amazing and I would like to help. Just a few comments:

Do you know this company www.penvision.se ? They made a system also based on paper working with the Nokia pen, maybe you could get some ideas from them.

In a different approach, one of the most impressive features of your program "Graffiti" is the "add the draw" effect. It reminds me one of my favourites "never released" programs: Digitizer from Real Eyes 3D . This program works like a hand scanner, storing the image for later process like OCR. Maybe this could be a better and simple way to fast type at the mobile.

Even more, ABBYY has ready for download an OCR SDK to make OCR directly on Symbian phones.

Hope this help.


Oscar B
paniccode.com
Reply With Quote

#3 Old Re: The Paperkeyboard proyect - 2006-06-23, 20:37

Join Date: Jul 2004
Posts: 76
eriksmartt
Offline
Regular Contributor
Cool project! As for camera speed, check out this post: http://discussion.forum.nokia.com/fo...ght=viewfinder

...the summary being that faster access is possible using a different C++ API, it just hasn't been coded into the Python camera module yet (and otsov's busy with the 3rd Edition port...)
Reply With Quote

#4 Old Re: The Paperkeyboard proyect - 2006-07-14, 22:54

Join Date: Feb 2006
Posts: 14
moisesmariscal
Offline
Registered User
I have done an speed test and it's very slow, so I abandon the proyect.

I have made other usefull (to me) scrpts in Python:

Comic strip viewer: I recentrly dowloaded a big amount of Dilbert strips, but using the Nokia viewer its hard (open, zoom, move, zoom again, move to the right...). So this script opens the file and blits on the screen. You move from one scene to the next or skip to the next strip. Also can make marks to recall the last strip.

Blog text extract/downloader (Python 2.4): I take this Pc script in my phone memory card, so when I insert the card in the Pc to download music or pictures I double-click on it. In seconds creates two .txt with the text of two blogs I like to read.

You can dowload the code here:

http://www.personal.able.es/orbital/...erkeyboard.htm
Last edited by moisesmariscal : 2006-08-13 at 21:38.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia