Skip to content

Commit

Permalink
Fix misleading comment
Browse files Browse the repository at this point in the history
  • Loading branch information
nitsch committed Oct 11, 2020
1 parent ca71ac6 commit 85d7ead
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/tracker/psmove_tracker.c
Original file line number Diff line number Diff line change
Expand Up @@ -1176,14 +1176,7 @@ void psmove_tracker_update_image(PSMoveTracker *tracker) {
// using none of these ways to configure the camera and thus have no way
// to enable flipping in hardware (or the driver).
if (tracker->settings.camera_mirror) {
/**
* Mirror image on the X axis (works for me with the PS Eye on Linux,
* although the OpenCV docs say the third parameter should be 0 for X
* axis mirroring)
*
* See also:
* http://cv-kolaric.blogspot.com/2007/07/effects-of-cvflip.html
**/
// mirror image horizontally, i.e. flip left to right
cvFlip(tracker->frame, NULL, 1);
}
#endif
Expand Down

0 comments on commit 85d7ead

Please sign in to comment.