-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Couldnt draw AOI #4
Comments
import cv2 def template_match(img_master, img_slave, method='cv2.TM_CCOEFF_NORMED', mlx=1, mly=1, show=True):
def template_match_cv_OCL_transp_API(img_master, img_slave, method='cv2.TM_CCOEFF_NORMED', mlx=1, mly=1, show=True):
def DIC(images_absolute_path, format, vel, dim_pixel, frame_rate, start_index, levels, image_time_sampling, temp_dim, b, d, recty1, recty2, rectx1, rectx2, c=0):
def gif(path1, filename):
ciao = 5 |
import sys results_directory = 'OutputPlots' results_directory = 'GIF' results_directory = 'GIFfrec' rectangley1 = None class ImageDrawPanel(QGraphicsPixmapItem):
class Second(QMainWindow):
class First(QDialog):
if name == 'main': |
Hello,
I am using this software for DIC and when I start to draw AOI it crashes and following error appears in command prompt.
File "C:\Users\Shahryar\py2DIC-master\sources\DIC_UI.py", line 96, in paint
painter.drawEllipse(self.x-self.radius, self.y-self.radius, 2self.radius, 2self.radius)
TypeError: arguments did not match any overloaded call:
drawEllipse(self, r: QRectF): argument 1 has unexpected type 'float'
drawEllipse(self, r: QRect): argument 1 has unexpected type 'float'
drawEllipse(self, x: int, y: int, w: int, h: int): argument 1 has unexpected type 'float'
drawEllipse(self, center: Union[QPointF, QPoint], rx: float, ry: float): argument 1 has unexpected type 'float'
drawEllipse(self, center: QPoint, rx: int, ry: int): argument 1 has unexpected type 'float'
Please let me know why its happening.
The text was updated successfully, but these errors were encountered: