Re: Image processing libraries in python

2018-09-14 Thread Thomas Jollans
On 14/09/18 19:04, tejaswi wrote: Hello everyone, I was looking to work with images in python. I saw two packages related to this, Pillow and scipy.ndimage. I was wondering what purposes each of these serve. I've previously used matlab/octave's image processing facilities and found them quite ea

Re: Image processing libraries in python

2018-09-14 Thread MRAB
On 2018-09-14 18:04, tejaswi wrote: Hello everyone, I was looking to work with images in python. I saw two packages related to this, Pillow and scipy.ndimage. I was wondering what purposes each of these serve. I've previously used matlab/octave's image processing facilities and found them quite

Re: image in db to string to actual image

2018-08-03 Thread Stephane Wirtel
And what is your database? Maybe there is an API for the blob field On 08/02, Abdur-Rahmaan Janhangeer wrote: storing images in db is easy but to retrieve them natively how to? (ignore db type, using orm). meaning without PIL / Pillow. type : png like i'd like to have it as string, any idea ?

Re: image in db to string to actual image

2018-08-03 Thread Abdur-Rahmaan Janhangeer
no not ascii art, just an application as described. thank you very much ! Abdur-Rahmaan Janhangeer https://github.com/Abdur-rahmaanJ Mauritius On Fri, 3 Aug 2018, 07:45 Gilmeh Serda, wrote: > On Thu, 02 Aug 2018 20:35:01 +0400, Abdur-Rahmaan Janhangeer wrote: > > > ah those can be used, thanks

Re: image in db to string to actual image

2018-08-02 Thread Abdur-Rahmaan Janhangeer
ah those can be used, thanks, and to write the actual image? On Thu, Aug 2, 2018 at 8:20 PM Gilmeh Serda wrote: > On Thu, 02 Aug 2018 17:24:29 +0400, Abdur-Rahmaan Janhangeer wrote: > > > like i'd like to have it as string, any idea ? > > UUEncode / Base64 / yEnc ...? > > -- > Gilmeh > -- > http

Re: Image loading problem

2016-05-22 Thread Christian Gollwitzer
Am 22.05.16 um 22:19 schrieb Random832: On Sun, May 22, 2016, at 15:37, Michael Torrie wrote: The reference is indeed held by the label but the problem is the label is a Tcl/Tk object, thinly wrapped in Python. Okay but then in that case why doesn't the image get instantiated as a Tcl/Tk objec

Re: Image loading problem

2016-05-22 Thread Random832
On Sun, May 22, 2016, at 15:37, Michael Torrie wrote: > The reference is indeed held by the label but the problem is the label > is a Tcl/Tk object, thinly wrapped in Python. Okay but then in that case why doesn't the image get instantiated as a Tcl/Tk object which the label holds a reference t

Re: Image loading problem

2016-05-22 Thread Michael Torrie
On 05/21/2016 01:55 PM, Random832 wrote: > On Sat, May 21, 2016, at 12:54, Peter Otten wrote: >> It's not your fault, there's an odd quirk in the library: you have to >> keep a reference of the PhotoImage instance around to prevent the >> image from being garbage-collected. > > Just out of curiosi

Re: Image loading problem

2016-05-22 Thread Peter Otten
Random832 wrote: > On Sat, May 21, 2016, at 12:54, Peter Otten wrote: >> It's not your fault, there's an odd quirk in the library: you have to >> keep a reference of the PhotoImage instance around to prevent the >> image from being garbage-collected. > > Just out of curiosity, why is this a "quir

Re: Image loading problem

2016-05-21 Thread huey . y . jiang
Thanks so much! All of methods works! -- https://mail.python.org/mailman/listinfo/python-list

Re: Image loading problem

2016-05-21 Thread Random832
On Sat, May 21, 2016, at 12:54, Peter Otten wrote: > It's not your fault, there's an odd quirk in the library: you have to > keep a reference of the PhotoImage instance around to prevent the > image from being garbage-collected. Just out of curiosity, why is this a "quirk" and not a bug? Why isn't

Re: Image loading problem

2016-05-21 Thread Terry Reedy
On 5/21/2016 12:54 PM, Peter Otten wrote: sweating_...@yahoo.com wrote: I am working on an image project, and I can display my image in main(). I mean, I can load my image in my main(). Needless, it is awkward. I am trying to load my image with a function, but got an empty image window popped

Re: Image loading problem

2016-05-21 Thread Gary Herron
On 05/21/2016 08:22 AM, sweating_...@yahoo.com wrote: Hi All, I am working on an image project, and I can display my image in main(). I mean, I can load my image in my main(). Needless, it is awkward. I am trying to load my image with a function, but got an empty image window popped up, no im

Re: Image loading problem

2016-05-21 Thread Peter Pearson
On Sat, 21 May 2016 08:22:41 -0700 (PDT), sweating_...@yahoo.com wrote: > > I am working on an image project, and I can display my image in > main(). I mean, I can load my image in my main(). Needless, it is > awkward. I am trying to load my image with a function, but got an > empty image window po

Re: Image loading problem

2016-05-21 Thread Peter Otten
sweating_...@yahoo.com wrote: > I am working on an image project, and I can display my image in main(). I mean, I can load my image in my main(). Needless, it is awkward. I am trying to load my image with a function, but got an empty image window popped up, no image content loaded. Please take

Re: Image download failure from wget.download function.

2015-12-09 Thread Peter Otten
ashw...@nanoheal.com wrote: > I am trying to download the image from a URL, I am able to download a > file but after downloading if I try to open the image it says file format > is corrupted or damaged. What version of python are you using? Where did you get the wget libary? > I use this funct

Re: Image rotation issue

2015-03-30 Thread Chris Angelico
On Tue, Mar 31, 2015 at 3:04 PM, wrote: > Neither one produces good output when the compression is applied. Oh well, was worth a try. > Don't think it's related to fax standards - it's proprietary (E-Ink Tile) Doesn't need to be specifically _related_, but it's looking similar. If you could do

Re: Image rotation issue

2015-03-30 Thread high5storage
On Monday, 30 March 2015 16:48:08 UTC-7, Chris Angelico wrote: > On Tue, Mar 31, 2015 at 8:22 AM, wrote: > > rotimg = img.rotate(270) # rotation is counterclockwise > > Unless the 90 and 270 cases are documented as being handled specially, > I'd look for a dedicated function for doing those cha

Re: Image rotation issue

2015-03-30 Thread Chris Angelico
On Tue, Mar 31, 2015 at 8:22 AM, wrote: > rotimg = img.rotate(270) # rotation is counterclockwise Unless the 90 and 270 cases are documented as being handled specially, I'd look for a dedicated function for doing those changes. A quick perusal of the docs showed up this: http://pillow.readthedo

Re: Image rotation issue

2015-03-30 Thread Ian Kelly
On Mon, Mar 30, 2015 at 3:22 PM, wrote: > rotimg = img.rotate(270) # rotation is counterclockwise > > # i can almost make it work by resizing rotimg here, but the aspect ratio is > then screwed > #rotimg = rotimg.resize((1024, 1280)) > > rotimg.show() > imagedata = list(rotimg.getdata()) > > But

Re: Image Upload with FalconFramework

2014-07-03 Thread Mark Lawrence
On 03/07/2014 04:54, Peter Romfeld wrote: Hi, I am stuck at a simple image upload function, in django i just used: for feature phones: file = request.body iOS with Form: class ImageForm(forms.Form): image = forms.FileField() What is forms? image is defined at the class level, not the i

Re: image processing in python and opencv

2014-03-10 Thread Mark H. Harris
On Sunday, March 9, 2014 2:09:25 PM UTC-5, Gary Herron wrote: > i have no idea how to retrieve indexed images stored in ordered dictionary, > using its values like : blue,green,red mean along with contrast, energy, > homogeneity and correlation. as i have calculated the euclidean distance and >

Re: image processing in python and opencv

2014-03-09 Thread Gary Herron
On 03/09/2014 10:56 AM, Varsha Holla wrote: i have no idea how to retrieve indexed images stored in ordered dictionary, using its values like : blue,green,red mean along with contrast, energy, homogeneity and correlation. as i have calculated the euclidean distance and i don't know how to disp

Re: Image manipulation

2013-10-08 Thread markotaht
I rembembered a bit too late, are there any good tutorials for Pillow? ImageTk.PhotoImage() keeps giving me error that there isnt such a method. -- https://mail.python.org/mailman/listinfo/python-list

Re: Image manipulation

2013-10-08 Thread markotaht
teisipäev, 8. oktoober 2013 17:26.33 UTC+3 kirjutas Steven D'Aprano: > On Tue, 08 Oct 2013 07:15:46 -0700, markotaht wrote: > > > > > First helpful advice i have gotten from this forum > > > > If you insist on dropping cryptic comments with bad spelling, incoherent > > sentences, and a comp

Re: Image manipulation

2013-10-08 Thread Steven D'Aprano
On Tue, 08 Oct 2013 07:15:46 -0700, markotaht wrote: > First helpful advice i have gotten from this forum If you insist on dropping cryptic comments with bad spelling, incoherent sentences, and a complete lack of any context, it might be the last advice you get too. Please help us to help you.

Re: Image manipulation

2013-10-08 Thread markotaht
First helpful advice i have gotten from this forum -- https://mail.python.org/mailman/listinfo/python-list

Re: Image manipulation

2013-10-06 Thread Chris “Kwpolska” Warrick
On Sun, Oct 6, 2013 at 3:19 PM, wrote: > Image consists of pixels. Each pixel has its RGBA values. In python whidout > any extra downloadable modules, is there a way to get those values. I know > PIG has it but i hav Python 3.3.2 so PIG wont do. PIG? Did you mean PIL? In that case, go use Pi

Re: Image manipulation

2013-10-06 Thread markotaht
Image consists of pixels. Each pixel has its RGBA values. In python whidout any extra downloadable modules, is there a way to get those values. I know PIG has it but i hav Python 3.3.2 so PIG wont do. In java under swingx there is a command called .getRGB() and whit some manipulation to that val

Re: Image manipulation

2013-10-04 Thread Gary Herron
On 10/04/2013 03:52 AM, markot...@gmail.com wrote: Is there a way using the python 3.3.2 whidout any additional downloaded moduls, to get a pixels RGB value? No (I guess). If you want a better answer, then you'll have to give us a *much* better question. Get a pixel from *what*? (screen?

Re: Image processing to auto adjust colors in python ?

2011-05-16 Thread Nobody
On Mon, 16 May 2011 10:11:43 -0700, goldtech wrote: > I'm processing thumbnails with python but one thing I need to do is to > auto-adjust an image for the "best" colors. I am using ffmpeg to get > thumbs three seconds into a video, sometimes the image is too dark. > Normally I'd go into somethin

Re: image resize doesn't work

2010-08-12 Thread Aahz
In article , Chris Hare wrote: > >And I see now what I did wrong - thanks for putting up with the questions. Posting that information is useful for any other newbies who might be following along -- Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/ "...if I were

Re: Image histogram

2010-08-10 Thread Anahita Yazdi
Yes, my question is regarding PIL. And basically I need to reload an image given a new histogram. The new histogram has still the same amount of overall pixels however I have only switched a couple of picks. Another thing I have tried was using a function that could be given to the "point" module b

Re: Image histogram

2010-08-09 Thread Gary Herron
On 08/09/2010 05:02 PM, Paul Rubin wrote: Gary Herron writes: This is a Python newsgroup, not an image processing news group. If you are asking for an algorithm to modify an image I saw it as a question of how to do something using PIL. Seems ok to me. A quote from the OP:

Re: Image histogram

2010-08-09 Thread Paul Rubin
Gary Herron writes: > This is a Python newsgroup, not an image processing news group. > If you are asking for an algorithm to modify an image I saw it as a question of how to do something using PIL. Seems ok to me. -- http://mail.python.org/mailman/listinfo/python-list

Re: Image histogram

2010-08-09 Thread Gary Herron
On 08/09/2010 04:27 PM, Anahita Yazdi wrote: Hi, I was just wondering how would I be able to get some extra help regarding editing an image's histogram using python's module? I have modified a histogram of an image however I dont know how to apply the new histogram to the image and basically r

Re: image resize doesn't work

2010-08-01 Thread Chris Hare
Thanks Peter - I know what I said sounded stupid :-) I have been working with Python for a week and as you know sometimes it is easier to learn by seeing what you did wrong as compared to what should have been done with the same example. I loved your code by the way - Thanks for help just ano

Re: image resize doesn't work

2010-08-01 Thread Chris Hare
And I see now what I did wrong - thanks for putting up with the questions. On Aug 1, 2010, at 4:32 PM, Peter Otten wrote: > Chris Hare wrote: > >> Thanks for the help. My one week of python is getting a workout. >> >> I have shortened it all down and made it a standalone example, using yours >

Re: image resize doesn't work

2010-08-01 Thread Peter Otten
Chris Hare wrote: > Thanks for the help. My one week of python is getting a workout. > > I have shortened it all down and made it a standalone example, using yours > as a model. Your example, works, but it will take a lot of effort to > retrofit it into the code I have. (which is maybe not a b

Re: image resize doesn't work

2010-08-01 Thread Chris Hare
On Aug 1, 2010, at 1:08 PM, Peter Otten wrote: > Chris Hare wrote: > > >> On Aug 1, 2010, at 10:24 AM, rantingrick wrote: >> >>> On Aug 1, 7:35 am, Chris Hare wrote: I have the following chunk of code. Although it seems to execute fine, no errors >>> >>> Not True! it contains synt

Re: image resize doesn't work

2010-08-01 Thread Peter Otten
Chris Hare wrote: > On Aug 1, 2010, at 10:24 AM, rantingrick wrote: > >> On Aug 1, 7:35 am, Chris Hare wrote: >>> I have the following chunk of code. Although it seems to execute fine, >>> no errors >> >> Not True! it contains syntax errors. Check the posted code and next >> time post all th

Re: image resize doesn't work

2010-08-01 Thread Chris Hare
On Aug 1, 2010, at 10:24 AM, rantingrick wrote: > On Aug 1, 7:35 am, Chris Hare wrote: >> I have the following chunk of code. Although it seems to execute fine, no >> errors > > Not True! it contains syntax errors. Check the posted code and next > time post all the code. > -- > http://mail.p

Re: image resize doesn't work

2010-08-01 Thread rantingrick
On Aug 1, 7:35 am, Chris Hare wrote: > I have the following chunk of code.  Although it seems to execute fine, no > errors Not True! it contains syntax errors. Check the posted code and next time post all the code. -- http://mail.python.org/mailman/listinfo/python-list

Re: image processing - inverse filtering

2010-01-29 Thread Aahz
In article <5bfefbb6-89a8-49f6-9f02-7d36dfbc0...@c29g2000yqd.googlegroups.com>, suresh.amritapuri wrote: > >If I am using scipy.ndimage.gaussian_filter() for filtering an image, >how to do the inverse filtering? In general how to do this using >scipy.ndimage? http://projects.scipy.org/mailman/lis

Re: Image to SVG conversion with Python

2009-11-16 Thread Nobody
On Mon, 16 Nov 2009 07:19:49 -0800, Carlo DiCelico wrote: > I need to convert JPEG and PNG files to SVG. I'm currently using PIL > to generate the JPEG/PNG files to begin with. However, I need to be > able to scale the generated images up in size without a loss of image > quality. Using SVG seems

Re: Image to SVG conversion with Python

2009-11-16 Thread Carlo DiCelico
On Nov 16, 11:48 am, Dave Angel wrote: > Carlo DiCelico wrote: > > I need to convert JPEG and PNG files to SVG. I'm currently using PIL > > to generate the JPEG/PNG files to begin with. However, I need to be > > able to scale the generated images up in size without a loss of image > > quality. Usi

Re: Image to SVG conversion with Python

2009-11-16 Thread Dave Angel
Carlo DiCelico wrote: I need to convert JPEG and PNG files to SVG. I'm currently using PIL to generate the JPEG/PNG files to begin with. However, I need to be able to scale the generated images up in size without a loss of image quality. Using SVG seems to be the best way to do this, other than g

Re: [Image-SIG] Some issue with easy_install and PIL/Imaging

2009-10-05 Thread Chris Withers
Fredrik Lundh wrote: The problem is that too many people arguing for eggs do this by sending nastygrams, which doesn't really provide much motivation for doing anything about it (I don't do asshole-driven development). Indeed, I couldn't agree more, and I'm sorry you've been subjected to this.

Re: [Image-SIG] Some issue with easy_install and PIL/Imaging

2009-10-05 Thread Fredrik Lundh
The problem is that too many people arguing for eggs do this by sending nastygrams, which doesn't really provide much motivation for doing anything about it (I don't do asshole-driven development). The public review PIL got a couple a minutes ago matches some of the private mail I've gotten: n

Re: [Image-SIG] Some issue with easy_install and PIL/Imaging

2009-09-30 Thread Chris Withers
Fredrik Lundh wrote: On Fri, Sep 11, 2009 at 3:49 PM, Chris Withers wrote: Klein Stéphane wrote: Resume : 1. first question : why PIL package in "pypi" don't work ? Because Fred Lundh have his package distributions unfortunate names that setuptools doesn't like... It used to support this, b

Re: [Image-SIG] Some issue with easy_install and PIL/Imaging

2009-09-28 Thread Fredrik Lundh
On Fri, Sep 11, 2009 at 3:49 PM, Chris Withers wrote: > Klein Stéphane wrote: >> >> Resume : >> 1. first question : why PIL package in "pypi" don't work ? > > Because Fred Lundh have his package distributions unfortunate names that > setuptools doesn't like... It used to support this, but no long

Re: image recogniton?

2009-01-07 Thread Joe Strout
Li Han wrote: Sorry, I oversimplified the question because of my poor english. It is an analog compass whose value we need to read into the computer every second. We use a video camera keep shooting it, and the compass and camera are fixed. If you have any choice about it, it would be greatl

Re: image recogniton?

2009-01-07 Thread Almar Klein
2009/1/7 Li Han > On 1月7日, 上午4时14分, J Kenneth King wrote: > > I'm curious as to what application the solution to this problem is > > practical for all of its difficulty? > Sorry, I oversimplified the question because of my poor english. It is > an analog compass whose value we need to read into

Re: image recogniton?

2009-01-07 Thread Li Han
On 1月7日, 上午4时14分, J Kenneth King wrote: > I'm curious as to what application the solution to this problem is > practical for all of its difficulty? Sorry, I oversimplified the question because of my poor english. It is an analog compass whose value we need to read into the computer every second.

Re: image recogniton?

2009-01-06 Thread J Kenneth King
Li Han writes: > Hi! I know little about the computer image processing, and now I have > a fancy problem which is how to read the time from the picture of a > clock by programming ? Is there anyone who can give me some > suggestions? > Thank! > Li Han I do work in object recognition, and I

Re: image recogniton?

2009-01-06 Thread Dotan Cohen
This was just mentioned on the KDE bugtracker: http://opencv.willowgarage.com/wiki/FaceDetection -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л

Re: image recogniton?

2009-01-06 Thread skip
Furkan> start with Python Image Library: Furkan> http://www.pythonware.com/products/pil/ Well, there's the little problem of optical character recognition. You might want to check out open source OCR tools like gocr: http://jocr.sourceforge.net/ Just use PIL to convert input images

Re: image recogniton?

2009-01-06 Thread Dotan Cohen
2009/1/6 Hendrik van Rooyen : > "Li Han" wrote: > >> Hi! I know little about the computer image processing, and now I have >> a fancy problem which is how to read the time from the picture of a >> clock by programming ? Is there anyone who can give me some >> suggestions? > > When the big hand is

Re: image recogniton?

2009-01-06 Thread Hendrik van Rooyen
"Li Han" wrote: > Hi! I know little about the computer image processing, and now I have > a fancy problem which is how to read the time from the picture of a > clock by programming ? Is there anyone who can give me some > suggestions? When the big hand is on the twelve, and the little hand is on

Re: image recogniton?

2009-01-06 Thread Tino Wildenhain
Hi, Furkan Kuru wrote: start with Python Image Library: http://www.pythonware.com/products/pil/ I think this is more a job for OpenCV and its python bindings. http://opencv.willowgarage.com/wiki/PythonInterface On Tue, Jan 6, 2009 at 4:28 PM, Li Han > wrote:

Re: image recogniton?

2009-01-06 Thread Furkan Kuru
start with Python Image Library: http://www.pythonware.com/products/pil/ On Tue, Jan 6, 2009 at 4:28 PM, Li Han wrote: > Hi! I know little about the computer image processing, and now I have > a fancy problem which is how to read the time from the picture of a > clock by programming ? Is there

Re: Image Processing (batch)

2008-06-06 Thread Ivan Illarionov
On Thu, 05 Jun 2008 07:10:56 +, Tim Roberts wrote: > Thomas Guettler <[EMAIL PROTECTED]> wrote: >> >>I tried PIL for image batch processing. But somehow I don't like it >> - Font-Selection: You need to give the name of the font file. - >> Drawing on an image needs a different object that pas

Re: Image Processing (batch)

