I have used the libraries following code to get a depth map image:
JPEGTweaker.extractDepthMap()
But the problem is that the only sample pictures are providing outputs. Other images like pictures taken on pixel 2 xl or pixel 3(Even in the portrait mode) are not working.