Skip to content

np.array(data) takes too long... can we replace it with something else? #5356

@tispratik

Description

@tispratik

" return np.array(image.getdata()).reshape(\n",

In my benchmark, it see that it takes anywhere between 900 and 1200 milliseconds on a laptop with 16GiB RAM and 2.6 GHz Intel Core i7 processor. This is important as i am evaluating images from a live video stream from opencv and it is very slow.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions