Giter Site home page Giter Site logo

amebalabs / trex Goto Github PK

View Code? Open in Web Editor NEW
1.2K 10.0 36.0 20.34 MB

Copy any text on your screen, stop retyping.

Home Page: https://trex.ameba.co

License: MIT License

Swift 93.54% Rich Text Format 2.31% Objective-C 0.65% Shell 3.50%
macos productivity ocr textrecognition tools screenshot swift

trex's Introduction

GitHub license Latest Release Github all releases

TRex Logo

TRex 🦖

TRex captures any text right into your Clipboard with magic of OCR.

But what is OCR anyway? Imagine you have a PDF file or a Web page where you can't select the text, image with text on it, or even a YouTube video. Forget retyping it manually; with TRex, you can extract text from anywhere, and it is as easy as taking a screenshot.

TRex lives in the menu bar and available right where you need it the most:

TRex

To use TRex:

  1. Invoke "Capture" either through the menu bar or with a global configurable shortcut
  2. Select an area of the screen you want to extract text from, just like taking a screenshot
  3. There is no third step - extracted text is in your clipboard

Demo:

Demo

Please note, text editing application on the right is not part of TRex, this is Tot. TRex is designed to be invisible and doesn't have any UI beyond the menu bar app and preferences.

Use cases

TRex can help you to copy text from:

  • A PDF with non-selectable text
  • A screenshot
  • YouTube video
  • Zoom call screen sharing
  • ... and more!

If you can see it on your screen - TRex can copy it.

How to get TRex

App Store

Buy TRex from the App Store

GitHub

Download from GitHub Releases

Homebrew

Install from Homebrew

brew install trex

Runs on macOS Big Sur (11.0) and up.

Features

Every feature in TRex works offline, no internet is needed.

  • Text recognition (OCR)
  • Read QR Codes and barcodes
  • Handy macOS menu bar app, with option to hide it
  • Configurable global shortcuts
  • Configurable recognition language
  • Custom words list
  • CLI tool /Applications/TRex.app/Contents/MacOS/cli/trex
  • Automation actions
    • Run a Shortcut from Shortcuts.app
    • Open URLs found in QR codes
    • Detect and open URLs found in captured text
    • Trigger a user defined URL scheme (for integration with other apps)
  • URL scheme support
    • trex://capture trigger capture from screen
    • trex://captureclipboard trigger capture from clipboard
    • trex://captureautomation trigger screen capture and run automation
    • trex://captureclipboardautomation trigger capture from clipboard and run automation
    • trex://shortcut?name= set Shortcut assigned to "Run Shortcut" automation action
    • trex://showPreferences open app preferences

Integrations

Alfred

Download official workflow

Alfred

Raycast

Download official Raycast Commands

Raycast

Acknowledgements

Portions of this software utilize the following copyrighted material, the use of which is hereby acknowledged:

More Apps

If you enjoy TRex you may like these as well:

  • SwiftBar - Powerful macOS menu bar customization tool
  • Esse - Swiss army knife of text transformation for iOS and macOS

trex's People

Contributors

kant avatar melonamin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

trex's Issues

Add OCR from file

Trex is amazing! 🦖 🚀

My one gripe is not being able to use the command-line app to perform OCR on an image that's already on my disk.

e.g.

/Applications/TRex.app/Contents/MacOS/cli/trex --file /path/too/qrcode.png

My kludgy workaround for this is copying the image to the clipboard with impbcopy and then using the --clipboard option. But that's pretty ugly.

impbcopy /path/to/qrcode.png
/Applications/TRex.app/Contents/MacOS/cli/trex --clipboard

FR: Menu item to invoke OCR on clipboard content (without enabling full Capture access)

For privacy reasons, it seems best if I copied content to the clipboard myself instead of granting access to this (or any other) app to perform screen recording.

Although I could set a global hotkey to quickly have the clipboard content OCRd, there appears to be no menu item to do exactly that.

If there’s a concern about too many menu items, perhaps the existing Capture menu item could first check if there’s an image on the clipboard, and if (and only if) not, proceed to record the screen.

Is this on the roadmap? If not, would you be willing to consider? Thank you for this awesome tool!

Notifications on completion

would it be possible to add some kind of visual indicator to indicate completion? maybe a full blown notification or add a checkmark to the menubar icon kinda thing

TRex doesn't do anything after a screen capture

I just got TRex from the app store and enabled screen capture rights for it. When I do a screen capture by clicking TRex in the menubar > "Capture Text", nothing happens, no window pops up or such. Did I misunderstand sth regarding the usage or is there a bug? I'm on macOS 11.3.1, MacBook Pro (13 Zoll, 2019, 4 Thunderbolt 3).

Preferences option doesn't appear to do anything

Version: TRex 1.3 (40)

OS X: Big Sur 11.4 (20F71)

Observation: When accessing TRex from the menu bar, there is an entry for "Preferences". Clicking on that entry does not appear to have any effect.

Expectation: I'd expect a preferences panel to appear. (I tried to access it because after rebooting my computer, I noticed that TRex wasn't in the menubar, and I'm hoping that the menu has an option to start TRex upon login.)

Simplify brew command

from

brew tap melonamin/formulae
brew install trex

to brew install melonamin/formulae/trex

Preferences menu option gone

Hi, after upgrading to version 1.6.0 it looks like the "Preferences" menu option has disappeared.

Screenshot 2022-12-24 alle 13 11 13

Also, I cannot reach the preferences window using trex://showPreferences anymore.

TRex Settings open in the background

The TRex Settings panel opens behind active apps, making it hard to find/requiring to use Mission Control to find.

See example video with the Finder hiding the preference panel

TRex

OCR a pdf with multiple pages

Hi! Thanks a lot for this great tool!
The new feature "Drag&Drop an image on the menu bar item to OCR it" made me dream of a solution where I could drag and drop a PDF file with multiple pages for OCR.

Unneeded hyphenation

I selected some text from the first page of a kindle book and TRex yielded text including:

hot. A creek rushed behind our tents, and we used it to filter wa-
ter and cool the beer we'd snagged from the nearby ski town's os-
tentatiously wood-beamed liquor store.

It seems like TRex is hard wrapping lines and adding hyphenation that is not in the original text?

Not working on macOS 11.2.3

This is the first time I tested the app. Basically not happens after clicking on Capture text and selecting the text.

Here's the Console output:

default	19:58:20.857857-0300	tccd	AUTHREQ_ATTRIBUTION: msgID=4293.2, attribution={responsible={identifier=com.ameba.TRex, pid=3831, auid=501, euid=501, responsible_path=/Applications/TRex.app/Contents/MacOS/TRex, binary_path=/Applications/TRex.app/Contents/MacOS/TRex}, requesting={identifier=com.apple.screencapture, pid=4293, auid=501, euid=501, binary_path=/usr/sbin/screencapture}, },
default	19:58:20.874119-0300	tccd	AUTHREQ_SUBJECT: msgID=4293.2, subject=com.ameba.TRex,
default	19:58:20.876553-0300	tccd	AUTHREQ_ATTRIBUTION: msgID=129.135, attribution={responsible={identifier=com.ameba.TRex, pid=3831, auid=501, euid=501, responsible_path=/Applications/TRex.app/Contents/MacOS/TRex, binary_path=/Applications/TRex.app/Contents/MacOS/TRex}, accessing={identifier=com.apple.screencapture, pid=4293, auid=501, euid=501, binary_path=/usr/sbin/screencapture}, requesting={identifier=com.apple.WindowServer, pid=129, auid=88, euid=88, binary_path=/System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/Resources/WindowServer}, },
default	19:58:20.889749-0300	tccd	AUTHREQ_SUBJECT: msgID=129.135, subject=com.ameba.TRex,
default	19:58:20.919852-0300	tccd	AUTHREQ_ATTRIBUTION: msgID=86.91, attribution={responsible={identifier=com.ameba.TRex, pid=3831, auid=501, euid=501, responsible_path=/Applications/TRex.app/Contents/MacOS/TRex, binary_path=/Applications/TRex.app/Contents/MacOS/TRex}, accessing={identifier=com.apple.screencapture, pid=4293, auid=501, euid=501, binary_path=/usr/sbin/screencapture}, requesting={identifier=com.apple.mds, pid=86, auid=0, euid=0, binary_path=/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Support/mds}, },
default	19:58:20.936407-0300	tccd	AUTHREQ_SUBJECT: msgID=86.91, subject=com.ameba.TRex,
error	19:58:20.936732-0300	tccd	Prompting policy for hardened runtime; service: kTCCServiceAddressBook requires entitlement com.apple.security.personal-information.addressbook but it is missing for responsible={identifier=com.ameba.TRex, pid=3831, auid=501, euid=501, responsible_path=/Applications/TRex.app/Contents/MacOS/TRex, binary_path=/Applications/TRex.app/Contents/MacOS/TRex}, accessing={identifier=com.apple.screencapture, pid=4293, auid=501, euid=501, binary_path=/usr/sbin/screencapture}, requesting={identifier=com.apple.mds, pid=86, auid=0, euid=0, binary_path=/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Support/mds},
default	19:58:20.938882-0300	tccd	AUTHREQ_ATTRIBUTION: msgID=86.92, attribution={responsible={identifier=com.ameba.TRex, pid=3831, auid=501, euid=501, responsible_path=/Applications/TRex.app/Contents/MacOS/TRex, binary_path=/Applications/TRex.app/Contents/MacOS/TRex}, accessing={identifier=com.apple.screencapture, pid=4293, auid=501, euid=501, binary_path=/usr/sbin/screencapture}, requesting={identifier=com.apple.mds, pid=86, auid=0, euid=0, binary_path=/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Support/mds}, },
default	19:58:20.955853-0300	tccd	AUTHREQ_SUBJECT: msgID=86.92, subject=com.ameba.TRex,
error	19:58:20.956183-0300	tccd	Prompting policy for hardened runtime; service: kTCCServiceCalendar requires entitlement com.apple.security.personal-information.calendars but it is missing for responsible={identifier=com.ameba.TRex, pid=3831, auid=501, euid=501, responsible_path=/Applications/TRex.app/Contents/MacOS/TRex, binary_path=/Applications/TRex.app/Contents/MacOS/TRex}, accessing={identifier=com.apple.screencapture, pid=4293, auid=501, euid=501, binary_path=/usr/sbin/screencapture}, requesting={identifier=com.apple.mds, pid=86, auid=0, euid=0, binary_path=/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Support/mds},
default	19:58:20.958396-0300	tccd	AUTHREQ_ATTRIBUTION: msgID=86.93, attribution={responsible={identifier=com.ameba.TRex, pid=3831, auid=501, euid=501, responsible_path=/Applications/TRex.app/Contents/MacOS/TRex, binary_path=/Applications/TRex.app/Contents/MacOS/TRex}, accessing={identifier=com.apple.screencapture, pid=4293, auid=501, euid=501, binary_path=/usr/sbin/screencapture}, requesting={identifier=com.apple.mds, pid=86, auid=0, euid=0, binary_path=/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Support/mds}, },
default	19:58:20.976679-0300	tccd	AUTHREQ_SUBJECT: msgID=86.93, subject=com.ameba.TRex,
default	19:58:21.609958-0300	TRex	assetsForQuery: <query: com.apple.MobileAsset.LinguisticData, locO: 1, iO: 1, latO: 1, <filter: {
    AssetLocale = "{(\n    en\n)}";
    AssetType = "{(\n    Delta\n)}";
}>> final result: (
) was cached: 1, cachedOnly: 0
default	19:58:21.611356-0300	TRex	assetsForQuery: <query: com.apple.MobileAsset.LinguisticData, locO: 1, iO: 1, latO: 1, <filter: {
    AssetLocale = "{(\n    en\n)}";
    AssetType = "{(\n    Optional\n)}";
}>> final result: (
    "Optional-en::dc4c467a0fffeac78ab819a94e98576bac0c3539.asset"
) was cached: 1, cachedOnly: 0
default	19:58:21.614852-0300	TRex	assetsForQuery: <query: com.apple.MobileAsset.LinguisticData, locO: 1, iO: 1, latO: 1, <filter: {
    AssetLocale = "{(\n    en\n)}";
    AssetType = "{(\n    Delta\n)}";
}>> final result: (
) was cached: 1, cachedOnly: 0
default	19:58:21.615252-0300	TRex	assetsForQuery: <query: com.apple.MobileAsset.LinguisticData, locO: 1, iO: 1, latO: 1, <filter: {
    AssetLocale = "{(\n    en\n)}";
    AssetType = "{(\n    Optional\n)}";
}>> final result: (
    "Optional-en::dc4c467a0fffeac78ab819a94e98576bac0c3539.asset"
) was cached: 1, cachedOnly: 0
default	19:58:21.626404-0300	TRex	assetsForQuery: <query: com.apple.MobileAsset.LinguisticData, locO: 1, iO: 1, latO: 1, <filter: {
    AssetLocale = "{(\n    en\n)}";
    AssetType = "{(\n    Delta\n)}";
}>> final result: (
) was cached: 1, cachedOnly: 0
default	19:58:21.626744-0300	TRex	assetsForQuery: <query: com.apple.MobileAsset.LinguisticData, locO: 1, iO: 1, latO: 1, <filter: {
    AssetLocale = "{(\n    en\n)}";
    AssetType = "{(\n    Optional\n)}";
}>> final result: (
    "Optional-en::dc4c467a0fffeac78ab819a94e98576bac0c3539.asset"
) was cached: 1, cachedOnly: 0
default	19:58:21.628822-0300	TRex	assetsForQuery: <query: com.apple.MobileAsset.LinguisticData, locO: 1, iO: 1, latO: 1, <filter: {
    AssetLocale = "{(\n    en\n)}";
    AssetType = "{(\n    Delta\n)}";
}>> final result: (
) was cached: 1, cachedOnly: 0
default	19:58:21.629136-0300	TRex	assetsForQuery: <query: com.apple.MobileAsset.LinguisticData, locO: 1, iO: 1, latO: 1, <filter: {
    AssetLocale = "{(\n    en\n)}";
    AssetType = "{(\n    Optional\n)}";
}>> final result: (
    "Optional-en::dc4c467a0fffeac78ab819a94e98576bac0c3539.asset"
) was cached: 1, cachedOnly: 0
default	19:58:21.650121-0300	TRex	assetsForQuery: <query: com.apple.MobileAsset.LinguisticData, locO: 1, iO: 1, latO: 1, <filter: {
    AssetLocale = "{(\n    en\n)}";
    AssetType = "{(\n    Delta\n)}";
}>> final result: (
) was cached: 1, cachedOnly: 0
default	19:58:21.650528-0300	TRex	assetsForQuery: <query: com.apple.MobileAsset.LinguisticData, locO: 1, iO: 1, latO: 1, <filter: {
    AssetLocale = "{(\n    en\n)}";
    AssetType = "{(\n    Optional\n)}";
}>> final result: (
    "Optional-en::dc4c467a0fffeac78ab819a94e98576bac0c3539.asset"
) was cached: 1, cachedOnly: 0
default	19:58:21.652594-0300	TRex	assetsForQuery: <query: com.apple.MobileAsset.LinguisticData, locO: 1, iO: 1, latO: 1, <filter: {
    AssetLocale = "{(\n    en\n)}";
    AssetType = "{(\n    Delta\n)}";
}>> final result: (
) was cached: 1, cachedOnly: 0
default	19:58:21.652944-0300	TRex	assetsForQuery: <query: com.apple.MobileAsset.LinguisticData, locO: 1, iO: 1, latO: 1, <filter: {
    AssetLocale = "{(\n    en\n)}";
    AssetType = "{(\n    Optional\n)}";
}>> final result: (
    "Optional-en::dc4c467a0fffeac78ab819a94e98576bac0c3539.asset"
) was cached: 1, cachedOnly: 0
default	19:58:21.657807-0300	TRex	assetsForQuery: <query: com.apple.MobileAsset.LinguisticData, locO: 1, iO: 1, latO: 1, <filter: {
    AssetLocale = "{(\n    en\n)}";
    AssetType = "{(\n    Delta\n)}";
}>> final result: (
) was cached: 1, cachedOnly: 0
default	19:58:21.658226-0300	TRex	assetsForQuery: <query: com.apple.MobileAsset.LinguisticData, locO: 1, iO: 1, latO: 1, <filter: {
    AssetLocale = "{(\n    en\n)}";
    AssetType = "{(\n    Optional\n)}";
}>> final result: (
    "Optional-en::dc4c467a0fffeac78ab819a94e98576bac0c3539.asset"
) was cached: 1, cachedOnly: 0
default	19:58:21.660468-0300	TRex	assetsForQuery: <query: com.apple.MobileAsset.LinguisticData, locO: 1, iO: 1, latO: 1, <filter: {
    AssetLocale = "{(\n    en\n)}";
    AssetType = "{(\n    Delta\n)}";
}>> final result: (
) was cached: 1, cachedOnly: 0
default	19:58:21.660945-0300	TRex	assetsForQuery: <query: com.apple.MobileAsset.LinguisticData, locO: 1, iO: 1, latO: 1, <filter: {
    AssetLocale = "{(\n    en\n)}";
    AssetType = "{(\n    Optional\n)}";
}>> final result: (
    "Optional-en::dc4c467a0fffeac78ab819a94e98576bac0c3539.asset"
) was cached: 1, cachedOnly: 0
default	19:58:21.671890-0300	TRex	assetsForQuery: <query: com.apple.MobileAsset.LinguisticData, locO: 1, iO: 1, latO: 1, <filter: {
    AssetLocale = "{(\n    en\n)}";
    AssetType = "{(\n    Delta\n)}";
}>> final result: (
) was cached: 1, cachedOnly: 0
default	19:58:21.672219-0300	TRex	assetsForQuery: <query: com.apple.MobileAsset.LinguisticData, locO: 1, iO: 1, latO: 1, <filter: {
    AssetLocale = "{(\n    en\n)}";
    AssetType = "{(\n    Optional\n)}";
}>> final result: (
    "Optional-en::dc4c467a0fffeac78ab819a94e98576bac0c3539.asset"
) was cached: 1, cachedOnly: 0
default	19:58:21.674392-0300	TRex	assetsForQuery: <query: com.apple.MobileAsset.LinguisticData, locO: 1, iO: 1, latO: 1, <filter: {
    AssetLocale = "{(\n    en\n)}";
    AssetType = "{(\n    Delta\n)}";
}>> final result: (
) was cached: 1, cachedOnly: 0
default	19:58:21.674755-0300	TRex	assetsForQuery: <query: com.apple.MobileAsset.LinguisticData, locO: 1, iO: 1, latO: 1, <filter: {
    AssetLocale = "{(\n    en\n)}";
    AssetType = "{(\n    Optional\n)}";
}>> final result: (
    "Optional-en::dc4c467a0fffeac78ab819a94e98576bac0c3539.asset"
) was cached: 1, cachedOnly: 0
default	19:58:21.678956-0300	TRex	assetsForQuery: <query: com.apple.MobileAsset.LinguisticData, locO: 1, iO: 1, latO: 1, <filter: {
    AssetLocale = "{(\n    en\n)}";
    AssetType = "{(\n    Delta\n)}";
}>> final result: (
) was cached: 1, cachedOnly: 0
default	19:58:21.679225-0300	TRex	assetsForQuery: <query: com.apple.MobileAsset.LinguisticData, locO: 1, iO: 1, latO: 1, <filter: {
    AssetLocale = "{(\n    en\n)}";
    AssetType = "{(\n    Optional\n)}";
}>> final result: (
    "Optional-en::dc4c467a0fffeac78ab819a94e98576bac0c3539.asset"
) was cached: 1, cachedOnly: 0
default	19:58:21.681315-0300	TRex	assetsForQuery: <query: com.apple.MobileAsset.LinguisticData, locO: 1, iO: 1, latO: 1, <filter: {
    AssetLocale = "{(\n    en\n)}";
    AssetType = "{(\n    Delta\n)}";
}>> final result: (
) was cached: 1, cachedOnly: 0
default	19:58:21.681694-0300	TRex	assetsForQuery: <query: com.apple.MobileAsset.LinguisticData, locO: 1, iO: 1, latO: 1, <filter: {
    AssetLocale = "{(\n    en\n)}";
    AssetType = "{(\n    Optional\n)}";
}>> final result: (
    "Optional-en::dc4c467a0fffeac78ab819a94e98576bac0c3539.asset"
) was cached: 1, cachedOnly: 0
default	19:58:21.692218-0300	TRex	assetsForQuery: <query: com.apple.MobileAsset.LinguisticData, locO: 1, iO: 1, latO: 1, <filter: {
    AssetLocale = "{(\n    en\n)}";
    AssetType = "{(\n    Delta\n)}";
}>> final result: (
) was cached: 1, cachedOnly: 0
default	19:58:21.692533-0300	TRex	assetsForQuery: <query: com.apple.MobileAsset.LinguisticData, locO: 1, iO: 1, latO: 1, <filter: {
    AssetLocale = "{(\n    en\n)}";
    AssetType = "{(\n    Optional\n)}";
}>> final result: (
    "Optional-en::dc4c467a0fffeac78ab819a94e98576bac0c3539.asset"
) was cached: 1, cachedOnly: 0
default	19:58:21.695060-0300	TRex	assetsForQuery: <query: com.apple.MobileAsset.LinguisticData, locO: 1, iO: 1, latO: 1, <filter: {
    AssetLocale = "{(\n    en\n)}";
    AssetType = "{(\n    Delta\n)}";
}>> final result: (
) was cached: 1, cachedOnly: 0
default	19:58:21.695537-0300	TRex	assetsForQuery: <query: com.apple.MobileAsset.LinguisticData, locO: 1, iO: 1, latO: 1, <filter: {
    AssetLocale = "{(\n    en\n)}";
    AssetType = "{(\n    Optional\n)}";
}>> final result: (
    "Optional-en::dc4c467a0fffeac78ab819a94e98576bac0c3539.asset"
) was cached: 1, cachedOnly: 0
default	19:58:21.699604-0300	TRex	assetsForQuery: <query: com.apple.MobileAsset.LinguisticData, locO: 1, iO: 1, latO: 1, <filter: {
    AssetLocale = "{(\n    en\n)}";
    AssetType = "{(\n    Delta\n)}";
}>> final result: (
) was cached: 1, cachedOnly: 0
default	19:58:21.699908-0300	TRex	assetsForQuery: <query: com.apple.MobileAsset.LinguisticData, locO: 1, iO: 1, latO: 1, <filter: {
    AssetLocale = "{(\n    en\n)}";
    AssetType = "{(\n    Optional\n)}";
}>> final result: (
    "Optional-en::dc4c467a0fffeac78ab819a94e98576bac0c3539.asset"
) was cached: 1, cachedOnly: 0
default	19:58:21.702162-0300	TRex	assetsForQuery: <query: com.apple.MobileAsset.LinguisticData, locO: 1, iO: 1, latO: 1, <filter: {
    AssetLocale = "{(\n    en\n)}";
    AssetType = "{(\n    Delta\n)}";
}>> final result: (
) was cached: 1, cachedOnly: 0
default	19:58:21.702541-0300	TRex	assetsForQuery: <query: com.apple.MobileAsset.LinguisticData, locO: 1, iO: 1, latO: 1, <filter: {
    AssetLocale = "{(\n    en\n)}";
    AssetType = "{(\n    Optional\n)}";
}>> final result: (
    "Optional-en::dc4c467a0fffeac78ab819a94e98576bac0c3539.asset"
) was cached: 1, cachedOnly: 0

