Python Forum
error: (-215:Assertion failed)
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
error: (-215:Assertion failed)
#2
The GitHub for OpenCV has a closed ticket on this. The response was that the base image is likely not a three-channel image and has likely been saved as a single-channel. Other resolutions I've seen recommend a try...except block for it. Perhaps use a try...except with a grayscale to RGB constant instead.
Reply


Messages In This Thread
error: (-215:Assertion failed) - by gkiller007 - Jan-04-2019, 02:20 AM
RE: error: (-215:Assertion failed) - by stullis - Jan-04-2019, 04:27 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [ERROR] ParamValidationError: Parameter validation failed: Invalid type for parameter gdbengo 3 11,275 Dec-26-2022, 08:48 AM
Last Post: ibreeden
  SQLite Unique constraint failed error djwilson0495 3 13,583 Aug-14-2020, 05:23 PM
Last Post: ndc85430
  pip install -e ., ERROR: Failed building wheel for pyfarmhash mostafaPython 1 6,364 Jun-09-2020, 08:24 PM
Last Post: mcmxl22
  opencv on mac: Assertion Failed RandomCoder 0 1,703 Feb-16-2020, 06:17 PM
Last Post: RandomCoder
  Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesyste jiapei100 0 10,182 Feb-11-2020, 01:27 PM
Last Post: jiapei100
  Test Case Assertion Error moga2003 10 5,634 Mar-18-2019, 01:06 AM
Last Post: moga2003
  Assertion Error Mateoo 2 2,203 Jan-20-2019, 03:59 PM
Last Post: stullis
  python import sybpydb error: DLL load failed: The specified module could not be found andieDu 3 7,725 Apr-04-2018, 06:58 AM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020