← Back to context

Comment by sgc

5 hours ago

For ocr, you have to practice, practice, practice with your prompts on small sample sizes before one-shotting a book. I create a json schema for the output that describes the structure in detail (using ai from my prose descriptions of structure of course). I have specific tough pages I use on openrouter to test every new model I am interested in. Gemini has and does absolutely dominate for this. But flash can be better because it doesn't overthink things.

I did do test images, but apparently not enough. It's not 100% of images it drops the second column on either. On many it gets both, on some it only gets the second column.

I also found that it ignores other instructions sporadically ("Don't use letter variants or ligatures in the output, use the normal Danish/Norwegian alphabet when at all possible", still a few Unicode tall s'es in the output.)

It's good, but it's so frustrating since "worse" models manage to follow such instructions much better.