Re: [BangPypers] python candidates | Bengaluru/Hyderabad

2021-12-15 Thread narayan naik
how to unsubscribe


On Tue, Dec 14, 2021 at 4:31 PM Venkat Ramasubrahmanyan <
venkat.ramasubrahman...@gmail.com> wrote:

> Hello...
>
> I am looking for 2-3y experienced python candidates for my product
> development team.
>
> Anyone interested, please email me your resume.
> _
> *Venkat.R.*
> ___
> BangPypers mailing list
> BangPypers@python.org
> https://mail.python.org/mailman/listinfo/bangpypers
>
___
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers


[BangPypers] how to see each line result in python

2015-03-03 Thread narayan naik
hi,
i have face detection code as

import cv2
import sys


def detect(path):
img = cv2.imread(path)
cascade =
cv2.CascadeClassifier("/home/nv/haarcascade_frontalface_alt.xml")
rects = cascade.detectMultiScale(img, 1.3, 4,
cv2.cv.CV_HAAR_SCALE_IMAGE, (20,20))

if len(rects) == 0:
return [], img
rects[:, 2:] += rects[:, :2]
return rects, img

def box(rects, img):
for x1, y1, x2, y2 in rects:
cv2.rectangle(img, (x1, y1), (x2, y2), (127, 255, 0), 2)
#cv2.imwrite('/home/nv/m.JPG', img);

rects, img = detect("/home/nv/img.JPG")
box(rects, img)
cv2.imshow('img',img)
cv2.waitKey(0)
cv2.destroyAllWindows()
#crop_img=image(rects, img)
#cropped.save('L_2d_cropped.jpg')



I want to see what happens in each line.I know what happens in
theoritically but i want each line result.is i possible.
please help me.
thank you in advance
___
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers


[BangPypers] face detection

2015-01-01 Thread narayan naik
hi,
   have any one worked with face detection project.
___
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers


[BangPypers] about integral image

2014-12-16 Thread narayan naik
Hi,
 is there any function that converts an image into an integral imageI
___
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] about code

2014-12-14 Thread narayan naik
Thank you,
but i already tried that,it will crop but i want to show that cropped image
on the window immediately

On Mon, Dec 15, 2014 at 12:10 PM, L Radhakrishna Rao <
satishsaga...@gmail.com> wrote:
>
> This might help you:
>
>
> http://stackoverflow.com/questions/13211745/detect-face-then-autocrop-pictures
>
> On Mon, Dec 15, 2014 at 12:00 PM, sayantan bhattacharya <
> skb655...@gmail.com
> > wrote:
> >
> > Hello,
> >
> > I haven't worked that much with openCV in python, so can't provide
> choosing
> > help right away. But searched on Google for similar topic and found the
> > following link:
> >
> >
> >
> http://stackoverflow.com/questions/13211745/detect-face-then-autocrop-pictures
> >
> > Hope this helps.
> > On Dec 15, 2014 11:52 AM, "narayan naik" 
> wrote:
> >
> > > Hi,
> > > import cv2
> > >
> > > def detect(path):
> > > img = cv2.imread(path)
> > > cascade = cv2.CascadeClassifier("haarcascade_frontalface_alt.xml")
> > > rects = cascade.detectMultiScale(img, 1.3, 4,
> > > cv2.cv.CV_HAAR_SCALE_IMAGE, (20,20))
> > >
> > > if len(rects) == 0:
> > > return [], img
> > > rects[:, 2:] += rects[:, :2]
> > > return rects, img
> > >
> > > def box(rects, img):
> > > for x1, y1, x2, y2 in rects:
> > > cv2.rectangle(img, (x1, y1), (x2, y2), (127, 255, 0), 2)
> > >
> > >
> > > rects, img = detect("hi.jpg")
> > >
> > > cropped = img[70:17, 40:40]
> > > cv2.imshow("cropped", cropped)
> > > cv2.waitKey(0)
> > > box(rects, img)
> > >
> > > cv2.imshow('img',img)
> > > cv2.waitKey(0)
> > > cv2.destroyAllWindows()
> > >
> > > This is a face detection code.This will work properly.but I want to
> crop
> > > the detected faces and it should display on the screen.
> > > ___
> > > BangPypers mailing list
> > > BangPypers@python.org
> > > https://mail.python.org/mailman/listinfo/bangpypers
> > >
> > ___
> > BangPypers mailing list
> > BangPypers@python.org
> > https://mail.python.org/mailman/listinfo/bangpypers
> >
> ___
> BangPypers mailing list
> BangPypers@python.org
> https://mail.python.org/mailman/listinfo/bangpypers
>
___
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] about code

