OpenCv: different behavior of cv2.imread and cv2.imdecode

2015-01-24 Thread maurog
The starting point is an invalid jpg file, grabbed from a site showing pictures from a webcam while the site is updating the picture itself. So the upper part of the picture is ok, the lower part no. If I execute this code flags = cv2.CV_LOAD_IMAGE_COLOR img = cv2.imread('bad.jpg', flags) this

where in Nan defined

2015-01-08 Thread maurog
I'm running some pandas examples and I canno find in what module NaN is defined. Does anyone know what module I have to import in order to have it defined? -- https://mail.python.org/mailman/listinfo/python-list

Re: python on android: where to start

2014-11-16 Thread maurog
Il Fri, 14 Nov 2014 16:48:41 +, Phil Thompson ha scritto: > On 14/11/2014 2:18 pm, maurog wrote: >> I looked at the newsgroup, but I didn't find recent infos on this >> topic. >> On the other side I went lost by looking for this topic with google. So >> I

python on android: where to start

2014-11-14 Thread maurog
I looked at the newsgroup, but I didn't find recent infos on this topic. On the other side I went lost by looking for this topic with google. So I'm asking you my question, if I want to develop or run some code with python on android, what are the resources to start with? Thanks mauro -- http

Page layout in Python

2014-07-25 Thread maurog
The first step in grabbing information from a pdf file is to translate it into text format with pdftotext -layout command. Is it available any specific python tool or library to describe the layout of a page with ascii characters and to help in identifying and extracting the useful pieces of in