Captured image loading from uri, Coverter for bitmap and opencv mat