{"id":13744101,"url":"https://github.com/caleb221/Simple-Pi-Fever-Detection-RM402-","last_synced_at":"2025-05-09T02:32:32.287Z","repository":{"id":217226636,"uuid":"162010997","full_name":"caleb221/Simple-Pi-Fever-Detection-RM402-","owner":"caleb221","description":"I used a raspberry pi with an IR camera to build a small scale fever detection web app. Heres all the code I used to do it. ","archived":false,"fork":false,"pushed_at":"2020-06-19T05:22:59.000Z","size":849,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-03T05:03:03.653Z","etag":null,"topics":["infrared-control","iot","nodejs","raspberry-pi","smartthings","webapp"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/caleb221.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-12-16T14:48:30.000Z","updated_at":"2024-08-03T05:03:04.830Z","dependencies_parsed_at":null,"dependency_job_id":"e5e08196-ad27-423a-bdd7-0557bb9b9b2c","html_url":"https://github.com/caleb221/Simple-Pi-Fever-Detection-RM402-","commit_stats":null,"previous_names":["caleb221/simple-pi-fever-detection-rm402-"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caleb221%2FSimple-Pi-Fever-Detection-RM402-","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caleb221%2FSimple-Pi-Fever-Detection-RM402-/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caleb221%2FSimple-Pi-Fever-Detection-RM402-/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caleb221%2FSimple-Pi-Fever-Detection-RM402-/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/caleb221","download_url":"https://codeload.github.com/caleb221/Simple-Pi-Fever-Detection-RM402-/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224802960,"owners_count":17372540,"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":["infrared-control","iot","nodejs","raspberry-pi","smartthings","webapp"],"created_at":"2024-08-03T05:01:03.086Z","updated_at":"2024-11-15T15:31:46.823Z","avatar_url":"https://github.com/caleb221.png","language":"HTML","funding_links":[],"categories":["HTML"],"sub_categories":[],"readme":"# Hello!\n\n\nThis is a standalone IoT (Internet of Things) web app that connects users to a live feed of an Infrared Camera.\n\n\nIt also attempts to take the user's temperature and inform them if they have a fever\n\n\nA small scale study accompanied this project with users feedback concerning the usability of the device.\nThe user Simply Scans a QR Code in order to access the device. (while connected to university WiFi)\n\nIf you would like the whole paper writeup of this project including results and further discussion, I would be happy to share it, just send an email!\n# Images\nRaspberry Pi and Infrared Camera\n\n\n\u003cimg src = \"https://github.com/caleb221/Simple-Pi-Fever-Detection-RM402-/blob/master/Img/physicalPic.jpg\"   height=\"200\" width=\"220\"\u003e\n\n\nWeb App\n\n\n\u003cimg src = \"https://github.com/caleb221/Simple-Pi-Fever-Detection-RM402-/blob/master/Img/normalUI.png\"   height=\"300\" width=\"200\"\u003e\n\n\nFlow Chart for whole System\n\n\n\u003cimg src = \"https://github.com/caleb221/Simple-Pi-Fever-Detection-RM402-/blob/master/Img/SfFC_color.png\" height=\"500\" width=\"290\"\u003e\n\n# Prerequisite libraries:\nPython:\n\n\n    -busio\n     -json\n    -numpy\n    -scipy\n    -board\n    -colour\n    -adafruit_amg88xx\n    -glob,matplotlib (STATISTICS PROGRAM ONLY)\nJavaScript:\n  \n  \n     -express\n     -socket.io\n     -pyshell\n  \n  \nHere is a basic overview to what each code does.\n\n# SensorRandom.py\n\nthis code is the interface between sensor and raspberry pi.    \nit updates a JSON file as quickly as it can (~.3ms) with the colors for the web page\nas well as the diagnosis. \n\n(sorry about the name, its not actually random. I wrote a random data generator before I had the sensor and didn't want to clutter my file system.)\n# pythonNode.js\nJavascript function to run the python code sensorRandom while running the web server.\n# router.js\nclient side server. This listens on a local port 8001 and serves the web app UI. It sends the JSON file from the pi to the user every time the file is updated (~.3ms).\n# main.js\na simple main function that runs both router and pythonNode simultaneously.\n# index.html\n   just as the name suggests, this is the main UI for the webapp, it draws the JSON data on a canvas\n   using javascript as well as shows the user their diagnosis.\n# feedBack.html\nQuestionnaire used in a tiny reasearch project to collect user data concerning the webapp.\n# feedBack_stats.py \nStatistical analysis done on feedback data for a class. Papers and whatnot are elsewhere, this is a code section.\n\n\n# DISCLAIMER\nTHIS SETUP AS IS SHOULD NOT BE USED IN A MEDICAL SETTING! THE ALGORITHM IS FAR TOO SIMPLE (in the current state) TO BE GIVEN TO ANY MEDICAL CARE PROFESSIONAL FOR DIAGNOSIS. \n\n\nThanks for looking at my code!\n-Caleb\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaleb221%2FSimple-Pi-Fever-Detection-RM402-","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaleb221%2FSimple-Pi-Fever-Detection-RM402-","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaleb221%2FSimple-Pi-Fever-Detection-RM402-/lists"}