OSS-DocumentScanner

ossappscollectiveMIT活跃维护

一款 Android 文档扫描应用,用手机拍照即可完成边缘检测、透视校正并导出 PDF,还能通过 OCR 把扫描件转成可搜索文字。

Document scanning app

com.akylas.documentscanner/android/github/1.26.2/165发布于 2026-10-22 14:17 UTC2,647star +10 / 7 天149fork同步于 2026-11-10 11:43 UTC

怎么上手

README 里没有找到可直接复制的安装命令

README 里没有找到可直接复制的安装命令,请到 README 或官方文档查看安装方式。

硬件要求

README 没有说明硬件要求。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

这个项目的说明还在生成中,先参考下面「最近发版」和 README。

最近发版

5 个版本com.akylas.documentscanner/android/github/1.26.2/165
  1. com.akylas.documentscanner/android/github/1.26.2/165OSS Document Scanner(android): v1.26.2 Build 165最新正式版2026-10-22 · 2026-10-22 14:17 UTC
  2. com.akylas.cardwallet/android/github/1.15.2/88OSS Card Wallet(android): v1.15.2 Build 882026-10-22 · 2026-10-22 14:11 UTC
    查看更新说明
  3. com.akylas.cardwallet/android/github/1.15.1/87OSS Card Wallet(android): v1.15.1 Build 872026-10-19 · 2026-10-19 18:42 UTC
    查看更新说明

    Bug fixes

  4. com.akylas.documentscanner/android/github/1.26.1/164OSS Document Scanner(android): v1.26.1 Build 1642026-10-19 · 2026-10-19 18:30 UTC
    查看更新说明

    Bug fixes

  5. com.akylas.documentscanner/ios/alpha/1.20.0/90OSS Document Scanner(ios): v1.20.0 Build 902026-09-14 · 2026-09-14 16:26 UTC
    查看更新说明

    Features

    Bug fixes

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    This repository is now the home of 2 apps

    Contributor Covenant GitHub repo stars GitHub License GitHub All Releases GitHub release GitHub release

    Small translation badge

    Installation

    OSS Document ScannerOss CardWallet
    AppVerifier hashes

    OSS Document Scanner:

    com.akylas.documentscanner
    0D:10:AA:10:E0:3A:7E:76:97:22:BE:43:88:BE:63:BD:15:7A:7B:7B:F1:96:FB:3C:EB:AB:87:37:F9:6C:A8:71
    

    OSS CardWallet:

    com.akylas.cardwallet
    0D:10:AA:10:E0:3A:7E:76:97:22:BE:43:88:BE:63:BD:15:7A:7B:7B:F1:96:FB:3C:EB:AB:87:37:F9:6C:A8:71
    

    Open Source app to scan your documents.

    Screenshots

    | | | |

    | | | |

    Having issues, suggestions and feedback?

    You can,

    Languages:

    The Translations are hosted by Weblate.org.

    Feature Graphic generated with hotpot.ai

    Building Setup

    This repo can be used to build 2 different apps: OSS DocumentScanner and OSS CardWallet

    Those apps are using Nativescript which is a cross platform framework to build apps for iOS/Android

    Setup / Environment

    This project uses a few environment variables. While most are for publishing and thus not necessary for most, some are used to decide which app to build:

    • APP_ID: com.akylas.documentscanner or com.akylas.cardwallet
    • APP_BUILD_PATH: build/documentscanner or build/cardwallet
    • APP_RESOURCES: App_Resources/documentscanner or App_Resources/cardwallet

    You can either define them yourself. If you are using vscode the vscode/settings.json of this repo defines different custom shells which will try to source .env.documentscanner and .env.cardwallet. To do this it use the plugin dotenv from omzsh here If those variables are not define the project will default to variables for OSS DocumentScanner

    Nativescript

    First setup Nativescript

    This project is optimized to be built with Akylas Fork. Though it would work with main it is best to use this fork. The package.json defines a resolution to ../NativeScript/dist/packages/core so clone the fork and build it using npm run setup:yarn && npm run ui-mobile-base:build && npm run core:build

    Another change is that this project uses new features of the Nativescript cli which were not released yet. So for now you need to clone it, build with npm run setup then use it with PATH_TO_CLI_FOLDER/bin/ns

    dotenv

    The app uses .env file to set up needed environment variables. .env is not commited as it contains sensitive data Simply create a .env file with:

    source .env.ci
    

    Then "source" the file in the terminal so that variable are exported and available to nativescript cli. I use dotenv plugin for zsh which automatically loads the .env file

    3rd parties

    This app also uses opencv and tesseract. I did not include the libraries in git because there are huge and would make the github repo too big. There are 3 ways to install them:

    • reproducible, selected by version (Android, iOS and Mac Catalyst): scripts/native-libs/fetch.sh <opencv_version> <tesseract_version> all downloads a build of the build-native-libs workflow, or build locally with scripts/native-libs/build.sh. See scripts/native-libs/README.md
    • download from here and uncompress them at the root
    • build them yourself:
    OpenCV
    • Android: You can download Opencv 4.12.0 for android here. Then place the necessary libs/includes in the opencv/android at the root of this repo like shown here: opencv directory structure

    • iOS : You can download Opencv 4.12.0 for iOS here. Then place the opencv2.xcframework in the opencv/ios at the root of this repo

    This should be enough. Android and iOS build will use it using symlinks

    Tesseract

    It is a bit trickier for Tesseract as we need to compile it

    • Android: - clone https://github.com/Akylas/Tesseract4Android - build with ./gradlew assembleRelease - search for the built static libs (search for libtesseract.a) in tesseract4android/build/intermediates/cxx/*/obj - copy the static libs and the includes(in tesseract4android/src/main/cpp/tesseract/src/include) in the tesseract/android at the root of this repo like shown here: opencv directory structure

    • iOS:

    Yarn

    You need to use yarn with this project as it uses the portal: protocol for some dependencies. Note that the project has some yarn link for easy local dev for me. The best is for you to remove the resolutions part of the package.json

    Building

    Now that all is setup and that you prepared the 3rd party libraries you can actually build and run the app:

    • yarn
    • ns run android --no-hmr --env.devlog (replace by ios for iOS...)

    This should run the app on the first discovered device or emulator.