Our Prize Winning AWS Hackathon Entry
This article is written to elucidate my mission that I submitted to the AWS Hackathon on Devpost. Me and my good friend had initial began the venture as a learning step to construct and deploy a machine studying venture. We finally ended up winning the runner up for Computer Vision for our efforts. With speedy urbanization and industrialization Air pollution has change into an alarming situation globally. Among totally different air pollutants particles ,  BloodVitals SPO2 device matter in (PM2.5) size range are ready traverse deeply into our respiratory tract , transmitting hazardous chemicals into the human lungs and blood causing respiratory and cardiovascular well being issues . We goal to develop picture-based mostly air high quality evaluation application , particularly a one which estimates the focus of particulate matter with diameters in vary of 2.5 micrometers. It could let you know what your respiration from pictures generated using consumer grade hardware. Convolutional Neural Network (CNN) with the excessive computational energy of Amazon EC2 DL1 instance to resolve a computer imaginative and  home SPO2 device prescient problem of classifying natural pictures into three totally different categories ;healthy , reasonable and danger based on their PM2.5 concentrations.
 
We created our personal dataset by combining information from 2 sources . We realized that, some reasons for overfitting could possibly be high imbalance in data ,  BloodVitals health we had 2232 healthy photos the place because the average and danger classes had only 1480 and 591 photographs respectively . 2232. Then we trained our model following the same technique as before however this time we used ImageNet weights un-freezed the last a hundred layers for training , then advantageous-tuned the model with a decrease learning fee ,we additionally used early stopping callback with a patience of three . Now, there are some more issues we've got performed to improve our mannequin. We migrated our mannequin onto the dl1 occasion and initially trained utilizing 1 gaudi processor. This considerably improved our efficiency and effectivity .We had been capable of shortly take a look at ,  BloodVitals health experiment and tweak changes . 76 %. We then converted our model into a tensorflow lite model and used a huggingface demo tool referred to as gradio to rapidly show our application.
Initially as we tried coaching our mannequin we noticed a few of the image files in the dataset were corrupted .We automated the technique of scanning through and deleting these files after which proceeded to training model . We used EfficientNet architecture since its renown for its performance in low spec machines, this is called switch learning . 30 layers and set the weights parameter to false. 60 % however our training accuracy was excessive, the model may very well be overfitting. As we have now seen we have been ready an accuracy of about 76 % which is pretty good contemplating the information we had. Now , why do we need this software and how is it different from the prevailing air monitoring system systems,  BloodVitals SPO2 device we already know Exposure to effective particles could cause long term well being results corresponding to lung and coronary heart downside however additionally they trigger brief time period well being effects resembling eye, nostril, throat irritation.
The prevailing air high quality monitoring methods are highly dependent on monitoring stations, that are again situated far away due to the high setup value and expensive equipment. For a particular location, the air quality relies on how air moves via the world and how persons are influencing the air , so we can not depend on one thing that was predicted a while back or in some place that's not our site of curiosity .This software helps you analyse the air high quality round you with a single image and more importantly is portable. We are able to carry it anywhere we want to and know what your being uncovered to . Honestly I don’t know, I feel there is potential for this app to integrate into our routine. People would possibly need features to help plan their day out,  BloodVitals SPO2 integrate with their phone’s calender and recommend the very best time to plan an outside activity. Right now the Artificial intelligence that runs the machine runs on the azure cloud. In the future we would like to be able to bring it into the app and run it natively.
Certain constituents in the blood affect the absorption of gentle at numerous wavelengths by the blood. Oxyhemoglobin absorbs light more strongly within the infrared area than within the pink area, whereas hemoglobin exhibits the reverse habits. Therefore, highly oxygenated blood with a high concentration of oxyhemoglobin and a low focus of hemoglobin will are likely to have a high ratio of optical transmissivity within the crimson area to optical transmissivity within the infrared area. These alternating portions are amplified after which segregated by sampling units working in synchronism with the red/infrared switching, so as to provide separate signals on separate channels representing the crimson and infrared gentle transmission of the physique construction. After low-cross filtering to remove signal components at or  home SPO2 device above the switching frequency, each of the separate indicators represents a plot of optical transmissivity of the body structure at a particular wavelength versus time. AC component caused only by optical absorption by the blood and various at the pulse frequency or coronary heart charge of the organism.