Shortcut Modifiers General Usage

A few issues:

  • I cant seem to set a shortcut to a number with control-option-command as modifier. It just sets it to cmd-v for some reason
  • I try set cmd-shift-option-O and it says it taken by stem but I checked and nothings using it.
  • cmd-shift-option-M refuses to set. Just stays at whatever it was set previously.

"Show in Menu Bar" Reactiavtion

I actually don't find a way to reactivate the icon back to menu bar to change some settings. TRex is running but not accessible.

Can't get to preferences

When I first opened the App I uncheck many of the preferences and now I can't seem to get them back.

I tried the "trex://showPreferences" in Safari and I click Allow to open the app but nothing appears.
Checking with "Mission Control" doesn't show any windows that are hiding.
I tried deleting com.ameba.Trex files in ~/Library along with an uninstall and reinstall.

The CLI command does seem to trigger the app/mouse icon but I don't see anything show up in the clipboard.

I have version 1.5.0 from homebrew.

Tesseract integration for more languages

Hi,

Hope you are doing well!

Is there a way you can harness the tesseract (which is already installed on my system - it just needs to run using a shortcut or be available via the menubar like your app) command line application, which can provide OCR output for many other languages?

Thank you for your consideration!

Best,
Pramod

Apple Shortcuts input

Hi, I am unable to Apple Shortcuts working.
I get the error "Unable to run. The input of the shortcut could not be processed."
Could you please show an example on how to use it.

Thank you for your time.

shot 2024-02-18 at 18 09 33

Ability to search the selected text

First thanks for creating this lovely tool, it has been really helpful in tasks such as scanning a QR code, and reading text. Would it be possible to have an option in which the text that is recognised is also searched over a search engine of choice? Presently, I am retrieving the recognised text from the clipboard and pasting it into a browser to search it.

This would be most helpful when reading text from shared screens in online meetings.

Thank you.

TRex cask always out of date

Even if I tell it to update the cask, it will still be shown as outdated, not sure why.

==> Found outdated apps
     Cask  Current  Latest  A/U    Result
1/1  trex  v1.4.3   1.5.1        [OUTDATED]

Code transcription: Braces, semicolons

Hey, thanks for Trex, great tool :)

Ive been trying recently to use it also to transcript some code during screenshare session and it seems to me like OCR is not taking { ( [ ; ] ) } characters into account.

Here is an example of code that you can test on - the image is very high resolution:
https://www.marclittlemore.com/images/posts/codesnap-screenshot.png

For some reason at the end, where we have

        }
    }
}

Trex translates it to M, Ma, Man and some similar strings.

Is the issue connected to any specific type of font type?
I think if OCR is able to detect piece of code (ie. by statistical analysis of special characters, which are much more commonly used in code, than in normal language), it could be a huge improvement for developers.

Again, thanks for your work :)

Failure to launch

I'm loving the other work from amebalabs and thought i'd try TRex. Unfortunately 1.5.0 fails to launch on Big Sur. i'm asked if i want to open the app, and then nothing appears. I had a look in activity monitor and nothing is there. I downloaded the previous version and that works fine. Cheers!

OCR from Clipboard

Would it be possible to add an option and/or shortcut to OCR from clipboard?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.