use python venv for opencv python scripts (#2143)

This commit is contained in:
end-4
2025-10-08 10:01:20 +02:00
parent 1fc4b88784
commit a4c2bf31c7
8 changed files with 21 additions and 4 deletions
+1 -1
View File
@@ -307,7 +307,7 @@ ShellRoot {
Process {
id: imageDetectionProcess
command: ["bash", "-c", `${Directories.scriptPath}/images/find_regions.py `
command: ["bash", "-c", `${Directories.scriptPath}/images/find-regions-venv.sh `
+ `--hyprctl `
+ `--image '${StringUtils.shellSingleQuoteEscape(panelWindow.screenshotPath)}' `
+ `--max-width ${Math.round(panelWindow.screen.width * root.falsePositivePreventionRatio)} `