<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">inshu chauhan</b> <span dir="ltr"><<a href="mailto:insideshoes@gmail.com">insideshoes@gmail.com</a>></span><br>
Date: Thu, Nov 1, 2012 at 1:26 PM<br>Subject: Re: python and Open cv<br>To: Mark Lawrence <<a href="mailto:breamoreboy@yahoo.co.uk">breamoreboy@yahoo.co.uk</a>><br><br><br>I am sorry.. but I need to know what are the rules and what about gmail ?? Many people are using gmail to mail to the list. <br>
<div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Nov 1, 2012 at 12:15 PM, Mark Lawrence <span dir="ltr"><<a href="mailto:breamoreboy@yahoo.co.uk" target="_blank">breamoreboy@yahoo.co.uk</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>On 01/11/2012 08:55, inshu chauhan wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
How to load a yml file in python and work with it ??<br>
<br>
I used : import cv<br>
             data = cv.Load("Z:/data/xyz_00000_<br>
300.yml")<br>
<br>
But when I print data.. it just gives the detail of the image like number<br>
of rows and columns etc....<br>
I want read what is there in the pixel of the image..<br>
<br>
I tried to use the following code .. but it gives me only the pixel values<br>
not the information contained in pixel ??<br>
<br>
def AccessPixels(img):<br>
     for y in range(0, img.height):<br>
         for x in range(0, img.width):<br>
             cv.Get2D(img, y, x) # Slow get pixel value.<br>
             cv.Set2D(img, y, x, (0, 0, 0, 0)) # Slow set pixel value.<br>
<br>
<br>
can somebody help.. thanx in advance !!!<br>
<br>
</blockquote>
<br></div></div>
I think the subject should be changed to "Obnoxious postings from Google Groups", given this is the same question from the same person within 24 hours but a different subject line, and from a gmail address.<span><font color="#888888"><br>


<br>
<br>
-- <br>
Cheers.<br>
<br>
Mark Lawrence.<br>
<br>
-- <br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/<u></u>mailman/listinfo/python-list</a><br>
</font></span></blockquote></div><br></div>
</div></div></div><br>