2014-12-14 Thread narayan naik
Thank you,
but i already tried that,it will crop but i want to show that cropped image
on the window immediately

On Mon, Dec 15, 2014 at 12:00 PM, sayantan bhattacharya  wrote:
>
> Hello,
>
> I haven't worked that much with openCV in python, so can't provide choosing
> help right away. But searched on Google for similar topic and found the
> following link:
>
>
> http://stackoverflow.com/questions/13211745/detect-face-then-autocrop-pictures
>
> Hope this helps.
> On Dec 15, 2014 11:52 AM, "narayan naik"  wrote:
>
> > Hi,
> > import cv2
> >
> > def detect(path):
> > img = cv2.imread(path)
> > cascade = cv2.CascadeClassifier("haarcascade_frontalface_alt.xml")
> > rects = cascade.detectMultiScale(img, 1.3, 4,
> > cv2.cv.CV_HAAR_SCALE_IMAGE, (20,20))
> >
> > if len(rects) == 0:
> > return [], img
> > rects[:, 2:] += rects[:, :2]
> > return rects, img
> >
> > def box(rects, img):
> > for x1, y1, x2, y2 in rects:
> > cv2.rectangle(img, (x1, y1), (x2, y2), (127, 255, 0), 2)
> >
> >
> > rects, img = detect("hi.jpg")
> >
> > cropped = img[70:17, 40:40]
> > cv2.imshow("cropped", cropped)
> > cv2.waitKey(0)
> > box(rects, img)
> >
> > cv2.imshow('img',img)
> > cv2.waitKey(0)
> > cv2.destroyAllWindows()
> >
> > This is a face detection code.This will work properly.but I want to crop
> > the detected faces and it should display on the screen.
> > ___
> > BangPypers mailing list
> > BangPypers@python.org
> > https://mail.python.org/mailman/listinfo/bangpypers
> >
> ___
> BangPypers mailing list
> BangPypers@python.org
> https://mail.python.org/mailman/listinfo/bangpypers
>
___
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers


[BangPypers] about code

2014-12-14 Thread narayan naik
Hi,
import cv2

def detect(path):
img = cv2.imread(path)
cascade = cv2.CascadeClassifier("haarcascade_frontalface_alt.xml")
rects = cascade.detectMultiScale(img, 1.3, 4,
cv2.cv.CV_HAAR_SCALE_IMAGE, (20,20))

if len(rects) == 0:
return [], img
rects[:, 2:] += rects[:, :2]
return rects, img

def box(rects, img):
for x1, y1, x2, y2 in rects:
cv2.rectangle(img, (x1, y1), (x2, y2), (127, 255, 0), 2)


rects, img = detect("hi.jpg")

cropped = img[70:17, 40:40]
cv2.imshow("cropped", cropped)
cv2.waitKey(0)
box(rects, img)

cv2.imshow('img',img)
cv2.waitKey(0)
cv2.destroyAllWindows()

This is a face detection code.This will work properly.but I want to crop
the detected faces and it should display on the screen.
___
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers


[BangPypers] About code

2014-11-25 Thread narayan naik
Hi,

import numpy as np
import cv2
img=cv2.imread('4.jpg',0)
cv2.imshow('image',img)
k=cv2.waitKey(0)
if k == 27:
cv2.destroyAllWindows()
#cv2.destroyWindow('image')
elif k == ord('S'):
cv2.imwrite('image.png',img)
cv2.destroyAllWindows()

when I run this code,it is not possible to close the image window by
pressing esc key,and if going to close by using mouse the window will hang.
___
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] about python code

2014-11-23 Thread narayan naik
Thank you all


On Fri, Nov 21, 2014 at 12:30 PM, Nikhileshkumar Ikhar <
nikhil.ik...@gmail.com> wrote:

