forked from Contest/stitch-a-ton
		
	add implementation notes
This commit is contained in:
		
							parent
							
								
									11bce7d105
								
							
						
					
					
						commit
						dd1c6eb359
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		|  | @ -56,6 +56,7 @@ You will be provided with a set of **1705** images files named according to a st | ||||||
| *   `output_scale` (float) | *   `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. |     * 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` |     * Values range from `0 > scale >= 1.0` | ||||||
|  | 
 | ||||||
| ### Canvas Visual Guide | ### Canvas Visual Guide | ||||||
| ``` | ``` | ||||||
|      Origin (0,0)                                                        |      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 | ## 3. Evaluation Criteria | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue