diff --git a/README.md b/README.md index 64cd480..7b49743 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,7 @@ You will be provided with a set of **1705** images files named according to a st * `output_scale` (float) * A scaling factor applied to the cropped image before it's returned. `1.0` means original size, `0.5` is 50% smaller. * Values range from `0 > scale >= 1.0` + ### Canvas Visual Guide ``` Origin (0,0) @@ -78,7 +79,9 @@ y+ │ ├────────────────►▼ ┌─ └─────────────────────────────────────────────────────────┘ ``` -You can safely assume all parameters passed to this API are valid. +### Implementation notes +- You may assume all parameters passed to this API are always valid. +- When converting from a floating point to integer (unit pixel), truncate it instead of rounding. ## 3. Evaluation Criteria