[FIXED] | Error (-215: Assertion failed)

Here I solved the error of OpenCV (-215: Assertion failed).

(-215 Assertion ERROR OpenCV

Error Description:

OpenCV(3.4.2) /io/opencv/modules/imgproc/src/color.cpp:253: error: (-215:Assertion failed) VScn::contains(scn) && VDcn::contains(dcn) && VDepth::contains(depth) in function 'CvtHelper'

Cause of Error :

  • An error is generated because of a corrupt document or bad document.
  • You can easily fix it by using a try-except block in Python.


A solution of OpenCV error

  • Apply try-except block :
    • try:
  • Example:
    • try:
      features = cd.describe(image)
      features = [str(f) for f in features] output.write("%s,%s\n" % (imageID, ",".join(features)))
      except cv2.error as e:



chelseadecicco · October 23, 2018 at 6:04 am

Hello there, You have done an incredible job.
I will certainly digg it and personally recommend
to my friends. I’m confident they will be benefited from
this website.

adelawanliss · October 26, 2018 at 1:19 am

Greetings! Quick question that’s totally off topic. Do you know how to make your site
mobile friendly? My web site looks weird when viewing from my apple iphone.
I’m trying to find a template or plugin that might be able to correct this issue.
If you have any suggestions, please share. With thanks!

shellygye · October 26, 2018 at 1:50 am

Pretty! This was an incredibly wonderful article.

Many thanks for providing this information.

candybennett · October 27, 2018 at 6:30 am

Thank you for sharing your info. I truly appreciate your efforts and I will be waiting for your further write ups
thanks once again.

    techkhedut · October 27, 2018 at 10:43 am

    Your Welcome,
    Within a very short time, I add some new very useful blogs.

princellewelyn · October 28, 2018 at 2:48 am

It’s amazing in support of me tto have a site, which is helpful for my knowledge.
thanks adminroblox free robux

stephanymale · October 28, 2018 at 10:42 am

Great article! This is the type of information that should be shared around the net.

Disgrace on the seek engines for no longer positioning this post upper!

Come on over and talk over with my website
. Thanks =)

    techkhedut · October 29, 2018 at 7:35 pm

    Thanks for the Positive response and your opinion but I want to stay with this site and also write new articles for “Techkhedut”.

franziskagallagher · October 30, 2018 at 4:00 pm

I’ve been surfing online more than 3 hours today,
yet I never found any interesting article like yours. It’s pretty worth enough for me.
Personally, if all webmasters and bloggers made good content as
you did, the web will be a lot more useful than ever before.

    techkhedut · October 30, 2018 at 5:09 pm

    Thanks for sharing your review of this article …..

jamisongalbraith · October 31, 2018 at 4:32 am

I think everything wrote made a ton of sense. But, think on this,
what if you added a little content? I ain’t saying your content
isn’t good, however suppose you added a title that grabbed people’s attention? I mean error:
(-215:Assertion failed) – OpenCV Python » TechKhedut
is a little vanilla. You could glance at Yahoo’s home page and note how
they write news headlines to grab people to open the links.

You might add a related video or a related pic or two
to get readers interested about everything’ve written. Just my opinion, it
might bring your website a little livelier.

    techkhedut · October 31, 2018 at 1:13 pm

    Thanks for your suggestions…. I’m already working on your suggestions..

Mcgarvey76254 · November 5, 2018 at 7:14 am

It is appropriate time to make some plans for the future and it’s time to be happy. I’ve read this post and if I could I desire to suggest you some interesting things or tips. Perhaps you could write next articles referring to this article. I wish to read even more things about it!

meilane · November 17, 2018 at 5:52 pm

I am really enjoying the theme/design of your web site.
Do you ever run into any internet browser compatibility issues?

A few of my blog audience have complained about my
site not working correctly in Explorer but looks great in Safari.
Do you have any solutions to help fix this issue?

waken · December 13, 2018 at 3:15 pm

Wow! Аfter alⅼ I got a web sitе from where I can really taкe useful іnformation concerning
my study and knowledge.

Avellano · December 15, 2018 at 2:09 pm

Awesome post.Thanks Again. Want more.

rosemarymartine · December 21, 2018 at 10:15 am

Magnificent items from you, man. I have keep in mind
your stuff prior to and you’re just extremely fantastic.
I actually like what you have acquired right here,
really like what you are stating and the best way in which you assert
it. You’re making it enjoyable and you continue to care for to keep it
smart. I can’t wait to learn much more from you. This is really a terrific website.

nicholastindale · December 22, 2018 at 5:11 pm

Spot on with this write-up, I absolutely believe this site needs much more attention. I’ll probably be returning to read through
more, thanks for the advice!

keithbarrington · December 26, 2018 at 11:43 am

Asking questions are actually pleasant thing if you are not understanding anything entirely, but this piece of writing presents good understanding even.

divorcio consejos fundamentos de divorcio · December 27, 2018 at 12:58 pm

Hey, you used to write magnificent, but the last few posts have been kinda boring… I miss your super writings. Past few posts are just a bit out of track! come on!

xaviertyner · December 27, 2018 at 5:50 pm

Because the admin of this web page is working, no question very shortly it will
be renowned, due to its feature contents.

earleneforet · December 27, 2018 at 6:22 pm

Hello there! Do you use Twitter? I’d like to follow you if that would be okay.
I’m undoubtedly enjoying your blog and look forward to new updates.

Pasando Del Pesimismo Al Optimismo · December 28, 2018 at 3:40 am

What i do not understood is in truth how you are now not actually a lot more neatly-appreciated than you might be right now. You’re very intelligent. You recognize therefore significantly in terms of this subject, produced me in my view believe it from numerous various angles. Its like women and men aren’t fascinated until it’s one thing to accomplish with Girl gaga! Your personal stuffs great. All the time deal with it up!

Batiz · December 28, 2018 at 6:58 pm

I cannot thank you enough for the blog post.Really looking forward to read more. Awesome.

Sogol · December 28, 2018 at 9:29 pm

I appreciate you sharing this blog article. Much obliged.

Schwartz · December 29, 2018 at 5:21 am

Thank you for your blog article.Really looking forward to read more. Will read on…

Meulemans · December 29, 2018 at 7:38 am

I appreciate you sharing this blog article. Much obliged.

User · December 30, 2018 at 4:14 pm

I love your article. Keep Posting..

Bourquin23274 · December 31, 2018 at 7:34 am

It’s in reality a nice and useful piece of information. I’m happy that you simply shared this useful info with us. Please stay us up to date like this. Thank you for sharing.|

zacheryplain · January 1, 2019 at 1:30 am

I was very happy to find this web site. I wanted to thank you for ones time just for this wonderful
read!! I definitely savored every part of it and i also have you book-marked to check
out new stuff in your web site.

Akamine · January 1, 2019 at 6:33 am

I cannot thank you enough for the blog post.Really looking forward to read more. Awesome.

Cutter38769 · January 1, 2019 at 11:42 am

Hello my loved one! I want to say that this article is amazing, great written and include approximately all vital infos. I would like to see more posts like this .|

jeevansharma3 · January 1, 2019 at 10:56 pm

very well written..

Notik39901 · January 2, 2019 at 6:48 am

Hey there! Do you know if they make any plugins to help with SEO? I’m trying to get my blog to rank for some targeted keywords but I’m not seeing very good results. If you know of any please share. Cheers!|

Borah · January 4, 2019 at 3:34 am

Thank you for your blog article.Really looking forward to read more. Will read on…

brittnyconnal · January 4, 2019 at 4:29 am

Can you tell us more about this? I’d love to find out
more details.

Ley De Atracción · January 5, 2019 at 3:39 am

Thank you for sharing excellent informations. Your web site is so cool. I am impressed by the details that you’ve on this site. It reveals how nicely you understand this subject. Bookmarked this web page, will come back for extra articles. You, my friend, ROCK! I found just the info I already searched everywhere and just could not come across. What a great website.

Octopus · January 5, 2019 at 9:29 am

Wonderful goods from you, man. I have understand
your stuff previous to and you are just too great. I actually like what you’ve
acquired here, really like what you are stating and
the way in which you say it. You make it entertaining and you still care for to keep it sensible.
I can not wait to read much more from you. This is
actually a great web site.

Ley De La Atracción Positiva · January 5, 2019 at 11:53 am

Thanks for sharing excellent informations. Your web-site is so cool. I am impressed by the details that you have on this blog. It reveals how nicely you perceive this subject. Bookmarked this web page, will come back for extra articles. You, my friend, ROCK! I found simply the information I already searched all over the place and just couldn’t come across. What a great web site.

Anonymous · January 5, 2019 at 11:03 pm

Great writeup from a great blog.

cetostar · January 6, 2019 at 6:08 am

Thanks on your marvelous posting! I definitely enjoyed reading it, you are a great author.I will make sure to bookmark your blog and may come back in the future. I want to encourage you to ultimately continue your great writing, have a nice weekend!

cartas del tarot · January 12, 2019 at 2:16 am

Nice post. I learn something more challenging on different blogs everyday. It should always be stimulating to read content from different writers and follow a little bit something from their store. I’d prefer to use some with the content on my weblog whether you don’t mind. Natually I’ll give you a link in your internet blog. Thanks for sharing.

Leave a Reply

Your email address will not be published. Required fields are marked *