pyBegin / projects / mineral-processing-technology-image-analytics
📊

Mineral-Processing-Technology-Image-Analytics

In the field of Mineral Processing Technology, size analysis of the various particles of an extracted sample is of importance in determining the qu…

125 lines🖥 Desktop only

Mineral-Processing-Technology-Image-Analytics

In the field of Mineral Processing Technology, size analysis of the various particles of an extracted sample is of importance in determining the quality of minerals, entropy values and in establishing the degree of liberation of the values from the gangue at various particle sizes. In this problem statement, candidate is required to analyze the mineral particles in the input folder and calculate the following -

The smallest circle that just encapsulates the particle (the circle has to be generated on the image). Example –

image

  1. Total surface area of the particle (in pixels) (Has to be generated on the image) Example –

image

  1. The major axis (longest axis) in the particle that lies entirely inside the particle (in pixels) (Has to be generated on the image) Example –

image

  1. Total perimeter of the particle (in pixels) (Has to be generated on the image)

image

  1. Centroid of the particle (Has to be generated on the image)

image

Read the input images for the challenge form the “input” folder, process each image based on the calculations mentioned and save the output image in the “output” folder.

Example

  1. Place particle images (.jpg or .png) in the input/ folder.
  2. Run python code.py.
  3. For each image, the script detects particle contours and overlays the following measurements in red:
    • Minimum enclosing circle drawn around each particle.
    • Total surface area: 3142.50 (pixel area of the contour).
    • Centroid: (128, 95) marker dot at the particle centre.
    • Total Perimeter: 201.34 along the contour edge.
    • Major Axis Length: 87.21 as a red line through the longest internal axis.
  4. Annotated images are saved to the output/ folder with the same filenames.
  5. Processing complete. is printed when all images are done.