Skip to content

Extremely slow performance when moving object is on screen #5

@new01

Description

@new01

I'm using a Logitech Webcam (C270) hooked up to the sentry turret. Everything works fine except when I try to actually run the code. The camera feed runs at a decent framerate (20+). But when an object moves into view that is tracked (Ex. Box drawn around it) the framerate is fine for the first 3¬ frames of tracking, and then after that, the framerate tanks to something like 1 frame every 2 seconds. The turret's motors are also slowed. I'm using OpenCV 3.1 right now. How can I solve this issue?
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions