{"id":20207310,"url":"https://github.com/keera-studios/keera-posture","last_synced_at":"2025-04-10T12:33:47.580Z","repository":{"id":2534165,"uuid":"3511070","full_name":"keera-studios/keera-posture","owner":"keera-studios","description":"Alleviate your back pain using Haskell and a webcam","archived":false,"fork":false,"pushed_at":"2020-08-24T11:08:33.000Z","size":494,"stargazers_count":49,"open_issues_count":5,"forks_count":3,"subscribers_count":10,"default_branch":"develop","last_synced_at":"2025-03-24T11:21:19.311Z","etag":null,"topics":["back-pain","camera","haskell","health","healthcare","multimedia","opencv","pain","rsi"],"latest_commit_sha":null,"homepage":"","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/keera-studios.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-02-22T03:36:01.000Z","updated_at":"2025-02-25T22:56:37.000Z","dependencies_parsed_at":"2022-08-28T06:11:35.556Z","dependency_job_id":null,"html_url":"https://github.com/keera-studios/keera-posture","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keera-studios%2Fkeera-posture","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keera-studios%2Fkeera-posture/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keera-studios%2Fkeera-posture/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keera-studios%2Fkeera-posture/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/keera-studios","download_url":"https://codeload.github.com/keera-studios/keera-posture/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248217146,"owners_count":21066633,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["back-pain","camera","haskell","health","healthcare","multimedia","opencv","pain","rsi"],"created_at":"2024-11-14T05:28:27.315Z","updated_at":"2025-04-10T12:33:47.557Z","avatar_url":"https://github.com/keera-studios.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Welcome to Keera Posture\n\nThis application tries to detect your posture while you sit and warns you when\nit deviates too much from a reference posture given during configuration. It\nmay be used, among other things, to help you detect when you are sitting in a\nstraining position.\n\nWARNING: No promises are made about this program. If you use it, you'll do so\nunder your own risk. This program might make your computer explode, kill your\ncat, or make your back pain problems worse. Use it with care and under medical\nsupervision only. Report any issues with the program to Keera Studios by email,\nfacebook, linkedin or google plus. It is best used in combination with programs\nthat force you to take regular breaks, stretch, etc. By continuing to use\nkeera-posture, you are agreeing not to sue us or Keera Studios Ltd.\n\n# INSTALLATION (default)\n\nKeera Posture is available on hackage. Unless you need the latest development\nversion, the recommended way is to install the version there.\n\nInstall C/C++ development headers. That includes gtk, sdl, opengl, opencv.\n\nThen:\n```\n$ cabal sandbox init\n$ cabal update\n$ cabal install gtk2hs-buildtools\n$ export PATH=$PWD/.cabal-sandbox/bin:$PATH\n$ cabal install keera-posture\n```\n\n# INSTALLATION ON DEBIAN (the not-so-easy way; but still quite easy)\n\nYou need to have git, cabal and ghc installed. Everything else will\nbe installed for you. You also need to run sudo (at least once) so that the script\ncan sudo without a password whenever it needs to.\n\nAll you need is:\n\n    $ mkdir -p keera-posture \u0026\u0026 cd keera-posture \u0026\u0026 (wget -O- https://raw.githubusercontent.com/keera-studios/keera-posture/master/debian/package-from-scratch.sh | bash)\n\nThis will create all the necessary directories, check out all sources, prompt\nto install dependencies, compile the whole program, and create a DEB file for your\narchitecture and version of debian/ubuntu. If it works, install that.\n\n# COMPILATION ON OTHER LINUX/UNIX SYSTEMS (not so easy, not so hard)\n\nAgain, you need to have ghc, cabal, cabal-dev and git. You also need some\nlibraries installed (GL, SDL, SDL-mixer, FTGL, OpenCV, Gtk2, Glade2). The list\nfor debian systems is:\n\n- libopencv-dev libglade2-dev libgl-dev libglu1-mesa-dev libftgl-dev libsdl1.2-dev libsdl-mixer1.2-dev \n\nI don't use Fedora, so you have to find which ones are yours. Then, run the following:\n\n    $ mkdir -p keera-posture \u0026\u0026 cd keera-posture \u0026\u0026 (wget -O- https://raw.githubusercontent.com/keera-studios/keera-posture/master/installation.sh | bash)\n\nThis will check out, compile and install everything you need.\n\n# DOING EVERYTHING BY HAND (only for developers)\n\nDependencies (tools):\n- alex (gtk2hs-buildtools), happy (gtk2hs-buildtools), gtk2hs-buildtools.\n\nDependencies (libraries):\n- libopencv-dev libglade2-dev libgl-dev libglu1-mesa-dev libftgl-dev\n  libsdl1.2-dev libsdl-mixer1.2-dev \n\n (If you use debian/ubuntu, you can install all of those with apt-get)\n\nInstallation instructions (for ubuntu, but the program is known to work on Windows):\n\n```\n    $ apt-get install cabal-install ghc libopencv-dev libglade2-dev libgl-dev libglu1-mesa-dev libftgl-dev libsdl1.2-dev libsdl-mixer1.2-dev\n    $ cabal sandbox init\n    $ cabal update\n    $ export PATH=$PWD/.cabal-sandbox/bin:$PATH\n    $ cabal install alex happy gtk2hs-buildtools\n    $ cabal install keera-posture\n```\n\nKeera posture will be installed in keera-posture/cabal-dev/bin/keera-posture. If you want to create a desktop launcher, https://raw.github.com/keera-studios/keera-posture/master/data/icon-good-posture.png can make a good icon.\n\nPlease, go to your preferred social network and like Keera Studios, share our posts, follow us, tell all your friends about it. Record a video of you using the program, and upload it to youtube.\n\n# Calibration\n\nThe first time you run the program, you have to calibrate it. Just sit how you\nthink you should sit (and consult a physician if you don't know how to sit\nproperly) and right-click on its icon, and click on \"Calibrate\". Follow the\nassistant, and the program will detect you and record your position.\n\nAfter that, the position will be saved in a config file and the program will\nwarn you (using sound, a window and/or changing the tray icon) when your\nposture is too different from what it was when you calibrated the program.\n\nTest the program. The placement of your webcam and the amount of light\nin the room can influence the accuracy of this system, so feel free to\nexperiment and find out how to get better results. Also, if you can think of\nnew features that might be useful, go online and open a ticket on the program's\ngithub page.\n\n# References\n\nKeera Hails - Reactive Values: https://github.com/keera-studios/hails-reactivevalues\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeera-studios%2Fkeera-posture","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkeera-studios%2Fkeera-posture","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeera-studios%2Fkeera-posture/lists"}