bob.ip.color issues
https://gitlab.idiap.ch/bob/bob.ip.color/-/issues
2017-10-21T18:59:38Z
https://gitlab.idiap.ch/bob/bob.ip.color/-/issues/1
python API crashing with C++ exceptions
2017-10-21T18:59:38Z
André Anjos
python API crashing with C++ exceptions
*Created by: siebenkopf*
The color conversion functions in the Python API, such as ``bob.ip.color.rgb_to_gray`` might crash with a C++ exception, which is not caught correctly inside the python bindings.
Solution: go through the func...
*Created by: siebenkopf*
The color conversion functions in the Python API, such as ``bob.ip.color.rgb_to_gray`` might crash with a C++ exception, which is not caught correctly inside the python bindings.
Solution: go through the functions and add a ``BOB_TRY ... BOB_CATCH_FUNCTION`` wrapper around them (see http://pythonhosted.org/bob.extension/cpp_api.html#c.BOB_CATCH_FUNCTION).