Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Measure the Future @ Computers in Libraries 2018

Measure the Future @ Computers in Libraries 2018

Presentation from Computers in Libraries, delivered Apr 19, 2018

Jason Griffey

April 19, 2018
Tweet

More Decks by Jason Griffey

Other Decks in Education

Transcript

  1. Nex-Gen Use Metrics for Libraries
    http://measurethefuture.net
    @measure_future

    View Slide

  2. TYPICAL STATS
    ▸ Gate Count
    ▸ Circulation Count
    ▸ # of Reference Interactions
    ▸ # of Classes Taught
    ▸ Website Visits

    View Slide

  3. ATTENTION
    MEASUREMENT

    View Slide

  4. GOOGLE
    ANALYTICS FOR
    YOUR BUILDING

    View Slide

  5. OPEN
    HARDWARE &
    SOFTWARE

    View Slide

  6. O P E N H A R D WA R E
    O N E

    View Slide

  7. O P E N S O U R C E S O F T WA R E
    T W O
    Photo by toolmantim - http://flic.kr/p/apgafX

    View Slide

  8. GEN 1

    View Slide

  9. SCOUT

    View Slide

  10. View Slide

  11. GEN 2

    View Slide

  12. View Slide

  13. View Slide

  14. MOTHERSHIP

    View Slide

  15. View Slide

  16. GEN 3 -
    ALPHA

    View Slide

  17. View Slide

  18. GEN 4 -
    BETA

    View Slide

  19. View Slide

  20. MEASURE THE FUTURE BETA
    HARDWARE STACK
    ▸ Raspberry Pi 3 Model B
    ▸ Adafruit RPi Realtime Clock Module
    ▸ Logitech C525 Webcam
    ▸ 3D printed case
    ▸ 2.5 Amp USB Micro power supply

    View Slide

  21. SOFTWARE

    View Slide

  22. MEASURE THE FUTURE BETA
    DEVELOPMENT STACK
    ▸ Raspian Linux
    ▸ Go
    ▸ OpenCV
    ▸ React.js
    ▸ Postgres

    View Slide

  23. HTTPS://GITHUB.COM/
    MEASURETHEFUTURE

    View Slide

  24. HOW IT
    WORKS

    View Slide

  25. Raw Footage
    Background Removal
    Noise Filtering
    Contour Detection & Object Tracking

    View Slide

  26. View Slide

  27. View Slide

  28. BETA FEATURES
    ▸ Attention measurement/
    Heatmap
    ▸ People count
    ▸ Raw data available via JSON

    View Slide

  29. PRIVACY
    ▸ No photo or video of patrons is
    saved
    ▸ All communication is secured
    ▸ Collapsing single-stat areas
    ▸ 15 Minute reporting blocks

    View Slide

  30. View Slide

  31. View Slide

  32. View Slide

  33. View Slide

  34. View Slide

  35. View Slide

  36. View Slide

  37. MORE WITH DATA

    View Slide

  38. MORE WITH DATA

    View Slide

  39. View Slide

  40. DATA

    View Slide

  41. SCOUT.INTERACTIONS
    Contains an array of interactions, one for each visitor interaction detected by the system.

    {

    "Id": 2,

    "ScoutId": 1,

    "Duration": 3.1874993,

    "Waypoints": [[976,375],[1120,208],[1626,301]],

    "WaypointWidths": [[178,323],[176,207],[162,300]],

    "WaypointTimes": [7.642e-06,1.5644069,3.1874993],

    "Processed": true,

    "EnteredAt": "2016-09-16T20:15:00Z"

    }

    • Id Is a database identifier for the interaction. This is automatically generated by the database.

    • ScoutId Is used to match the interaction with the source scout. The corresponding scout in scouts.json will have the same Id.

    • Duration This is the total amount of time (in seconds) that the scout observed this interaction occurring.

    • Waypoints Is the path (in pixels) that the interaction took through the calibration frame. The address [0,0] corresponds with the top-left
    corner of the image.

    • WaypointWidths This is the matching size (in pixels) of the interaction at each step along the path 'Waypoints'. The size of
    WaypointWidths and Waypoints will always be the same.

    • WaypointTimes The offset time (in seconds) from 'EnteredAt' that each step along the path in waypoint occurred.

    • Processed Has this interaction been 'processed' and included as part of the summary as defined in scout_summaries.json?

    • EnteredAt The time the interaction begun. This date/time is in UTC and deliberately rounded to the nearest 15 minutes. The rounding is
    an additional privacy protection measure, clumping multiple interactions into occurring at the same time. This to make it more difficult
    to cross-reference interaction data with other sources of metadata.

    View Slide

  42. ALPHA
    LESSONS

    View Slide

  43. BETA PARTNERS
    ▸ University of Rochester
    ▸ Carnegie Library - Pittsburgh
    ▸ Boston University Law
    ▸ SUNY Potsdam
    ▸ Meridian Public Library
    ▸ New York Public Library
    ▸ Merrick Public Library

    View Slide

  44. S M A R T B U I L D I N G
    Photo by KTH Biblioteket - http://flic.kr/p/7Pesb4

    View Slide

  45. A / B T E S T S PA C E S
    Photo by DaveBleasdale - http://flic.kr/p/nNZRV

    View Slide

  46. E VA L U AT E Y O U R S TA C K S
    Photo by ocegep - http://flic.kr/p/crdH8s

    View Slide

  47. P L A N Y O U R S TA F F I N G
    Photo by infomatique - http://flic.kr/p/qkS3BQ

    View Slide

  48. A N S W E R T H E
    F U N D I N G Q U E S T I O N S

    View Slide

  49. BY LIBRARIANS
    FOR
    LIBRARIANS

    View Slide

  50. HTTP://
    MEASURETHEFUTURE.NET/
    PUBLICBETA

    View Slide

  51. QUESTIONS?

    View Slide

  52. J A S O N G R I F F E Y
    P H O T O C R E D I T: C I N D I B LY B E R G
    F O U N D E R / P R I N C I PA L C O N S U LTA N T
    E V E N LY D I S T R I B U T E D L L C
    H T T P : / / E V E N LY D I S T R I B U T E D . N E T
    M E A S U R E T H E F U T U R E
    H T T P : / / M E A S U R E T H E F U T U R E . N E T
    A F F I L I AT E
    B E R K M A N C E N T E R F O R I N T E R N E T & S O C I E T Y
    H A R VA R D U N I V E R S I T Y
    J G R I F F E Y @ C Y B E R . H A R VA R D . E D U
    H T T P : / / J A S O N G R I F F E Y. N E T
    T H E L I B R A RY B O X P R O J E C T
    H T T P : / / L I B R A RY B O X . U S

    View Slide