-
Notifications
You must be signed in to change notification settings - Fork 606
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Python3 and Opencv4 changes - noetic Signed-off-by: ahcorde <[email protected]> * image_geometry cmake_minimum_required to 3.0.2 Signed-off-by: ahcorde <[email protected]> * vision_opencv cmake_minimum_required to 3.0.2 Signed-off-by: ahcorde <[email protected]> * opencv_test cmake_minimum_required to 3.0.2, fixed launch file and python3 issues Signed-off-by: ahcorde <[email protected]> * Removed static_casst Signed-off-by: ahcorde <[email protected]> * import setup from setuptools instead of distutils-core Signed-off-by: ahcorde <[email protected]> * Updated travis.yml and travis.sh Signed-off-by: ahcorde <[email protected]> * do_numpy_import change signature to void * and returns nullptr Signed-off-by: ahcorde <[email protected]> * Updated keys Signed-off-by: ahcorde <[email protected]> * updated python3-numpy key Signed-off-by: ahcorde <[email protected]>
- Loading branch information
Showing
20 changed files
with
41 additions
and
312 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,16 +33,10 @@ int convert_to_CvMat2(const PyObject* o, cv::Mat& m); | |
|
||
PyObject* pyopencv_from(const cv::Mat& m); | ||
|
||
#if PYTHON3 | ||
static int do_numpy_import( ) | ||
static void * do_numpy_import( ) | ||
{ | ||
import_array( ); | ||
return nullptr; | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
lepalom
|
||
} | ||
#else | ||
static void do_numpy_import( ) | ||
{ | ||
import_array( ); | ||
} | ||
#endif | ||
|
||
#endif |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
this broke compatibility with Ubuntu 18.04/Python2