# Setting Up a Camera Device

To help simulate a running project, you can use an Image File Camera Device to reference a folder that contains images, and pass images into the ViDi Sub Task Block.

1. In the Project Explorer, navigate to the Devices node and right-click Cameras to add an Image File Device.

2. In the Parameter Configuration dialog, enter a name for the Device.

   Press the Accept button to close the dialog.

3. The newly added Device will now appear beneath the Cameras node.

4. In the Task Toolbox, there will be a node for Cameras and the recently created Device.

5. Drag and drop the Camera Device onto the Task.

6. Double-click the block to open the Image Source Selection dialog.

7. Press the Choose Directory button to launch the Browse For Folder dialog, and navigate to the folder containing your Training Image Set.

   After navigating and selecting the folder, press the OK button.

8. The Image Source Selection dialog will display the path of the selected folder.

   Press the Accept button to close the dialog.

9. Within the Task, press the Run All button to activate the Camera block.

10. When you hover over the Camera block's output pin, you should be able to view an image.