bytedeco/javacv

Operator Overloading

Open

#706 opened on May 31, 2017

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Java (1,583 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (6,985 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Hi everyone.

I was checking the official docs of the java bindings in OpenCV and saw that there were some objects with overloaded operators. For instance, & or | in Rect types for intersection or union operations. I tried such thing in JavaCV but it seems such operations haven't been implemented as an operator overload. Is there a way to perform an intersection between 2 Rect objects?

Best regards.

Contributor guide