> Python terminal on linux is sufficient.
> But many people are fans of ipython and idle.
>
> -Nikhil
>
> On 20 November 2014 09:48, narayan naik  wrote:
>
> > Ya, am talking the same
> >  On 19 Nov 2014 18:49, "Martin Anto"  wrote:
> >
> > > Simulator??
> > >
> > > You mean interpreter?
> > > On Nov 19, 2014 2:48 PM, "narayan naik" 
> > wrote:
> > >
> > > > hi,
> > > >can any one tell,which simulator is best for python
> > > >
> > > > On Mon, Nov 17, 2014 at 4:26 PM, narayan naik <
> > narayannaik...@gmail.com>
> > > > wrote:
> > > >
> > > > > hi
> > > > >  can you please send me the required terminal package
> > > > >
> > > > > On Mon, Nov 17, 2014 at 2:36 PM, Vikneshwaren <
> > > vikneshware...@gmail.com>
> > > > > wrote:
> > > > >
> > > > >> I think your code imports OpenCV module and seems to be that it
> was
> > > not
> > > > >> properly imported or the module is completely missing. Please
> check
> > > into
> > > > >> that and try installing the module if missing.
> > > > >>
> > > > >> --
> > > > >> Vikneshwaren
> > > > >> Free Software Foundation, Tamil Nadu
> > > > >> On Nov 17, 2014 2:30 PM, "narayan naik"  >
> > > > wrote:
> > > > >>
> > > > >> > hi,
> > > > >> >when I am running face detection code ,I am getting this
> error.
> > > > >> >
> > > > >> > Traceback (most recent call last):
> > > > >> >   File "/home/nv/read.py", line 2, in 
> > > > >> > import cv2
> > > > >> > ImportError: No module named cv2
> > > > >> > >>>
> > > > >> >
> > > > >> > please help me.
> > > > >> > ___
> > > > >> > BangPypers mailing list
> > > > >> > BangPypers@python.org
> > > > >> > https://mail.python.org/mailman/listinfo/bangpypers
> > > > >> >
> > > > >> ___
> > > > >> BangPypers mailing list
> > > > >> BangPypers@python.org
> > > > >> https://mail.python.org/mailman/listinfo/bangpypers
> > > > >>
> > > > >
> > > > >
> > > > ___
> > > > BangPypers mailing list
> > > > BangPypers@python.org
> > > > https://mail.python.org/mailman/listinfo/bangpypers
> > > >
> > > ___
> > > BangPypers mailing list
> > > BangPypers@python.org
> > > https://mail.python.org/mailman/listinfo/bangpypers
> > >
> > ___
> > BangPypers mailing list
> > BangPypers@python.org
> > https://mail.python.org/mailman/listinfo/bangpypers
> >
> ___
> BangPypers mailing list
> BangPypers@python.org
> https://mail.python.org/mailman/listinfo/bangpypers
>
___
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] about python code

2014-11-19 Thread narayan naik
Ya, am talking the same
 On 19 Nov 2014 18:49, "Martin Anto"  wrote:

> Simulator??
>
> You mean interpreter?
> On Nov 19, 2014 2:48 PM, "narayan naik"  wrote:
>
> > hi,
> >can any one tell,which simulator is best for python
> >
> > On Mon, Nov 17, 2014 at 4:26 PM, narayan naik 
> > wrote:
> >
> > > hi
> > >  can you please send me the required terminal package
> > >
> > > On Mon, Nov 17, 2014 at 2:36 PM, Vikneshwaren <
> vikneshware...@gmail.com>
> > > wrote:
> > >
> > >> I think your code imports OpenCV module and seems to be that it was
> not
> > >> properly imported or the module is completely missing. Please check
> into
> > >> that and try installing the module if missing.
> > >>
> > >> --
> > >> Vikneshwaren
> > >> Free Software Foundation, Tamil Nadu
> > >> On Nov 17, 2014 2:30 PM, "narayan naik" 
> > wrote:
> > >>
> > >> > hi,
> > >> >when I am running face detection code ,I am getting this error.
> > >> >
> > >> > Traceback (most recent call last):
> > >> >   File "/home/nv/read.py", line 2, in 
> > >> > import cv2
> > >> > ImportError: No module named cv2
> > >> > >>>
> > >> >
> > >> > please help me.
> > >> > ___
> > >> > BangPypers mailing list
> > >> > BangPypers@python.org
> > >> > https://mail.python.org/mailman/listinfo/bangpypers
> > >> >
> > >> ___
> > >> BangPypers mailing list
> > >> BangPypers@python.org
> > >> https://mail.python.org/mailman/listinfo/bangpypers
> > >>
> > >
> > >
> > ___
> > BangPypers mailing list
> > BangPypers@python.org
> > https://mail.python.org/mailman/listinfo/bangpypers
> >
> ___
> BangPypers mailing list
> BangPypers@python.org
> https://mail.python.org/mailman/listinfo/bangpypers
>
___
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] about python code

