4,075 reputation
1352
bio website
location
age
visits member for 2 years, 5 months
seen 2 days ago

Jan
24
comment How to extract metadata from an image of a business card?
What would some robuster methods be that I can look into myself?
Jan
23
comment How to extract metadata from an image of a business card?
I'm trying this on other cards and most of the time the lines are wrong :(
Jan
23
comment How to extract metadata from an image of a business card?
There should be because the app doesn't know this info either and should work on any rectangular document or picture.
Jan
23
comment How to extract metadata from an image of a business card?
I'm trying this with some other images, but I don't know the width and the heights before hand, is there any way around this?
Jan
23
comment How to extract metadata from an image of a business card?
Nice work Silvia! Does anyone know of any free OCR libraries that one could call from mathematica?
Jan
21
comment How to extract metadata from an image of a business card?
thx @ChrisDegnen I did see that before
Jan
21
comment How to extract metadata from an image of a business card?
Ah right, but I want to solve the general problem :)
Nov
29
comment How can I link the c library GAUL into Mathematica?
I'm reading the documentation on LibraryLink now, but it's is a bit cryptic...
Nov
26
comment How can I convert a formatted text cell to latex code?
Thanks @silvia for your solution, but I feel that the other one is simpler...
Nov
26
comment How can I convert a formatted text cell to latex code?
Ok, no problem, thanks for the answer.
Nov
26
comment How can I convert a formatted text cell to latex code?
I know about them, but the examples I have seen only use FETokens and never execute arbitrary code.
Nov
26
comment How can I convert a formatted text cell to latex code?
Do you know how to add arbitrary commands into a item in KeyEventTranslations.tr?
Nov
26
comment How can I convert a formatted text cell to latex code?
It is! Thank you. I'd like this to be a key command such as Item[KeyEvent["y", Modifiers -> {Control}], FrontEndExecute[FrontEnd`CellPrint[ nb = NotebookCreate[Visible -> False]; NotebookWrite[nb, Cell[StringTrim@ StringReplace[ ExportString[NotebookRead[SelectedNotebook[]], "LaTeX"], __ ~~ "begin{document}" ~~ text__ ~~ "\\end{document}" ~~ ___ :> text], "Text"]]; SelectionMove[nb, All, Notebook]; FrontEndTokenExecute[nb, "Copy"]; NotebookClose[nb]; NotebookCreate[Visible -> False]; Cell["Copied!"]]] ] but I can't get it to work!
Nov
20
comment How can I convert a formatted text cell to latex code?
The first thing I tried was copying the text cell as LaTeX, but it didn't work. Gave this message: TeXForm::unspt: TeXForm of Map[System`FEDump`TransformBoxesToTraditionalFormBoxes[System`FEDump`processBoxe‌​sForCopyAsTeX[{TextForm},TextData[#1]]]&,<<14>>, if there is a TM that accepts it.] is not supported. >>
Nov
20
comment How can I convert a formatted text cell to latex code?
I pasted it back in. It returns $Aborted.
Nov
8
comment How can I access a variable in one evaluator from another evaluator?
@MikeHoneychurch It's a great answer. I should have asked "How can I (dynamically and/or most quickly) access a variable in one evaluator from another evaluator?"
Nov
6
comment How can I access a variable in one evaluator from another evaluator?
@MikeHoneychurch By lag I mean, that if you change the value dynamically in one notebook, the other lags behind: Slider[Dynamic[ CurrentValue[$FrontEndSession, {TaggingRules, "Alpha"}]], {0, 100}]
Nov
6
comment How can I access a variable in one evaluator from another evaluator?
There is significant lag in this example :(
Nov
5
comment How can I access a variable in one evaluator from another evaluator?
@MikeHoneychurch interesting approach, an you give all the code for your example as a solution?
Oct
25
comment How can I speed up the classic GA for graph coloring?
Hmm, it still doesn't terminate...