1 | initial version |

So, the approach suggested by @berak somehow works.

```
# If you take a point in the original 4K image, say:
POINT = (447, 63) # take a point in the coordinate plane xy
# and you have the resizing factor of
RESIZE_FACTOR = 0.3 # make it this smaller
# and you want to map it in the resized image, then you can do the following:
lpoint = list(POINT) # convert the tuple to list
scaled_point = (round(lpoint[0]*RESIZE_FACTOR), round(lpoint[1]*RESIZE_FACTOR))
```

which prints:

`(134, 19)`

and that is more or less the scaled version of the original point (447,63) by 0.3, which was the resizing factor.

2 | No.2 Revision |

So, the approach suggested by @berak somehow works.

```
# If you take a point in the original 4K image, say:
POINT = (447, 63) # take a point in the coordinate plane xy
# and you have the resizing factor of
RESIZE_FACTOR = 0.3 # make it this smaller
# and you want to map it in the resized image, then you can do the following:
lpoint = list(POINT) # convert the tuple to list
scaled_point = (round(lpoint[0]*RESIZE_FACTOR),
```~~round(lpoint[1]*RESIZE_FACTOR))
~~round(lpoint[1]*RESIZE_FACTOR))
print(scaled_point)

which prints:

`(134, 19)`

and that is more or less the scaled version of the original point (447,63) by 0.3, which was the resizing factor.

3 | No.3 Revision |

So, the approach suggested by @berak somehow works.

```
# If you take a point in the original 4K image, say:
POINT = (447, 63) # take a point in the coordinate plane xy
# and you have the resizing factor of
RESIZE_FACTOR = 0.3 # make it this smaller
# and you want to map it in the resized image, then you can do the following:
lpoint = list(POINT) # convert the tuple to list
scaled_point = (round(lpoint[0]*RESIZE_FACTOR), round(lpoint[1]*RESIZE_FACTOR))
print(scaled_point)
```

which prints:

`(134, 19)`

and that is more or less the scaled version of the original point ~~(447,63) ~~`(447,63)`

by ~~0.3, ~~`0.3`

, which was the resizing factor.

4 | No.4 Revision |

So, the approach suggested by @berak somehow works.

```
# If you take a point in the original 4K image, say:
POINT = (447, 63) # take a point in the coordinate plane xy
# and you have the resizing factor of
RESIZE_FACTOR = 0.3 # make it this smaller
# and you want to map it in the resized image, then you can do the following:
lpoint = list(POINT) # convert the tuple to list
scaled_point = (round(lpoint[0]*RESIZE_FACTOR), round(lpoint[1]*RESIZE_FACTOR))
print(scaled_point)
```

which prints:

`(134, 19)`

and that is more or less the scaled version of the original point `(447,63)`

by `0.3`

, which was the resizing ~~factor.~~factor. I say more or less, because we are using the function `round()' which may cause some loss depending on the case. But in general, this works.

5 | No.5 Revision |

So, the approach suggested by @berak somehow works.

```
# If you take a point in the original 4K image, say:
POINT = (447, 63) # take a point in the coordinate plane xy
# and you have the resizing factor of
RESIZE_FACTOR = 0.3 # make it this smaller
# and you want to map it in the resized image, then you can do the following:
lpoint = list(POINT) # convert the tuple to list
scaled_point = (round(lpoint[0]*RESIZE_FACTOR), round(lpoint[1]*RESIZE_FACTOR))
print(scaled_point)
```

which prints:

`(134, 19)`

and that is more or less the scaled version of the original point `(447,63)`

by `0.3`

, which was the resizing factor. I say more or less, because we are using the function ~~`round()' ~~`round()`

which may cause some loss depending on the case. But in general, this works.

Copyright OpenCV foundation, 2012-2018. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.