3
votes
1answer
2k views

Opencv integration with wxpython

I just wanted to integrate the opencv video stream from my web cam into a more complex gui than highgui can offer, nothing fancy just a couple of buttons and something else, however it's proven to be ...
3
votes
0answers
104 views

GLXBad Drawable error

When I run a Python script I get this error after installing all dependencies: The program 'python2' received an X Window System error. What are the possibilities? Link to the python script.
2
votes
1answer
52 views

add text in bins of histogram in wxpython

How to write text inside bins(bars) of histograms in wxpython? import csv import matplotlib import matplotlib.pyplot as plt import numpy as np from matplotlib.figure import Figure ...
1
vote
2answers
559 views

graphing a relationship matrix in python

i have a python interface using wxpython which allows the user to fill in a matrix (0/1) and then graphs it for them. The program creates a numpy matrix, then makes a networkx graph out of that ...
1
vote
1answer
1k views

WXPython with MatPlotLib

I am trying to use MatPlotLib with WXPython. I find a nice example from http://www.cs.colorado.edu/~kena/classes/5448/s11/presentations/pearse.pdf because it show how to use 2 panels and it is well ...
1
vote
0answers
21 views

grid.getCellValue string in numpy array fails

I have a numpy array with several strings e.g. '4:30:30' or '3:29:11' I write these values in a wxpython grid. The other way arround doesn not work, why? arr[0] = self.grid.GetCellValue(0,0) ...
1
vote
0answers
46 views

How to connect Fl_Text_Editor with output which is prodeced by a function?

I have a function which produces column of numbers: def distancesplit(self): img = np.asarray(Image.open("testtwo.tif").convert('L')) img = 1 * (img < ...
1
vote
0answers
189 views

How to play Python OpenCV 2.4.3 (numpy array) inside a wxPython window

I am trying to make my webcam video to be displayed inside a GUI window of the wxPython. So far, all the solutions I found required converting to IPLImage. I wonder if you guys don´t have any simple ...
0
votes
1answer
16 views

Display numpy ndarray in wxpython

I want to display a numpy ndarray in wxpython but somehow I can't get it to work... My image control: self.imageCtrl = wx.StaticBitmap(self.panel, wx.ID_ANY, wx.BitmapFromImage(img)) My image ...
0
votes
1answer
2k views

Plot a dynamic graph using wxpython/python/matplot lib

I have a program written in Python..For Gui i have used wxpython ,(boa-constructor IDE)... My program runs in a loop and it returns a value at end of each loop... I have to capture that value returned ...
0
votes
0answers
74 views

Python update the plot limits and multiple lines in the plot

I have some problems the first one is that I can't update the plot limits of the y axis and the second is that I want to see 6 lines from each sensor, as you can see in the picture I see only one if I ...
0
votes
1answer
393 views

matplotlib backends and its implementation in wxpython

What is matplotlib backends and how it is implemented? How does it simplify the use of wxpython when I use matplotlib wxAgg backend?