GeistHaus
log in · sign up

https://bitesofcode.wordpress.com/feed

rss
10 posts
Polling state
Status active
Last polled May 19, 2026 14:47 UTC
Next poll May 20, 2026 16:52 UTC
Poll interval 86400s
Last-Modified Fri, 23 Jan 2026 06:51:57 GMT

Posts

Augmented Reality with Python and OpenCV (part 3)
Sin categoríaaiartificial-intelligenceAugmented Realitydata-sciencemachine-learningPython
This is the third part of the Augmented Reality application prototype we have been building with Python and Open CV. If you want to get up to date, here you can find part 1 and part 2. At the end of part 2 we were able to successfully render a 3D Model on top of…More
juangallostra
http://bitesofcode.wordpress.com/?p=2477
Extensions
Simple HTTP mock JSON server in Python
HTTPProjectsPythonProject
In this post we will see how to create a simple JSON server in Python to mock external APIs. This can be useful when developing an application that will make use of third-party applications via the provided APIs since it provides a controlled development environment. It gives you control over the data that is received,…More
test_server.py_
juangallostra
http://bitesofcode.wordpress.com/?p=2385
Extensions
Automating Weather Widget Generation
AutomationPythonreverse engineering
This entry is a fun little project I have been working on for the last week. It is nothing special or groundbreaking, but I hope you have some fun reading it. One of the features we wanted to add to MadBoulder’s website (short description of the project at the end) was, for each page refering…More
wwio_sample
juangallostra
wwio_gen
wwio_404
bcn_gps
res
http://bitesofcode.wordpress.com/?p=2321
Extensions
Procedural Racetrack Generation
AlgorithmsPythonGamesProceduralProcedural Generation
This post explains my personal take (in Python) of the work done by Gustavo Maciel and explained in this article. Introduction I have been thinking for some time to develop a game that mimics the mechanics of vector racer (nothing new here). When I finally started to work on it, I thought it would also be a…More
Selection_034
juangallostra
tracks_kerb
tracks
tracks_drawn
f_track
Selection_031
kerb_tile
grid_tile
Selection_033
http://bitesofcode.wordpress.com/?p=2284
Extensions
Lane detection via Hough Transform
AlgorithmsComputer VisionimagesMatlab
This work was developed in conjunction with Carlos Trapiello During my Master’s degree I was lucky enough to work on several projects which turned out to be both interesting and fun. One of these projects was to develop a simple road lane detector via the Hough transform. When I first read about the Hough transform…More
oi
juangallostra
oi
Figure 1: Lane detection algorithm outline.
HT.png
hp
h_peaks
r
dr
r_b
http://bitesofcode.wordpress.com/?p=2230
Extensions
Augmented Reality with Python and OpenCV (part 2)
Sin categoría
The code of this project can be found here. For those of you that have found this post before part 1 or that want to refresh what we have done up to this point, here you can catch up with the current state of the project so far. For the rest, we’ll keep going from where…More
Selection_030
juangallostra
Selection_003
Selection_013
Selection_011
Selection_014
Selection_015.png
Selection_016
Selection_017
Thought-process
http://bitesofcode.wordpress.com/?p=1682
Extensions
Augmented reality with Python and OpenCV (part 1)
PythonSin categoríaAugmented RealityComputer VisionOpenCV
You may (or may not) have heard of or seen the augmented reality Invizimals video game or the Topps 3D baseball cards. The main idea is to render in the screen of a tablet, PC or smartphone a 3D model of a specific figure on top of a card according to the position and orientation of…More
1zd8b9
juangallostra
IMG_1139
AR - Page 1(1)
Blank Diagram - Page 1
matches_2
homography
Selection_009
Selection_011
Selection_012
http://bitesofcode.wordpress.com/?p=798
Extensions
Converting images to ASCII art (Part 2)
c#
Today’s post is the second and last on how to convert images to ASCII art (in case you missed it and want to quickly catch up, here’s part 1). We already have a grayscale version of the image we want to convert and we have also developed a method that allows the user to adjust…More
raw
juangallostra
flower
lookup_2
updatedGUI
Comparison
http://bitesofcode.wordpress.com/?p=714
Extensions
Converting images to ASCII art (Part 1)
Algorithmsc#Computer VisionProjectsASCII artimages
In the last post we discussed a simple method for procedurally generating 2D terrain. In today’s post, we will also generate an image that will be the final output of our program, but with a totally different purpose and method. Today we will try to generate ASCII art from images.  For those of you who…More
c
juangallostra
c
zoomin
flow
n_full_flow
full_flow
preprocess
contrast_change_photoshop
po
http://bitesofcode.wordpress.com/?p=597
Extensions
Landscape generation using midpoint displacement
Python
Today I will present how to implement in Python a simple yet effective algorithm for proceduraly generating 2D landscapes. It is called Midpoint Displacement (or Diamond-square algorithm, which seems less intuitive to me) and, with some tweaking it can also be used for creating rivers, lighting strikes or (fake) graphs. The final output may look like the…More
testing_3
juangallostra
testing
disp.png
disp_iter.png
sizes.png
extremes.png
roughness_values.png
references.png
results.png
http://bitesofcode.wordpress.com/?p=2
Extensions