C++ My task is to write a function in C++

C++ Coding Tutorial
Tekera

Tekera

New member
Freecoin
263
My task is to write a function in C++ to convert x and y coordinates of a point from an image (captured from mobile or any surveillance camera of a real-life place) into location of that point as geo coordinates and print it. We can use OpenCV but not any other external library/package. We'll be provided with an image array and x and y coordinates. Consider the following function prototype:

void locationGeoCood(int*** arr, int x, int y, int z, int px, int py);

Where, arr is a 3d image array (representing an image). Here, px and py are x and y points in the image array (i.e. arr). Whereas x, y and z are length of each dimension of image array.
 

Richest Freecoded User

Most Freecoin

freecoded
freecoded
2,182 Freecoin
Davy200
Davy200
590 Freecoin
nathan69
nathan69
424 Freecoin
Laureine
Laureine
415 Freecoin
C
codeguru
295 Freecoin
Tekera
Tekera
263 Freecoin
A
Akubay
170 Freecoin
smitha
smitha
104 Freecoin
G
Gabby
93 Freecoin
S
sesli
78 Freecoin
Top