Skip to content

CPU not fully utilized #36

@joshinils

Description

@joshinils

image
I own an AMD Ryzen 3800xt 8-core CPU with 16 Threads.
When blurring a video, not all of the CPU is being used.

My guess is this has something to do with reading frames from memory, then detecting info, then blurring it, then storing the blurred frame, then repeating the loop.
My profiling skills in python are non-existent, so I can only guess that this is the reason why CPU performance is not at 100% utilization.
weaving/shuffling IO-bound tasks and CPU-bound ones to do them concurrently would be ideal, so reading and writing happens in the background while detections take place

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions