World Health Organization (WHO) identifies anemia, a health hazard condition marked by the deficiency of red blood cells or hemoglobin in the blood stream, as maligning a quarter of the total world population. An automated, quick and reliable detection of anemia is hence imperative. Preliminary detection of anemia is usually undertaken visually by the physician by examining the color of the anterior conjunctiva of the eye and confirmed with an invasive blood test. In this study, we designed a mechanism for the automated detection of anemia through non-invasive visual method. Our process involves the detection of anemia by analyzing the anterior conjunctival pallor of the eye. It operates by quantifying the conjunctival color from digital photographs of the eye taken with a smartphone camera of appropriate resolution under adequate lighting conditions with the help of an android application that we have devised. These images are then processed to obtain the red and green component spectra of the conjunctiva color and compared against a threshold to determine whether the patient is anemic or not. We employed our method on 19 test subjects with known hemoglobin levels. The results obtained from our process agreed with the patient's blood report in 15 out of the 19 cases which translates to an accuracy of 78.9 percent. Our study was aimed towards the automation of healthcare facilities in underdeveloped parts of the world lacking proper healthcare facilities like hospitals and healthcare centers. Thus we developed a computerized, noninvasive, simple, cost effective, easy to use and portable primary screening test for anemia which can provide a viable alternative to invasive methods of anemia detection and have major humanitarian impact in the underdeveloped areas of the world.