KCM webcam support
Various KDE Extensions
Score 78%
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:

7 years ago

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)

maxxs

7 years ago

Thanks dude

Report

jmiahman

7 years ago

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

Report

jmiahman

7 years ago

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.

Report

C

f3lip3

7 years ago

Thanks for your comments, I will check this

Report

mikala

7 years ago

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

Regards,

Report

C

f3lip3

7 years ago

Great, I think it just needs a little change

Report

C

f3lip3

7 years ago

Solved :)

Report

neoclust

7 years ago

Nice modifications.

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

Report

neoclust

7 years ago

forget i missed the reviewboard part :)

Report

mikala

7 years ago

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,

Report

C

f3lip3

7 years ago

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

Report

mikala

7 years ago

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.

Report

C

f3lip3

7 years ago

Does anyone else have this problem?

Report

Supreme1012

7 years ago

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?

Report

C

f3lip3

7 years ago

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

Report

C

f3lip3

7 years ago

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?

Report

cyberbeat

7 years ago

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.

Report

C

f3lip3

7 years ago

Thanks, up to date this is solved :)

Report

BruceCadieux

7 years ago

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.

Report

plaristote

7 years ago

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

Report

C

f3lip3

7 years ago

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

Report

panda84

7 years ago

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

Report

Typhoner

7 years ago

Think kde-core-devel is more appropriate.

Report

7 years ago

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)

product-maker 7 39

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
0.2.2.1
updated Mar 20 2010
added Jan 30 2010
downloads today
0
page views today 1