I want to create a simple object detection tool. So, basically, an image will be provided to the tool, and, from that image, it has to detect the number of objects.
For example, an image of a dining table that has certain items present on it, such as plates, cups, forks, spoons, bottles, etc.
The tool has to count the number of objects, irrespective of the type of object. After counting, it should return the position of the object with its size, so that I can draw a border over it.
I would like not to use any library or API present such as TensorFlow, OpenCV, etc., given that I want to learn the details.
If the process is very difficult to be created without using an API then the number of/type of objects which it will count as an object can also be limited but since this project will be for my educational/learning purpose can anyone help me understand the logic using which this can be achieved? For example, it may ignore a napkin present in the table to be counted as an object.