2014-11-19 Thread narayan naik
hi,
   can any one tell,which simulator is best for python

On Mon, Nov 17, 2014 at 4:26 PM, narayan naik 
wrote:

> hi
>  can you please send me the required terminal package
>
> On Mon, Nov 17, 2014 at 2:36 PM, Vikneshwaren 
> wrote:
>
>> I think your code imports OpenCV module and seems to be that it was not
>> properly imported or the module is completely missing. Please check into
>> that and try installing the module if missing.
>>
>> --
>> Vikneshwaren
>> Free Software Foundation, Tamil Nadu
>> On Nov 17, 2014 2:30 PM, "narayan naik"  wrote:
>>
>> > hi,
>> >when I am running face detection code ,I am getting this error.
>> >
>> > Traceback (most recent call last):
>> >   File "/home/nv/read.py", line 2, in 
>> > import cv2
>> > ImportError: No module named cv2
>> > >>>
>> >
>> > please help me.
>> > ___
>> > BangPypers mailing list
>> > BangPypers@python.org
>> > https://mail.python.org/mailman/listinfo/bangpypers
>> >
>> ___
>> BangPypers mailing list
>> BangPypers@python.org
>> https://mail.python.org/mailman/listinfo/bangpypers
>>
>
>
___
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] about python code

2014-11-17 Thread narayan naik
hi
 can you please send me the required terminal package

On Mon, Nov 17, 2014 at 2:36 PM, Vikneshwaren 
wrote:

> I think your code imports OpenCV module and seems to be that it was not
> properly imported or the module is completely missing. Please check into
> that and try installing the module if missing.
>
> --
> Vikneshwaren
> Free Software Foundation, Tamil Nadu
> On Nov 17, 2014 2:30 PM, "narayan naik"  wrote:
>
> > hi,
> >when I am running face detection code ,I am getting this error.
> >
> > Traceback (most recent call last):
> >   File "/home/nv/read.py", line 2, in 
> > import cv2
> > ImportError: No module named cv2
> > >>>
> >
> > please help me.
> > ___
> > BangPypers mailing list
> > BangPypers@python.org
> > https://mail.python.org/mailman/listinfo/bangpypers
> >
> ___
> BangPypers mailing list
> BangPypers@python.org
> https://mail.python.org/mailman/listinfo/bangpypers
>
___
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] about python code

2014-11-17 Thread narayan naik
when I entered in terminal
nv@ubuntu:~$ pkg-config --modversion opencv
it shows like
2.3.1


On Mon, Nov 17, 2014 at 2:51 PM, narayan naik 
wrote:

> I am using ---Python 2.7.3 (default, Feb 27 2014, 20:00:17)  version
> operating system-ubuntu 12.04 LTS
> and also I have downloaded openCV
>
> On Mon, Nov 17, 2014 at 2:43 PM, L Radhakrishna Rao <
> satishsaga...@gmail.com> wrote:
>
>> Put entire details, have you downloaded cv2 module?
>>
>> What's the python version you are using, and the operating system?
>>
>> Thanks
>>
>> On Mon, Nov 17, 2014 at 2:30 PM, narayan naik 
>> wrote:
>>
>> > hi,
>> >when I am running face detection code ,I am getting this error.
>> >
>> > Traceback (most recent call last):
>> >   File "/home/nv/read.py", line 2, in 
>> > import cv2
>> > ImportError: No module named cv2
>> > >>>
>> >
>> > please help me.
>> > ___
>> > BangPypers mailing list
>> > BangPypers@python.org
>> > https://mail.python.org/mailman/listinfo/bangpypers
>> >
>> ___
>> BangPypers mailing list
>> BangPypers@python.org
>> https://mail.python.org/mailman/listinfo/bangpypers
>>
>
>
___
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] about python code

2014-11-17 Thread narayan naik
I am using ---Python 2.7.3 (default, Feb 27 2014, 20:00:17)  version
operating system-ubuntu 12.04 LTS
and also I have downloaded openCV

On Mon, Nov 17, 2014 at 2:43 PM, L Radhakrishna Rao  wrote:

