From: Jannis Syntychakis on 8 Apr 2010 09:17 Hallo Everybody, Maybe you can help me with this: i have a picture. The picture is black, with some white objects. Is there any way i can detect the automatically? Something like: if there white objects bigger than 3 pixels draw a box there or get their position! getting their position is more important for me. One more question:" can i let the user tell the software there the white object is? like a square this moves with the mouse and the user will be able to click on the white objects. Maybe somebosy could help? with an example maybe? Thank you very much in advance!!!! Ioannis
From: Chris Hulan on 8 Apr 2010 09:57 On Apr 8, 9:17 am, Jannis Syntychakis <ioan...(a)live.nl> wrote: > Hallo Everybody, > > Maybe you can help me with this: > > i have a picture. The picture is black, with some white objects. > > Is there any way i can detect the automatically? Something like: > if there white objects bigger than 3 pixels draw a box there or get > their > position! > > getting their position is more important for me. > > One more question:" > > can i let the user tell the software there the white object is? like a > square > this moves with the mouse and the user will be able to click on the > white objects. > > Maybe somebosy could help? with an example maybe? > > Thank you very much in advance!!!! > > Ioannis Sounds like a job for an image lib, like say Camellia (http:// camellia.sourceforge.net/index.html) Their info Mentions a Ruby interface, so a python interface should be fairly easy cheers
From: Chris Colbert on 8 Apr 2010 10:56 lookup "connected component labeling" in a machine vision book. On Thu, Apr 8, 2010 at 9:57 AM, Chris Hulan <chris.hulan(a)gmail.com> wrote: > On Apr 8, 9:17 am, Jannis Syntychakis <ioan...(a)live.nl> wrote: >> Hallo Everybody, >> >> Maybe you can help me with this: >> >> i have a picture. The picture is black, with some white objects. >> >> Is there any way i can detect the automatically? Something like: >> if there white objects bigger than 3 pixels draw a box there or get >> their >> position! >> >> getting their position is more important for me. >> >> One more question:" >> >> can i let the user tell the software there the white object is? like a >> square >> this moves with the mouse and the user will be able to click on the >> white objects. >> >> Maybe somebosy could help? with an example maybe? >> >> Thank you very much in advance!!!! >> >> Ioannis > > Sounds like a job for an image lib, like say Camellia (http:// > camellia.sourceforge.net/index.html) > Their info Mentions a Ruby interface, so a python interface should be > fairly easy > > cheers > -- > http://mail.python.org/mailman/listinfo/python-list >
|
Pages: 1 Prev: daemon.DaemonContext Next: How to call application in the background with subprocess.call |