background preloader


Related:  Vision numérique, algorithmes & tramageGraphics / Computer vision

pygame OpenCV pour Python L'installation d'OpenCV pour Python se fait assez simplement sur GNU/Linux (testé et fonctionnel sur Raspberry Pi): sudo apt-get install python-opencv Un grand nombre d'exemples sont disponibles dans le dossier samples>python2 de l'archive d'OpenCV téléchargeable sur le site du projet. De même, l'ouvrage Programming Computer Vision with Python (pdf disponible), offre des explications utiles dans la section consacrée à la librairie. Le code ci-dessous suffit à afficher le flux d'une webcam : import cv2 cap = cv2.VideoCapture(0) while True: ret,im = cv2.imshow('video test',im) key = cv2.waitKey(10) Les informations qui suivent sont issues d'une démarche empirique visant à trouver un moyen de traiter de la vidéo en temps-réel avec Python. En s'appuyant sur cette image de 3*2 (agrandi pour le besoin du wiki), il est possible de comprendre comment sont stockées les informations relatives à celle-ci, comment y avoir accès et comment les modifier. Ainsi, ce script... donne-t-il: Remarque:

BioShock Infinite Lighting Programmers don't generally have reels, but we do have blogs. I've been explaining the rendering work I did on BioShock Infinite quite a bit due to recent events, and I thought it made sense to write some of it down here. For the bulk of development, I was the only on-site graphics programmer. As Principal Graphics Programmer I did quite a bit of implementation, but also coordinated and tasked any offsite rendering work. Goals One of our artists best described Infinite's style as "exaggerated reality." The size of the levels were bigger than anything Irrational had attempted before. We wanted a streamlined lighting pipeline for level artists. Finally, all of this had to perform well on all of our platforms. Hybrid Lighting System The lighting system we came up with was a hybrid system between baked and dynamic lighting: Deferred Lighting Dynamic lighting was handled primarily with a deferred lighting/light-pre pass renderer. We modified our BRDF to help solve this mid-project.

NLTK Astropython An Invitation to 3-D Vision. Yi Ma, Stefano Soatto, Jana Kosecka, Shankar Sastry. Springer Verlag, 2003 Endowing machines with a sense of vision has been a dream of scientists and engineers for over half a century. Only in the past decade, however, has the geometry of vision been understood to the point where this dream becomes attainable, thanks also to the remarkable progress in imaging and computing hardware. This book addresses a central problem in computer vision - how to recover 3-D structure and motion from a collection of 2-D images - using techniques drawn mainly from linear algebra and matrix theory. Written primarily as a textbook, the aim of this book is to give senior undergraduates and beginning graduate students in computer vision, robotics, and computer graphics a solid theoretical and algorithmic foundation for future research in this burgeoning field.

Structure Sensor: Capture the World in 3D by Occipital The Structure Sensor gives mobile devices the ability to capture and understand the world in three dimensions. With the Structure Sensor attached to your mobile device, you can walk around the world and instantly capture it in a digital form. This means you can capture 3D maps of indoor spaces and have every measurement in your pocket. If you’re a developer, Structure gives you the ability to build mobile applications that interact with the three dimensional geometry of the real world for the very first time. The Structure Sensor has been designed from the ground up to be mobile. The Structure Sensor has a mobile-optimized range that begins at 40 centimeters and stretches to over 3.5 meters. Battery-powered The Structure Sensor has its own onboard power supply that provides up to 4 hours of active use, and 1000+ hours of standby. Anodized aluminum chassis Dual infrared LEDs What does this mean in plain terms? You'll have full control over the IR LEDs from the SDK. Is my iPad supported? 1.

pyquery pyquery allows you to make jquery queries on xml documents. The API is as much as possible the similar to jquery. pyquery uses lxml for fast xml and html manipulation. This is not (or at least not yet) a library to produce or interact with javascript code. I just liked the jquery API and I missed it in python so I told myself “Hey let’s make jquery in python”. This is the result. It can be used for many purposes, one idea that I might try in the future is to use it for templating with pure http templates that you modify using pyquery. The project is being actively developped on a git repository on Github. Please report bugs on the github issue tracker. You can use the PyQuery class to load an xml document from a string, a lxml document, from a file or from an url: Now d is like the $ in jquery: >>> d("#hello")[<p#hello.hello>]>>> p = d("#hello")>>> print(p.html())Hello world ! >>> d('p:first')[<p#hello.hello>] First there is the Sphinx documentation here.

pattern Coding The Matrix