Design and Implementation of Low Cost Ve
Design and Implementation of Low Cost Ve
Corresponding Author:
Abdulrafa Hussain Maray
Department of Computer Systems Technologies, Mosul Technical Institute, Northern Technical University
AlMinsaa St, Mosul City, Nineveh Governorate, Iraq
Email: [email protected]
1. INTRODUCTION
Previous studies show that nearly more than ninety percent of patients in different countries of the
world requires peripheral cannulation of the intravenous route to perform laboratory tests in order to diagnose
diseases. Blood samples are taken from millions of people monthly. The economic vein viewer has
approximately four thousand five hundred dollars for small devices. While for the large devices, their material
cost reaches twenty-seven thousand dollars [1].
There are many advanced medical devices and equipment that can photograph veins, but they are not
available in hospitals because of their high price. In this study, a locally made device was design and
implementation low cost prototype device used equipment that were recycled. This device to detect blood veins
was manufactured in a simple and inexpensive way. One of the reasons that this study focuses on is solving
the problem of seeing the blood vessels in the human body, when the cannula is placed in the vein in order to
give patients gonorrhea, medical solutions, and needle glaucoma. People who have dark skin complexion,
it is difficult to identify and see the blood veins, as well as those who have many layers of fat, children and
newborns [2]-[10].
Table 1 shows a comparison between previous studies from (2010 to 2017). The average analytical
error rate is 61.5%. The researchers have been capable of lessen the mistake costs mentioned on this table in
2017. The researchers had been capable of table for the proportion of 46.2%, while the percentage in 2010
grow to be approximately 77.1% [11]-[16].
Indonesian J Elec Eng & Comp Sci, Vol. 29, No. 2, February 2023: 1039-1046
Indonesian J Elec Eng & Comp Sci ISSN: 2502-4752 1041
The circuit is based on the principle of changing the root mean square (RMS) value of the voltage by
cutting off parts of the wave. The since wave with its positive and negative parts is (360) degrees, so only the
positive or negative part consists of (180) degrees, and if I say that I am firing at an angle of 90, then this means
that I am firing in the positive half of the wave and also in the negative half of the wave and so, as we increase
the angle of the IR-lamp to the triac (Q1), we lower the RMS voltage applied to the load, thus changing the
brightness of the IR-source. Where the RMS voltage is given by the (1) [17], [18]:
𝑉𝑚2
V 2 L(RMS)= [ 𝑖 2𝜋 − 2𝛼i + sin 2 𝛼] (1)
4𝜋
and we control the time required to open the diac (D5) (which will trigger the triac (Q1)) by changing the time
required to charge the capacitor, so changing the resistance will cause a change in the angle of the trigger
(alpha), which will change the RMS voltage leaving the circuit, see the Figure 5.
A webcam with a resolution of 15FPS images per second and a USB connection was used to connect
it to the computer. The filter inside it that blocks infrared rays from entering the camera was removed and
replaced with a filter to prevent the transmission of visible rays and allows the passage of infrared rays,
equipment has been recycled which is a small piece of old floppy disc, see the Figure 6.
Design and implementation of low-cost vein-viewer detection using near … (Abdulrafa Hussain Maray)
1042 ISSN: 2502-4752
2.2.1. Preprocessing
After sampling the images with different levels, different lights, different ages and different skin
colors, treatments were carried out for these images and by designing algorithms to detect veins and arteries.
The (2) shows that the lowest value is zero and the highest value is 255 [18].
𝐼 − 𝐼 𝑚𝑖𝑛
J = 255. 𝐼 𝑚𝑎𝑥 − 𝐼𝑚𝑖𝑛 (2)
The infrared image is converted to grayscale to focus on important details and subtract the background of the
image. The threshold is selected after the spectrogram is performed by using histogram.
Indonesian J Elec Eng & Comp Sci, Vol. 29, No. 2, February 2023: 1039-1046
Indonesian J Elec Eng & Comp Sci ISSN: 2502-4752 1043
𝜕 2 𝑓 (𝑥,𝑦) 𝜕 2 𝑓 (𝑥,𝑦)
∇2𝑓(𝑥, 𝑦) = + (3)
𝜕 𝑥2 𝜕 𝑦2
𝜕𝐺
𝐺𝑛 = (6)
𝜕𝑛
This design reaches the edges of the images more successfully, and the pixels are taken in the form of horizontal
and vertical, relative to the pixel grid [19]-[26].
𝐺 = √𝐺 2 𝑥 + 𝐺 2 𝑦 = 𝐺𝑥 + 𝐺 (9)
The direction of the edge angle which gives results upward is taken by (10).
𝐺𝑦
∅ = arctan ( ) (10)
𝐺𝑦
Design and implementation of low-cost vein-viewer detection using near … (Abdulrafa Hussain Maray)
1044 ISSN: 2502-4752
Figure 10. IR-image with edge detection result; (a) Sobel, (b) Laplacian, (c) Canny,
(d) Roberts, and (e) Prewitt
4. CONCLUSTION
The economic vein-viewer has an estimated value of approximately $4,500. For the mobile type, about
$27,000 for the non-mobile type. In this study, a system was designed, priced at only $25. This price is
considered very low for the efficiency it performs. Primarily based on the review, the low-cost vein-viewer
development system designee using near infrared imaging, in the segment of improvement, in particular,
Indonesian J Elec Eng & Comp Sci, Vol. 29, No. 2, February 2023: 1039-1046
Indonesian J Elec Eng & Comp Sci ISSN: 2502-4752 1045
targeting its goal to reduce the instances of ignored peripheral subcutaneous veins in the course of blood
collection and intravenous insertion for medicine. Common parameters used in evaluating the device were the
following, color skin, venipuncture, temperature and age, the illumination of the ambient place and the intensity
of the infrared source. When using a set of edge detection filters, the best results were obtained in a filter Sobel
and Roberts. The edge detection performance for the Canny 55.6%, Laplacian 42.89%, Robert’s 95.51%,
prewitt 87.41%, and Sobel 97.21%.
REFERENCES
[1] G. Cantor-Peled, M. Halak, and Z. Ovadia-Blechman, “Peripheral vein locating techniques,” Imaging in Medicine, vol. 8, no. 3, pp.
83-88, 2016.
[2] J. Zhang and J. Yang, “Finger-vein image enhancement based on combination of gray-level grouping and circular gabor filter,”
2009 International Conference on Information Engineering and Computer Science, 2009, pp. 1-4, doi:
10.1109/ICIECS.2009.5363431.
[3] A. H. Maray, O. I. AlSaif, and K. H. Tanoon “Design and implementation of low cost medical auditory system of distortion using
Microcontroller,” Journal of Engineering Science and Technology. vol. 17, no. 2, pp. 1068-1077, 2022.
[4] B. S. Mohamad-Ali, and A. H. Maray “Low coast medical data acquisition system using AVR-MCU and PC,” Journal of
Theoretical and Applied Information Technology, vol. 42, no. 2, pp. 217-220, 2012.
[5] C.-B. Yu, D.-M. Zhang, H. -B. Li and F. -F. Zhang, “Finger-vein image enhancement based on muti-threshold fuzzy algorithm,”
2009 2nd International Congress on Image and Signal Processing, 2009, pp. 1-3, doi: 10.1109/CISP.2009.5303807.
[6] J. Yang and J. Wang, “Finger-vein image restoration considering skin layer structure,” 2011 International Conference on Hand-
Based Biometrics, 2011, pp. 1-5, doi: 10.1109/ICHB.2011.6094320.
[7] W. Pi, J. Shin and D. Park, “An effective quality improvement approach for low quality finger vein image,” 2010 International
Conference on Electronics and Information Engineering, 2010, pp. 424- 427, doi: 10.1109/ICEIE.2010.5559667.
[8] M. G. Saeed, K. H. A. Faraj, M. T. Alasaady, and F. L. Malallah. “Three levels quality analysis tool for object oriented
programming,” International Journal of Advanced Computer Science and Applications, vol. 9 , no. 11, pp. 522-536, 2018.
[9] M. Es-Sabry, N. El Akkad, M. Merras, A. Saaidi, and K. Satori, “A new color image encryption algorithm using multiple chaotic
maps with the intersecting planes method,” Scientific African, vol. 162022, doi: 10.1016/j.sciaf.2022.e01217.
[10] K. I. Ahmed, M. H. Habaebi, and M. R. Islam, “A real time vein detection system,” Indonesian Journal of Electrical Engineering
and Computer Science(IJEECS), vol. 10, no. 1, pp. 129–137, 2018, doi: 10.11591/ijeecs.v10.i1.pp129-137.
[11] J. West, J. Atherton, S. J. Costelloe, G. Pourmahram, A. Stretton, and M. Cornes, “Preanalytical errors in medical laboratories: a
review of the available methodologies of data collection and analysis,” Annals of Clinical Biochemistry: International Journal of
Laboratory Medicine, vol. 54, no. 1, pp. 14-19, 2017, doi: 10.1177/0004563216669384.
[12] D. Najat, “Prevalence of pre-analytical errors in clinical chemistry diagnostic labs in Sulaimani City of Iraqi Kurdistan,” PLOS
ONE, vol. 12, no. 1, 2017, doi: 10.1371/journal.pone.0170211.
[13] M. Salinas et al., “Ten years of preanalytical monitoring and control: synthetic balanced score card indicator,” Biochemia Medica,
pp. 49–56, 2015, doi: 10.11613/BM.2015.005.
[14] S. Patra, B. Mukherjee, and A. K Das. “Pre-analytical errors in the clinical laboratory and how to minimize them,” International
Journal of Bioassays, vol. 2, no. 3, pp. 551–553, 2013.
[15] J. A. Hammerling, “A review of medical errors in laboratory diagnostics and where we are today: table 1,” Laboratory Medicine,
vol. 43, no. 2, pp. 41-44, 2012, doi: 10.1309/LM6ER9WJR1IHQAUY.
[16] G. Lippi et al., “Preanalytical quality improvement: from dream to reality,” Clinical Chemistry and Laboratory Medicine, vol. 49,
no. 7, 2011, doi: 10.1515/CCLM.2011.600.
[17] B. Goswami, B. Singh, R. Chawla, and V. Mallika, “Evaluation of errors in a clinical laboratory: a one-year experience,” Clinical
Chemistry and Laboratory Medicine, vol. 48, no. 1, 2010, doi: 10.1515/CCLM.2010.006.
[18] P. Wayalun, N. Laopracha, P. Songrum, And P. Wanchanthuek, “Quality evaluation for edge detection of chromosome gband
images for segmentation,” Applied Medical Informatics, vol. 32, no. 1, pp. 25-32, 2013.
[19] M. T. Alasaady, M. G. Saeed and K. H. Faraj, “Evaluation and comparison framework for data modeling languages,” 2019 2nd
International Conference on Electrical, Communication, Computer, Power and Control Engineering (ICECCPCE), 2019, pp. 68-
73, doi: 10.1109/ICECCPCE46549.2019.203750.
[20] R. R. O. Al-Nima, S. Q. Hasan, and S. Esmail, “Exploiting the deep learning with fingerphotos to recognize people,” International
Journal of Advanced Science and Technology, vol. 29, no. 7, pp. 13035–13046, 2020.
[21] K. H. Thanoon, S. Q. Hasan, and O. I. Alsaif, “Biometric information based on distribution of arabic letters according to their
outlet,” International Journal of Computing and Digital Systems, vol. 9, no. 5, pp. 981-991, 2020, doi: 10.12785/ijcds/090518.
[22] A. P. Moholkar, D. S. Bankar, and P. B. Karandikar, “Synthesized carbon material with semi-organic and aqueous electrolyte for
supercapacitor application,” Indonesian Journal of Electrical Engineering and Computer Science (IJEECS), vol. 28, no. 2, pp. 654-
662, Nov. 2022, doi: 10.11591/ijeecs.v28.i2.pp654-662.
[23] R. Verayiah and A. Mohamed, “Comparison of weak load bus detection using LQP_LT index with PV and QV analysis of PSS/E,”
Indonesian Journal of Electrical and Computer Science (IJEECS), vol. 12, no. 2, pp. 577-584, 2018, doi:
10.11591/ijeecs.v12.i2.pp577-584.
[24] M. S. A. Mustaza, M. A. M. Ariff, and S. N. Ramli, “An extensive review of energy storage system for the residential renewable
energy system,” Indonesian Journal of Electrical Engineering and Computer Science (IJEECS), vol. 18, no. 1, pp. 242-250, 2020,
doi: 10.11591/ijeecs.v18.i1.pp242-250.
[25] S. Q. Alhashmi, K. H. Thanoon and O. I. Alsaif, “A proposed face recognition based on hybrid algorithm for features extraction,”
2020 6th International Engineering Conference “Sustainable Technology and Development" (IEC), 2020, pp. 232-236, doi:
10.1109/IEC49899.2020.9122911.
Design and implementation of low-cost vein-viewer detection using near … (Abdulrafa Hussain Maray)
1046 ISSN: 2502-4752
[26] N. L. Mohammed, M. S. Aziz, and O. I. AlSaif, “Design and implementation of robot control system for multistory buildings,”
TELKOMNIKA (Telecommunication Computing Electronics and Control), vol. 18, no. 5, pp. 2682–2689, 2020, doi:
10.12928/telkomnika.v18i5.15338.
BIOGRAPHIES OF AUTHORS
Saba Qasim Hasan received her B.Sc in computer science department Mosul
University, Mosul, Iraq at 1996 and the M.Sc in Image Security Processing from Computer
Science department Mosul university at 2003. She is currently working as lecturer in Mosul
Technical Institute Northern Technical University in Mosul Iraq. Her research interests image
security and objects detection. She can be contacted at email: [email protected].
Indonesian J Elec Eng & Comp Sci, Vol. 29, No. 2, February 2023: 1039-1046