guess** is that cv2.line() will take an argument to set the line
> > colour. You should read the documentation for cv2.line().
> >
> >
> > Before asking any more questions, please read this:
> >
> > http://sscce.org/
> >
> >
> >
> >
>
On Saturday, September 17, 2016 at 9:35:35 AM UTC+8, Steve D'Aprano wrote:
> On Sat, 17 Sep 2016 10:20 am, meInvent bbird wrote:
>
> > i succeed to use code to draw green line, but green line not draw the
> > large area, expect second uploaded picture, the blue line connect
> > the bottom of red l
On 2016-09-17 01:20, meInvent bbird wrote:
i succeed to use code to draw green line, but green line not draw the
large area, expect second uploaded picture, the blue line connect
the bottom of red line graph
[snip]
Here's the code with the commented code and print statements removed and
the i
On Sat, 17 Sep 2016 10:20 am, meInvent bbird wrote:
> i succeed to use code to draw green line, but green line not draw the
> large area, expect second uploaded picture, the blue line connect
> the bottom of red line graph
Please don't waste our time with dead code that has been commented out or
i succeed to use code to draw green line, but green line not draw the
large area, expect second uploaded picture, the blue line connect
the bottom of red line graph
im = img.copy()
cntcounter = 0
for cnt in contours:
#epsilon = 0.1*cv2.arcLength(cnt,True)
#approx = cv2.approxPolyD
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
Hi,
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 something like the windows program Irf
On 2009-08-19, Aahz wrote:
> In article ,
> Grant Edwards wrote:
>>On 2009-08-14, Grant Edwards wrote:
>>>
>>> In my particular usage, no lines have ever been
>>> inserted/deleted, so perhaps I should be running diffs on
>>> individual lines instead? If I do that, I can't figure out
>>> how to
In article ,
Grant Edwards wrote:
>On 2009-08-14, Grant Edwards wrote:
>>
>> In my particular usage, no lines have ever been
>> inserted/deleted, so perhaps I should be running diffs on
>> individual lines instead? If I do that, I can't figure out
>> how to generate HTML output.
>
>I ended up u
On 2009-08-14, Grant Edwards wrote:
> I'm trying to use difflib to compare two files, and it's not
> producing very useful results. When comparing two lines where
> only a few characters have changed, it usually seems to decide
> that a line was deleted/inserted/replaced rather than changed.
[.
On Fri, Aug 14, 2009 at 2:38 PM, Grant Edwards wrote:
> I'm trying to use difflib to compare two files, and it's not
> producing very useful results. When comparing two lines where
> only a few characters have changed, it usually seems to decide
> that a line was deleted/inserted/replaced rather t
I'm trying to use difflib to compare two files, and it's not
producing very useful results. When comparing two lines where
only a few characters have changed, it usually seems to decide
that a line was deleted/inserted/replaced rather than changed.
Here's how I'm using it:
#!/usr/bin/python
Same as on all the other platforms.
1. Open IDLE
2. Go Options -> Configure IDLE...
3. Choose the Fonts/Tabs section
4. Use the Size pulldown box
- Chris
On Tue, Sep 2, 2008 at 6:26 AM, Malcolm Lewis <[EMAIL PROTECTED]> wrote:
>
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-
--
http://mail.python.org/mailman/listinfo/python-list
>> Do i need to set a callback to a canvas
>> in order to "listen" to the root window
>> being resized in order to make it adjust
>> its contents?
>>
>> If so, how? If not, how do i make the
>> canvas draw a line from one corner to
>
K Viltersten wrote:
> Do i need to set a callback to a canvas
> in order to "listen" to the root window
> being resized in order to make it adjust
> its contents?
>
> If so, how? If not, how do i make the
> canvas draw a line from one corner to
> an other?
Do i need to set a callback to a canvas
in order to "listen" to the root window
being resized in order to make it adjust
its contents?
If so, how? If not, how do i make the
canvas draw a line from one corner to
an other?
from Tkinter import *
class Demo(Frame):
def __init__(se
On 2007-04-24, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi,
> How do i right adjust my output using python.I need a output
> something like this:
> DID= 0x01,0x02,0x03,0x05,0x06,0x07,0x2B,0x30,0x31,0x4D,0x4E,
> 0x51,0x52,0x53,0x55,
> minlength= 3, 3,
[EMAIL PROTECTED] wrote:
> How do i right adjust my output using python.
http://docs.python.org/lib/typesseq-strings.html
> minlength= 3, 3, 4, 2, 10, 10, 40, 2, 150, 4, 1,
> 2, 2, 1, 2, 1, 6, 3, 17, 1,
Something like:
>>> def wr
[EMAIL PROTECTED] wrote:
> Hi,
> How do i right adjust my output using python.I need a output
> something like this:
> DID= 0x01,0x02,0x03,0x05,0x06,0x07,0x2B,0x30,0x31,0x4D,0x4E,
> 0x51,0x52,0x53,0x55,
> minlength= 3, 3, 4, 2, 10, 10, 40, 2, 150, 4,
Hi,
How do i right adjust my output using python.I need a output
something like this:
DID= 0x01,0x02,0x03,0x05,0x06,0x07,0x2B,0x30,0x31,0x4D,0x4E,
0x51,0x52,0x53,0x55,
minlength= 3, 3, 4, 2, 10, 10, 40, 2, 150, 4, 1,
2, 2, 1, 2, 1, 6, 3, 17, 1,
maxlength
The ScrollRegion of the canvas gives the area that should be "available"
for scrolling. If this is larger than the visible area of the canvas,
then associated scrollbars will allow scrolling. If this is smaller
than the visible area of the canvas, then the scrollbar will fill with
the "thumb" and
Below is a simple code snippet showing a Tkinter Window bearing a
canvas and 2 connected scrollbars (Vertical & Horizontal). Works fine.
When you shrink/resize the window the scrollbars adjust accordingly.
However, what I really want to happen is that the area of the canvas
that the scroll
23 matches
Mail list logo