Publons profile – widget

Recently I’ve updated my profile at Publons, and saw that they now have a nice widget to be added in your website.

Let’s try it!

In fact I am quite busy lately, so my statistics show that I am reviewing less than a couple of years ago, but I find Publons as a very interesting concept, because peer review is an intrinsic part of the research cycle, and there wasn’t a mechanism to get some credit out of it.

Hope Publons get more prestige, and peer review (in general) is also considered as academic merit in the future!

Posted in Computer vision | Tagged | Leave a comment

Docker image with OpenCV with X11 forwarding for GUI

Docker is very cool. You can use it to build applications in isolated environments (e.g. some Ubuntu distro you like, with some specific OpenCV version installed in it), pack the entire OS and app into an “image”, and ship it to a repository, where others can download it, and “deploy” the image into a container.

But, by default, when you run a container, you are doing it via a terminal command (e.g. run docker –rm -ti some_image_name /bin/bash), and as a result, your image don’t have a way to show GUI apps, unless you do something else.

In my case, I sometimes want to see that my code is running, for instance, some OpenCV functions, so I want to see the displayed GUI.

There is a lot of discussion about this topic, but the most simple way to do it is  to not touch the Dockerfile, but, instead, do the trick when running the container:

xhost +
sudo docker run --rm -ti --net=host --ipc=host \
   -v /tmp/.X11-unix:/tmp/.X11-unix \
   opencv_gui ./sample/build/bin/opencvSample ./sample/docker.png

There is a lot of stuff going on there. Basically, the xhost + allows everybody to use your host x server; while the DISPLAY and X11 commands specify the Docker container to share the X11 socket and host display.
The opencv_gui is the name of a sample Docker image which runs the opencvSample program. You can get it from my public repository at Docker Hub:

docker pull mnieto/opencv_gui

You will see that the Dockerfile is pretty simple and without any specific X11 command:

FROM ubuntu:14.04

# General dependencies
RUN sudo apt-get update && apt-get install -y \	
	build-essential \
	cmake \

# Eigen and OpenCV
RUN apt-get install -y \

# Project
RUN mkdir /sample
COPY main.cpp CMakeLists.txt /sample/
RUN 	cd /sample && \
	mkdir build && \
	cd build && \
	cmake .. && \
	make -j

COPY docker.png /sample/

If you run that, you should be able to see the following image:

Good luck!


Posted in Computer vision, OpenCV | Tagged , , , | 3 Comments

Real-time vehicle detection and lane detection for ADAS

This time I bring a new result we have achieved in Vicomtech-IK4: an improved real-time vehicle detection and lane tracking system for ADAS (Advanced Driver Assitance Systems).

It follows the history of developments we’ve been doing in this line, evolving previous approaches (including migration into iOS) into a more reliable and fast solution.

Links to previous videos:

The new developments include real-time performance in Android devices, much more reliable detection and tracking of vehicles (using a multi-thread approach combining different detectors and tracking approaches), and also a holistic model of lanes, which are filtered with a multi-Kalman filter.

Hope you like this video! If you are curious about it or have technical doubts, please, write an entry in this post. Sometimes I am too busy to response quickly, but I try to come back to the blog as often as I can.

See you!

Posted in ADAS, Computer vision, Viulib | Tagged , , , | 19 Comments