Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 1.17 KB

README.md

File metadata and controls

14 lines (10 loc) · 1.17 KB

Fruit_Tree Analyser

Description

This JavaFX program allows the user to upload an image of fruit which is then rendered in the program's GUI. The user must then click on one of the pieces of the fruit in the image so that the program stores the fruit's colour as a hexadecimal code. The user can then convert the image to black and white and/or draw borders around all the fruit in the image, provided they are the same fruit as the one the user clicked as the program uses the stored hexadecimal code to know what to draw the borders around. The program then returns the number of pixels present within each border.

How To Use

It is recommened to run this program in Intellij. Java SDK 11 or higher will need to be installed. JavaFX SDK 11 or higher will need to be added as a library. The path to this libary also may have to be added as a VM option. Xstream 1.4.10 or higher will need to be added as a library. Once all these steps on completed, the program should run successfully. An image must be uploaded to the program and a fruit clicked on before the programs other functions can be used.

Tests

Pre-built tests are included in the program

Author

Niall Crowe [email protected]