开发者

OpenCV Contours?

开发者 https://www.devze.com 2023-04-10 11:03 出处:网络
I keep getting an error with this part of the code &contours = ((contours.h_next) -> h_next); contours.h_next = ((contours.h_next) -> h_next) -> h_next;

I keep getting an error with this part of the code

&contours = ((contours.h_next) -> h_next);
contours.h_next = ((contours.h_next) -> h_next) -> h_next;

The error states "lvalue required as left operan开发者_如何学编程d of assignment"

Anyone know what I am doing wrong?

PS: I am not able to post the complete code right now sorry

Oh and contours isn't a pointer to a sequence - its an actual sequence


&contours is a pointer value. you can't assign to a value. e.g. you can't assign to 42.

Cheers & hth.,

0

精彩评论

暂无评论...
验证码 换一张
取 消