samples: refactor DNN model downloading#12186
Closed
alalek wants to merge 5 commits intoopencv:3.4from
Closed
Conversation
alalek
commented
Aug 8, 2018
| raise ImportError("Can't find OpenCV Python module. If you've built it from sources without installation, " | ||
| 'configure environemnt variable PYTHONPATH to "opencv_build_dir/lib" directory (with "python3" subdirectory if required)') | ||
|
|
||
| data_path = os.path.realpath(os.path.join(os.path.dirname(os.path.realpath(__file__)), '../../samples/data')) |
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
- added CMake "skip" flag: OPENCV_SAMPLES_SKIP_DATA_DOWNLOAD
- added CMake "extra" flag: OPENCV_SAMPLES_EXTRA_DATA_DOWNLOAD
- added standalone "parameter-less" sample: opencv_dnn_face_detector.py
- added winpack "just run" .cmd script for Python sample
- split Metalink file, added FP32
- fixed WINDOW_AUTOSIZE (required for GTK backend)
- fixed confidence callback to work with images too
- added saving of input/result frame ('space' key)
with auto downloader for defined file URLs
It may contain some useful information, like: - RuntimeError: module compiled against API version 0xc but this version of numpy is 0xb
Contributor
|
@alalek Do you plan to finish it in mean time? |
Member
|
Hi! I'd like to continue working on openvinotoolkit/open_model_zoo#272 but now as a part of So we can use Python code inside C++ and use it as for samples as to download test data. |
Contributor
|
jenkins cn please retry a build |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
OPENCV_SAMPLES_SKIP_DATA_DOWNLOADOPENCV_SAMPLES_EXTRA_DATA_DOWNLOADrelated #12124
replaces #12154