create java desktop application that does the following:
-create a form that contains list of available webcams connected to the pc
-when a cam is selected, a panel will display the video stream of the camera
-a capture button is shown, when clicked a capture image of the video is taken and saved to disk.
-the captured image is added to a list so that it can be viewed when clicked on it
-create another button called "upload image" whenever a cam is selected
-when the button is clicked, it will provide ability to browse images available on the computer. when an image file is selected, it will copy the file and add it to the images list of the camera.
-provide a third button, "compare images"
-when the button is clicked, it will allow to select 2 images from list and will compare the images using block comparison. the intention is to show in % the difference between the 2 images. then the final % is displayed in a label.