On Sat, Jan 8, 2011 at 10:22 AM, Venkatraman S wrote:
> On Sat, Jan 8, 2011 at 10:19 AM, Narendra Sisodiya <
> naren...@narendrasisodiya.com> wrote:
>
> >
> > I am sorry but your code snippet was less efficient then what i posted
> > initially. moreover, I was having black and white image.
> >
>
On Sat, Jan 8, 2011 at 10:19 AM, Narendra Sisodiya <
naren...@narendrasisodiya.com> wrote:
>
> I am sorry but your code snippet was less efficient then what i posted
> initially. moreover, I was having black and white image.
>
I thought you needed BW image. (I should read properly!!)
Also, can yo
On Sat, Jan 8, 2011 at 10:14 AM, Venkatraman S wrote:
> On Sat, Jan 8, 2011 at 9:23 AM, Narendra Sisodiya <
> naren...@narendrasisodiya.com> wrote:
>
> > http://mail.python.org/pipermail/image-sig/2011-January/006639.html
> >
> >
> So i tried my code snippet and it worked.
I am sorry but your c
On Sat, Jan 8, 2011 at 9:23 AM, Narendra Sisodiya <
naren...@narendrasisodiya.com> wrote:
> http://mail.python.org/pipermail/image-sig/2011-January/006639.html
>
>
So i tried my code snippet and it worked. The above thread asks you to
convert to greyscale and then do a pixel check.
For a sufficien
On Sat, Jan 8, 2011 at 6:55 AM, Kenneth Gonsalves wrote:
> On Fri, 2011-01-07 at 22:04 +0530, Narendra Sisodiya wrote:
> > What is the general mailing list to ask question on python ?
>
> you are not satisfied with this list?
> --
> regards
> Kenneth Gonsalves
>
This is not a question of satisfa
On Fri, 2011-01-07 at 23:07 +0530, Venkatraman S wrote:
> > > What is the general mailing list to ask question on python ?
> > >
> > This is one.
> > There is also: http://mail.python.org/mailman/listinfo/baypiggies
> > And http://mail.python.org/mailman/listinfo/python-list
> >
> >
> I dont think
On Fri, 2011-01-07 at 22:04 +0530, Narendra Sisodiya wrote:
> What is the general mailing list to ask question on python ?
you are not satisfied with this list?
--
regards
Kenneth Gonsalves
___
BangPypers mailing list
BangPypers@python.org
http://mail.
On Fri, Jan 7, 2011 at 11:00 PM, Roshan Mathews wrote:
> > What is the general mailing list to ask question on python ?
> >
> This is one.
> There is also: http://mail.python.org/mailman/listinfo/baypiggies
> And http://mail.python.org/mailman/listinfo/python-list
>
>
I dont think baypiggies is t
On Fri, Jan 7, 2011 at 22:04, Narendra Sisodiya
wrote:
> Can somebody give an easy way to convert a image into black and white using
> a given threshold..
>
> Currently I am doing like this
>
> image=ImageOps.grayscale(image)
> for i in range(0,width):
> for j in range(0,height):
>
On Fri, Jan 7, 2011 at 10:04 PM, Narendra Sisodiya <
naren...@narendrasisodiya.com> wrote:
> Currently I am doing like this
>
>image=ImageOps.grayscale(image)
>for i in range(0,width):
>for j in range(0,height):
>if image.getpixel((i,j)) <= 200:
>image.p
On Fri, Jan 7, 2011 at 10:27 PM, kunal wrote:
> On 01/07/2011 10:04 PM, Narendra Sisodiya wrote:
>
>> Can somebody give an easy way to convert a image into black and white
>> using
>> a given threshold..
>>
>> Currently I am doing like this
>>
>> image=ImageOps.grayscale(image)
>> for i i
On 01/07/2011 10:04 PM, Narendra Sisodiya wrote:
Can somebody give an easy way to convert a image into black and white using
a given threshold..
Currently I am doing like this
image=ImageOps.grayscale(image)
for i in range(0,width):
for j in range(0,height):
if i
Can somebody give an easy way to convert a image into black and white using
a given threshold..
Currently I am doing like this
image=ImageOps.grayscale(image)
for i in range(0,width):
for j in range(0,height):
if image.getpixel((i,j)) <= 200:
image.putp
On Fri, Jan 7, 2011 at 5:08 PM, Noufal Ibrahim wrote:
> On Fri, Jan 07 2011, Anand Balachandran Pillai wrote:
>
> > You should be using ncurses for applications like this which need mouse
> > positions (x,y) on the console.
> >
> > http://pyncurses.sourceforge.net/
>
> Isn't ncurses used for CUI
On Fri, Jan 07 2011, Anand Balachandran Pillai wrote:
> You should be using ncurses for applications like this which need mouse
> positions (x,y) on the console.
>
> http://pyncurses.sourceforge.net/
Isn't ncurses used for CUI applications? I wasn't aware that you can
control your graphical curso
On Fri, Jan 07 2011, Narendra Sisodiya wrote:
> In my application, I need to move mouse-pointer and generate click
> event. I am not making any GUI application. mouse and click event will
> be trigger on dekstop.
Is this for some kind of testing? If so, the Linux Desktop Testing
Project might off
On Fri, Jan 7, 2011 at 4:54 PM, Narendra Sisodiya <
naren...@narendrasisodiya.com> wrote:
> On Fri, Jan 7, 2011 at 4:48 PM, Anand Balachandran Pillai
> wrote:
> > You should be using ncurses for applications like this which need mouse
> > positions (x,y) on the console.
> >
> > http://pyncurses.s
On Fri, Jan 7, 2011 at 4:48 PM, Anand Balachandran Pillai
wrote:
> You should be using ncurses for applications like this which need mouse
> positions (x,y) on the console.
>
> http://pyncurses.sourceforge.net/
What will be the difference ? can I use pyncurses to generate global
mousemovement ? l
You should be using ncurses for applications like this which need mouse
positions (x,y) on the console.
http://pyncurses.sourceforge.net/
Please don't use X like the way you did in the 2nd approach, *nix
really can do better than that. This ain't 1999 you know.
--Anand
On Fri, Jan 7, 2011 at 4:
In my application, I need to move mouse-pointer and generate click event. I
am not making any GUI application. mouse and click event will be trigger on
dekstop.
Quick and dirty way to do this
import os
def move_mouse(x,y):
os.system('xdotool mousemove ' + str(x) + ' ' + str(y))
def leftclick(
Sorry about the cross-post but I assume that might be people outside Pune who
may be interested.
I'm forwarding this mail on behalf of someone I know. People interested in this
may please contact Mr. Harsh Vardhan (consultdadoo at gmail.com) directly.
The job is based in Pune AFAIK.
cheers,
21 matches
Mail list logo