I am following a video lecture series following Stephen Wolfram’s Elementary Introduction to the Wolfram Language, and in Lesson 10, the lecturer shows how to import a sample image by typing:
The argument to Import should be a path to where the image exists on your computer. You probably don’t have that image on your computer. If it is on your computer, then it’s not in the same directory as the notebook where you’re running this code. If you type Import[", you should see a little popup that says “File Browser”. You can click that to search for the file you want to import.
If the exact image isn’t important to the tutorial, you can use one of the built in sample images.
ExampleData["TestImage"]
This will give you an output that looks like this:
Thanks, Eric. I think I can use CurrentImage in place of the sample.jpg image, so that’s what I’ll do. I was just wondering what the issue was, so thanks for telling me.