Need advice about which tool to choose?Ask the StackShare community!

Blitline

6
9
+ 1
0
OpenCV

1.2K
1K
+ 1
97
scikit-image

252
127
+ 1
11
Advice on Blitline, OpenCV, and scikit-image
Needs advice
on
FFMPEGFFMPEG
and
OpenCVOpenCV

I want to make a video template where we can change images and make a new video with template animation text and song but the images are our and the image which is chosen from a user can convert into different shapes just like cartoon or childhood or old age and at the last show both images in the template video. How I can do it in Android Studio?

See more
Replies (2)
Steve Barnes
Lead Software Tools Engineer at Leonardo UK · | 4 upvotes · 9.1K views

Since I believe Android Studio now supports Python plugins &/or invoking Python scripts I personally would use MoviePy (https://zulko.github.io/moviepy/) as a wrapper around FFMPEG &

ImageMagick (https://www.imagemagick.org/script/index.php) - this combination will allow you to have a script that takes in an image or video, resizes it to a specified size, adds the text, (either scrolling it in or fading in/out or even with some special effects), then saves the output video. There are example scripts on the MoviePy site on how to do these. While you could do it yourself with FFMPEG & ImageMagick plus command line parameters I personally find using MoviePy much more clear & maintainable.

If you want the end user to be able to supply the image/video then you will need to set up a server somewhere that can take in the POSTed image and return the processed results.

See more
Recommends

Hi! I will start by asking questions before giving specific advice, because there is the need to understand better what you want to do, and there will be a number of steps and choices to take, therefore there is not "the one" advice to give here.

First of all, afaiu you want to implement the described video processing on Android?

If that is the case, you will have to create or use native bindings to Java runtime (JNI i.e Android NDK) in order to access FFmpeg or OpenCV or any other C lib itfp. My first advice is therefore, you should check how feasible that is (existing bindings working for your target JRE etc).

Further, i find the description of what you want to produce quite unspecific. I guess parts of what you want to do with either sourced videos or images can be achieved with ffmpeg or opencv based processing.

In the end you just need to start writing some kind of processing steps with either. Once it gets more specific in details you can probably ask more specific questions on how to use these libs or even other tools.

See more
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Blitline
Pros of OpenCV
Pros of scikit-image
    Be the first to leave a pro
    • 36
      Computer Vision
    • 17
      Open Source
    • 12
      Imaging
    • 9
      Face Detection
    • 9
      Machine Learning
    • 6
      Great community
    • 4
      Realtime Image Processing
    • 2
      Helping almost CV problem
    • 2
      Image Augmentation
    • 6
      More powerful
    • 4
      Anaconda compatibility
    • 1
      Great documentation

    Sign up to add or upvote prosMake informed product decisions

    - No public GitHub repository available -
    - No public GitHub repository available -

    What is Blitline?

    Blitline drastically reduces the amount of work you need to develop an application that does any image processing. Stop rebuilding the same image processing functionality, let us do it for much less than it would cost you to make and support it. Pay for only the image processing time that your jobs use. We believe your images should be YOUR images. We also believe that you should never be "locked in" to using Blitline. The flexibility of the JSON API means you could stub out Blitline later without ever touching your production/deployed code.

    What is OpenCV?

    OpenCV was designed for computational efficiency and with a strong focus on real-time applications. Written in optimized C/C++, the library can take advantage of multi-core processing. Enabled with OpenCL, it can take advantage of the hardware acceleration of the underlying heterogeneous compute platform.

    What is scikit-image?

    scikit-image is a collection of algorithms for image processing.

    Need advice about which tool to choose?Ask the StackShare community!

    What companies use Blitline?
    What companies use OpenCV?
    What companies use scikit-image?

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with Blitline?
    What tools integrate with OpenCV?
    What tools integrate with scikit-image?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    What are some alternatives to Blitline, OpenCV, and scikit-image?
    Cloudinary
    Cloudinary is a cloud-based service that streamlines websites and mobile applications' entire image and video management needs - uploads, storage, administration, manipulations, and delivery.
    Pillow
    It adds image processing capabilities to your Python interpreter. It provides extensive file format support, an efficient internal representation, and fairly powerful image processing capabilities.
    FFMPEG
    The universal multimedia toolkit.
    imgix
    imgix is the leading platform for end-to-end visual media processing. With robust APIs, SDKs, and integrations, imgix empowers developers to optimize, transform, manage, and deliver images and videos at scale through simple URL parameters.
    ImageMagick
    It is a free and open-source software suite for displaying, converting, and editing raster image and vector image files. It can read and write images in a variety of formats (over 200) including PNG, JPEG, GIF, HEIC, TIFF, DPX, EXR, WebP, Postscript, PDF, and SVG.
    See all alternatives