updated PKGBUILDs.
This commit is contained in:
@@ -23,5 +23,5 @@
|
||||
# Forked from Orca screen reader.
|
||||
# Cthulhu project: https://git.stormux.org/storm/cthulhu
|
||||
|
||||
version = "2026.07.17"
|
||||
version = "2026.07.18"
|
||||
codeName = "master"
|
||||
|
||||
@@ -47,28 +47,6 @@ try:
|
||||
except ImportError:
|
||||
PYTESSERACT_AVAILABLE = False
|
||||
|
||||
# pdf2image
|
||||
try:
|
||||
from pdf2image import convert_from_path
|
||||
PDF2IMAGE_AVAILABLE = True
|
||||
except ImportError:
|
||||
PDF2IMAGE_AVAILABLE = False
|
||||
|
||||
# scipy
|
||||
try:
|
||||
from scipy.spatial import KDTree
|
||||
SCIPY_AVAILABLE = True
|
||||
except ImportError:
|
||||
SCIPY_AVAILABLE = False
|
||||
|
||||
# webcolors
|
||||
try:
|
||||
from webcolors import CSS3_HEX_TO_NAMES
|
||||
from webcolors import hex_to_rgb
|
||||
WEBCOLORS_AVAILABLE = True
|
||||
except ImportError:
|
||||
WEBCOLORS_AVAILABLE = False
|
||||
|
||||
# GTK/GDK
|
||||
try:
|
||||
gi.require_version("Gtk", "3.0")
|
||||
@@ -594,9 +572,7 @@ class OCRDesktop(Plugin):
|
||||
"""Get color information for OCR text (simplified version)."""
|
||||
if not self._colorCalculation:
|
||||
return 'unknown'
|
||||
if not SCIPY_AVAILABLE or not WEBCOLORS_AVAILABLE:
|
||||
return 'unknown'
|
||||
|
||||
|
||||
# Simplified color calculation - just return "unknown" for now
|
||||
# Full implementation would require the color analysis from ocrdesktop
|
||||
return 'unknown'
|
||||
|
||||
Reference in New Issue
Block a user