MTschannett / image_feature_detector

A image feature detector using opencv
Other
18 stars 10 forks source link

Move from absolute coordinates to relative coordinates #1

Closed MTschannett closed 5 years ago

MTschannett commented 5 years ago

Absolute coordinates are good for one image size. This only works for the original image size.

When the image size is changed, e.g. when it is scaled down to fit on the screen, the absolute coordinates won't work anymore.

Relative coordinates are calculated as follow: x Coordinates: x / width y Coordiantes: y / height

MTschannett commented 5 years ago

done with last commit