Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 3 commits into from
Dec 10, 2020

Conversation

azhavoro
Copy link

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
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 <[email protected]>

* 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 <[email protected]>
Co-authored-by: Anastasia Yasakova <[email protected]>
Co-authored-by: Andrey Zhavoronkov <[email protected]>
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