DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
The Latest "Software Integration: The Intersection of APIs, Microservices, and Cloud-Based Systems" Trend Report
Get the report
  1. DZone
  2. Data Engineering
  3. AI/ML
  4. Machine Learning APIs and Algorithmic Rotoscope Work

Machine Learning APIs and Algorithmic Rotoscope Work

Algorithmic rotoscope work can make for a creative yet very API-focused project that you can turn into a small business or keep as something to do in your spare time.

Kin Lane user avatar by
Kin Lane
·
Jan. 05, 17 · Opinion
Like (5)
Save
Tweet
Share
7.25K Views

Join the DZone community and get the full member experience.

Join For Free

I was playing around with Algorithmia for a story about their business model back in December, when I got sucked into playing with their DeepFilter service, resulting in a four-week long distraction which ultimately became what I am calling my algorithmic rotoscope work. After weeks of playing around, I have a good grasp of what it takes to separate videos into individual images, apply the Algorithmia machine learning filters, and reassemble them as videos. I also have several of my own texture filters created now using the AWS AMI and Algorithmia — you can learn more about algorithmic rotoscope and get details of what I did via the GitHub project updates here.

The project has been a great distraction from what I should be doing. After the election, I just did not feel like doing my regular writing of articles, scheduling of tweets, processing of press releases, and the other things I do on a regular basis. Algorithmic Rotoscope provided a creative yet very API-focused project to take my mind off things during the holidays. It was a concept that I couldn't get out of my head, which is always a sign for me that I should be working on the project. The work was more involved than I anticipated, but after a couple weeks of tinkering, I have the core process for applying filters to videos working well, allowing me to easily apply the algorithmic textures.

Other than just being a distraction, this project has been a great learning experience for me, with several aspects keeping me engaged.

Algorithmia's Image Filters

This is their very cool DeepFilter service, which allows you to apply artistic and stylish filters to your images using their API or CLI, providing over 30 filters you can use right away.

Training Style Transfer Models

With these models, you can fire up an Amazon GPU instance, look through art books, and find interesting pieces that can be used to train the machine learning models so that you can define your own filters.

Applying Filters To Images

I spent hours playing with Algorithmia's filters, applying them to my photo library, experimenting, and playing around with what looks good and what is possible.

Applying Filters To Videos

Applying Algorithmia's and my own filters to videos I have laying around, especially when this is possible when applied to the GB's of drone video I have laying around, is something that is only going to grow.

Why is this an API story? Well, first of all, it uses the Algorithmia API. Also, I have developed the separation of the videos, application of filters to images, and reassembly of the videos as an API. It isn't anything that is production stable, but I've processed thousands of images and many minutes of video and made over 100K API calls to Algorithmia. Next, I am going to write up Algorithmia's business model, using my algorithmic rotoscope work as a hypothetical API-driven business. This will help me think through the economics of building a SaaS or retail API solution on top of Algorithmia. 

Beyond being an API story, it has been a lot of fun to engineer and play with. I still have a GPU instance fired up and training filters, and I'm recording more drone and other video footage specifically so that I can apply some of the new filters I've produced. I have no intention of doing it as a business — algorithmic rotoscope is just a side project that I hope will continue to be a creative distraction for me and give me another reason to keep flying drones and get away from the computer when I can. In the end, I am learning a lot about drones, videography, and machine learning. Best of all, it has helped me regain my writing mojo.

Machine learning Filter (software)

Published at DZone with permission of Kin Lane, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Fargate vs. Lambda: The Battle of the Future
  • Introduction to Container Orchestration
  • What Are the Benefits of Java Module With Example
  • Monolithic First

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: