Open in app
Home
Notifications
Lists
Stories

Write
Benjamin Lowe
Benjamin Lowe

Home

Published in Analytics Vidhya

·Pinned

Using NumPy efficiently between processes

When dealing with parallel processing of large NumPy arrays such as image or video data, you should be aware of this simple approach to speeding up your code. — Multiprocessing versus Concurrency in Python First, a quick primer on some terminology. In Python, if we want to take full advantage of the processing power of your CPU, you need need to use multiprocessing (typically achieved via the multiprocessing library). This library is therefore well suited for CPU intensive tasks. If we wish to efficiently…

Numpy

7 min read

Using NumPy efficiently between processes
Using NumPy efficiently between processes

Published in Towards Data Science

·Mar 28, 2021

Lightning Fast Video Reading in Python

If you are working with video in Computer Vision, these libraries might help you make your code more efficient with only a few lines of code. — The typical way to read videos in Python A typical pattern for reading videos in Python is using the OpenCV: Are there any problems with this approach? It is entirely functional, but there are a couple of limitations: It is not optimised for speed OpenCV is not designed as a media library. This one may surprise you…

Python

5 min read

Lightning Fast Video Reading in Python
Lightning Fast Video Reading in Python
Benjamin Lowe

Benjamin Lowe

AI Engineer and Scientist

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable