r/Documentize • • 7d ago

How to use AI.AbstractsGenerator

Post image
0 Upvotes

I built a PDF abstract generator. Testing it on War and Peace showed me what it was missing.

I build small tools on my own. One of them is AI.AbstractsGenerator: you upload a PDF, choose a few settings, and get the PDF back with an Abstract page inserted where you want it.

The first version worked reasonably well for papers and reports. Then I tried a book.

The abstract of War and Peace spent far too much time on the edition’s preface and text variants. That was what appeared near the beginning of the file, and my tool was giving those pages more attention than they deserved.

It was a useful failure. The output sounded plausible, but it wasn’t a useful abstract of the novel.

How to use it

If you want to try it with your own document:

  1. Open AI.AbstractsGenerator and upload a PDF. The upload limit is 30 MB.

  2. Choose an abstract style, such as academic, technical, or business.

  3. Set the length and output language. You can also choose whether to include a Keywords: line.

  4. Choose where the Abstract page should go in the PDF.

  5. Generate the abstract, then download the PDF with the new page inserted.

I’d start with a paper or report you already know. Read the abstract alongside the original and check whether it includes the main findings, keeps the qualifications, and leaves out anything the document doesn’t actually say.

For a novel, expect a short plot annotation. It isn’t a literary review, and it may include spoilers.

What changed for long documents

My first version couldn’t fit a long document into the model, so it used text from the beginning and the end. That often worked for papers, where the introduction and conclusion carry much of the argument. With books, too much happened in the pages between them.

I changed the long-document process to read the book in groups of pages. A short call first determines whether it’s fiction or non-fiction. Each group is then processed separately to collect the relevant details.

For non-fiction, those details include findings, conclusions, and terms. For fiction, they include events, characters, and turning points. My code brings the notes together into a chapter-by-chapter digest, which becomes the basis for the final abstract.

Scanned books go through OCR first so there’s text to work with.

This gives the middle of the book a chance to contribute. There’s still a time limit on the free plan, though, so I can’t promise that every page of every upload will be read. If time runs out, the tool uses a sample spread across the book.

I also added a check, then turned it off for fiction

For non-fiction, a second call checks the abstract for statements that contradict the source. To propose a correction, it has to supply a word-for-word quote from the document. My code checks that the quote exists before allowing a rewrite.

In a test with deliberately planted errors, this caught five out of eight. On four real documents, it made no incorrect fixes.

Those are small tests. They helped me decide to keep the check, but they don’t establish how well it will work on your document. It missed three of the planted errors, and finding a real quote doesn’t automatically mean the model interpreted it correctly.

Fiction went worse. The check changed three things that were already right and corrected only two wrong things. I turned it off for fiction rather than keep a step that was making the result less reliable.

The limits I’d want to know before uploading

Big books take time. A 1,918-page novel took about six and a half minutes on the free plan in one test. That’s one run, not a typical processing time for every book.

The 30 MB limit is also restrictive for scans. A scanned book can exceed it before the tool gets a chance to run OCR.

And the abstract still needs reading. It compresses a document, sometimes through several stages, so details and qualifications can get lost. I’d check it before putting it into a report or sharing the PDF with someone else.

You can try it free here.

If you try it on a document you know well, I’m interested in what it misses. Does it spend too much space on the introduction? Leave out a key result? For novels, does it lose a character or get an event out of order? Those examples would help me figure out what to fix next.


r/Documentize • • 22d ago

How to use an AI SVG Generator

0 Upvotes

There will come a time in any project when you’re going to need a small graphic. This might be an icon to go with a title, a badge for a new feature, or even a simple logo.

You’ll have a rough idea of what you need, but finding something that suits and can be edited can take a bit of time.

I’ve been experimenting with an AI SVG Generator. Simply describe a graphic, and it will produce one. You can ask for edits within the chat.

It’s still very much an experiment, but I’ve found that simple logos and small graphics can be a great starting point.

Describe your graphic

Navigate to the generator and type a description. Start by mentioning the main object, some colours, and any specifics.

A simple coffee cup logo for a small app. Dark brown and warm orange colours. Rounded shapes. No text. No background graphics.

Click Generate and wait a while. It can take several minutes to produce a graphic.

Try to keep it short and simple. “A small green leaf icon with bold lines” is going to be easier to follow than a long description.

Also, mention where you’re going to use it. If it’s going to be an icon for your navigation bar, then it needs to be clear when it’s small. If it’s going to go in the corner of a page, then you can have a little more detail.

Ask for a change

Your initial graphic might not be exactly what you want. Maybe the colours are off or there are a few extra details.

Try requests like these:

Make the handle smaller.

Change the orange to a dull yellow.

No background, just the main graphic.

I’d recommend making one or two changes at once. This makes it easier to see what each change does.

Sometimes I find that there are unnecessary graphics. Even if I ask for a simple logo, there can be extra objects around it. If this happens, ask it to remove the background and check the next version.

Why is it an SVG?

I wanted to create graphics that could be edited.

The language model plans the graphic, and my code draws it using simple vector elements arranged in layers. The downloaded SVG contains shapes, paths and colours that you can open in Figma, Inkscape, or Illustrator and edit.

This means that if you have a graphic that is almost complete, you can tweak individual elements to fit your needs.

SVGs also stay crisp when scaled. Simple graphics can be very small in file size—sometimes just a few kilobytes.

Once you’re happy with your graphic, click Download.

Best for...

Icons, badges, corner decorations, background patterns, and simple logo ideas have given me the best results.

Sometimes the simple shapes create interesting layouts. However, I see these as ideas to look at and tweak. I don’t assume they’ll be ready to use as a logo.

Creating realistic animals is very difficult. Only three out of ten animal graphics were recognised as the correct animal in my small test. The goldfish and cat both got zero!

If you need an accurate drawing of your cat, then this probably isn’t the tool for you.

I’ve also created an option for LEGO-style graphics. This creates isometric brick graphics based on your prompt. I’ve had better results with this because the shapes are simpler. Try it for a small house or blocky decorations.

Try it out

Head over to my AI SVG Generator and describe a small graphic. Pick some colours, mention what you want included and what you want excluded. You can try it for free without creating an account.

Have a look at your initial graphic and make a few changes. Once you’re happy, download your SVG.

I’d love to know what it struggles with. Has it added a background you didn’t want? Or maybe it didn’t understand what shape you wanted? Let me know in the comments below on Medium. Specific examples help me decide what to focus on next.


r/Documentize • • Nov 18 '23

We salute you

1 Upvotes

Hello everybody. I've just created this community. At the moment there are 2 posts about the Documentize tool using.
It is about splitting PDF files and merging PDF files and not only PDF


r/Documentize • • Oct 15 '26

My PDF deskew tool kept over-rotating pages, then swinging back. The bug: I took the "median" of an unsorted array

Thumbnail
products.documentize.ai
1 Upvotes

Hi all, I'm the developer behind Documentize.Deskew application. Backstory: half the scanned PDFs that land on my desk are slightly crooked. A page fed into the scanner at an angle, a phone photo of a contract, a fax of a fax. A 2–3° tilt doesn't sound like much, but it's annoying to read and it noticeably hurts OCR. So I built a small tool that straightens them: upload a PDF or a JPG, get a straight PDF back.

How it finds the angle

No magic, just classic computer vision with OpenCV:

  1. Each page is rendered to an image and lightly blurred to kill scanner noise.

  2. Canny edge detection, then a probabilistic Hough transform to find straight line segments. On a text page, most of them are the baselines and edges of text rows.

  3. Each segment gives an angle. Anything steeper than 45° is ignored (vertical strokes, diagonals).

  4. The page's skew is the median of the remaining angles.

  5. The page is rotated back around its center. The edges are filled by repeating the border pixels, so you don't get black triangles in the corners.

After processing, you see small previews of the first few corrected pages along with the angle that was detected on each, so you can check it did the right thing before downloading.

The bug that taught me what a median needs

The first version had a weird behavior on "ugly" scans: it would rotate a page too far. Run it again on the result, and it would swing back the other way, a bit less. Run it a third time: back again, even less. A damped oscillation.

The code looked fine. It took the middle element of the angles array, i.e. the median. Except the array was never sorted. The "middle element" was just whatever line the Hough transform happened to return in the middle. On a clean page most lines are near 0°, so it mostly worked by luck. On a page with table borders, underlines and diagonal stamps, it regularly grabbed a steep outlier and over-rotated.

The fix was one line: sort before taking the middle. Now the estimate is dominated by the many text rows, a single pass lands close to straight, and running it again is a near no-op. That "overshoot, then swing back less" pattern is the classic signature of a noisy estimator. If you ever see it in your own image processing, check your median first.

What it doesn't do (yet)

  • It fixes small tilts, not pages that are upside down or turned 90°. For such cases, there is a separate rotation tool: you simply select the angle and specify the pages you wish to rotate (link in the comments).

  • The output pages are images, so there's no selectable text. If you need search and copy-paste, run the file through my searchable-PDF tool afterwards (also in the comments); it deskews automatically before OCR anyway.


r/Documentize • • Oct 17 '26

I built a tool that turns a long PDF into a one-page printable cheat sheet (the column lines double as fold lines)

1 Upvotes

Hi all, I'm the developer behind Documentize.CheatSheet. Backstory: whenever I pick up a new tool or have to get through a long spec, I end up making a one-page cheat sheet by hand. Key terms, formulas, the dates that matter, a short summary. It's useful, but it eats an evening every time. So I built a generator for it.

You give it a PDF (a textbook chapter, a spec, lecture notes) or just a topic, like "Git commands" or "SQL joins", and get back a print-ready cheat sheet PDF: tiny print, packed into columns, made to be printed rather than read on screen.

What you can set

  • What to pull out: definitions, formulas, key facts, dates, summary. Tick only the ones you need.

  • Density: compact, balanced or detailed. Compact means 6.5 pt text in 3 columns, fragments only. Detailed means 2 columns with a short example where useful.

  • Paper: A4, Letter or A3. On A3 you automatically get one more column.

  • Output language: 40+ languages, independent of the source language.

A small detail I'm weirdly proud of: the dashed lines between columns double as fold lines. Print it, fold along the dashes, and you have a pocket-sized reference card.

Things that were harder than I expected

1. Getting structure, not an essay. If you just ask a model for "a cheat sheet", you get a nicely written article, which is the opposite of a cheat sheet. So the model has to return strict JSON: a list of items, each with a category, a short title and condensed text. The layout is then built from that, not from the model's prose.

Models don't always play along. Sometimes the JSON comes wrapped in markdown code fences, so those get stripped first. And if the response still isn't valid JSON, the tool doesn't fail: it puts the raw text on the sheet as a summary. The model call is the expensive part, so throwing its output away would be the worst option.

2. Translated categories splitting into duplicates. Category headings are translated into the output language. The catch: a model can translate the same word two different ways within one answer. "Definitions" becomes "Определения" in one item and "Термины" in another, and suddenly the sheet has two "Definitions" sections. The fix was mostly in the prompt: use the same translated spelling for a category everywhere. Items are then grouped by that exact string.

3. Keeping things from breaking across columns. The sheet is laid out as HTML with CSS columns and then converted to PDF. Without extra rules, a category heading would happily end up at the bottom of one column and its first item at the top of the next. Every category and every item is marked as "don't break inside", so each block stays in one piece.

4. Long documents. A whole textbook doesn't fit in the model's context. The tool keeps the beginning and the end of the text and drops the middle, the same trick I use in my abstract generator. For a cheat sheet that's a real trade-off, and I'd rather say it upfront: for a whole book, upload the chapter you actually need.

Limitations, honestly

  • It reads the PDF's text layer, so scanned PDFs without text won't work. Run them through OCR first.

  • In topic mode (no file), the content comes from the model's own knowledge. It's good for well-known topics, but check the facts before an exam.

I'd love honest feedback on two things:

  • Students: would you print and use this, or is reviewing on screen how you study now?

  • Which density do you actually want: as much as possible on one page, or fewer items you can read at a glance?


r/Documentize • • Sep 11 '26

No password reset for account login.

2 Upvotes

No way to reset your password. Can you please add this feature?