By doing it. Decide on a small project, like tracking your cat, detecting food items in your fridge, then take it step by step.
Then do a slightly more ambitious project. Start with something very simple.
It also heavily depends on what you already know regarding programming, image processing etc.
Just start cooking , python is easy and the bindings are not that hard