colour-checker-detection icon indicating copy to clipboard operation
colour-checker-detection copied to clipboard

Cannot import `colour_checkers_coordinates_segmentation` definition.

Open YixiangShan opened this issue 1 year ago • 3 comments

Question

Hi, I can not import (colour_checkers_coordinates_segmentation) from colour_checker_detection. Do you know the reason?

from colour_checker_detection import (colour_checkers_coordinates_segmentation)
Traceback (most recent call last):

  Cell In[21], line 1
    from colour_checker_detection import (colour_checkers_coordinates_segmentation)

ImportError: cannot import name 'colour_checkers_coordinates_segmentation' from 'colour_checker_detection' (/Users/yixiangshan/opt/anaconda3/lib/python3.9/site-packages/colour_checker_detection/__init__.py)

YixiangShan avatar Mar 11 '24 12:03 YixiangShan

Hi @YixiangShan,

This API was removed in the 0.2.x release. Which version are you using?

Cheers,

Thomas

KelSolaar avatar Mar 29 '24 22:03 KelSolaar

Hi @KelSolaar,

I'm trying also to use colour_checkers_coordinates_segmentation since it's more the part on the segmentation that is usefull for my project. On which version can i use it ? Are there other ways to do it ?

GuilhemVignal avatar Aug 28 '24 12:08 GuilhemVignal

Try colour_checker_detection.segmenter_default, I would need to check the history as I don't remember but maybe I actually renamed it to this.

KelSolaar avatar Sep 02 '24 06:09 KelSolaar