Skip to content

Commit

Permalink
Squashed '.subtrees/screen-ocr/' changes from e447f36..221bdea
Browse files Browse the repository at this point in the history
221bdea Added Ruff pre-commit.
a29a47c Add support for multiple monitors (#31)
7a2791f Fixed screen_ocr_test.py.
a13a884 Show correct width and height of bounding box in debug overlay.
cdc00d7 Improve is_adjacent_left_of docstring.
1f56a82 Revert "Fix "insert with" between two words."
08753d2 Perform OCR on the entire (padded) gaze bounding box corresponding to when the phrase was spoken, instead of near a single sample point. Extract padding into a configurable setting.
4c69716 Adjust talon_hud set_visibility delay based on experiments.
7f24ba1 More fixes to "insert with" between two words.
715c00a Fix "insert with" between two words.
cfb104f Fix edge case in "revise with" by filtering matches earlier.
2a55733 Fix "insert with" edge cases.
c1fcf8c Handle "insert with" between two phrases.
33a0079 Fix selection validation and add a unit test.
878e1d7 Added "resume with" and "revise with" commands for more intuitive insertion and replacement that is more likely to be recognized correctly.
ef2dcd1 Skip bounding box adjustment in the Talon backend on Windows.

git-subtree-dir: .subtrees/screen-ocr
git-subtree-split: 221bdea4b8f25c4873e21ae1961c3b6d4057aa55
  • Loading branch information
wolfmanstout committed Oct 26, 2024
1 parent 568b4cd commit 72a2521
Show file tree
Hide file tree
Showing 9 changed files with 342 additions and 79 deletions.
12 changes: 12 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.7.1
hooks:
# Run the linter.
- id: ruff
args: [ --fix ]
# Run the formatter.
- id: ruff-format
2 changes: 1 addition & 1 deletion screen_ocr/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
from ._screen_ocr import *
from ._screen_ocr import * # noqa: F403
Loading

0 comments on commit 72a2521

Please sign in to comment.