Need help with the code Topic: calculating the area of irregular object while it’s on motion I have a

Need help with the code

Topic: calculating the area of irregular object while it’s on motion

I have a conveyor belt dimensions are [ 105 * 41CM ]

I have a Raspberry Pi kit and Raspberry Pi camera that need to be programmed to do the following:

1) Calculation while the object on motion [ such as the area, distance, and speed ]

2) Calculating the area of two or more object passed at the same time

The program is able to calculate a Rag that is 3 meters long (Going to be LONGER than the conveyor belt) or more if it is possible

3) Subtract the area from each other if there are two or more object and also give the total area
And the area of the object

4) Detection if the object is regular or irregular shape

5) Display on the LCD screen the following:

Area of the object

Area of two or more max of 5 object with 5

Total areas

Distanc between the camera to the object
The information must be display on screen 15s then disappear no saving needed

The require language is python

Reference point for the code is required if its needed