asked 2019-07-24 10:06:26 -0600
updated 2019-07-25 02:09:28 -0600
Hello,
Is there a simple way to cast a Rect to a Rect2d in Java?
Thanks
What have you try?
Rect r(10, 20, 30, 40); Rect2d rr(r); Rect2d rrr = static_cast<Rect2d>(r);
Sorry I forgot to specify in Java, I did:
Rect rect = new Rect(10, 20, 30, 40); Rect2d box = new Rect2d(rect.x, rect.y, rect.width, rect.height);
Let me know if you have a better solution
Official site
GitHub
Wiki
Documentation
subscribe to rss feed
Asked: 2019-07-24 10:06:26 -0600
Seen: 1,906 times
Last updated: Jul 25 '19
CAMShift for face tracking
Face-detection/recognition + segmenting + tracking Difficulty
lkdemo don't work .
hand tracking and hand gesture recognition
How to track human face?
Removing outliers from goodFeaturesToTrack using the x84 method
Detecting empty room
Understanding the blobtrack_sample.cpp modules
Object tracking with android
Any ideas for tracking a person who turns around and walks away?
What have you try?
Sorry I forgot to specify in Java, I did:
Let me know if you have a better solution