-
-
Notifications
You must be signed in to change notification settings - Fork 56.5k
Closed
Labels
Hackathonhttps://opencv.org/opencv-hackathon-starts-next-week/https://opencv.org/opencv-hackathon-starts-next-week/bugcategory: imgproc
Milestone
Description
System information (version)
- OpenCV => tested from
3.3.0to3.3.1-dev(66e09bc) - Operating System / Platform => Ubuntu 16.04(64bit)
- Compiler => gcc
Detailed description
There seems to be yet another set of points that breaks fitEllipse(). I've tried both (a) local compile from official sources(3.3.1 and the latest master) and (b) the unofficial opencv-python PyPI binary, but it still happens the same.
Steps to reproduce
-
Compile by following https://docs.opencv.org/3.1.0/dd/dd5/tutorial_py_setup_in_fedora.html, but on Ubuntu.
-
On Python, try:
Python 3.5.2 (default, Nov 23 2017, 16:37:01)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import cv2
>>> cv2.__version__
'3.3.1-dev'
>>> import numpy as np
>>> cv2.fitEllipse(np.array([(0, 1), (0, 2), (0, 3), (2, 3), (0, 4)]))
((0.0, 21.461536407470703), (36.34366226196289, 203.46951293945312), 107.87489318847656)Translations by distance(moving the set vertically/horizontally) would still give the same results.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Hackathonhttps://opencv.org/opencv-hackathon-starts-next-week/https://opencv.org/opencv-hackathon-starts-next-week/bugcategory: imgproc