Application of Image Processing Concept for Identifying Product Line Defects (Case Study: Shiraz Vegetable Oil Company)

Document Type: Research Paper


1 Dept. of Management and accounting,Allameh Tabataba'i University Business School (ATUBS), Tehran, I.R. Iran

2 Dept. of management,Science and Research Branch Islamic Azad University, Tehran, I.R. Iran


Nowadays, close competition and high cost of production cause the loss reduction and waste recovery to be one of the most concern of industrial and production companies and factories. For this, managers are looking for new methods to reduce the defect in the product line of the factories. Image processing and machine monitoring systems are technologies used in different fields of military, physician, agriculture, industry, etc. Purpose of this study is to use an image processing model to recognize the defect in the product line. As a case study, oil bottles produced by Shiraz Vegetable Oil Company are used. Input data to the program is the images of the intact and defected oil bottles and output is the final judgment of program about the correctness of the bottles. Image processing is performed using software MATLAB. In this study two different procedures are used to identify the intact and defected oil bottles. The first theory is based on the comparison of the area of intact and defected bottle images and the second theory compares the ratio of the height to the sum of some widths for two different images. Second theory uses edge function algorithm and the result obtained from this theory is more optimize with respect to the first theory. This theory is programmed without using the image of an intact object as reference image. This is one of the advantages of second theory with respect to the first one; because a small defect in reference image of the first theory can strongly affect the results. This research is also, consist of two recommended theories. The first theory is based on a reference point in the image and summarizing some of the distances from the edge of the bottle to the reference point. Such, that acceptable results can be obtained by comparing the summarized distances in the intact and defected bottle. The second recommended theory is based on the comparison of the center of area in the intact and defected bottles.


  1.  Hosainiparvar, H., Pourreza, H., Mortazavi, A., and Razavi, M. (2007). "Process Quality Control and food Products Using Computer Vision System." 4th Conference of Computer Vision and Image Processing, Iran, Mashhad, Ferdosi University.
  2.  Ebrahimzade, R. (2010). Journal of Maskan Bank, Vol.107.
  3.  Shen, Z., Luo, J., Zhou, C., Huang, G., Ma, W., and Ming, D. (2005). "System design and implementation of digital-image processing using computational grids." Computers and Geosciences, Vol. 31 (5), 619-630.
  4.  Sun, D. W. (2000). "Inspecting pizza topping percentage and distribution by a computer vision method." Journal of Food Engineering, Vol. 44 (4), 245-249.
  5.  Ebrahimi, A. and Seidin, A. (2007). "A Review as Shape Base Methods in Imaging and Recognizing 3-D Objects." 4th Conference of Computer Vision and Image Processing, Iran, Mashhad, Ferdosi University.
  6.  Huttenlocher, D. P. and Ullman, S. (1990). "Recognizing Solid Object by Alignment With an Image." International Journal of Computer Vision, Vol. 5 (2), 195-212.
  7.  Mahdavi, M. (2002). "Culture of Describing technology." Chapar Publication.
  8.  Kangarlou. (1998). "Recognizing Moving Objects Using Image Processing." Text Book of Science and Technology of Iran, Electrical Department.
  9.  Shahin, A. (2005). "Waste Management, Modeling Success Items in Japan Product Industries." Journal of Iran Teaching Engineering, Farhangestan Publications.
  10.  Karimian, A., Torbian, M., and Yazdchi, M. (2010). "Optimizing Understanding The Industrial Photographic Images For Recognizing Defects of Oil and Gas Pipes Around Welding Regions Using Image Processing." Journal of Power and Electronic as Electrical Engineering Department, Vol.2, First Year, 51-58.
  11.  Poudarbani, R., Ghasemzade, H., golzade, A., and Behfar, H. (2010). “Possibility of Grading The Quality of Apple Using Image Processing." Journal of Food Industrial Research, Vol. 19, No. 1, 75-85.
  12.  Safdari, M., Karimiana, A., and Yazdchi, M. (2011), "Metal Artifact Reduction in CT images of Head by Image Processing Techniques." Journal of Physics Procedo, Vol. 22 (1), 209-211.
  13.  Tayefemahmoodi, M. (2002). "Checking Image Processing Algorithms in edge Recognition." A Thesis of Science and Technology University of Iran, Computer Engineering Department.
  14.  Sadathosaini, M., Javadian, R., and Vaziri, M. (2007). "Using Image Processing to Understand The Behavior Traffic." Journal of Transportation, No 3, 3rd Year, 183-193.
  15.  Demonceaux, C., Vasseur, P., and Fougerolle, Y. (2011). "Central catadioptric image processing with geodesic metric." Journal of Image and Vision Computing, Vol 29 (12), 840-849.
  16.  Taken from the Site "" "2010.17.10" in "22:15".