roboflow / notebooks

Examples and tutorials on using SOTA computer vision models and techniques. Learn everything from old-school ResNet, through YOLO and object-detection transformers like DETR, to the latest models like Grounding DINO and SAM.
https://roboflow.com/models
5.09k stars 788 forks source link

Unable to detect and framed the objects when using video clip #91

Open slamgundam opened 1 year ago

slamgundam commented 1 year ago

Search before asking

Notebook name

I only shared to mohamed@roboflow.com email

Play together-train-yolov8-object-detection-on-custom-dataset.ipynb https://colab.research.google.com/drive/1vuPjCsAlz6Tq3xpvkkhu1KfcXmylWqqH?usp=sharing

Bug

When I tried to detect objects in the video clips, it seems that It did not frame the objects properly. However, when I uploaded an image, it successfully detected and framed the object. I am not sure what happened, as detecting and framing objects in videos worked fine before, but now it is not working anymore.

Detect and framed as image is successful https://user-images.githubusercontent.com/9458891/229852419-0c270d1a-f01f-4801-9866-e75a3e12fda5.mp4

Detect and framed as video clip is failed https://user-images.githubusercontent.com/9458891/229853154-91307cc1-44ae-4445-88fe-3acc51be3e31.mp4

Environment

Google Colab

Minimal Reproducible Example

No response

Additional

I only shared to mohamed@roboflow.com email

Testing image file https://drive.google.com/file/d/1KFIdnzsPTlhk2JV28PnlKj789TmMXopp/view?usp=sharing

Testing video clip https://drive.google.com/file/d/1dZVyWttWDBSkdm_xLtIjI3ZzyuqGfAe1/view?usp=sharing

Trained model file https://drive.google.com/file/d/10E-iI6Go4NVt6YpWKJAb3-NLqzixrEFn/view?usp=sharing

Here's the link that I posted few weeks ago. (sorry been busy, wasn't got a time to write issue over in Github) https://discuss.roboflow.com/t/unable-to-detect-and-framed-the-objects-when-using-video-clip/1730

Are you willing to submit a PR?

github-actions[bot] commented 1 year ago

👋 Hello @slamgundam, thank you for leaving an issue on Roboflow Notebooks.

🐞 Bug reports

If you are filing a bug report, please be as detailed as possible. This will help us more easily diagnose and resolve the problem you are facing. To learn more about contributing, check out our Contributing Guidelines.

If you require support with custom code that is not part of Roboflow Notebooks, please reach out on the Roboflow Forum or on the GitHub Discussions page associated with this repository.

💬 Get in touch

Do you have more questions about Roboflow that we haven't responded to yet? Feel free to ask them on the Roboflow Discuss forum. Our developer advocates and community team actively respond to questions there.

To ask questions about Notebooks, head over to the GitHub Discussions section of this repository.

naren2cmu commented 1 year ago

Yes. I observed the same issue.

SkalskiP commented 1 year ago

Hi @slamgundam and @naren2cmu, did you try to do the same but not in the UI but in Python? I'm happy to try to help you but, it looks to me more like a problem with our UI rather than problem with the model.

AnukritiSinghh commented 1 year ago

hey can you share your code for video please?

SkalskiP commented 1 year ago

hey can you share your code for video please?

Could you be a bit more specific?

AnukritiSinghh commented 1 year ago

I want to use yolov8 for video segmentation. Looks like you have a notebook for that?

On Mon, Jun 12, 2023 at 11:58 AM Piotr Skalski @.***> wrote:

hey can you share your code for video please?

Could you be a bit more specific?

— Reply to this email directly, view it on GitHub https://github.com/roboflow/notebooks/issues/91#issuecomment-1587621017, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGZUXZZO4KXI4373V4FFSJDXK44CNANCNFSM6AAAAAAWS574RI . You are receiving this because you commented.Message ID: @.***>

SkalskiP commented 1 year ago

@AnukritiSinghh did you tried to run this notebook: https://colab.research.google.com/github/roboflow-ai/notebooks/blob/main/notebooks/train-yolov8-instance-segmentation-on-custom-dataset.ipynb ?