 |
 |
 |
 |
| Guides & Solutions (No Questions) Post your guides here (No links to Blogs accepted). You can also append your comments/questions to a guide, but don't start a new thread to ask a question. Use another forum for that. |

29th April 2010, 05:21 AM
|
|
Registered User
|
|
Join Date: Feb 2009
Posts: 70

|
|
|
Pam Face Authentication
You may or may not of heard of this project.
But I have made an RPM to install this software.
This software was developed by Rohan Anil and his project is on http://code.google.com/p/pam-face-authentication/.
This will install the module and try (still a few bugs here) and set up GDM.(Removed from FC12 onward in case program stops working)
You can find it here.
http://www.sjdsoft.hk/myyum/rpm/free...c11.x86_64.rpm
Or you can set up my repo with this
http://www.sjdsoft.hk/myyum/fedora/S...nal.noarch.rpm
and install using
yum install pam-face-authentication-gdm
or using add remove software utility.
Setup notes:
Make sure you run qt-facetrainer to set up your face.
If you can not see the camera window on login you may need to set SELinux to permissive. Any help on setting up a policy module for this program would be a great help.
Check /etc/pam.d/gdm-password
Make sure that ..
auth sufficient /lib/security/pam_face_authentication.so enableX
is before
auth substack password-auth
To set up su to use pam-face-authentication add at the top ...
auth sufficient /lib/security/pam_face_authentication.so enableX
to
/etc/pam.d/su
It also works with the screensaver but there is no preview window.
Have fun and enjoy.
Report packaging errors to me and any bugs to http://code.google.com/p/pam-face-au...on/issues/list
Steven
Last edited by stevenjd13; 6th April 2011 at 10:20 AM.
Reason: Adjusted name
|

6th May 2010, 07:22 AM
|
|
Registered User
|
|
Join Date: Feb 2009
Posts: 70

|
|
|
Re: Pam Face Authentication FC11 x86_64
Still working on setting up for F12 and F13 but in the mean time you can use this script.
http://www.sjdsoft.hk/myyum/face-setup.sh
Steven
|

13th May 2010, 10:36 AM
|
|
Registered User
|
|
Join Date: Feb 2009
Posts: 70

|
|
|
Re: Pam Face Authentication FC11 x86_64
Stop press:
This will not work with the newer opencv I have manged to compile and create a compat library for opencv.
Download my repo to install on fc11 and f12 (F13 will be soon). (64bit only)
1. Download and install my repo here
http://www.sjdsoft.hk/myyum/fedora/S...nal.noarch.rpm
2. Through addremove programs search for "pam-face"
this will bring in opencv-compat-1.0.0.15
Now update gdm-password and su as above
Steven
|

2nd October 2010, 06:24 PM
|
|
Registered User
|
|
Join Date: Aug 2010
Posts: 10

|
|
|
Re: Pam Face Authentication FC11 x86_64
Fedora 13??? when? How?
|

13th October 2010, 12:47 AM
|
|
Registered User
|
|
Join Date: Feb 2009
Posts: 70

|
|
|
Re: Pam Face Authentication FC11 x86_64
Sorry for the delay, I have tested the F12 packages against F13 and all ok, today I will tfr to the f13 repo, I will rename them in due course.
Sorry.
To download manually goto http://sjdsoft.hk/myyum/rpm/free/12/x86_64/ and download and install. Then set up like above.
Steven
|

13th October 2010, 08:36 PM
|
|
Registered User
|
|
Join Date: Aug 2010
Posts: 10

|
|
|
Re: Pam Face Authentication FC11 x86_64
Thanks it's worked, for gdm-password but SU get this message:
Verifying Face ...
Giving Up Face Authentication. Try Again = (
Sorry my bad english..
|

14th October 2010, 12:32 AM
|
|
Registered User
|
|
Join Date: Feb 2009
Posts: 70

|
|
|
Re: Pam Face Authentication FC11 x86_64
Glad you got it working to some degree
For su can you give me some details.
1. Do you see a authentication window for your face?
2. (I know you probably have checked this already). Is the line
auth sufficient /lib/security/pam_face_authentication.so enableX
at the top of '/etc/pam.d/su'?
If both of these are correct then try the following.
1. Re-run qt-facetrainer and create another profile or two
2. Check using the advanced tab to check that your face is recognized.
3. Ensure that there is enough lighting. The program does not recognize your face properly if the lighting changes too much.
If this does not help and you think this is a bug put a ticket in http://code.google.com/p/pam-face-au...on/issues/list.
Have fun
Steven
|

17th November 2010, 12:21 AM
|
|
Registered User
|
|
Join Date: Mar 2010
Posts: 76

|
|
|
Re: Pam Face Authentication FC11 x86_64
Will this work on F14?
|

18th November 2010, 12:56 PM
|
|
Registered User
|
|
Join Date: Feb 2009
Posts: 70

|
|
|
Re: Pam Face Authentication FC11 x86_64
I do not see any reason why not. I have not tried still running 13.
Try the f12 packages tell if it works
Steven
|

18th November 2010, 07:41 PM
|
|
Registered User
|
|
Join Date: Nov 2009
Posts: 2

|
|
|
Re: Pam Face Authentication FC11 x86_64
i'm currently running pam-face-authentication in 2 laptops and a netbook (all in fedora14), i didn't use this rpm, i built it myself with the next commands:
Code:
mkdir /usr/share/pam-face-auth
cd /usr/share/pam-face-auth
wget http://dl.dropbox.com/u/2848046/pam.tar.gz
tar xvzf pam.tar.gz
rm -rf pam.tar.gz
cd pam-face-authentication-0.3
mkdir build
cd build
yum -y install cmake cmake-gui qt-creator mingw32-qt-qmake opencv* php-facedetect pam pam-devel
cmake -D CMAKE_INSTALL_PREFIX=/usr ..
make
make install
sed -i '1i auth sufficient /lib/security/pam_face_authentication.so enableX' /etc/pam.d/su
sed -i '1i auth sufficient /lib/security/pam_face_authentication.so enableX' /etc/pam.d/sudo
sudo sed -i '1i auth sufficient /lib/security/pam_face_authentication.so enableX' /etc/pam.d/gdm
sudo sed -i '1i auth sufficient /lib/security/pam_face_authentication.so enableX' /etc/pam.d/gdm-password
sudo sed -i '1i auth sufficient /lib/security/pam_face_authentication.so enableX' /etc/pam.d/gnome-screensaver
I'm not sure if opencv* is needed but at least one of them is, after a reboot all login, su, sudo, and unlock after suspend uses pam-face-auth
you can note that the source is downloaded from my dropbox, that's because i'm a litle paranoic and don't want to risk loosing it
|

12th February 2011, 07:38 PM
|
|
Registered User
|
|
Join Date: Feb 2011
Posts: 1

|
|
Re: Pam Face Authentication FC11 x86_64
Working nicely on Fedora 14 x86_64.
Downloaded from:
http://sjdsoft.hk/myyum/rpm/free/12/x86_64/
Then did:
Quote:
|
yum --nogpgcheck install pam-face-authentication-gdm-0.3-fc12.x86_64.rpm opencv-compat-1.0.0.15-fc12.x86_64.rpm
|
Followed through with the changes for PAM as described above.
When doing "su -" it's so fast I don't even see the pop-up window sometimes.
|

12th February 2011, 10:08 PM
|
|
Registered User
|
|
Join Date: Jun 2005
Posts: 21

|
|
|
Re: Pam Face Authentication FC11 x86_64
hi,
I'm on 32bit arch, where I can get source rpms so I can recompile them?
thnx
|

26th February 2011, 01:39 AM
|
|
Registered User
|
|
Join Date: Feb 2011
Posts: 1

|
|
|
Re: Pam Face Authentication FC11 x86_64
Quote:
Originally Posted by stevenjd13
You may or may not of heard of this project.
But I have made an RPM to install this software.
This software was developed by Rohan Anil and his project is on http://code.google.com/p/pam-face-authentication/.
This will install the module and try (still a few bugs here) and set up GDM.(Removed from FC12 onward in case program stops working)
You can find it here.
http://www.sjdsoft.hk/myyum/rpm/free...c11.x86_64.rpm
Or you can set up my repo with this
http://www.sjdsoft.hk/myyum/fedora/S...nal.noarch.rpm
and install using
yum install pam-face-authentication-gdm
or using add remove software utility.
Setup notes:
Make sure you run qt-facetrainer to set up your face.
If you can not see the camera window on login you may need to set SELinux to permissive. Any help on setting up a policy module for this program would be a great help.
Check /etc/pam.d/gdm-password
Make sure that ..
auth sufficient /lib/security/pam_face_authentication.so enableX
is before
auth substack password-auth
To set up su to use pam-face-authentication add at the top ...
auth sufficient /lib/security/pam_face_authentication.so enableX
to
/etc/pam.d/su
It also works with the screensaver but there is no preview window.
Have fun and enjoy.
Report packaging errors to me and any bugs to http://code.google.com/p/pam-face-au...on/issues/list
Steven
|
Great tutorial !! It's working on runlevel 5 !!
I've have a question, if I start my system on runlevel 3 it does not work, how can I activate pam face authentication to work in this runlevel ?
By the way --- I've tested this on Ubuntu and it also works on text mode ... it's just that I like better Fedora !!!
|

14th March 2011, 05:11 AM
|
|
Registered User
|
|
Join Date: Mar 2011
Posts: 8

|
|
|
Re: Pam Face Authentication FC11 x86_64
Hi,
i am a final year BE student. i am working on the ehci-0.6 library for tracking the the face in fedora 13 in vmware. i am able to compile the code but couldnot run the sample programs.i am facing the same program as posted by u.The error s as follows
(<unknown>:5940): GStreamer-CRITICAL **:
Trying to dispose element appsink1, but it is in READY instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.
(<unknown>:5940): GStreamer-CRITICAL **:
Trying to dispose element ffmpegcsp1, but it is in READY instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.
(<unknown>:5940): GStreamer-CRITICAL **:
Trying to dispose element fakesink, but it is in READY instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.
(<unknown>:5940): GStreamer-CRITICAL **:
Trying to dispose element typefind, but it is in READY instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.
(<unknown>:5940): GStreamer-CRITICAL **:
Trying to dispose element decodebin1, but it is in READY instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.
(<unknown>:5940): GStreamer-CRITICAL **:
Trying to dispose element capsfilter0, but it is in READY instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.
(<unknown>:5940): GStreamer-CRITICAL **:
Trying to dispose element appsink2, but it is in READY instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.
(<unknown>:5940): GStreamer-CRITICAL **:
Trying to dispose element ffmpegcsp2, but it is in READY instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.
(<unknown>:5940): GStreamer-CRITICAL **:
Trying to dispose element fakesink, but it is in READY instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.
(<unknown>:5940): GStreamer-CRITICAL **:
Trying to dispose element typefind, but it is in READY instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.
(<unknown>:5940): GStreamer-CRITICAL **:
Trying to dispose element decodebin2, but it is in READY instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.
OpenCV Error: Unspecified error (unicap: failed to get info for device
) in CvCapture_Unicap::initDevice, file /builddir/build/BUILD/OpenCV-2.0.0/src/highgui/cvcap_unicap.cpp, line 139
terminate called after throwing an instance of 'cv::Exception'
Aborted (core dumped)
and when i tried running cd samples/simple2d. the error i am facing is "couldnot initialise tha capturing"
can u please suggest me to overcome this kind of error.
|

17th March 2011, 12:09 PM
|
|
Registered User
|
|
Join Date: Mar 2011
Posts: 8

|
|
|
Re: Pam Face Authentication FC11 x86_64
Hi,
i am a final year BE student. i am working on the ehci-0.6 library for tracking the the face in fedora 13 in vmware. i am able to compile the code but couldnot run the sample programs.i am facing the same program as posted by u.The error s as follows
After I compile the program
cd ehci-0.6
./configure
make
I am able to do the above with out any errors. Later when try running samples
I am getting the below errors
cd samples
make
./simple2d
(<unknown>:5940): GStreamer-CRITICAL **:
Trying to dispose element appsink1, but it is in READY instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.
(<unknown>:5940): GStreamer-CRITICAL **:
Trying to dispose element ffmpegcsp1, but it is in READY instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.
OpenCV Error: Unspecified error (unicap: failed to get info for device
) in CvCapture_Unicap::initDevice, file /builddir/build/BUILD/OpenCV-2.0.0/src/highgui/cvcap_unicap.cpp, line 139
terminate called after throwing an instance of 'cv::Exception'
Aborted (core dumped)
and but ven tried using
./samples/simple2d
the error i am facing is "couldnot initialise tha capturing"
can u please suggest me to overcome this kind of error.
blank window opens and goes on showing the error mentioned above and ends ven given ctrl + c.
the expected output to open a window and display the capture the person present in front of the webcam and print d coordinates of the face captured
If you need further more details I can provide you regarding the project and error.
Thanking you
niveditha
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 22:50 (Saturday, 25-05-2013)
|
|
 |
 |
 |
 |
|
|