Neural System Module

There is an experiment that request to build Neural system Module that can identify certain pattern among other pattern in the input image.

For example: the image has the following components:
1- Pencil
2- Eraser
3- sharpener
4- Inkwell
Now, I want to build Neural system Module to identify, if the image has a pencil or not
and where it is located in the image; such as, is the pencil at the center or upper corner, …etc.

I am not sure, how to start on this problem and how to build the module

Any suggestion, or direction will be appreciated
Thanks,
Saleh