PHPicker with CoreML

I have created a CoreML model for image classification and have gone through the CoreML module from CWC, but I need to use PHPicker to select an image and all of the examples that I can find pull images using a url. Any suggestions on how you can connect the image that was selected from PHPicker to them be accessed by an image classifier. It is the linking the two that I am having the hardest time with and can’t seem to get working.
Thanks for your help in this matter.
Cheers, Marcus