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

Branchname #144

Closed
wants to merge 2 commits into from
Closed

Branchname #144

wants to merge 2 commits into from

Conversation

ztyf-lq
Copy link

@ztyf-lq ztyf-lq commented Oct 10, 2022

Motivation

Optimize and refine image_demo.py #128 #136

Modification

Add the switch of whether to display the result. The default value is False.

Add the inference test of the images folder.

Add the switch of whether to inference images under subdirectory. The default value is False.

Add the inference demo of the video.

Add inference mode switch. The default value is img

Add camera-id switch. The default value is 0.

Add progress bar in image and video demo.

Remove Palette Switch.

##Issues

There is a problem in the inference_detector function. The second parameter of this function is the str object.But after modification, it needs to be numpy.ndarray object. At this time, we should use the LoadImageFromNdarray. But an error indicates that the function is not registered. Then I revised the code as follows: cfg.data.test.pipeline[0].type = 'mmdet.LoadImageFromNdarray'. It can run normally.

@hhaAndroid
Copy link
Collaborator

@ztyf-lq Hello, you can directly collaborate with #128 to develop, you don't need to creat a pr separately

@ztyf-lq
Copy link
Author

ztyf-lq commented Oct 10, 2022

@ztyf-lq Hello, you can directly collaborate with #128 to develop, you don't need to creat a pr separately

ok,I will delete this branch. Thank you for your reply.

@ztyf-lq ztyf-lq closed this Oct 10, 2022
@ztyf-lq ztyf-lq deleted the branchname branch October 10, 2022 07:22
@OpenMMLab-Assistant005
Copy link

Hi @ztyf-lq !We are grateful for your efforts in helping improve this open-source project during your personal time.
Welcome to join OpenMMLab Special Interest Group (SIG) private channel on Discord, where you can share your experiences, ideas, and build connections with like-minded peers. To join the SIG channel, simply message moderator— OpenMMLab on Discord or briefly share your open-source contributions in the #introductions channel and we will assist you. Look forward to seeing you there! Join us :https://discord.gg/UjgXkPWNqA
If you have a WeChat account,welcome to join our community on WeChat. You can add our assistant :openmmlabwx. Please add "mmsig + Github ID" as a remark when adding friends:)
Thank you again for your contribution❤

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.

3 participants