[Tutor] Opencv

2015-09-19 Thread Ahmed AL-Masri
Dear fellows, I have a project for hand detection as the person wave his hand than give an action. I am trying to use the current library in opencv using the haar cascade. I use the following code with the available xml data base from internet But it seems that the data base is not good enough

Re: [Tutor] Python GUI Tkinter Button arrangement

2011-02-16 Thread Ahmed AL-Masri
I suggest to use boa constructor if you are new learning. just google it. very easy tool to create your interface -- From: Ganesh Kumar bugcy...@gmail.com Sent: Wednesday, February 16, 2011 6:43 PM To: tutor@python.org Subject: [Tutor] Python GUI

[Tutor] gauge of the fram

2010-10-31 Thread Ahmed AL-Masri
Hi all, sorry for long message but just read the red highlighted lines I am facing a problem with gauge update. I want to return a value from another script file but the problem is this value locate inside a loop. example : the mean running script : m=0 # this function to return any value

Re: [Tutor] Converting from unicode to nonstring

2010-10-15 Thread Ahmed AL-Masri
hi I faced this problem before and people of tutor helped me to solve it by only one line ex. a=input_raw(your non string)## I input 1,2,3,4 5 6 7 or u[1,2,3,4] a.replace(,, ,[,],u).split() ## you can put any kind of unicode that you expect inside the a=map(float, a) print a

Re: [Tutor] OpenMP

2010-10-10 Thread Ahmed AL-Masri
Thanks a lots. it's really helpful,, I am reading it -- From: Emile van Sebille em...@fenx.com Sent: Sunday, October 10, 2010 11:51 PM To: tutor@python.org Subject: Re: [Tutor] OpenMP On 10/9/2010 9:45 PM Ahmed AL-Masri said... Thanks for fast

[Tutor] OpenMP

2010-10-09 Thread Ahmed AL-Masri
Hi, I have searched about how to use openMP using python and I couldn't fine any helpful info. anyone can help me on this. My idea is that to use the different processer core for each section. for ex. lets say I have two loops and I want to test in which processer go through. ## core one

Re: [Tutor] OpenMP

2010-10-09 Thread Ahmed AL-Masri
Thanks for fast responding. I will try to use the threads and see how the performance would be.. actually I am using that for my artificial neural network and the problem is regarding to the ANN limitation when I used a big no of inputs. so one way to overcome this problem is by distributing

[Tutor] input and raw input

2010-09-25 Thread Ahmed AL-Masri
Hi, any one have an idea about how we can input many number in the one time and change it to list. for example: a=input(Enter the number of your class in the school:) # the number can be enter as: 12,13,14 or 12 13 14 with a space in between. now how I can put these numbers into list like

[Tutor] append in new file??

2010-07-27 Thread Ahmed AL-Masri
hello; I need help in append a data in new file. the problem is the new data are generated in every run. so at the end I should get all the changes in one file (means for all running) if I run 2 times so should get couple of data set. note all outputs in txt file. ex: this is the first run data

[Tutor] Time

2010-06-22 Thread Ahmed AL-Masri
Hi, I would calculate the running time of my simulation code. any one know how to do that? example def demo(): ### the starting point of time should be 0 f.simulate(data) ### the end of the class so need to find the time in Sec.? ### print time in sec.

[Tutor] requesting a help

2010-05-23 Thread Ahmed AL-Masri
I am facing the same problem that little complicated. I have this kind of data in a file and actually it's coming from another class and it's in formex:0 00 11 01 1and another data which it's in form :0110so now what I need to put it in form data= [[[0,0],[0]], [[0,1],[1]],