Deploying computer vision algorithms as service

Learn Programming - 11 hours 54 min ago

I got some algorithms and trained models that i want to deploy like: and i have some questions about the architecture of the project.

What i have in mind:

  • Transform each algorithm in a rest api
  • Use jenkins to deploy dockers containing the algorithms, a docker for each algo
  • Create a docker for the website


  • Scale most used algorithms
  • Easier to serve Mobile apps and IoT devices
  • Some algo are in C++ and some are in python, it will be easier to communicate between them
  • Deploy on my vps and maybe on amazon

The problem: never did something like this before, my background is desktop... so it would be a great opportunity to learn web, mobile and deploy

Workflow user:

  • User access the website
  • Select an algorithms
  • Upload a image with some information, like threshold and adjust some sliders
  • User get back the processed image

Workflow server:

  • Web app container download the image and get the information from forms
  • Web app send that information to the right container using the rest api
  • Algo container download that image and get the information to process. The result, and image and some information like coordinates, is sent back by API response to web app
  • Web app deliver all the info to client


  • There is a way that i only need to download the image one time? Without Using a external image host. Skipping the need of web app container get that image. I wanted to skip converting that image to base64 too if possible.

  • Some recommendations about user streaming videos and get real-time response. Ex: a user use his webcam to get his face tracked live

  • What if two or more users try to do the thing above at the same time? Load balancers/Queues ?

  • Ignoring what i have in mind... what would be right way to deploy computer vision as a service?

Tips, books, videos, tutorials ... about developing micro services that exchange images/audio would be very helpful. Most of the tutorials just use json and text, i wanted something more close to my area if possible.

Thanks for any help!

submitted by /u/u1968002
[link] [comments]

I was wondering how I could combine the following technologies for a personal project.

Learn Programming - 13 hours 14 min ago

A friend and I are looking to become software developers, but lack projects on our GitHub accounts. I want to create a desktop application that makes use of Java (classes/concurrency/networking), Swing (UI), and SQL (database). Ideally, the app will connect to a server to interact with an SQL database. The aim of this project is to show that I am capable with working with the above technologies.

Is there a course/project that will walk us through this? We could extend on what the ideas given and introduce our own. I'm not sure how to go about this and would like some advice.

submitted by /u/Gangstuh_Nugget
[link] [comments]

Drupal 7 to drupal 8 job change?

Hi there,
I am offered a position as a backend D8 dev. I am currently doing D7 and I'm kind of ok with it, except that I can get tired of the complexity of drupal.
I have heard that D8 adds some complexity and the learning curve is quite steep. Plus, the future of drupal is rather uncertain as well. So my question is: should I put the energy to learn D8 or stay where I am and learn something else on the side (NodeJS, Python...) to prepare for the future.
I know that there are a lot of other parameters to take in consideration (salary, colleagues etc) but I'm asking about the technical aspects of it.
Thanks for your inputs!

submitted by /u/send_nudes_kudasai
[link] [comments]

Any decent Mac macOS x86_64 assembly tutorial?

Learn Programming - 13 hours 22 min ago

Looking for a decent Mac x86_64 assembly guide. By decent I mean the one which is somewhat up-to-date and is an actual guide/tutorial, not a reference like Apple's own dev page. Something that covers steps from hello-world for dummies to a bit more advanced programs. The one I've found are either misleading, outdated or general programming references.

I thought that GAS is more useful because I can actually find it in C's inline assembly, but on the other hand severals folks recommend NASM because it is also preinstalled and also used today. I am unable to make my own decision here.

I am quite new to this but I've learned TASM when I was a student.

submitted by /u/lvcreate_now
[link] [comments]

Trying to add SSL Certification to my site but getting this error: "Client with the currently selected authenticator does not support any combination of challenges that will satisfy the CA"

Learn Programming - 13 hours 48 min ago

I've been following [this tutorial][1] to add SSH Certification to my site. However at the moment this method [does not work for the time-being due to a security flaw, so here is the alternate method][2]. I'm trying to implement the alternate code-paste: sudo certbot --authenticator webroot --webroot-path <path to served directory> --installer nginx -d <domain> however am not sure what to put in <path to served directory>.

submitted by /u/GerrardSlippedHahaha
[link] [comments]

Where to put derived classes? (C++)

Learn Programming - 13 hours 56 min ago

I have a base class that many other classes are derived from. These derived classes are used in conjunction with other classes and those classes alone. Organization wise would it be better to define the derived classes in the same header file as the base class or define them in the file with the class that uses them? The derived classes are not that large in terms of code.

submitted by /u/Eurim
[link] [comments]

Webpage that prints labels?

Learn Programming - 14 hours 5 min ago

I'm trying to create a webpage that prints labels (kind of like UPS shipping labels). So right now I have a form that takes the info needed for the label, but I need to be able to put it in a sort of template and then print. Any suggestions on how I would get there ?

submitted by /u/NaziUnicornPrincess
[link] [comments]