pythonic-cv
Performant pythonic wrapper of unnecessarily painful opencv functionality (by ES-Alexander)
kaleidoscope
Apply a kaleidoscope effect to images and videos (by ES-Alexander)
pythonic-cv | kaleidoscope | |
---|---|---|
36 | 6 | |
38 | 6 | |
- | - | |
0.0 | 0.0 | |
about 2 years ago | about 3 years ago | |
Python | Python | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pythonic-cv
Posts with mentions or reviews of pythonic-cv.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-10.
-
Play a Video on Loop, Replace Video with Photo, Then Go Back to Video
I did something similar in this example, where the “input” was someone covering up a webcam to switch to the next display source (in my case switching through a list of videos that would continue from where they left off).
-
[pyautogui] What is faster?
If you’re wanting to continuously process your screen like a live video stream you might be interested in (my library) pythonic-cv, which supports MSS as a video input backend.
-
Python Code Help - OpenCV Project
I’ve previously done something similar here, but the transition was triggered by covering a webcam (e.g. with a finger).
-
Better alternative to pyautogui image recognition?
pythonic-cv (disclaimer: my library) includes MSS as an input stream option.
-
[Discussion] Any other ways to find convergence of pixels by color?
If that’s of interest, OpenCV provides a detailed stitching example, although my revision is likely a fair amount easier to follow and understand (but it’s been optimised for video, so if you’re wanting to use it with minimal modification you’ll need to provide your images in a sequence where each image has overlap with the one before it, not in a random order).
-
Class has a method called release instead of close. I want to use the With keyword. How do I tell python to call release instead of close
As something of a side note, you may be interested in (my library) pythonic-cv.
-
Write efficient async code in computer vision programs
I wrote pythonic-cv because I found that pipelines regularly require pre and post processing that can be done in parallel across frames - you might want to take a look :-)
-
Is FER just this slow or is it just me?
Likely areas for parallelisation depend on the operations that are happening - if there are independent stages then they can often be made to run at the same time in separate threads (or processes). Concurrency is similar, although more about doing something else while waiting for I/O, and can generally be solved with threads or asyncio coroutines. A common improvement for video-focused computer vision pipelines is reading in/capturing the next frame while the previous frame is being processed (e.g. like is done with pythonic-cv - disclaimer: my library), but given the frame rates you specified then that may help a bit but is likely not the main culprit. ML-based algorithms can often benefit from the inherent parallelisation of a GPU-based implementation, although that can be difficult or even impossible to achieve depending on the algorithm being used.
- Image stitching
-
[Bug] After trying to send to my database my video is suddenly lagging
Personally I’d approach this using pythonic-cv - it has a VideoReader class that supports separate preprocess and process functions, and has threading built in. Then again, I wrote the library, so it’s not so surprising that I’d jump to using it.
kaleidoscope
Posts with mentions or reviews of kaleidoscope.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-03-09.
-
Any artists, musicians, writers, etc, here? Have you found any interesting ways to use Python in your work?
A couple of fun visual ones: - image to kaleidoscope processor - mandelbulb fractal animation generator
- Learning Python from a visual art direction.
-
[project] mapping functions on images
Generally the most efficient way of doing this is to determine an inverse function (assuming one exists) and then use the output image indices as the input to that function to get the relevant input image indices (assuming they exist), which allows using logical indexing to vectorised the transfer of input to output. As an example you can see this function from my kaleidoscope generator, which creates and performs the relevant transform to get a kaleidoscope image from an input image, with options to adjust the origin position and rotation in both the input and/or output images. The function argument descriptions are in the kaleido function a few lines lower - it was originally just the one function and then I separated out the core part for more efficient interactive and video use.
-
Are there any project ideas, which produces some cool visuals?
As a bit of fun, have a look at my kaleidoscope generator, and this example I posted about when releasing my library pythonic-cv.
-
Kaleidoscope from Image Generator
Feel free to check out the repo and have a play with making an image into a kaleidoscope. It's particularly amusing when people are in the photo.
-
Creating a kaleidoscope filter effect for images?
u/greentriangles1 I went ahead and did it - you can find the code here. It allows everything available from the gimp example plus a bit more. I might have an interactive example up in an hour or few.
What are some alternatives?
When comparing pythonic-cv and kaleidoscope you can also consider the following projects:
ffmpeg-python - Python bindings for FFmpeg - with complex filtering support
processing - Source code for the Processing Core and Development Environment (PDE)
pydub - Manipulate audio with a simple and easy high level interface
python-mss - An ultra fast cross-platform multiple screenshots module in pure Python using ctypes.
SmoothStream - Webcam, PiCamera streaming over the network with Python made easy.
interactive-projectivity-open - Interactive projections using computer vision
OpenCV - Open Source Computer Vision Library
AV-tracker - Lean Software Development course project that determines the user's current state by processing the video feed and mouse/video signals.