Pet Validator
We are building an application that will use cat and dog images.
- Clone this repository locally:
git clone
or, download the source files as a zip and unzip them. - From your terminal (or IDE if it's built in), run
mvn clean install
- You can use whatever IDE/text editor you feel comfortable with.
- To compile,
mvn compile
- To run your tests,
mvn test
- To start the app,
mvn start
We've included an HTTP Client to make REST easier, Unirest
Get this repository cloned locally, dependencies installed, and run the tests. Starting out, one should pass and one should fail.
Given We have API credentials
When We we use the get dog/cat picture API
Then We save the image file locally.
Given We have pet images
When We analyze the objects in the images
And We only accept images with confidence levels greater than 70%
Then we report on the objects in the images
And We report on the frequency of the objects: Most common, least common, and their average confidence level.
Given We have pet images
When We analyze the descriptions in the images
And We only accept images with confidence levels greater than 70%
Then we report on the objects in the images
And We report on the frequency of the objects: Most common, least common, and their average confidence level.
Given We have pet images
When We analyze the descriptions in the images
And We only accept images with confidence levels greater than 70%
Then we report on the objects in the images
And We report on the frequency of the objects: Most common, least common, and their average confidence level.
Given We have pet images
When We analyze the objects in the images
And We only accept images with confidence levels greater than 70%
And We draw boxes around each of the identified objects
Then we store the new images locally.