2008-06-05 Thread Ulrich Eckhardt
Tim Roberts wrote: > Thomas Guettler <[EMAIL PROTECTED]> wrote: >> >>I tried PIL for image batch processing. But somehow I don't like it >> - Font-Selection: You need to give the name of the font file. >> - Drawing on an image needs a different object that pasting and saving. >> - The handbook i

Re: Image Processing (batch)

2008-06-05 Thread Tim Roberts
Thomas Guettler <[EMAIL PROTECTED]> wrote: > >I tried PIL for image batch processing. But somehow I don't like it > - Font-Selection: You need to give the name of the font file. > - Drawing on an image needs a different object that pasting and saving. > - The handbook is from Dec. 2006. I have

Re: Image Processing (batch)

2008-06-04 Thread Thomas Guettler
Weinhandl Herbert schrieb: Thomas Guettler schrieb: Hi, I tried PIL for image batch processing. But somehow I don't like it - Font-Selection: You need to give the name of the font file. - Drawing on an image needs a different object that pasting and saving. - The handbook is from Dec. 2006.

Re: Image Processing (batch)

2008-06-03 Thread Ulrich Eckhardt
Thomas Guettler wrote: > I tried PIL for image batch processing. But somehow I don't like it > - Font-Selection: You need to give the name of the font file. > - Drawing on an image needs a different object that pasting and saving. > - The handbook is from Dec. 2006. > > What image libraries

Re: Image Processing (batch)

2008-06-03 Thread Weinhandl Herbert
Thomas Guettler schrieb: Hi, I tried PIL for image batch processing. But somehow I don't like it - Font-Selection: You need to give the name of the font file. - Drawing on an image needs a different object that pasting and saving. - The handbook is from Dec. 2006. What image libraries do you

Re: Image grab in Python

2008-05-04 Thread Valerio Valerio
2008/5/4 David <[EMAIL PROTECTED]>: > > What I want is display a window with a image, the user select a region > of > > the image, and the region value is passed to my program, my program > slice > > the image region, and analyze it. > > > > If it's your apps own window, then getting a rectangle s

Re: Image grab in Python

2008-05-04 Thread David
> What I want is display a window with a image, the user select a region of > the image, and the region value is passed to my program, my program slice > the image region, and analyze it. > If it's your apps own window, then getting a rectangle selected by the user is simple. 1) Make skeleton x/g

Re: Image grab in Python

2008-05-04 Thread Valerio Valerio
Hi, 2008/5/4 David <[EMAIL PROTECTED]>: > On Sun, May 4, 2008 at 5:28 PM, Valerio Valerio <[EMAIL PROTECTED]> wrote: > > I can grab the image, I need a way of grab the region size with the > mouse, > > a easy way of the user select a region of the image to analyze, > something > > like the "Rec

Re: Image grab in Python

2008-05-04 Thread David
> > Another way would be to listen to all events sent through X, and act > based on the mouse events. VNC does something similar. > See the 'record_demo.py' example that comes with python-xlib. -- http://mail.python.org/mailman/listinfo/python-list

Re: Image grab in Python

2008-05-04 Thread David
On Sun, May 4, 2008 at 5:28 PM, Valerio Valerio <[EMAIL PROTECTED]> wrote: > I can grab the image, I need a way of grab the region size with the mouse, > a easy way of the user select a region of the image to analyze, something > like the "Rectangle selection tool" of gimp. > I assume what you w

Re: Image grab in Python

2008-05-04 Thread Valerio Valerio
I can grab the image, I need a way of grab the region size with the mouse, a easy way of the user select a region of the image to analyze, something like the "Rectangle selection tool" of gimp. Regards, -- Valério Valério http://www.valeriovalerio.org 2008/5/4 David <[EMAIL PROTECTED]>: > O

Re: Image grab in Python

2008-05-04 Thread David
On Sun, May 4, 2008 at 4:25 PM, Valerio Valerio <[EMAIL PROTECTED]> wrote: > Hi, > > anyone know a Python library to grab the size of a selected image region > (the selection will be made with the mouse), that work in Linux ? You might be able to use this tool: http://freshmeat.net/projects/gtksh

Re: image matching algorithms

2008-05-03 Thread Sengly
On Mar 14, 10:59 am, "Daniel Fetchinson" <[EMAIL PROTECTED]> wrote: > > > Since you seem to know quite a bit about this topic, what is your > > > opinion on the apparently 'generic' algorithm described here: > > >http://grail.cs.washington.edu/projects/query/? > > > So far it seems to me that it do

Re: Image handling - stupid question

2008-04-16 Thread Gary Herron
Jumping Arne wrote: > On Wed, 16 Apr 2008 12:21:13 +0200, Jumping Arne wrote > (in article <[EMAIL PROTECTED]>): > > >> I'm going to try to write some imange manipulation code (scaling, reading >> EXIF and IPTC info) and just want to ask if PIL is *THE* library to use? >> >> I looked at

Re: Image handling - stupid question

2008-04-16 Thread Jumping Arne
On Wed, 16 Apr 2008 12:21:13 +0200, Jumping Arne wrote (in article <[EMAIL PROTECTED]>): > I'm going to try to write some imange manipulation code (scaling, reading > EXIF and IPTC info) and just want to ask if PIL is *THE* library to use? > > I looked at

Re: Image handling - stupid question

2008-04-16 Thread Berco Beute
On Apr 16, 12:21 pm, Jumping Arne <[EMAIL PROTECTED]> wrote: > I'm going to try to write some imange manipulation code (scaling, reading > EXIF and IPTC info) and just want to ask if PIL is *THE* library to use? Depends on your requirements, but it's certainly the first library I would check out.

Re: Image handling - stupid question

2008-04-16 Thread Bruno Desthuilliers
Jumping Arne a écrit : > I'm going to try to write some imange manipulation code (scaling, reading > EXIF and IPTC info) and just want to ask if PIL is *THE* library to use? > > I looked at and noticed that the > latest version is from Dec 2006. > > In

Re: Image handling - stupid question

2008-04-16 Thread Diez B. Roggisch
Jumping Arne wrote: > I'm going to try to write some imange manipulation code (scaling, reading > EXIF and IPTC info) and just want to ask if PIL is *THE* library to use? > > I looked at and noticed that the > latest version is from Dec 2006. > > In my e

Re: image matching algorithms

2008-03-13 Thread Daniel Fetchinson
> > Since you seem to know quite a bit about this topic, what is your > > opinion on the apparently 'generic' algorithm described here: > > http://grail.cs.washington.edu/projects/query/ ? > > So far it seems to me that it does what I'm asking for, it does even > > more because it can take a hand d

Re: image matching algorithms

2008-03-13 Thread Yu-Xi Lim
Daniel Fetchinson wrote: > Since you seem to know quite a bit about this topic, what is your > opinion on the apparently 'generic' algorithm described here: > http://grail.cs.washington.edu/projects/query/ ? > So far it seems to me that it does what I'm asking for, it does even > more because it ca

Re: image matching algorithms

2008-03-12 Thread Daniel Fetchinson
> > The photos are just coming straight from my digital camera. Same > > format (JPEG), varying size (6-10 megapixel) and I would like to be > > able to pick one and then query the database for similar ones. For > > example: I pick a photo which is more or less a portrait of someone, > > the query

Re: image matching algorithms

2008-03-12 Thread Yu-Xi Lim
Daniel Fetchinson wrote: > The photos are just coming straight from my digital camera. Same > format (JPEG), varying size (6-10 megapixel) and I would like to be > able to pick one and then query the database for similar ones. For > example: I pick a photo which is more or less a portrait of someon

Re: image matching algorithms

2008-03-12 Thread Daniel Fetchinson
> > Thanks for the info! SIFT really looks like a heavy weight solution, > > but do you think the whole concept can be simplified if all I needed > > was: given a photo, find similar ones? I mean SIFT first detects > > objects on the image and find similarities, but I don't need the > > detection p

Re: image matching algorithms

2008-03-11 Thread Daniel Fetchinson
> The second thing I'll try (after trying > your suggestion) is based on this paper which I found in the meantime: > http://salesin.cs.washington.edu/abstracts.html#MultiresQuery > In case anyone is interested, it describes a multiresolution querying > algorithm and best of all, it has pseudo code

Re: image matching algorithms

2008-03-10 Thread Daniel Fetchinson
> | The various free tools differ by their chosen optimization paths and > | their degree of specialization. My preference would be, > | > | 1. Doesn't really matter how long it takes to compute the N numbers per > image > > Your problem here is that there is really no such thing as 'general > feat

Re: image matching algorithms

2008-03-10 Thread Terry Reedy
"Daniel Fetchinson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] | The various free tools differ by their chosen optimization paths and | their degree of specialization. My preference would be, | | 1. Doesn't really matter how long it takes to compute the N numbers per image Your

Re: image matching algorithms

2008-03-10 Thread Daniel Fetchinson
> >>> There are a number of free tools for image matching but it's not very > >>> easy to decipher the actual algorithm from the code that includes db > >>> management, GUI, etc, etc. I have my own image database and GUI so all > >>> I need is the actual algorithm preferably in pseudo code and not

Re: image matching algorithms

2008-03-10 Thread Shane Geiger
Daniel Fetchinson wrote: >>> There are a number of free tools for image matching but it's not very >>> easy to decipher the actual algorithm from the code that includes db >>> management, GUI, etc, etc. I have my own image database and GUI so all >>> I need is the actual algorithm preferably in pse

Re: image matching algorithms

2008-03-10 Thread Yu-Xi Lim
Daniel Fetchinson wrote: > Thanks for the info! SIFT really looks like a heavy weight solution, > but do you think the whole concept can be simplified if all I needed > was: given a photo, find similar ones? I mean SIFT first detects > objects on the image and find similarities, but I don't need t

Re: image matching algorithms

2008-03-10 Thread Daniel Fetchinson
> > There are a number of free tools for image matching but it's not very > > easy to decipher the actual algorithm from the code that includes db > > management, GUI, etc, etc. I have my own image database and GUI so all > > I need is the actual algorithm preferably in pseudo code and not in > > t

Re: image matching algorithms

2008-03-10 Thread Yu-Xi Lim
Daniel Fetchinson wrote: > There are a number of free tools for image matching but it's not very > easy to decipher the actual algorithm from the code that includes db > management, GUI, etc, etc. I have my own image database and GUI so all > I need is the actual algorithm preferably in pseudo code

Re: image matching algorithms

2008-03-09 Thread castironpi
On Mar 10, 1:32 am, "Daniel Fetchinson" <[EMAIL PROTECTED]> wrote: > Hi all, > > There are a number of free tools for image matching but it's not very > easy to decipher the actual algorithm from the code that includes db > management, GUI, etc, etc. I have my own image database and GUI so all > I

Re: Image Libraries

2008-03-08 Thread PB
Maybe I am unaware of the right way to do it, but the only way I can think to draw several shapes of different transparencies is to create an image for each layer and then combine them which seems overly complex. It would be nice to simply be able to specify colors with an alpha value combined (ie

Re: Image Libraries

2008-03-08 Thread Ken
PB wrote: > I have been using PIL for generating images, however it does not > easily support operations with transparency etc. > > I tried to install aggdraw but it wouldn't compile. > > Ideally I'd like something open source so I can adapt it, hopefully > mostly written in python rather than C. >

Re: Image to browser

2008-01-15 Thread danielatdaveschool
On Jan 16, 12:38 am, Justin Ezequiel <[EMAIL PROTECTED]> wrote: > On Jan 16, 1:19 pm, [EMAIL PROTECTED] wrote: > > > > > On Jan 16, 12:16 am, [EMAIL PROTECTED] wrote: > > > > Im using mod_python and apache2 using psp for output of page, i open a > > > file and resize it with the following code > >

Re: Image to browser

2008-01-15 Thread Justin Ezequiel
On Jan 16, 1:19 pm, [EMAIL PROTECTED] wrote: > On Jan 16, 12:16 am, [EMAIL PROTECTED] wrote: > > > Im using mod_python and apache2 using psp for output of page, i open a > > file and resize it with the following code > > > <% > > import Image, util > > > fields = util.FieldStorage(req) > > filename

Re: Image to browser

2008-01-15 Thread danielatdaveschool
On Jan 16, 12:16 am, [EMAIL PROTECTED] wrote: > Hi, noob here > > Im using mod_python and apache2 using psp for output of page, i open a > file and resize it with the following code > > <% > import Image, util > > fields = util.FieldStorage(req) > filename = fields.getlist('src')[0] > > path = '/va

Re: Image/Video Processing in Python

2008-01-11 Thread Tim Roberts
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > >Hello, I'm trying to work on a project in Python that involves the use >of a webcam to track a laser pointer. I found some example code here >http://janto.blogspot.com/2006/01/motion-capture-in-python.html, but >the problem is that it's quite slow

  1   2   >