Giter Site home page Giter Site logo

Comments (24)

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024
This is the How-to , it should work for 0.3

http://lifeasiknow-it.blogspot.com/2009/08/pam-face-authentication-musings-how-t
o.html

just install those libraries and you can compile it easily

let me know if you need any more help

Original comment by [email protected] on 12 Aug 2009 at 12:49

from pam-face-authentication.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024

Original comment by [email protected] on 12 Aug 2009 at 12:49

  • Changed title: Problems to capture the image.

from pam-face-authentication.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024

Original comment by [email protected] on 12 Aug 2009 at 12:49

  • Changed title: Problems to capture the image in 0.2

from pam-face-authentication.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024
when using, "cmake -D CMAKE_INSTALL_DIR=/usr .." got this... 

-- Found X11: /usr/lib/libX11.so
CMake Error at /usr/share/cmake-2.6/Modules/FindQt4.cmake:1472 (MESSAGE):
  Qt qmake not found!
Call Stack (most recent call first):
  CMakeLists.txt:73 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!

And i guess i already have:
    Opencv 1.0.0 + (http://opencv.willowgarage.com/wiki/InstallGuide_Linux installed
and tested)

    libpam ( also the devel package) (verified in synaptic)

    libX11 (also the devel package ) (verified in synaptic)

    Qt4.5 (Not tested with lower versions) (verified in qtconfig, about.)

Original comment by [email protected] on 12 Aug 2009 at 1:20

from pam-face-authentication.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024
PS: I haven't removed the libs and other things that i used in older version.

Original comment by [email protected] on 12 Aug 2009 at 1:21

from pam-face-authentication.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024
After i install qt4.5 dev i tryed again and got this:

-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.5.0
-- Checking GNUCXX version 3/4 to determine  OpenCV /opt/net/ path
-- Performing Test PAM_MESSAGE_CONST
-- Performing Test PAM_MESSAGE_CONST - Success
-- Found PAM: /usr/lib/libpam.so;/usr/lib/libdl.so
-- Configuring done
-- Generating done
-- Build files have been written to:
/home/x-warrior/Desktop/pam-face-authentication-0.3/build"

Now i'm trying to use make and make install. I will post the results here.

Original comment by [email protected] on 12 Aug 2009 at 1:33

from pam-face-authentication.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024
make ok, make install i guess its ok. 

but when i try to use qt-facetrainer, it runs but i get a black screen with 
colored
dots. and in my console i got this error: 
"libv4l2: error dequeuing buf: Resource temporarily unavailable"


Original comment by [email protected] on 12 Aug 2009 at 1:37

from pam-face-authentication.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024
unset this and  try
export LD_PRELOAD=

Original comment by [email protected] on 12 Aug 2009 at 1:44

from pam-face-authentication.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024
# qt-facetrainer
HIGHGUI ERROR: V4L: index 0 is not correct!

# ls /dev/video0 
/dev/video0

Original comment by [email protected] on 12 Aug 2009 at 1:48

from pam-face-authentication.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024
could you reconnect the cam and try this , or best do a restart

i have never seen this error before , so i am not sure

Original comment by [email protected] on 12 Aug 2009 at 1:51

from pam-face-authentication.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024
I try to reconnect it. Doesn't work. 

Then i try to reboot. Doesn't work. 

Then i try to reconnect it again. Doesn't work. 

I try to use 'cheese' to see if webcam is working i can see the image but i get 
alot of 

libv4lconvert: Error decompressing JPEG: unknown huffman code: 0000fffb
libv4lconvert: Error decompressing JPEG: unknown huffman code: 0000fffb
libv4lconvert: Error decompressing JPEG: unknown huffman code: 0000ffff
libv4lconvert: Error decompressing JPEG: unknown huffman code: 0000fff6
libv4lconvert: Error decompressing JPEG: unknown huffman code: 0000ffff

Don't know if its related, just sending more informations to help. 

I will try to fix this, if i can i will post here. If you have another idea, 
tell me. 


Original comment by [email protected] on 12 Aug 2009 at 2:00

from pam-face-authentication.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024
what webcam do you use


reconnect
and do dmesg
you can get product id and vendor id from there

also the output of lsmod

Original comment by [email protected] on 12 Aug 2009 at 2:04

from pam-face-authentication.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024
after that
do modprobe -r  (gspca or uvcvideo)

and load it again
modprobe (gspca or uvcvideo)

Original comment by [email protected] on 12 Aug 2009 at 2:07

from pam-face-authentication.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024
what kernel version do you use?

also consider updating the kernel

Original comment by [email protected] on 12 Aug 2009 at 2:09

from pam-face-authentication.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024
dmesg

[ 1147.152047] usb 5-2: USB disconnect, address 3
[ 1147.152544] gspca: disconnect complete
[ 1149.516026] usb 5-2: new full speed USB device using uhci_hcd and address 4
[ 1149.709586] usb 5-2: configuration #1 chosen from 1 choice
[ 1149.712301] gspca: probing 0ac8:307b
[ 1150.483236] zc3xx: probe 2wr ov vga 0x7648
[ 1150.602244] zc3xx: probe 3wr vga 1 0x4001
[ 1150.784250] zc3xx: probe sensor -> 7648
[ 1150.784255] zc3xx: Find Sensor OV7648
[ 1150.787401] gspca: probe ok

lsmod:

$ lsmod
Module                  Size  Used by
ipt_REDIRECT           10240  1 
xt_tcpudp              11776  3 
ipt_MASQUERADE         11520  1 
iptable_nat            14724  1 
nf_nat                 30100  3 ipt_REDIRECT,ipt_MASQUERADE,iptable_nat
nf_conntrack_ipv4      24216  3 iptable_nat,nf_nat
nf_conntrack           84752  4 
ipt_MASQUERADE,iptable_nat,nf_nat,nf_conntrack_ipv4
nf_defrag_ipv4         10496  1 nf_conntrack_ipv4
iptable_filter         11392  1 
ip_tables              28304  2 iptable_nat,iptable_filter
x_tables               31624  5
ipt_REDIRECT,xt_tcpudp,ipt_MASQUERADE,iptable_nat,ip_tables
tun                    20868  0 
binfmt_misc            18572  1 
vboxnetadp            107308  0 
vboxnetflt            114796  0 
vboxdrv              1719308  1 vboxnetflt
lp                     19588  0 
gspca_zc3xx            59392  0 
gspca_main             34560  1 gspca_zc3xx
snd_hda_intel         557364  3 
snd_pcm_oss            52352  0 
snd_mixer_oss          24960  1 snd_pcm_oss
compat_ioctl32         18304  1 gspca_main
snd_pcm                99336  2 snd_hda_intel,snd_pcm_oss
snd_seq_dummy          11524  0 
snd_seq_oss            41984  0 
snd_seq_midi           15744  0 
snd_rawmidi            33920  1 snd_seq_midi
snd_seq_midi_event     16512  2 snd_seq_oss,snd_seq_midi
snd_seq                66272  6 
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer              34064  2 snd_pcm,snd_seq
snd_seq_device         16276  5
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
videodev               45184  2 gspca_main,compat_ioctl32
snd                    78792  15
snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,
snd_timer,snd_seq_device
i2c_viapro             17304  0 
v4l1_compat            23940  1 videodev
ppdev                  16904  0 
pcspkr                 11136  0 
soundcore              16800  1 snd
snd_page_alloc         18704  2 snd_hda_intel,snd_pcm
shpchp                 44572  0 
nvidia               8123768  26 
parport_pc             45096  1 
parport                49584  3 lp,ppdev,parport_pc
via_agp                18048  1 
usbhid                 47040  0 
r8169                  46596  0 
mii                    14464  1 r8169
floppy                 75816  0 
fbcon                  49792  0 
tileblit               11264  1 fbcon
font                   17024  1 fbcon
bitblit                14464  1 fbcon
softcursor             10368  1 bitblit

uname -a

Linux x-warrior-desktop 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:58:03 
UTC 2009
x86_64 GNU/Linux


After try modprobe -r uvcvideo and modprobe uvcvideo i got the same problem.

Original comment by [email protected] on 12 Aug 2009 at 2:14

from pam-face-authentication.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024
Do you think i should update my kernel?

Original comment by [email protected] on 12 Aug 2009 at 4:32

from pam-face-authentication.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024
i had issues with 2.6.27 , now i am running .30 , it works smooth
yup update the kernel

Original comment by [email protected] on 12 Aug 2009 at 4:34

from pam-face-authentication.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024
I used this
linux-headers-2.6.30-020630_2.6.30-020630_all.deb

* AMD64: linux-headers-2.6.30-020630-generic_2.6.30-020630_amd64.deb.
* AMD64: linux-image-2.6.30-020630-generic_2.6.30-020630_amd64.deb.

from http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.30/

now: 
$ uname -a
Linux x-warrior-desktop 2.6.30-020630-generic #020630 SMP Wed Jun 10 09:04:38 
UTC
2009 x86_64 GNU/Linux

But i can't use it yet. I already have the same problem, the webcam is 
connected and
it says it isnt. 

I tryed the other things but it doesn't work. 

Any idea? :/


Original comment by [email protected] on 12 Aug 2009 at 6:31

from pam-face-authentication.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024
Hey man,

I formated my computer and installed Ubuntu 9.10 alpha 4 and try again 
verifying all
the steps and now its working for me. 

So, if you need some help talk to me ;) 

See you 

Original comment by [email protected] on 19 Aug 2009 at 3:55

from pam-face-authentication.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024
thats cool ,
You could try if it works with gdm
add line into /etc/pam.d/gdm
auth sufficient pam_face_authentication.so enableX

if this does not work
auth sufficient pam_face_authentication.so gdmlegacy

Original comment by [email protected] on 19 Aug 2009 at 3:59

from pam-face-authentication.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024
I already try it. 

It works sometimes but i receive a lot of 
"Corrupt JPEG data: premature end of data segment"

How many Sets of images is recommended? 

I used "auth sufficient pam_face_authentication.so enableX" now i try 
"auth sufficient pam_face_authentication.so gdmlegacy" and got alot of the same 
error
but i don't see my face in window, so i can't see if its "cool" 



Original comment by [email protected] on 19 Aug 2009 at 4:05

from pam-face-authentication.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024
I changed my webcam position and recreated a facetraine, and use both methods
gdmlegacy and enableX. I get now much sucess then failures. 

but i still receive 

"Face Verification Pluggable Authentication Module Started
Corrupt JPEG data: premature end of data segment
Verifying Face ...
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Verification successful."


Another question, if i want that 2 people have access to this account, i create 
one
set to each people?




Original comment by [email protected] on 20 Aug 2009 at 4:30

from pam-face-authentication.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024
yes, you can create a set or more (under different illumination) sets for each 
person
, it should work

Original comment by [email protected] on 20 Aug 2009 at 7:18

from pam-face-authentication.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024

Original comment by [email protected] on 8 Jul 2010 at 11:00

  • Changed state: Fixed

from pam-face-authentication.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.