[Koha-bugs] [Bug 6815] Capture member photo via webcam

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Apr 26 02:11:56 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6815

--- Comment #10 from M. Tompsett <mtompset at hotmail.com> ---
Created attachment 38518
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=38518&action=edit
Bug 6815: Capture picture from web cam

This enhancement gives the librarian the ability to capture
a photo from a webcam attached to the Koha server.

It does this by adding a 'Capture' button to the member details
page. This button is only visible if there is likely a webcam.
This is determined by if /dev/video{something} exists.

This also corrects the functionality of the delete button, which
is broken, because borrowernumber and cardnumber got mixed up.

This requires the package streamer be installed:
    $ sudo apt-get install streamer
Additionally, I had to add www-data to the video group.
    $ sudo addgroup www-data video

TEST PLAN
---------
 1) Back up DB.
 2) Have a picture file available for uploading.
 3) Find a particular patron
 4) Upload the picture file on hand.
    -- should work fine.
 5) Delete the patron picture.
    -- fails.
 6) Apply patch.
 7) Delete the patron picture.
    -- success
 8) Upload the patron picture again.
    -- success
 9) Check for Capture button.
    a) plug in it and refresh page
       -- capture button should be there.
    b) unplug it and refresh page
       -- capture button should not be there.
    c) plug it back in and refresh
10) Make a strange face, hold it, and click 'Capture'
    -- a few seconds later the page should refresh
       with your face.
11) Restore DB
12) run koha qa test tools.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list