Skip to content

Commit e941c9a

Browse files
committed
📦PySide2 Full compatibility
1 parent 2b5336d commit e941c9a

3 files changed

Lines changed: 30 additions & 20 deletions

File tree

openhand_classifier/__main__.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import time
22
import sys
3-
import pyqtgraph as pg
43
import sys
54

65
from src.qt import QtWidgets, QtGui
@@ -49,14 +48,6 @@ def __init__(self, parent = None):
4948
self.AnalysisThread.start()
5049
self.AnalysisThread.setState(True)
5150

52-
self.graphWidget = pg.PlotWidget()
53-
self.graphWidget.setBackground('w')
54-
self.graphWidget.setXRange(-1.0, 1.0)
55-
self.graphWidget.setYRange(-1.0, 1.0)
56-
#self.graphWidget.setMinimumSize(videoHeight,videoHeight)
57-
self.graphWidget.setAspectLocked(True)
58-
#self.layout.addWidget(self.graphWidget, 0,1,2,1)
59-
6051
self.classifierWidget = PoseClassifier.PoseClassifierWidget(self)
6152
self.layout.addWidget(self.classifierWidget,2,2,1,2)
6253

poetry.lock

Lines changed: 29 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ opencv-python = "^4.4.0"
1010
pyqt5 = "^5.15.1"
1111
tensorflow = "^2.3.0"
1212
numpy = "<1.19.0" # Match tensorflow requirement
13-
pyqtgraph = "^0.11.0"
1413
matplotlib = "^3.3.2"
14+
pyside2 = "^5.15.1"
1515

1616
[tool.poetry.dev-dependencies]
1717
pytest = "^5.2"

0 commit comments

Comments
 (0)