Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/puutaro/ocrviewer
OCR Viewer with tts by termux in CommandClick
https://github.com/puutaro/ocrviewer
android browser browser-addon cmdclick commandclick fannel javascript ocr-android shellscript termux
Last synced: 23 days ago
JSON representation
OCR Viewer with tts by termux in CommandClick
- Host: GitHub
- URL: https://github.com/puutaro/ocrviewer
- Owner: puutaro
- License: mit
- Created: 2023-12-04T15:41:44.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-04-27T16:48:08.000Z (8 months ago)
- Last Synced: 2024-10-17T12:23:51.177Z (2 months ago)
- Topics: android, browser, browser-addon, cmdclick, commandclick, fannel, javascript, ocr-android, shellscript, termux
- Language: JavaScript
- Homepage: https://github.com/puutaro/CommandClick
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ocrViewer.js
----------------OCR Viewer with tts (###termux) @puutaro
Table of Contents
-------
* [Installation](#installation)
* [Toolbar buttons](#toolbar-buttons)
* [Play Button](#play-button)
* [Cmd Variables](#cmd-variables)
* [ocrTargetPath](#ocrtargetpath)
* [EXEC_EXTRACT](#exec_extract)
* [TTS_PLAY](#tts_play)
* [ocrLang](#ocrlang)
* [onEnglish](#onenglish)
* [Pitch](#pitch)
* [Speed](#speed)
* [onTrack](#ontrack)
* [Setting variables](#setting-variables)
* [terminalFontZoom](#terminalfontzoom)
* [terminalFontColor](#terminalfontcolor)
* [execPlayBtnLongPress](#execplaybtnlongpress)
* [homeFannelsPath](#homefannelspath)## Installation
---------------------1. Install [ComamndClick](https://github.com/puutaro/CommandClick) to your android by [this link](https://github.com/puutaro/CommandClick#app-installation)
2. Set up termux by [this link](https://github.com/puutaro/CommandClick/blob/master/USAGE.md#termux-setting)
3. Install this fannel by [install repo](https://github.com/puutaro/CommandClick/blob/master/USAGE.md#install-fannel) or QR code
4. Press [Install button](#install)## Toolbar buttons
### Play Button
1. Set `ocrTargetPath`
2. Click- long press -> web search
## Cmd Variables
--------### ocrTargetPath
target image and pdf file path### EXEC_EXTRACT
extract from image or pdf### TTS_PLAY
text to speech play### ocrLang
ocr support lang| code | lang |
| -------- | -------- |
| `en` | english |
| `ja` | japanese |### onEnglish
| switch | description |
| ------ | --------- |
| `ON` | speech by English |
| `OFF` | speech by local lang |### Pitch
text to speech pitch| pitch | description |
| ------ | --------- |
| 50 | normal |
| 50 Up | pitch up |
| 50 down | pitch down |### Speed
text to speech speed| speed | description |
| ------ | --------- |
| 50 | normal |
| 50 Up | speed up |
| 50 down | speed down |### onTrack
| switch | description |
| ------ | --------- |
| `ON` | memory past number and step |
| `OFF` | no memory past number and step |## Setting variables
---------### terminalFontZoom
Adjust terminal font size (percentage)### terminalFontColor
Adjust terminal font color### execPlayBtnLongPress
Execute when play button long press| type or name | description |
| ------- | ------- |
| `WEB_SEARCH` | apear web search bar |
| `PAGE_SEARCH` | apear page search bar |
| js file path | execute js file |### execEditBtnLongPress
Execute when edit button long press| type or name | description |
| ------- | ------- |
| `WEB_SEARCH` | apear web search bar |
| `PAGE_SEARCH` | apear page search bar |
| js file path | execute js file |### homeFannelsPath
Specified fannel put always bottom in app history| Button type | usage |
| --------- | --------- |
| DSL button | Drag and sort home fannels List |
| ADD button | Add fannel to home fannels list |