Active Topics

 



Notices


Reply
Thread Tools
Posts: 81 | Thanked: 115 times | Joined on Jan 2008
#21
I have an idea:

In Diablo the OS can detect whether you used the stylus or your finger when activating a text input field (I think it uses some type of pressure sensitivity measuring).

So maybe make xournal also detect:

If it is a finger then it should scroll the screen.

If it is a stylus it should be writing.

Depending on how the detection works, if there is some way to detect whether the user is touching the screen with two fingers (like the touchpad of the EEE, detects two fingers for scrolling) , that would be even better as then you can use that for scrolling while still enabling people to write, using one finger (if they are to lazy to whip out the stylus :-) ).
 
Capt'n Corrupt's Avatar
Posts: 3,524 | Thanked: 2,958 times | Joined on Oct 2007 @ Delta Quadrant
#22
Thanks Jaem!

Perhaps I can write some code (pseudo or other) to distinguish blocks of 'words' (or scribbles) based on proximity as to define a bounding box around a 'word'.

My first thought is to bound each complete stroke. If that stroke is a certain proximity to the bounds of another stroke, its bound is added to the bound of the stroke that is close. Paper lines separate strokes and make it easy to determine which line a stroke is on, as not to attach it to a stroke that is very close vertically. If a stroke is horizontally out of reach of another stroke, a new bound is started.

Something spatial like a simple implementation of an R-Tree can hold a quick lookup of all strokes on a page with very little memory/computation for quick bound comparison. I'm not sure how much it would cost (computationally) to augment a bound in the tree (possible tree re-build?), but a solution should be possible (ie. a separate structure to hold the augmented bound results).

A whole slew of neat features can follow from there.

As point of interest: isolating strokes and their proximal bounds should make it easy to determine character patterns which could be a step towards reliable character recognition and almost more importantly, word recognition. Please note: I'm thinking about unjoined 'printed' characters and not cursive.

Of course I could also code a function/method/class or two provide features like justification, wrapping, etc.

Would this help?

}:^)~
 

The Following User Says Thank You to Capt'n Corrupt For This Useful Post:
joshua.maverick's Avatar
Posts: 805 | Thanked: 440 times | Joined on Aug 2009 @ Mississauga, On
#23
I would be happy to help you out with those icons, I can whip some up on the weekend and have em ready for review on monday. Just let me know the size / format specs.
 

The Following User Says Thank You to joshua.maverick For This Useful Post:
Capt'n Corrupt's Avatar
Posts: 3,524 | Thanked: 2,958 times | Joined on Oct 2007 @ Delta Quadrant
#24
Originally Posted by jandmdickerson View Post
Is text to speech only a pipe dream? I love using at work on my pdf files.
TTS is real! And it should work quite well on Maemo 5. A 'popular' open implementation is called flite.

http://www.speech.cs.cmu.edu/flite/

}:^)~
 
anidel's Avatar
Posts: 1,743 | Thanked: 1,231 times | Joined on Jul 2006 @ Twickenham, UK
#25
Originally Posted by jaem View Post
Well, off the top of my head, I have one idea, but it involves some assumptions. This is just a brain-dump. This would have to be something the user could disable, but if we assume a note-taking scenario, as opposed to sketching, then one idea would be to have an unobtrusive hotspot-button appear above where you are writing, which, if tapped, will act like a carriage return. Obviously, this assumes they are writing in the lines, and could have some usability concerns in terms of retroactive editing of typos, etc, but it illustrates the use-case I'm talking about. If anyone has better ideas, please suggest them.
This can be done.
It should be easy and I'll bind it to an action called "CarriageReturn" then whoever wants it has to simply add it to his own personalized toolbar.
ATM you've got to edit the .xml file that comes with Xournal.

Bear with me that all these new features will come after it's been stable on Fremantle.

Off to work.
 

The Following 2 Users Say Thank You to anidel For This Useful Post:
joshua.maverick's Avatar
Posts: 805 | Thanked: 440 times | Joined on Aug 2009 @ Mississauga, On
#26
I made a new pencil check it out:

 

The Following User Says Thank You to joshua.maverick For This Useful Post:
anidel's Avatar
Posts: 1,743 | Thanked: 1,231 times | Joined on Jul 2006 @ Twickenham, UK
#27
You good at icons?
Would you be so king to make them more "Maemo 5"-like?

You notice their style from the "fullscreen" icon.
(just plain white on black background and flat)

They'll be loaded from .png files, so changeable.
 
anidel's Avatar
Posts: 1,743 | Thanked: 1,231 times | Joined on Jul 2006 @ Twickenham, UK
#28
Originally Posted by Capt'n Corrupt View Post
TTS is real! And it should work quite well on Maemo 5. A 'popular' open implementation is called flite.

http://www.speech.cs.cmu.edu/flite/

}:^)~
Would it make more sense a STT (speech to text) for Xournal?

What's the point of writing notes, have them recognized (OCR) and then synthesized ?
You can write notes with the nice keyboard or you can store your voice with an audio recorder.

Anyway, I never came across a good library that accepts handwriting and coverts to text.
 
joshua.maverick's Avatar
Posts: 805 | Thanked: 440 times | Joined on Aug 2009 @ Mississauga, On
#29
Originally Posted by anidel View Post
You good at icons?
Would you be so king to make them more "Maemo 5"-like?

You notice their style from the "fullscreen" icon.
(just plain white on black background and flat)

They'll be loaded from .png files, so changeable.
Never really made icons before, but I get photoshop, that pencil I just made now. I'll try making a "maemo 5" style icon for the pencil then we can decide which style to go with. I'm going to copy the style from the close button, so it will be a gradient/monochrome/block style.
 

The Following User Says Thank You to joshua.maverick For This Useful Post:
anidel's Avatar
Posts: 1,743 | Thanked: 1,231 times | Joined on Jul 2006 @ Twickenham, UK
#30
They're more like the last icon in my screenshot, the white square with an arrow in it.
 
Reply


 
Forum Jump


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