im makeing project but new in codeing , i want to connect cctv camera and ultra sonic sensor so if someone disobey the rule the camera will capture a photo and send it to online database and from the database it will be send to azure machine learning computer vesion which will take the car number plate number and search it in database and take his mobile number or any contact thing and send a report to the person who disobeyed the rule
It looks like you are asking for a tailored solution for your DiY project. Well I think the following links can point you to right direction as these are tutorials for interfacing RaspPi to Azure IoT hub service.
Its very detailed and will certainly provide the barebones of your project :
(There is another version available using c)
Also there is a whole tutorial from Microsoft for the RaspPi 2 & 3 platform :
I would suggest you start along and post specific problems if and when you encounter them.