yolov5 icon indicating copy to clipboard operation
yolov5 copied to clipboard

HTTPS video stream detection encountered stuck frames

Open NGIWS719 opened this issue 1 year ago • 4 comments

Search before asking

  • [x] I have searched the YOLOv5 issues and discussions and found no similar questions.

Question

The HTTPS video stream can be accessed on the public network. I used YOLOv5 to detect the HTTPS video stream, and then the saved detection video encountered stuck frames and quickly loaded many frames (please refer to the time in the bottom right corner of the attached video for details). I couldn't find out the reason, and I'm not sure if it's caused by the HTTPS protocol.

Additional

https://github.com/ultralytics/yolov5/assets/93505227/3f812c4b-2a04-492e-941f-467d08553c49

NGIWS719 avatar Feb 06 '24 07:02 NGIWS719

👋 Hello @NGIWS719, thank you for your interest in YOLOv5 🚀! Please visit our ⭐️ Tutorials to get started, where you can find quickstart guides for simple tasks like Custom Data Training all the way to advanced concepts like Hyperparameter Evolution.

If this is a 🐛 Bug Report, please provide a minimum reproducible example to help us debug it.

If this is a custom training ❓ Question, please provide as much information as possible, including dataset image examples and training logs, and verify you are following our Tips for Best Training Results.

Requirements

Python>=3.8.0 with all requirements.txt installed including PyTorch>=1.8. To get started:

git clone https://github.com/ultralytics/yolov5  # clone
cd yolov5
pip install -r requirements.txt  # install

Environments

YOLOv5 may be run in any of the following up-to-date verified environments (with all dependencies including CUDA/CUDNN, Python and PyTorch preinstalled):

Status

YOLOv5 CI

If this badge is green, all YOLOv5 GitHub Actions Continuous Integration (CI) tests are currently passing. CI tests verify correct operation of YOLOv5 training, validation, inference, export and benchmarks on macOS, Windows, and Ubuntu every 24 hours and on every commit.

Introducing YOLOv8 🚀

We're excited to announce the launch of our latest state-of-the-art (SOTA) object detection model for 2023 - YOLOv8 🚀!

Designed to be fast, accurate, and easy to use, YOLOv8 is an ideal choice for a wide range of object detection, image segmentation and image classification tasks. With YOLOv8, you'll be able to quickly and accurately detect objects in real-time, streamline your workflows, and achieve new levels of accuracy in your projects.

Check out our YOLOv8 Docs for details and get started with:

pip install ultralytics

github-actions[bot] avatar Feb 06 '24 07:02 github-actions[bot]

@NGIWS719 hello! Thanks for reaching out. It seems like you're experiencing issues with frame consistency when processing an HTTPS video stream. This could be due to network latency or buffering issues rather than the HTTPS protocol itself.

To address this, you might want to ensure that your network connection is stable and consider reducing the video resolution or frame rate to alleviate the load on the network. Additionally, check if the issue persists with different video streams to rule out source-specific problems.

If the problem continues, please provide more details such as the command you're using to run the detection and any relevant console output. This will help us understand the issue better and assist you more effectively.

For further guidance, you can refer to our documentation at https://docs.ultralytics.com/yolov5/.

Keep us posted on your progress! 🚀

glenn-jocher avatar Feb 06 '24 13:02 glenn-jocher

@glenn-jocher I feel that it's also due to network issues. Next time, I will go to the internal network for testing. Thank you!

NGIWS719 avatar Feb 06 '24 14:02 NGIWS719

@NGIWS719 You're welcome! Testing on an internal network sounds like a good plan to isolate the issue. If you encounter any further challenges or have questions, don't hesitate to reach out. Best of luck with your testing, and I hope it goes smoothly! 😊👍

glenn-jocher avatar Feb 06 '24 23:02 glenn-jocher

👋 Hello there! We wanted to give you a friendly reminder that this issue has not had any recent activity and may be closed soon, but don't worry - you can always reopen it if needed. If you still have any questions or concerns, please feel free to let us know how we can help.

For additional resources and information, please see the links below:

  • Docs: https://docs.ultralytics.com
  • HUB: https://hub.ultralytics.com
  • Community: https://community.ultralytics.com

Feel free to inform us of any other issues you discover or feature requests that come to mind in the future. Pull Requests (PRs) are also always welcomed!

Thank you for your contributions to YOLO 🚀 and Vision AI ⭐

github-actions[bot] avatar Mar 08 '24 00:03 github-actions[bot]