Posts by D.Cavalcante • 101 points
7 posts
-
0
votes0
answers214
viewsQ: lib not found: Pyinstaller
I am trying to assemble an executable, from a python code by the Pyinstaller library. But when executing the code by: C:\...>pyinstaller --name Aplicativo Aplicativo.pyw is generated an amount of…
-
1
votes1
answer128
viewsQ: I wanted to improve the performance of my program
Good Afternoon, I am currently creating an interface, for an application, but I have a problem, with the function I created. def contornos(self): self.im = cv2.imread(self.imagem) im_copia =…
-
2
votes0
answers860
viewsQ: Import in Opencv installation
Today I tried to reinstall the opencv library on my computer, I did it by script pip, which downloaded the file .whl by the website: http://www.lfd.uci.edu/~gohlke/pythonlibs/. After the library was…
-
3
votes0
answers97
viewsQ: Doubt provided to the calculation of the area
I was testing an algorithm that returns to me the area of objects based on a reference, a priori this gave me results quite close to the real, when the reference was the same height of the measured…
-
2
votes0
answers1234
viewsQ: Removing the background of an image - python
I’m developing a code to remove the background of an image, I’m trying to use the Canny border detector to elaborate a mask and try to remove a piece of pipe from the image: The code I’m working on…
-
1
votes1
answer62
viewsA: Problem using Qpixmap.Scaled
I added a variable in the function abrirfoto, that was associated with the function .scaled, staying that way: def abrirfoto(self): img = self.foto.text() imagem = QtGui.QPixmap(img) imagem1 =…
-
1
votes1
answer62
viewsQ: Problem using Qpixmap.Scaled
Recently I’m learning how to use the PyQt4, but a doubt arose in the use of the line of code to modify the scale of an image: class Ui_Form(object): def setupUi(self, Form):…