add implementation notes

This commit is contained in:
adienakhmad 2025-06-30 15:34:42 +00:00
parent 11bce7d105
commit dd1c6eb359

View file

@ -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