> Put entire details, have you downloaded cv2 module?
>
> What's the python version you are using, and the operating system?
>
> Thanks
>
> On Mon, Nov 17, 2014 at 2:30 PM, narayan naik 
> wrote:
>
> > hi,
> >when I am running face detection code ,I am getting this error.
> >
> > Traceback (most recent call last):
> >   File "/home/nv/read.py", line 2, in 
> > import cv2
> > ImportError: No module named cv2
> > >>>
> >
> > please help me.
> > ___
> > BangPypers mailing list
> > BangPypers@python.org
> > https://mail.python.org/mailman/listinfo/bangpypers
> >
> ___
> BangPypers mailing list
> BangPypers@python.org
> https://mail.python.org/mailman/listinfo/bangpypers
>
___
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers


[BangPypers] about python code

2014-11-17 Thread narayan naik
hi,
   when I am running face detection code ,I am getting this error.

Traceback (most recent call last):
  File "/home/nv/read.py", line 2, in 
import cv2
ImportError: No module named cv2
>>>

please help me.
___
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] project

2014-09-25 Thread narayan naik
Thank you sir.


On Thu, Sep 25, 2014 at 10:59 AM, Arunram A  wrote:

> You can try using OpenCV.
>
> One such example in Python using OpenCV here:
>
> http://jyotiska.github.io/blog/2014/08/21/simple-face-detection-using-python-and-opencv/
>
> Regards,
> Arunram A.
>
> On Thu, Sep 25, 2014 at 10:50 AM, narayan naik 
> wrote:
>
> > Sir,I am doing my M.Tech project on face detection,can u please tell me a
> > simplest face detection algorithm.
> >
> >
> > Thanking you,
> > ___
> > BangPypers mailing list
> > BangPypers@python.org
> > https://mail.python.org/mailman/listinfo/bangpypers
> >
> ___
> BangPypers mailing list
> BangPypers@python.org
> https://mail.python.org/mailman/listinfo/bangpypers
>
___
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers


[BangPypers] project

2014-09-24 Thread narayan naik
Sir,I am doing my M.Tech project on face detection,can u please tell me a
simplest face detection algorithm.


Thanking you,
___
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] Fwd: Issue with basemap import

2014-09-23 Thread narayan naik
hi,anybody help me to learn python.I am beginer

On Tue, Sep 23, 2014 at 1:59 PM, Senthil Kumaran 
wrote:

> How did you install your base package? The matplotlib? Are you using any
> distribution?
> If you installed it separately., then looks like you will have to install
> basecamp using the matplotlib toolkits (
> http://sourceforge.net/projects/matplotlib/files/matplotlib-toolkits/)
> too.
> If you are using a prebuilt distribution like anaconda (from continuum.io)
> it might have those libraries prebuilt for you.
>
>
> On Tue, Sep 23, 2014 at 10:40 AM, sachidanand gowda <
> maverick@gmail.com>
> wrote:
>
> > Hi,
> >
> > I was non member 5 mins back :) so reposting it again
> > -- Forwarded message --
> > From: sachidanand gowda 
> > Date: Tue, Sep 23, 2014 at 10:13 AM
> > Subject: Issue with basemap import
> > To: bangpypers@python.org
> >
> >
> > Hi Guys,
> >
> > I needed help on importing basemap
> >
> >
> http://stackoverflow.com/questions/25985808/error-importing-basemap-keyerror-dap
> >
> > I have posted the question on stack overflow. Kindly help me with this
> > issue
> >
> > Thanks,
> > Sachi
> > ___
> > BangPypers mailing list
> > BangPypers@python.org
> > https://mail.python.org/mailman/listinfo/bangpypers
> >
> ___
> BangPypers mailing list
> BangPypers@python.org
> https://mail.python.org/mailman/listinfo/bangpypers
>
___
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] face detection

2014-09-22 Thread narayan naik
Thank you sir,I will check now

On Mon, Sep 22, 2014 at 6:26 PM, sayantan bhattacharya 
wrote:

> Check haarcascade in open cv
> On Sep 22, 2014 6:23 PM, "narayan naik"  wrote:
>
> > good evening sir,
> > I am doing my M.Tech project on face
> > detection,but I am confused with the algorithm,can u please tell me a
> > simple and best face detection algorithm.
> > ___
> > BangPypers mailing list
> > BangPypers@python.org
> > https://mail.python.org/mailman/listinfo/bangpypers
> >
> ___
> BangPypers mailing list
> BangPypers@python.org
> https://mail.python.org/mailman/listinfo/bangpypers
>
___
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers


[BangPypers] face detection

2014-09-22 Thread narayan naik
good evening sir,
I am doing my M.Tech project on face
detection,but I am confused with the algorithm,can u please tell me a
simple and best face detection algorithm.
___
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers