Sha12345 0 Newbie Poster

I need to count out boxes in a warehouse by using image processing edge detection techniques (Sobel filter), images will be taken from a 3D model of a warehouse and the propose system will be used 3 images in 3 different angles to cover the whole area of a warehouse. Does anyone know how to measure the edge length and any suitable algorithm to get final count by analyzing those 3 images.