Skip to content

ubi-naist/Fitbit-Annotator

Repository files navigation

Fitbit-Annotator

Event Annotator for Fitbit Sense 2 and Versa 4.

SDK-toolchain(7.2.0) and SDK-cli(1.8.0) master versions are now compatible with Versa 4 and Sense 2 devices.

Activity and emotional annotator for Fitbit devices.

The main application fill color is used to show toggleable activities, i.e. activities that have a known start and end time.

Secondary application fill color is set for buttons that log out time ambiguous states like emotions (e.g. to log out a moment when the user feels happy or sad).

InterfaceDemonstration

Currently supported screen sizes: Sense 2.

Progress:

  • Interface
    • Buttons functionality
    • Toggle buttons functionality
    • i18n localization translations (en, es, jp)
    • Event handling
  • Activity logging
    • Heart-beat logging (or use intraday data from Web API)
    • Accelerometer / Gyroscope second resolution data
    • Activity annotation logging (actions of the buttons)
      • Corresponding instant data
    • Smartphone data export ("companion" code)

Icons

The icons are grayscale versions from the 128x128 png drawings of Google's Open Source "Noto Emoji" font.

If you want to create new buttons using Noto Emoji emoticons, you must convert the original PNG icons to 8-bit grayscale png images. This will allow the transparency/colorizing functionality shown in the app.

Using the imagemagick library and terminal application convert you can easily convert them with the following command:

    # To convert only one image
    convert original.png -colorspace gray -resize 72 new.png

    # To convert all images in one directory
    mkdir 72px  # creating output directory
    find . -iname '*.png' -exec bash -c 'convert "{}" -colorspace gray -resize 72 "./72px/{}"' \;  # find all png images and executing convert on each of them

Current emojis used as Icons for Activities:

    emoji_u1f3cb  Exercise
    emoji_u1f46a  Being with others
    emoji_u1f3ae  Playing vgames
    emoji_u1f3e2  Working
    emoji_u1f4fa  Watching a show
    emoji_u1f622  Crying
    emoji_u1f923  Having fun
    emoji_u1f623  Anxious
    emoji_u1f973  Aroused emotion
    emoji_u1f37d  Eating
    emoji_u1f6b6  Going out (walking)
    emoji_u1f486  Relaxing

Contact

Inquiries: sergio.de.leon@ ubilab's domain .com