{"id":21871450,"url":"https://github.com/kamui-fin/gazou","last_synced_at":"2025-10-14T13:37:18.158Z","repository":{"id":42464994,"uuid":"291137109","full_name":"kamui-fin/gazou","owner":"kamui-fin","description":"Japanese and Chinese OCR for Linux \u0026 Windows","archived":false,"fork":false,"pushed_at":"2023-10-20T03:49:40.000Z","size":74180,"stargazers_count":96,"open_issues_count":2,"forks_count":13,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-14T23:56:05.535Z","etag":null,"topics":["imageprocessing","japanese","ocr"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kamui-fin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-08-28T20:10:57.000Z","updated_at":"2025-03-31T18:30:58.000Z","dependencies_parsed_at":"2024-06-22T18:16:25.854Z","dependency_job_id":null,"html_url":"https://github.com/kamui-fin/gazou","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/kamui-fin/gazou","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kamui-fin%2Fgazou","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kamui-fin%2Fgazou/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kamui-fin%2Fgazou/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kamui-fin%2Fgazou/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kamui-fin","download_url":"https://codeload.github.com/kamui-fin/gazou/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kamui-fin%2Fgazou/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279018703,"owners_count":26086609,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["imageprocessing","japanese","ocr"],"created_at":"2024-11-28T06:14:18.006Z","updated_at":"2025-10-14T13:37:18.123Z","avatar_url":"https://github.com/kamui-fin.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gazou OCR\n\nGazou is a Japanese and Chinese OCR application written in C++. It utilizes image processing, and other parameters to improve the accuracy. All contributions are welcome.\n\n## Installation\n\n### Windows\n\nYou can grab the latest portable zip build from the [releases](https://github.com/kamui-fin/gazou/releases). Simply unzip and execute `gazou.exe` and the app should run.\n\n### Arch\n\nSince this is packaged in the AUR, you can install it with any AUR helper like:\n\n```\nparu -S gazou-git\n```\n\n## Building from source\n\n### Dependencies\n\nThese dependencies will need to be installed by your system's package manager:\n\n- Qt5 \u003e= 5.10\n- Tesseract \u003e= 4.0.0\n- Leptonica \u003e= 1.70\n\nOptional dependencies:\n\n- Qt5X11Extras \u003e= 5.10 (for GUI)\n\n### Install\n\n```sh\ngit clone --recursive https://github.com/kamui-fin/gazou.git\ncd gazou\nmkdir build\ncd build\ncmake .. -DGUI=ON\nsudo make install\n```\n\n#### Wayland\n\nFor wayland users, `gazou` must be compiled with `-DGUI=OFF` and use the equally functional command line interface.\nThis is due to the fact that Wayland does not support applications registering their own global hotkeys as a security measure.\n\n## GUI\n\nYou can run the program by typing `gazou` in your terminal. It runs in the background and should appear in your system tray.\nIf you click on the app in the tray, a settings dialog should appear.\nIn here, you can customize the keybinds to your liking. The default hotkeys are:\n\n- `Alt+A`: Vertical OCR\n- `Alt+D`: Horizontal OCR\n- `Alt+S`: Repeat the previous OCR\n\nWhen you perform an OCR, the result text gets copied to the clipboard.\n\nJust to clarify the language option names:\n\n- `jpn`: Japanese\n- `chi_sim`: Simplified Chinese\n- `chi_trad`: Traditional Chinese\n\n## CLI\n\nGazou also has a command line mode, and this can be useful for integrating it with bash scripts.\nTo get the resulting text copied to your clipboard, you can use `xclip`, `wl-copy`, or any clipboard utility you prefer.\nAvailable options include:\n\n```\nUsage: gazou [options] imagePath\nLaunches GUI if no options are provided.\n\nOptions:\n  -p, --prevscan             Run the OCR on the same coordinates of the\n                             previous scan\n  -l, --language \u003clanguage\u003e  Specify OCR language, defaults to jpn. Options:\n                             jpn, chi_sim, chi_trad\n  -v, --vertical             Switch orientation to vertical. Without this,\n                             gazou expects horizontal text.\n  --version                  Fetch the version information of gazou\n  --help                     View this help menu\n\nArguments:\n  imagePath                  Source image file to OCR\n```\n\n### Piping from stdin\n\nYou can also run gazou by pipeing an image into the CLI:\n\n```\ncat img.png | gazou\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkamui-fin%2Fgazou","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkamui-fin%2Fgazou","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkamui-fin%2Fgazou/lists"}