This example will teach you to make focus on the object so follow step by step this example....
Take a Picture: Capture any picture.
Selection: Choose Polygonal lasso tool (L key) to make selection of the object.
Blur effect: Go to Filter menu > Blur >Apply Gaussian blur.
This is your final result.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.