Skip to content

ability to install opencv-python-headless instead opencv-python#62

Merged
zhiltsov-max merged 3 commits intodevelopfrom
az/headless_opencv
Dec 10, 2020
Merged

ability to install opencv-python-headless instead opencv-python#62
zhiltsov-max merged 3 commits intodevelopfrom
az/headless_opencv

Conversation

@azhavoro
Copy link
Copy Markdown

Summary

Added ability to install opencv-python-headless dependency instead opencv-python. This is needed for CVAT server Docker image.

How to test

Manually

Checklist

License

  • I submit my code changes under the same MIT License that covers the project.
    Feel free to contact the maintainers if that's a concern.
  • I have updated the license header for each file (see an example below)
# Copyright (C) 2020 Intel Corporation
#
# SPDX-License-Identifier: MIT

setup.py Outdated
'scikit-image',
'tensorboardX',
]
if os.getenv('HEADLESS') == '1':
Copy link
Copy Markdown
Contributor

@zhiltsov-max zhiltsov-max Dec 10, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's call it DATUMARO_ or DM_ HEADLESS to avoid unexpected overlaps. Also, I think it's better to use strtobool with .lower().

zhiltsov-max
zhiltsov-max previously approved these changes Dec 10, 2020
@zhiltsov-max zhiltsov-max merged commit 9102d74 into develop Dec 10, 2020
@zhiltsov-max zhiltsov-max deleted the az/headless_opencv branch December 10, 2020 12:36
This was referenced Dec 10, 2020
zhiltsov-max pushed a commit that referenced this pull request Dec 11, 2020
* Relax importer for Pascal VOC dataset (search in subdirectories) (#50)

In some cases developers don't want to specify the exact path to Pascal VOC.
Now you have to specify VOCtrainval_11-May-2012/VOCdevkit/VOC2012/. After the
patch it will be possible to specify VOCtrainval_11-May-2012/.

* Allow missing supercategory in COCO annotations (#54)

Now it is possible to load coco_instances dataset even if the annotation file doesn't have supercategory

* Add CamVid format support (#55)

Co-authored-by: Maxim Zhiltsov <maxim.zhiltsov@intel.com>

* Fix CamVid format (#57)

* Fix ImageNet format

* Fix CamVid format

* ability to install opencv-python-headless instead opencv-python (#62)

Allow to choose `opencv=python-headless` as dependency with `DATUMARO_HEADLESS=1` env. variable when installing

* Release 0.1.4 (#63)

* update version

* update changelog

Co-authored-by: Nikita Manovich <nikita.manovich@intel.com>
Co-authored-by: Anastasia Yasakova <anastasia.yasakova@intel.com>
Co-authored-by: Andrey Zhavoronkov <andrey.zhavoronkov@intel.com>
zhiltsov-max pushed a commit to zhiltsov-max/datumaro that referenced this pull request Jan 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants