Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

4
Become a Fan
5.0

Available as/for:
Description:
This is a modified version of Password & User Account section in System Settings, add webcam support for user image. This modification is based on Opencv library basically because it is multiplatform.

Is tested in KDE 4.4 (4.4.1)

Compile as tipical KDE application.
Extract files with
tar -xzf kcm.tar.gz

Enter to kcm directory
cd kcm/

Create a build directory
mkdir build

Exectue cmake:
cmake -DCMAKE_INSTALL_PREFIX=/usr ..

Then excute make

and finally install

make install (as root)

Enjoy!


IMPORTANT: In order to compile this files you need the OpenCV module, you can download from http://opencv.willowgarage.com/wiki/Getting_started?action=AttachFile&do=view&target=FindOpenCV.cmake

NOTE: When compiling you could have problems with a cvconfig.h, apparently this is a OpenCV bug but only need copy this file to your OpenCV's include directory.
Last changelog:

Version 0.2.2.1
- Bug fix: If no webcam detected the "From Cam" button is disabled (thank to Nicolas Lécureuil).
Version 0.2.2
- Fix bug with ~/.faces directory, now when you take a photo and the folder does not exist this is created. (thanks to mikala and jmiahman).

- Now add picture from webcam uses the same method as when add image from file

Version 0.2.1
- This new version fix a bug that occurred when you delete an image and then add new image from cam.

- New dialog for webcam (see the second screenshot).

- Allow select different webcams (using Solid)


Ratings & Comments

23 Comments

maxxs

Thanks dude

jmiahman

For some reason the Image is not saving after I enter in the name. If I run: kcmshell4 kcm_useraccount as user I get: mmap: Invalid argument munmap: Invalid argument munmap: Invalid argument munmap: Invalid argument munmap: Invalid argument Unable to stop the stream.: Bad file descriptor munmap: Invalid argument munmap: Invalid argument munmap: Invalid argument munmap: Invalid argument I'm running Mandriva OpenCV 2.0 and using a UVC based Webcam

jmiahman

I went ahead and added a picture from the system and now it works. Looks like it may not be generating the userFaceDir if one doesn't exist?? Not sure. Something to look into.

f3lip3

Thanks for your comments, I will check this

mikala

i can confirm :p i created the folder ~/.face & not ~/.faces with the last one it's of course working like a charm :) Regards,

f3lip3

Great, I think it just needs a little change

f3lip3

Solved :)

neoclust

Nice modifications. Why don't you propose your great work to be used in main KDE ?

neoclust

forget i missed the reviewboard part :)

mikala

Hello, i tested this app under kde 4.4.1 (mdv 2010.1) without success: it's recognizing my webcam, i'm able to take a screenshot, to save it (well at least it's asking for the file name) but after nothing happends : the avatar does not change According to systemsettings configuration, kde is supposed to use by default user's avatar Regards,

f3lip3

Hi, is very weird. When you take a picture does this appear with the rest of the images? you also check if the picture is saved in ~/.face directory

mikala

the picture does not appears with others. either more there 's no pic saved in ~/.face which did not exist initially after creating this folder it still does not save inside this folder.

f3lip3

Does anyone else have this problem?

Supreme1012

I would suggest you change it to say profile instead of face. When I saw the screenshots I was immediately struck by how weird it was to read that the program would "change my face". At that point, I thought to myself, do I really want to use this program?

f3lip3

The window title "Chage your face" and "select a new face" are not my responsability, this are original window title in KCM

f3lip3

I have some problems with review board, apparently the file header of my patch files is incorrect or not supported. I have something like this: chfacedlg.h 2010-02-03 01:38:50.714194628 -0300 chfacedlg.h 2010-01-30 18:23:05.000000000 -0300 And Review board needs something like this: http.cpp (revision 1083209) http.cpp (working copy) I use diff -u -p someone can help me?

cyberbeat

try to use the command svn diff instead. It always produced the output required by reviewboard for me. but you need your changes based on an svn checkout from the original kcm module.

f3lip3

Thanks, up to date this is solved :)

BruceCadieux

It would be nice if developers included a set of installation instructions. There was a time when just about every package included some basic install and configuration instructions. The lack of such severely limits the number of people who would use and try new software.

plaristote

Is this going to be implemented ? Because it should =) ! Very nice work !

f3lip3

I send the patch to kde-devel mailing list, but I had no response...

panda84

Try asking again, it needs to get in! :) Maybe using reviewboard will help the process of reviewing it...

Typhoner

Think kde-core-devel is more appropriate.

Pling
0 Affiliates
Details
license
version 0.2.2.1
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 2

Other Various KDE 1.-4. Improvements:

Slicker Debian Package for Woody
cirrusgr
last update date: 22 years ago

Score 5.0

Konqueror/kdesktop suggestion
PovMan
last update date: 22 years ago

Score 5.0

Biiig buttons
dbojan
last update date: 20 years ago

Score 5.0

Yet Another KControl
Frans
last update date: 21 years ago

Score 5.0

Next window and next/previos window
dbojan
last update date: 20 years ago

Score 5.0

Fantasie Toolbar
katoe
last update date: 20 years ago

Score 5.0