Images

One last setup task to perform is to provide an image file for our solution to detect objects within.

The sample project code offers a picture of four dogs that you can use, but it's more fun to provide one or more of your own. The README notes of this project indicate that the code will expect the file to be located in test_image/image1.jpg, but you can simply upload it as a data asset using the same steps we did in previous chapters and then update the code, so it finds the file (you can change the filename as well).

I chose to use the following three different images:

Get Hands-On Machine Learning with IBM Watson now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.