question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature Request] Add LoadImageFromNdarray alias for LoadImageFromWebcam

See original GitHub issue

Describe the feature

Motivation LoadImageFromWebcam is not easy to understand how it works. Actually it transform ndarray to default mmdetection data format.

So I think it is good idea to add alias as LoadImageFromNdarray. implementation will be like just below

# end of the mmdet.datasets.pipelines.py
LoadImageFromNdarray = LoadImageFromWebcam

If it seems good idea, I will create the PR.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
gaotongxiaocommented, Feb 17, 2022

It’s okay to submit a PR for now, but it won’t be merged utill April.

1reaction
ZwwWaynecommented, Feb 17, 2022

Hi @nijkah , Thank you for the kind suggestion. It is indeed more natural to name it as LoadImageFromNdarray. However, for now, since MMOCR implements this module and it directly uses the registry of MMDet, simply adding a new module in mmdet with a similar name will make MMOCR cannot run. We are considering the modification of the registry so as this feature request, but it will take some time.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Feature Request - Ability to rename Alias's, Policy Templates etc
Can I post a discussion to add the feature of being able to rename, to me this should have always been in there...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found