Telraam / Telraam-RPi

The scripts that run on the Telraam Raspberry Pi computers, responsible for connecting to the local wifi, traffic monitoring and communicating with the central Telraam servers.
128 stars 19 forks source link

Make script compatible with both OpenCV 3 and OpenCV 4 (findCountours) #11

Open ArdescoConsulting opened 5 years ago

ArdescoConsulting commented 5 years ago

In OpenCV 3 findContours returns 3 values but in OpenCV 4 only two. The value is not used in the script so no problem: an OpenCV version detection calls findContours in the right way making the script compatible with OpenCV 3 & 4.

Telraam commented 4 years ago

Thank you, we will include this in a future update.

ArdescoConsulting commented 4 years ago

When will this future release happen? This is a simple change that can be tested and merged very easily.

Telraam commented 4 years ago

Hello,

We will add the check for the opencv version to our new image, being released shortly.

Br