Skip to content

Stitch together pictures of the same document #235

Open

Description

@jokesper

I have a rather bad camera. It would greatly improve the output quality (atleast for me) If multiple partial images of the document could be stitched together. From a ui perspective, this could always be attempted and only happen when possible. Alternatively maybe continuos pictures work better. In this case long holding for a "video" would also be great.

Thank you for this amazing app. It's understandable if this is too niche a feature with too much complexity. I can just continue to scan relevant documents on a dedicated scanner.

Activity

  1. pynicolas commented on Sep 9, 2026

    @pynicolas
    Owner

    Thanks for opening this issue and for your kind words.

    This is a problem I've never heard about before. Before discussing a potential solution, could you please share a few example pictures, either here or by email (contact@fairscan.org)?
    You can use "Report a problem with last captured image" in the About screen to send the original captured image.

    Please send the actual captured images, not screenshots.
    That would really help me understand the problem.

    Thank you!

  2. jokesper commented on Sep 15, 2026

    @jokesper
    Author

    Thanks for the quick reply. Finding a relevant document which does not include too much personal information is difficult. I found one instance for 3 (see below). I will still try tough.
    After looking for relevant documents I found that there were three separate issues:

    1. Very long receipts. which get weirdly cut off at the bottom and may contain dublicates (overlapping images to fix cut off).
    2. Receipts which were previously folded, so they have to be held down for good results (overlapping images to remove my finger)
    3. Documents with slightly smaller font. After testing: My camera is actually good enough. But then I would have only the paper in view. with weirder borders. Going far enough away makes it too blury.
  3. pynicolas commented on Sep 17, 2026

    @pynicolas
    Owner

    Thanks for coming back to this issue and for the PDF you sent me by email.

    1. Very long receipts. Is this a document detection problem? If that's the case, a workaround consists in manually adjusting the quadrilateral through the dedicated screen (I'm not implying this is a solution). Would you be able to share an image?
    2. Receipts which were previously folded. Is the problem that the receipt cannot be laid flat without putting a finger on it and you don't want to see your finger in the resulting PDF?
    3. Documents with slightly smaller font. Indeed, you have to be close enough so that the image captures enough details, but the edges of the document have to visible so that document detection works. I don't really understand what you mean by "weirder borders".
  4. toolicious commented on Oct 1, 2026

    @toolicious
    Contributor

    I just want to briefly mention that I sometimes have this problem, too. Sometimes a receipt is so long that you can’t take a decent photo of it (e.g. a restaurant receipt with many fields to fill out for business meals for tax reasons). It’s then impossible to fit the entire receipt into a single photo. The text becomes very small and hard to read when compressed or rasterized in b/w. On top of that, there are the curves and creases in the paper, which are impossible to stretch along the entire length.

    Stitching the images together is indeed an interesting option that would eliminate these problems. However, I’m not sure if the resulting very long/high image would be usable, since you still wouldn’t be able to print it or view it in its entirety on the screen.

    One solution I could imagine is placing multiple images side by side on a single PDF page. So you’d take 2–3 photos of a long receipt, and these would then fit easily side by side on a standard page, rather than stitching them together into a single, very long image. Currently, I already take multiple photos, but each one ends up on its own page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions