AI Software Architect

I design and build applied AI, computer vision and data-at-scale systems — from architecture to product in production.

L'Hospitalet de Llobregat (Barcelona) · Remote
Edgar Alarcón
About

From electronics to applied AI.

AI Software Architect based in Barcelona. My path runs from electronics and robotics to industrial-scale computer vision and, today, to agentic AI and massive data systems. I am driven by building product end to end: complex architecture, pioneering R&D and creative solutions to hard problems.

At Infinity Neural I took a video-analytics product from prototype to a platform with 250+ production servers, including the first crowd-counting system homologated by the Spanish Metrology Center (>99% accuracy), deployed across Renfe, Barcelona’s El Prat airport and the Mobile World Congress.

As co-founder of Baboon Technologies I built SVInvesting, a systematic value investing platform that values 60,000+ companies a day over a 5 TB+ database; and as co-founder of Rackety TV I design its computer-vision sports analytics and the clubs’ edge infrastructure.

Experience

Where I have worked

Co-founder & Tech Lead

Baboon Technologies

2024 – present

I co-founded Baboon Technologies, whose flagship product is SVInvesting. I lead the software architecture, deployments, batch jobs and monitoring, plus the infrastructure (Proxmox, Docker) and the scaling of its 5 TB+ database.

Co-founder & AI Software Architect

Rackety TV

2023 – present

I co-founded Rackety TV, sports analytics powered by computer vision. I design the video pipeline, player analytics (YOLO, pose), gamification and automated streaming/recording, together with the clubs’ edge infrastructure.

AI Software Architect & Consultant

Freelance

2021 – present

End-to-end consulting and product development (applied AI, backend and infrastructure) for clients. The umbrella under which I co-founded Baboon Technologies and Rackety TV.

Product Owner / Software Architect

Infinity Neural

2017 – present

From Computer Vision architect and developer to Product Owner. I took the video-analytics platform from prototype to 250+ production servers, led a multidisciplinary team of up to 6 people and owned the system’s robustness, scaling and monitoring. Since 2024, part-time advisory.

VR & Robotics Developer

Altran · Barcelona

2017 · 9 months

VR and robotics proofs of concept for the Barcelona showroom: robot code in C and virtual-reality environments in Unity/C#, including remote control of a robotic arm from VR over WebSockets.

Robotics & Computer Vision Researcher

Univ. der Bundeswehr München · Munich, Germany

Sep 2016 – Jan 2017

Final degree project: research in 3D computer vision and robotics. I developed the object and distance detection algorithm and the camera-robot synchronization for grasping with a robotic arm.

Projects

Selected work

SVInvesting

Baboon Technologies 2024 – present
PythonPolarsPostgreSQLFastAPIProxmox

A systematic value investing platform that values 60,000+ companies a day over a 5 TB+ database.

The problem
Methodically and systematically valuing every company in the market at once, with daily recomputation on price changes plus quarterly/annual reports, without the system buckling.
Stack decision
Re-architecting the stack from MySQL to PostgreSQL and from Pandas to Polars to make real-time computation viable; billion-row tables with a partitioning scheme to optimize queries.
The technical challenge
Designing a generic data module that generalizes to any asset type and its edge cases (different markets, reporting frequencies) over a 5 TB+ database.
Impact
Real-time daily valuation of 60,000+ companies on a dedicated server with 300+ GB of RAM and 10+ TB of disk. The backbone of Baboon Technologies’ investment fund.

Chat Engine

Freelance 2021 – present
PythonLangGraphRAGpgvectorMCP

A multi-client agentic chat engine with RAG, external tools and generative BI, isolated per client.

The problem
Give each client an assistant that answers any question about their documents and data, connects to their tools and generates charts and dashboards, while keeping data isolated.
Stack decision
FastAPI + LangChain/LangGraph, RAG indexing with pgvector and Cohere Rerank, orchestration of several LLMs by quality/price (OpenRouter, Gemini, Deepseek) and tools via MCP/FastMCP. Fully traceable with Langfuse.
The technical challenge
During indexing, automatically clustering information, detecting discrepancies and allowing manual curation; and isolating data by project_id in a reusable multi-tenant engine.
Impact
A reusable engine in production for several clients (financial Q&A, margin and profitability monitoring with charts).

Crowd-counting system

Infinity Neural 2017 – present
C++CUDAYOLOOpenCVMultithreading

The first crowd-counting system homologated by the Spanish Metrology Center, with >99% accuracy and real-time multi-camera fusion.

The problem
Certifiably accurate crowd counting in massive venues (trade fairs, casinos, street festivals), where a single camera can’t cover wide entrances and overlap between cameras causes double counting.
Stack decision
Python prototype (YOLOv2 + a custom tracking algorithm) rewritten in C++ with CUDA to scale performance; multithreading to process many cameras on a single GPU.
The technical challenge
Fusing and synchronizing up to 12 aligned cameras in real time into a single view where analytics run, with fine overlap configuration so the same person is never counted twice.
Impact
Over 99% accuracy homologated by the Spanish Metrology Center — the first certified counting system. Robust with up to 200 people under a single camera (San Fermín festival).

PrismaRiders

Freelance 2021 – present
PrismaRiders
Next.jsFastAPIPostgreSQLStripeOpenRouteService

A platform for at-home therapists with a slot optimizer that minimizes travel and waiting time.

The problem
Cutting travel and waiting time for at-home therapists, bringing several roles (therapists, patients, centers, guardians, admin), clinical records, calendar and payments into a single platform.
Stack decision
Next.js/React + FastAPI/SQLAlchemy on PostgreSQL; Stripe (recurring payments and Connect), Google Calendar (two-way sync) and OpenRouteService for real distances/times.
The technical challenge
The slot optimizer: it scores (0–100) each therapist’s gaps and places every patient in the best one using real locations, penalizing dead waiting time and travel.

AI sports video analytics — Rackety

Rackety TV 2023 – present
Demo de la analítica de vídeo de Rackety
PythonYOLO PoseComputer VisionRunPodMultithreading

Gesture-based highlight detection and player heatmaps from each match’s footage.

The problem
Automatically extracting a match’s best moments and player analytics from already-recorded footage, optimizing cost and processing time.
The technical challenge
Telling the chosen highlight gesture (raised arms) apart from similar in-game moves (smashes, volleys): an algorithm over the joints (YOLO Pose) that catches true positives without adding false ones.
Impact
Processed with GPU workers on RunPod to optimize cost and time, with a strong focus on multithreading.

Edge streaming & recording app for clubs

Rackety TV 2023 – present
NUCRTMPSNGINXWireGuardEdge computing

An edge device (NUC/Raspberry) in each club that streams, records and uploads video, orchestrated over VPN.

The problem
Efficiently live-streaming and recording each club’s video, uploading it to the platform and knowing what every NUC should do at any moment.
The technical challenge
Building the VPN architecture (OpenVPN → WireGuard) and a centralized RTMPS server with NGINX to remotely monitor camera and process connectivity in each club.

Access & platform analytics — Renfe

Infinity Neural 2017 – present
Computer VisionC++Multicámara

Turnstile counting, fraud detection and platform occupancy deployed across the entire Renfe network.

The problem
Monitoring accesses and platforms across an entire rail network: turnstile counting, fraud (two people at once, jumping the gate), people carrying objects, track intrusions and occupancy.
Impact
Deployed across the whole Renfe network and periodically audited by the client, recurrently validating its accuracy.

Object tracking & grasping with a 3D camera + robotic arm

Univ. der Bundeswehr München Sep 2016 – Jan 2017
C++OpenCVPCLCinemática inversaOdometría

Final degree project: a 3D camera and a robotic arm that detects an object, approaches it and grabs it.

The problem
Assembling a 3D camera with a motorized robotic arm and a vision algorithm to detect an object and its distance, follow it, approach and grab it automatically.
The technical challenge
The 3D camera loses depth below 0.5 m; solved by interpolating with wheel odometry to estimate position in the near range, plus the arm’s inverse kinematics.

Ecosystem infrastructure & observability

Freelance 2021 – present
DokployDockerTraefikCloudflareUptime Kuma

The cross-cutting infrastructure that orchestrates, deploys and monitors every service and project.

The problem
Managing multiple services and platforms in a reproducible, well-monitored way, with continuous deployment, backups and alerts.
Stack decision
Dokploy + Docker for orchestration, Traefik as reverse proxy, DNS on Cloudflare, WireGuard VPN, SSH tunnels with socat, daily S3 backups and job monitoring with Uptime Kuma plus centralized observability.

Drug dispenser prototype — Valls Hospital

ArduinoElectrónicaJavaMySQL

An electromechanical dispenser that logs and authorizes morphine extraction via fingerprint.

The problem
In an emergency, staff took morphine products without leaving a record; regulators penalized this because everything had to be logged.
The technical challenge
Coordinating a full electromechanical system: an Arduino board with sensors across 40 slots, a stepper motor, a servo-driven hatch and a fingerprint reader, all tied to a tablet (Java app + MySQL).
Education & languages

Education

  • Master's in Data Science Univ. Oberta de Catalunya (UOC) · 2019 – 2021
  • BEng Industrial Electronics & Automation Univ. Politècnica de Catalunya (UPC) · 2012 – 2017

Languages

  • Spanish Native
  • Catalan Native
  • English B2/C1
Contact

Got something in mind?

Drop me a line and we talk. I answer projects, collaborations and technical questions.