<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
		<id>https://www.polymtl.ca/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=NicolasSaunier</id>
		<title>Transport - Contributions de l’utilisateur [fr]</title>
		<link rel="self" type="application/atom+xml" href="https://www.polymtl.ca/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=NicolasSaunier"/>
		<link rel="alternate" type="text/html" href="https://www.polymtl.ca/wikitransport/index.php?title=Sp%C3%A9cial:Contributions/NicolasSaunier"/>
		<updated>2026-08-04T13:11:30Z</updated>
		<subtitle>Contributions de l’utilisateur</subtitle>
		<generator>MediaWiki 1.24.0</generator>

	<entry>
		<id>https://www.polymtl.ca/wikitransport/index.php?title=PythonHowTo&amp;diff=1050</id>
		<title>PythonHowTo</title>
		<link rel="alternate" type="text/html" href="https://www.polymtl.ca/wikitransport/index.php?title=PythonHowTo&amp;diff=1050"/>
				<updated>2026-07-17T12:00:56Z</updated>
		
		<summary type="html">&lt;p&gt;NicolasSaunier : /* Random Topics */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Where to start =&lt;br /&gt;
[[Programming_Resources#Python|Python tutorials]]&lt;br /&gt;
== Virtual Environments for Python Libraries ==&lt;br /&gt;
&lt;br /&gt;
The new recommended way to install Python modules (libraries) is to use virtual environments to avoid mixing your installed packages with the system Python: &lt;br /&gt;
&lt;br /&gt;
 $ python -m venv &amp;lt;directory-name&amp;gt;&lt;br /&gt;
 $ source &amp;lt;directory-name&amp;gt;/bin/activate&lt;br /&gt;
&lt;br /&gt;
Once one wants to exit the Python environment, one should run the deactivate command:&lt;br /&gt;
&lt;br /&gt;
 $ deactivate&lt;br /&gt;
&lt;br /&gt;
There is otherwise a more recent and very interesting tool called [https://docs.astral.sh/uv/ uv] to manage Python environments. &lt;br /&gt;
&lt;br /&gt;
On the group Linux computers, the libraries installed on the &amp;lt;tt&amp;gt;~nicolas&amp;lt;/tt&amp;gt; account are accessible to avoid duplication, in particular for the deep learning ultralytics library.&lt;br /&gt;
&lt;br /&gt;
== Install Modules ==&lt;br /&gt;
&lt;br /&gt;
Ref https://docs.python.org/3/installing/index.html&lt;br /&gt;
&lt;br /&gt;
Once you have a virtual environment, activate and install the desired modules:&lt;br /&gt;
&lt;br /&gt;
 $ pip install SomePackage&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 $ python -m pip install SomePackage&lt;br /&gt;
&lt;br /&gt;
I highly recommend the [https://ipython.org/ IPython interpreter] and, to a lesser degree, [https://jupyter.org/ Jupyter] (for the notebooks). See [https://sourceforge.net/p/traffic-intelligence/code/ci/default/tree/python-requirements.txt Traffic Intelligence requirements.txt] for the recommended scientific packages (&amp;lt;tt&amp;gt;pip install -r requirements.txt&amp;lt;/tt&amp;gt;):&lt;br /&gt;
&lt;br /&gt;
* Matplotlib http://matplotlib.org&lt;br /&gt;
* Numpy http://www.numpy.org&lt;br /&gt;
* Computer Vision: OpenCV, scikit-image&lt;br /&gt;
* Statistics and machine learning: scipy, scikit-learn&lt;br /&gt;
* Geometry and GIS: shapely&lt;br /&gt;
* Tabular data loading/processing: pandas&lt;br /&gt;
* ORM: sqlalchemy&lt;br /&gt;
&lt;br /&gt;
== Environment Variables for your Code and Other Downloaded Libraries ==&lt;br /&gt;
&lt;br /&gt;
To use Python modules from your code or downloaded code, the Python interpreter needs to know where to look for them (if installed through pip, it should wordk without any other action). The first and preferred way is to set (or add to) the environment variable &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt; to refer to the location of the Python modules to load:&lt;br /&gt;
&lt;br /&gt;
* on Windows, add or modify the &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt; environment variable. Given the example installation path &amp;lt;tt&amp;gt;C:\Code\my_python_modules\&amp;lt;/tt&amp;gt;, it should be set to &amp;lt;tt&amp;gt;C:\Code\my_python_modules\&amp;lt;/tt&amp;gt;, e.g. &amp;lt;tt&amp;gt;C:\Users\username\traffic-intelligence\&amp;lt;/tt&amp;gt; for the [https://bitbucket.org/Nicolas/trafficintelligence/ Traffic Intelligence] modules (in the trafficintelligence package); &lt;br /&gt;
* on Linux, add or modify the &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt; environment variable by typing &amp;lt;tt&amp;gt;$export PYTHONPATH=/home/username/Code/my_python_modules/&amp;lt;/tt&amp;gt; in a terminal. However, you have to do that for each terminal before running a Python interpreter. The better way is to set the environment variable when your shell starts. If using bash, simply add the previous command at the end of the user &amp;lt;tt&amp;gt;.bashrc&amp;lt;/tt&amp;gt; file (in the home directory);&lt;br /&gt;
* on both platforms, other paths can be added, separated by &amp;lt;tt&amp;gt;:&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If that did not work, you can add the path to the sys.path system variable in the Python interpreter or at the beginning of your code, before your import statements (it also helps diagnose if your path is wrong by looking at the content of sys.path):&lt;br /&gt;
&lt;br /&gt;
 $ import sys&lt;br /&gt;
 $ sys.append('path_to_python_modules')&lt;br /&gt;
 $ import your_module&lt;br /&gt;
&lt;br /&gt;
To test your installation, start a Python interpreter (or even better, ipython) in a '''new terminal''' (the variable will not be added to the ones that were started before the &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt; variable was added) and try to import one of your modules in the directory referred to by &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 $ import your_module&lt;br /&gt;
&lt;br /&gt;
= Random Topics=&lt;br /&gt;
* Finding the shortest cycling path in the shade https://medium.com/@tanyamarleytsui/shady-streets-6dad0979c13a&lt;br /&gt;
&lt;br /&gt;
== Shapely ==&lt;br /&gt;
- I left functions in moving (in Point) that returns whether a point is in a polygon or not.&lt;br /&gt;
inPolygonNoShapely(polygon) where polygon is a Nx2 numpy array representing the polygon&lt;br /&gt;
&lt;br /&gt;
- with Shapely, use their polygon and point class, eg&lt;br /&gt;
&lt;br /&gt;
from shapely.geometry import Polygon, Point&lt;br /&gt;
poly = Polygon(array([[0,0],[0,1],[1,1],[1,0]]))&lt;br /&gt;
p = Point(0.5,0.5)&lt;br /&gt;
poly.contains(p)&lt;br /&gt;
-&amp;gt; returns True&lt;br /&gt;
poly.contains(Point(-1,-1))&lt;br /&gt;
-&amp;gt; returns False&lt;br /&gt;
&lt;br /&gt;
You can convert a moving.Point to a shapely point: p = moving.Point(1,2)&lt;br /&gt;
p.asShapely() returns the equivalent shapely point&lt;br /&gt;
&lt;br /&gt;
If you have several points to test, use moving.pointsInPolygon(points, polygon) where points are moving.Point and polygon is a shapely polygon.&lt;br /&gt;
&lt;br /&gt;
You should dig in shapely for functions that compute intersections (there is one in our library, but it is slow):&lt;br /&gt;
http://toblerity.github.io/shapely/manual.html#object.crosses&lt;br /&gt;
from shapely.geometry import Polygon, Point, LineString&lt;br /&gt;
coords = [(0, 0), (1, 1), (1, -1), (0, 1)]&lt;br /&gt;
LineString(coords).crosses(LineString([(0, 1), (1, 0)]))&lt;/div&gt;</summary>
		<author><name>NicolasSaunier</name></author>	</entry>

	<entry>
		<id>https://www.polymtl.ca/wikitransport/index.php?title=PythonHowTo&amp;diff=1049</id>
		<title>PythonHowTo</title>
		<link rel="alternate" type="text/html" href="https://www.polymtl.ca/wikitransport/index.php?title=PythonHowTo&amp;diff=1049"/>
				<updated>2026-07-17T12:00:43Z</updated>
		
		<summary type="html">&lt;p&gt;NicolasSaunier : /* Links */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Where to start =&lt;br /&gt;
[[Programming_Resources#Python|Python tutorials]]&lt;br /&gt;
== Virtual Environments for Python Libraries ==&lt;br /&gt;
&lt;br /&gt;
The new recommended way to install Python modules (libraries) is to use virtual environments to avoid mixing your installed packages with the system Python: &lt;br /&gt;
&lt;br /&gt;
 $ python -m venv &amp;lt;directory-name&amp;gt;&lt;br /&gt;
 $ source &amp;lt;directory-name&amp;gt;/bin/activate&lt;br /&gt;
&lt;br /&gt;
Once one wants to exit the Python environment, one should run the deactivate command:&lt;br /&gt;
&lt;br /&gt;
 $ deactivate&lt;br /&gt;
&lt;br /&gt;
There is otherwise a more recent and very interesting tool called [https://docs.astral.sh/uv/ uv] to manage Python environments. &lt;br /&gt;
&lt;br /&gt;
On the group Linux computers, the libraries installed on the &amp;lt;tt&amp;gt;~nicolas&amp;lt;/tt&amp;gt; account are accessible to avoid duplication, in particular for the deep learning ultralytics library.&lt;br /&gt;
&lt;br /&gt;
== Install Modules ==&lt;br /&gt;
&lt;br /&gt;
Ref https://docs.python.org/3/installing/index.html&lt;br /&gt;
&lt;br /&gt;
Once you have a virtual environment, activate and install the desired modules:&lt;br /&gt;
&lt;br /&gt;
 $ pip install SomePackage&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 $ python -m pip install SomePackage&lt;br /&gt;
&lt;br /&gt;
I highly recommend the [https://ipython.org/ IPython interpreter] and, to a lesser degree, [https://jupyter.org/ Jupyter] (for the notebooks). See [https://sourceforge.net/p/traffic-intelligence/code/ci/default/tree/python-requirements.txt Traffic Intelligence requirements.txt] for the recommended scientific packages (&amp;lt;tt&amp;gt;pip install -r requirements.txt&amp;lt;/tt&amp;gt;):&lt;br /&gt;
&lt;br /&gt;
* Matplotlib http://matplotlib.org&lt;br /&gt;
* Numpy http://www.numpy.org&lt;br /&gt;
* Computer Vision: OpenCV, scikit-image&lt;br /&gt;
* Statistics and machine learning: scipy, scikit-learn&lt;br /&gt;
* Geometry and GIS: shapely&lt;br /&gt;
* Tabular data loading/processing: pandas&lt;br /&gt;
* ORM: sqlalchemy&lt;br /&gt;
&lt;br /&gt;
== Environment Variables for your Code and Other Downloaded Libraries ==&lt;br /&gt;
&lt;br /&gt;
To use Python modules from your code or downloaded code, the Python interpreter needs to know where to look for them (if installed through pip, it should wordk without any other action). The first and preferred way is to set (or add to) the environment variable &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt; to refer to the location of the Python modules to load:&lt;br /&gt;
&lt;br /&gt;
* on Windows, add or modify the &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt; environment variable. Given the example installation path &amp;lt;tt&amp;gt;C:\Code\my_python_modules\&amp;lt;/tt&amp;gt;, it should be set to &amp;lt;tt&amp;gt;C:\Code\my_python_modules\&amp;lt;/tt&amp;gt;, e.g. &amp;lt;tt&amp;gt;C:\Users\username\traffic-intelligence\&amp;lt;/tt&amp;gt; for the [https://bitbucket.org/Nicolas/trafficintelligence/ Traffic Intelligence] modules (in the trafficintelligence package); &lt;br /&gt;
* on Linux, add or modify the &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt; environment variable by typing &amp;lt;tt&amp;gt;$export PYTHONPATH=/home/username/Code/my_python_modules/&amp;lt;/tt&amp;gt; in a terminal. However, you have to do that for each terminal before running a Python interpreter. The better way is to set the environment variable when your shell starts. If using bash, simply add the previous command at the end of the user &amp;lt;tt&amp;gt;.bashrc&amp;lt;/tt&amp;gt; file (in the home directory);&lt;br /&gt;
* on both platforms, other paths can be added, separated by &amp;lt;tt&amp;gt;:&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If that did not work, you can add the path to the sys.path system variable in the Python interpreter or at the beginning of your code, before your import statements (it also helps diagnose if your path is wrong by looking at the content of sys.path):&lt;br /&gt;
&lt;br /&gt;
 $ import sys&lt;br /&gt;
 $ sys.append('path_to_python_modules')&lt;br /&gt;
 $ import your_module&lt;br /&gt;
&lt;br /&gt;
To test your installation, start a Python interpreter (or even better, ipython) in a '''new terminal''' (the variable will not be added to the ones that were started before the &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt; variable was added) and try to import one of your modules in the directory referred to by &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 $ import your_module&lt;br /&gt;
&lt;br /&gt;
= Random Topics=&lt;br /&gt;
== Shapely ==&lt;br /&gt;
- I left functions in moving (in Point) that returns whether a point is in a polygon or not.&lt;br /&gt;
inPolygonNoShapely(polygon) where polygon is a Nx2 numpy array representing the polygon&lt;br /&gt;
&lt;br /&gt;
- with Shapely, use their polygon and point class, eg&lt;br /&gt;
&lt;br /&gt;
from shapely.geometry import Polygon, Point&lt;br /&gt;
poly = Polygon(array([[0,0],[0,1],[1,1],[1,0]]))&lt;br /&gt;
p = Point(0.5,0.5)&lt;br /&gt;
poly.contains(p)&lt;br /&gt;
-&amp;gt; returns True&lt;br /&gt;
poly.contains(Point(-1,-1))&lt;br /&gt;
-&amp;gt; returns False&lt;br /&gt;
&lt;br /&gt;
You can convert a moving.Point to a shapely point: p = moving.Point(1,2)&lt;br /&gt;
p.asShapely() returns the equivalent shapely point&lt;br /&gt;
&lt;br /&gt;
If you have several points to test, use moving.pointsInPolygon(points, polygon) where points are moving.Point and polygon is a shapely polygon.&lt;br /&gt;
&lt;br /&gt;
You should dig in shapely for functions that compute intersections (there is one in our library, but it is slow):&lt;br /&gt;
http://toblerity.github.io/shapely/manual.html#object.crosses&lt;br /&gt;
from shapely.geometry import Polygon, Point, LineString&lt;br /&gt;
coords = [(0, 0), (1, 1), (1, -1), (0, 1)]&lt;br /&gt;
LineString(coords).crosses(LineString([(0, 1), (1, 0)]))&lt;/div&gt;</summary>
		<author><name>NicolasSaunier</name></author>	</entry>

	<entry>
		<id>https://www.polymtl.ca/wikitransport/index.php?title=PythonHowTo&amp;diff=1048</id>
		<title>PythonHowTo</title>
		<link rel="alternate" type="text/html" href="https://www.polymtl.ca/wikitransport/index.php?title=PythonHowTo&amp;diff=1048"/>
				<updated>2026-07-17T12:00:18Z</updated>
		
		<summary type="html">&lt;p&gt;NicolasSaunier : /* Tools and Scientific libraries */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Where to start =&lt;br /&gt;
[[Programming_Resources#Python|Python tutorials]]&lt;br /&gt;
== Virtual Environments for Python Libraries ==&lt;br /&gt;
&lt;br /&gt;
The new recommended way to install Python modules (libraries) is to use virtual environments to avoid mixing your installed packages with the system Python: &lt;br /&gt;
&lt;br /&gt;
 $ python -m venv &amp;lt;directory-name&amp;gt;&lt;br /&gt;
 $ source &amp;lt;directory-name&amp;gt;/bin/activate&lt;br /&gt;
&lt;br /&gt;
Once one wants to exit the Python environment, one should run the deactivate command:&lt;br /&gt;
&lt;br /&gt;
 $ deactivate&lt;br /&gt;
&lt;br /&gt;
There is otherwise a more recent and very interesting tool called [https://docs.astral.sh/uv/ uv] to manage Python environments. &lt;br /&gt;
&lt;br /&gt;
On the group Linux computers, the libraries installed on the &amp;lt;tt&amp;gt;~nicolas&amp;lt;/tt&amp;gt; account are accessible to avoid duplication, in particular for the deep learning ultralytics library.&lt;br /&gt;
&lt;br /&gt;
== Install Modules ==&lt;br /&gt;
&lt;br /&gt;
Ref https://docs.python.org/3/installing/index.html&lt;br /&gt;
&lt;br /&gt;
Once you have a virtual environment, activate and install the desired modules:&lt;br /&gt;
&lt;br /&gt;
 $ pip install SomePackage&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 $ python -m pip install SomePackage&lt;br /&gt;
&lt;br /&gt;
I highly recommend the [https://ipython.org/ IPython interpreter] and, to a lesser degree, [https://jupyter.org/ Jupyter] (for the notebooks). See [https://sourceforge.net/p/traffic-intelligence/code/ci/default/tree/python-requirements.txt Traffic Intelligence requirements.txt] for the recommended scientific packages (&amp;lt;tt&amp;gt;pip install -r requirements.txt&amp;lt;/tt&amp;gt;):&lt;br /&gt;
&lt;br /&gt;
* Matplotlib http://matplotlib.org&lt;br /&gt;
* Numpy http://www.numpy.org&lt;br /&gt;
* Computer Vision: OpenCV, scikit-image&lt;br /&gt;
* Statistics and machine learning: scipy, scikit-learn&lt;br /&gt;
* Geometry and GIS: shapely&lt;br /&gt;
* Tabular data loading/processing: pandas&lt;br /&gt;
* ORM: sqlalchemy&lt;br /&gt;
&lt;br /&gt;
== Environment Variables for your Code and Other Downloaded Libraries ==&lt;br /&gt;
&lt;br /&gt;
To use Python modules from your code or downloaded code, the Python interpreter needs to know where to look for them (if installed through pip, it should wordk without any other action). The first and preferred way is to set (or add to) the environment variable &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt; to refer to the location of the Python modules to load:&lt;br /&gt;
&lt;br /&gt;
* on Windows, add or modify the &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt; environment variable. Given the example installation path &amp;lt;tt&amp;gt;C:\Code\my_python_modules\&amp;lt;/tt&amp;gt;, it should be set to &amp;lt;tt&amp;gt;C:\Code\my_python_modules\&amp;lt;/tt&amp;gt;, e.g. &amp;lt;tt&amp;gt;C:\Users\username\traffic-intelligence\&amp;lt;/tt&amp;gt; for the [https://bitbucket.org/Nicolas/trafficintelligence/ Traffic Intelligence] modules (in the trafficintelligence package); &lt;br /&gt;
* on Linux, add or modify the &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt; environment variable by typing &amp;lt;tt&amp;gt;$export PYTHONPATH=/home/username/Code/my_python_modules/&amp;lt;/tt&amp;gt; in a terminal. However, you have to do that for each terminal before running a Python interpreter. The better way is to set the environment variable when your shell starts. If using bash, simply add the previous command at the end of the user &amp;lt;tt&amp;gt;.bashrc&amp;lt;/tt&amp;gt; file (in the home directory);&lt;br /&gt;
* on both platforms, other paths can be added, separated by &amp;lt;tt&amp;gt;:&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If that did not work, you can add the path to the sys.path system variable in the Python interpreter or at the beginning of your code, before your import statements (it also helps diagnose if your path is wrong by looking at the content of sys.path):&lt;br /&gt;
&lt;br /&gt;
 $ import sys&lt;br /&gt;
 $ sys.append('path_to_python_modules')&lt;br /&gt;
 $ import your_module&lt;br /&gt;
&lt;br /&gt;
To test your installation, start a Python interpreter (or even better, ipython) in a '''new terminal''' (the variable will not be added to the ones that were started before the &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt; variable was added) and try to import one of your modules in the directory referred to by &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 $ import your_module&lt;br /&gt;
&lt;br /&gt;
= Links =&lt;br /&gt;
* Finding the shortest cycling path in the shade https://medium.com/@tanyamarleytsui/shady-streets-6dad0979c13a&lt;br /&gt;
&lt;br /&gt;
= Random Topics=&lt;br /&gt;
== Shapely ==&lt;br /&gt;
- I left functions in moving (in Point) that returns whether a point is in a polygon or not.&lt;br /&gt;
inPolygonNoShapely(polygon) where polygon is a Nx2 numpy array representing the polygon&lt;br /&gt;
&lt;br /&gt;
- with Shapely, use their polygon and point class, eg&lt;br /&gt;
&lt;br /&gt;
from shapely.geometry import Polygon, Point&lt;br /&gt;
poly = Polygon(array([[0,0],[0,1],[1,1],[1,0]]))&lt;br /&gt;
p = Point(0.5,0.5)&lt;br /&gt;
poly.contains(p)&lt;br /&gt;
-&amp;gt; returns True&lt;br /&gt;
poly.contains(Point(-1,-1))&lt;br /&gt;
-&amp;gt; returns False&lt;br /&gt;
&lt;br /&gt;
You can convert a moving.Point to a shapely point: p = moving.Point(1,2)&lt;br /&gt;
p.asShapely() returns the equivalent shapely point&lt;br /&gt;
&lt;br /&gt;
If you have several points to test, use moving.pointsInPolygon(points, polygon) where points are moving.Point and polygon is a shapely polygon.&lt;br /&gt;
&lt;br /&gt;
You should dig in shapely for functions that compute intersections (there is one in our library, but it is slow):&lt;br /&gt;
http://toblerity.github.io/shapely/manual.html#object.crosses&lt;br /&gt;
from shapely.geometry import Polygon, Point, LineString&lt;br /&gt;
coords = [(0, 0), (1, 1), (1, -1), (0, 1)]&lt;br /&gt;
LineString(coords).crosses(LineString([(0, 1), (1, 0)]))&lt;/div&gt;</summary>
		<author><name>NicolasSaunier</name></author>	</entry>

	<entry>
		<id>https://www.polymtl.ca/wikitransport/index.php?title=PythonHowTo&amp;diff=1047</id>
		<title>PythonHowTo</title>
		<link rel="alternate" type="text/html" href="https://www.polymtl.ca/wikitransport/index.php?title=PythonHowTo&amp;diff=1047"/>
				<updated>2026-07-17T12:00:01Z</updated>
		
		<summary type="html">&lt;p&gt;NicolasSaunier : /* Environment Variables for your Code and Other Downloaded Libraries */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Where to start =&lt;br /&gt;
[[Programming_Resources#Python|Python tutorials]]&lt;br /&gt;
== Virtual Environments for Python Libraries ==&lt;br /&gt;
&lt;br /&gt;
The new recommended way to install Python modules (libraries) is to use virtual environments to avoid mixing your installed packages with the system Python: &lt;br /&gt;
&lt;br /&gt;
 $ python -m venv &amp;lt;directory-name&amp;gt;&lt;br /&gt;
 $ source &amp;lt;directory-name&amp;gt;/bin/activate&lt;br /&gt;
&lt;br /&gt;
Once one wants to exit the Python environment, one should run the deactivate command:&lt;br /&gt;
&lt;br /&gt;
 $ deactivate&lt;br /&gt;
&lt;br /&gt;
There is otherwise a more recent and very interesting tool called [https://docs.astral.sh/uv/ uv] to manage Python environments. &lt;br /&gt;
&lt;br /&gt;
On the group Linux computers, the libraries installed on the &amp;lt;tt&amp;gt;~nicolas&amp;lt;/tt&amp;gt; account are accessible to avoid duplication, in particular for the deep learning ultralytics library.&lt;br /&gt;
&lt;br /&gt;
== Install Modules ==&lt;br /&gt;
&lt;br /&gt;
Ref https://docs.python.org/3/installing/index.html&lt;br /&gt;
&lt;br /&gt;
Once you have a virtual environment, activate and install the desired modules:&lt;br /&gt;
&lt;br /&gt;
 $ pip install SomePackage&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 $ python -m pip install SomePackage&lt;br /&gt;
&lt;br /&gt;
I highly recommend the [https://ipython.org/ IPython interpreter] and, to a lesser degree, [https://jupyter.org/ Jupyter] (for the notebooks). See [https://sourceforge.net/p/traffic-intelligence/code/ci/default/tree/python-requirements.txt Traffic Intelligence requirements.txt] for the recommended scientific packages (&amp;lt;tt&amp;gt;pip install -r requirements.txt&amp;lt;/tt&amp;gt;):&lt;br /&gt;
&lt;br /&gt;
* Matplotlib http://matplotlib.org&lt;br /&gt;
* Numpy http://www.numpy.org&lt;br /&gt;
* Computer Vision: OpenCV, scikit-image&lt;br /&gt;
* Statistics and machine learning: scipy, scikit-learn&lt;br /&gt;
* Geometry and GIS: shapely&lt;br /&gt;
* Tabular data loading/processing: pandas&lt;br /&gt;
* ORM: sqlalchemy&lt;br /&gt;
&lt;br /&gt;
== Environment Variables for your Code and Other Downloaded Libraries ==&lt;br /&gt;
&lt;br /&gt;
To use Python modules from your code or downloaded code, the Python interpreter needs to know where to look for them (if installed through pip, it should wordk without any other action). The first and preferred way is to set (or add to) the environment variable &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt; to refer to the location of the Python modules to load:&lt;br /&gt;
&lt;br /&gt;
* on Windows, add or modify the &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt; environment variable. Given the example installation path &amp;lt;tt&amp;gt;C:\Code\my_python_modules\&amp;lt;/tt&amp;gt;, it should be set to &amp;lt;tt&amp;gt;C:\Code\my_python_modules\&amp;lt;/tt&amp;gt;, e.g. &amp;lt;tt&amp;gt;C:\Users\username\traffic-intelligence\&amp;lt;/tt&amp;gt; for the [https://bitbucket.org/Nicolas/trafficintelligence/ Traffic Intelligence] modules (in the trafficintelligence package); &lt;br /&gt;
* on Linux, add or modify the &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt; environment variable by typing &amp;lt;tt&amp;gt;$export PYTHONPATH=/home/username/Code/my_python_modules/&amp;lt;/tt&amp;gt; in a terminal. However, you have to do that for each terminal before running a Python interpreter. The better way is to set the environment variable when your shell starts. If using bash, simply add the previous command at the end of the user &amp;lt;tt&amp;gt;.bashrc&amp;lt;/tt&amp;gt; file (in the home directory);&lt;br /&gt;
* on both platforms, other paths can be added, separated by &amp;lt;tt&amp;gt;:&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If that did not work, you can add the path to the sys.path system variable in the Python interpreter or at the beginning of your code, before your import statements (it also helps diagnose if your path is wrong by looking at the content of sys.path):&lt;br /&gt;
&lt;br /&gt;
 $ import sys&lt;br /&gt;
 $ sys.append('path_to_python_modules')&lt;br /&gt;
 $ import your_module&lt;br /&gt;
&lt;br /&gt;
To test your installation, start a Python interpreter (or even better, ipython) in a '''new terminal''' (the variable will not be added to the ones that were started before the &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt; variable was added) and try to import one of your modules in the directory referred to by &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 $ import your_module&lt;br /&gt;
&lt;br /&gt;
== Tools and Scientific libraries == &lt;br /&gt;
&lt;br /&gt;
Tools&lt;br /&gt;
* Better interpreter: ipython https://ipython.org/&lt;br /&gt;
* Running and presenting code with Jupyter Notebooks https://jupyter.org/&lt;br /&gt;
Libraries&lt;br /&gt;
* Matplotlib http://matplotlib.org&lt;br /&gt;
* Numpy http://www.numpy.org&lt;br /&gt;
* Computer Vision: OpenCV , scikit-image&lt;br /&gt;
* Statistics and machine learning: scipy, scikit-learn&lt;br /&gt;
* Geometry and GIS: shapely&lt;br /&gt;
* Tabular data loading/processing: pandas&lt;br /&gt;
* ORM: sqlalchemy&lt;br /&gt;
&lt;br /&gt;
= Links =&lt;br /&gt;
* Finding the shortest cycling path in the shade https://medium.com/@tanyamarleytsui/shady-streets-6dad0979c13a&lt;br /&gt;
&lt;br /&gt;
= Random Topics=&lt;br /&gt;
== Shapely ==&lt;br /&gt;
- I left functions in moving (in Point) that returns whether a point is in a polygon or not.&lt;br /&gt;
inPolygonNoShapely(polygon) where polygon is a Nx2 numpy array representing the polygon&lt;br /&gt;
&lt;br /&gt;
- with Shapely, use their polygon and point class, eg&lt;br /&gt;
&lt;br /&gt;
from shapely.geometry import Polygon, Point&lt;br /&gt;
poly = Polygon(array([[0,0],[0,1],[1,1],[1,0]]))&lt;br /&gt;
p = Point(0.5,0.5)&lt;br /&gt;
poly.contains(p)&lt;br /&gt;
-&amp;gt; returns True&lt;br /&gt;
poly.contains(Point(-1,-1))&lt;br /&gt;
-&amp;gt; returns False&lt;br /&gt;
&lt;br /&gt;
You can convert a moving.Point to a shapely point: p = moving.Point(1,2)&lt;br /&gt;
p.asShapely() returns the equivalent shapely point&lt;br /&gt;
&lt;br /&gt;
If you have several points to test, use moving.pointsInPolygon(points, polygon) where points are moving.Point and polygon is a shapely polygon.&lt;br /&gt;
&lt;br /&gt;
You should dig in shapely for functions that compute intersections (there is one in our library, but it is slow):&lt;br /&gt;
http://toblerity.github.io/shapely/manual.html#object.crosses&lt;br /&gt;
from shapely.geometry import Polygon, Point, LineString&lt;br /&gt;
coords = [(0, 0), (1, 1), (1, -1), (0, 1)]&lt;br /&gt;
LineString(coords).crosses(LineString([(0, 1), (1, 0)]))&lt;/div&gt;</summary>
		<author><name>NicolasSaunier</name></author>	</entry>

	<entry>
		<id>https://www.polymtl.ca/wikitransport/index.php?title=PythonHowTo&amp;diff=1046</id>
		<title>PythonHowTo</title>
		<link rel="alternate" type="text/html" href="https://www.polymtl.ca/wikitransport/index.php?title=PythonHowTo&amp;diff=1046"/>
				<updated>2026-07-17T11:58:45Z</updated>
		
		<summary type="html">&lt;p&gt;NicolasSaunier : /* Install Modules */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Where to start =&lt;br /&gt;
[[Programming_Resources#Python|Python tutorials]]&lt;br /&gt;
== Virtual Environments for Python Libraries ==&lt;br /&gt;
&lt;br /&gt;
The new recommended way to install Python modules (libraries) is to use virtual environments to avoid mixing your installed packages with the system Python: &lt;br /&gt;
&lt;br /&gt;
 $ python -m venv &amp;lt;directory-name&amp;gt;&lt;br /&gt;
 $ source &amp;lt;directory-name&amp;gt;/bin/activate&lt;br /&gt;
&lt;br /&gt;
Once one wants to exit the Python environment, one should run the deactivate command:&lt;br /&gt;
&lt;br /&gt;
 $ deactivate&lt;br /&gt;
&lt;br /&gt;
There is otherwise a more recent and very interesting tool called [https://docs.astral.sh/uv/ uv] to manage Python environments. &lt;br /&gt;
&lt;br /&gt;
On the group Linux computers, the libraries installed on the &amp;lt;tt&amp;gt;~nicolas&amp;lt;/tt&amp;gt; account are accessible to avoid duplication, in particular for the deep learning ultralytics library.&lt;br /&gt;
&lt;br /&gt;
== Install Modules ==&lt;br /&gt;
&lt;br /&gt;
Ref https://docs.python.org/3/installing/index.html&lt;br /&gt;
&lt;br /&gt;
Once you have a virtual environment, activate and install the desired modules:&lt;br /&gt;
&lt;br /&gt;
 $ pip install SomePackage&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 $ python -m pip install SomePackage&lt;br /&gt;
&lt;br /&gt;
I highly recommend the [https://ipython.org/ IPython interpreter] and, to a lesser degree, [https://jupyter.org/ Jupyter] (for the notebooks). See [https://sourceforge.net/p/traffic-intelligence/code/ci/default/tree/python-requirements.txt Traffic Intelligence requirements.txt] for the recommended scientific packages (&amp;lt;tt&amp;gt;pip install -r requirements.txt&amp;lt;/tt&amp;gt;):&lt;br /&gt;
&lt;br /&gt;
* Matplotlib http://matplotlib.org&lt;br /&gt;
* Numpy http://www.numpy.org&lt;br /&gt;
* Computer Vision: OpenCV, scikit-image&lt;br /&gt;
* Statistics and machine learning: scipy, scikit-learn&lt;br /&gt;
* Geometry and GIS: shapely&lt;br /&gt;
* Tabular data loading/processing: pandas&lt;br /&gt;
* ORM: sqlalchemy&lt;br /&gt;
&lt;br /&gt;
== Environment Variables for your Code and Other Downloaded Libraries ==&lt;br /&gt;
&lt;br /&gt;
To use Python modules from your code or downloaded code, the Python interpreter needs to know where to look for them. The first and preferred way is to set (or add to) the environment variable &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt; to refer to the location of the Python modules to load:&lt;br /&gt;
&lt;br /&gt;
* on Windows, add or modify the &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt; environment variable. Given the example installation path &amp;lt;tt&amp;gt;C:\Code\my_python_modules\&amp;lt;/tt&amp;gt;, it should be set to &amp;lt;tt&amp;gt;C:\Code\my_python_modules\&amp;lt;/tt&amp;gt;, e.g. &amp;lt;tt&amp;gt;C:\Users\username\traffic-intelligence\&amp;lt;/tt&amp;gt; for the [https://bitbucket.org/Nicolas/trafficintelligence/ Traffic Intelligence] modules (in the trafficintelligence package); &lt;br /&gt;
* on Linux, add or modify the &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt; environment variable by typing &amp;lt;tt&amp;gt;$export PYTHONPATH=/home/username/Code/my_python_modules/&amp;lt;/tt&amp;gt; in a terminal. However, you have to do that for each terminal before running a Python interpreter. The better way is to set the environment variable when your shell starts. If using bash, simply add the previous command at the end of the user &amp;lt;tt&amp;gt;.bashrc&amp;lt;/tt&amp;gt; file (in the home directory);&lt;br /&gt;
* on both platforms, other paths can be added, separated by &amp;lt;tt&amp;gt;:&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If that did not work, you can add the path to the sys.path system variable in the Python interpreter or at the beginning of your code, before your import statements:&lt;br /&gt;
&lt;br /&gt;
 $ import sys&lt;br /&gt;
 $ sys.append('path_to_python_modules')&lt;br /&gt;
 $ import your_module&lt;br /&gt;
&lt;br /&gt;
To test your installation, start a Python interpreter (or even better, ipython) in a '''new terminal''' (the variable will not be added to the ones that were started before the &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt; variable was added) and try to import one of your modules in the directory referred to by &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 $ import your_module&lt;br /&gt;
&lt;br /&gt;
== Tools and Scientific libraries == &lt;br /&gt;
&lt;br /&gt;
Tools&lt;br /&gt;
* Better interpreter: ipython https://ipython.org/&lt;br /&gt;
* Running and presenting code with Jupyter Notebooks https://jupyter.org/&lt;br /&gt;
Libraries&lt;br /&gt;
* Matplotlib http://matplotlib.org&lt;br /&gt;
* Numpy http://www.numpy.org&lt;br /&gt;
* Computer Vision: OpenCV , scikit-image&lt;br /&gt;
* Statistics and machine learning: scipy, scikit-learn&lt;br /&gt;
* Geometry and GIS: shapely&lt;br /&gt;
* Tabular data loading/processing: pandas&lt;br /&gt;
* ORM: sqlalchemy&lt;br /&gt;
&lt;br /&gt;
= Links =&lt;br /&gt;
* Finding the shortest cycling path in the shade https://medium.com/@tanyamarleytsui/shady-streets-6dad0979c13a&lt;br /&gt;
&lt;br /&gt;
= Random Topics=&lt;br /&gt;
== Shapely ==&lt;br /&gt;
- I left functions in moving (in Point) that returns whether a point is in a polygon or not.&lt;br /&gt;
inPolygonNoShapely(polygon) where polygon is a Nx2 numpy array representing the polygon&lt;br /&gt;
&lt;br /&gt;
- with Shapely, use their polygon and point class, eg&lt;br /&gt;
&lt;br /&gt;
from shapely.geometry import Polygon, Point&lt;br /&gt;
poly = Polygon(array([[0,0],[0,1],[1,1],[1,0]]))&lt;br /&gt;
p = Point(0.5,0.5)&lt;br /&gt;
poly.contains(p)&lt;br /&gt;
-&amp;gt; returns True&lt;br /&gt;
poly.contains(Point(-1,-1))&lt;br /&gt;
-&amp;gt; returns False&lt;br /&gt;
&lt;br /&gt;
You can convert a moving.Point to a shapely point: p = moving.Point(1,2)&lt;br /&gt;
p.asShapely() returns the equivalent shapely point&lt;br /&gt;
&lt;br /&gt;
If you have several points to test, use moving.pointsInPolygon(points, polygon) where points are moving.Point and polygon is a shapely polygon.&lt;br /&gt;
&lt;br /&gt;
You should dig in shapely for functions that compute intersections (there is one in our library, but it is slow):&lt;br /&gt;
http://toblerity.github.io/shapely/manual.html#object.crosses&lt;br /&gt;
from shapely.geometry import Polygon, Point, LineString&lt;br /&gt;
coords = [(0, 0), (1, 1), (1, -1), (0, 1)]&lt;br /&gt;
LineString(coords).crosses(LineString([(0, 1), (1, 0)]))&lt;/div&gt;</summary>
		<author><name>NicolasSaunier</name></author>	</entry>

	<entry>
		<id>https://www.polymtl.ca/wikitransport/index.php?title=PythonHowTo&amp;diff=1045</id>
		<title>PythonHowTo</title>
		<link rel="alternate" type="text/html" href="https://www.polymtl.ca/wikitransport/index.php?title=PythonHowTo&amp;diff=1045"/>
				<updated>2026-07-17T11:58:19Z</updated>
		
		<summary type="html">&lt;p&gt;NicolasSaunier : /* Install Modules */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Where to start =&lt;br /&gt;
[[Programming_Resources#Python|Python tutorials]]&lt;br /&gt;
== Virtual Environments for Python Libraries ==&lt;br /&gt;
&lt;br /&gt;
The new recommended way to install Python modules (libraries) is to use virtual environments to avoid mixing your installed packages with the system Python: &lt;br /&gt;
&lt;br /&gt;
 $ python -m venv &amp;lt;directory-name&amp;gt;&lt;br /&gt;
 $ source &amp;lt;directory-name&amp;gt;/bin/activate&lt;br /&gt;
&lt;br /&gt;
Once one wants to exit the Python environment, one should run the deactivate command:&lt;br /&gt;
&lt;br /&gt;
 $ deactivate&lt;br /&gt;
&lt;br /&gt;
There is otherwise a more recent and very interesting tool called [https://docs.astral.sh/uv/ uv] to manage Python environments. &lt;br /&gt;
&lt;br /&gt;
On the group Linux computers, the libraries installed on the &amp;lt;tt&amp;gt;~nicolas&amp;lt;/tt&amp;gt; account are accessible to avoid duplication, in particular for the deep learning ultralytics library.&lt;br /&gt;
&lt;br /&gt;
== Install Modules ==&lt;br /&gt;
&lt;br /&gt;
Ref https://docs.python.org/3/installing/index.html&lt;br /&gt;
&lt;br /&gt;
Once you have a virtual environment, activate and install the desired modules:&lt;br /&gt;
&lt;br /&gt;
 $ pip install SomePackage&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 $ python -m pip install SomePackage&lt;br /&gt;
&lt;br /&gt;
I highly recommend the [[https://ipython.org/|IPython interpreter]] and, to a lesser degree, [[https://jupyter.org/|Jupyter]] (for the notebooks). See [https://sourceforge.net/p/traffic-intelligence/code/ci/default/tree/python-requirements.txt Traffic Intelligence requirements.txt] for the recommended scientific packages (&amp;lt;tt&amp;gt;pip install -r requirements.txt&amp;lt;/tt&amp;gt;):&lt;br /&gt;
&lt;br /&gt;
* Matplotlib http://matplotlib.org&lt;br /&gt;
* Numpy http://www.numpy.org&lt;br /&gt;
* Computer Vision: OpenCV, scikit-image&lt;br /&gt;
* Statistics and machine learning: scipy, scikit-learn&lt;br /&gt;
* Geometry and GIS: shapely&lt;br /&gt;
* Tabular data loading/processing: pandas&lt;br /&gt;
* ORM: sqlalchemy&lt;br /&gt;
&lt;br /&gt;
== Environment Variables for your Code and Other Downloaded Libraries ==&lt;br /&gt;
&lt;br /&gt;
To use Python modules from your code or downloaded code, the Python interpreter needs to know where to look for them. The first and preferred way is to set (or add to) the environment variable &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt; to refer to the location of the Python modules to load:&lt;br /&gt;
&lt;br /&gt;
* on Windows, add or modify the &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt; environment variable. Given the example installation path &amp;lt;tt&amp;gt;C:\Code\my_python_modules\&amp;lt;/tt&amp;gt;, it should be set to &amp;lt;tt&amp;gt;C:\Code\my_python_modules\&amp;lt;/tt&amp;gt;, e.g. &amp;lt;tt&amp;gt;C:\Users\username\traffic-intelligence\&amp;lt;/tt&amp;gt; for the [https://bitbucket.org/Nicolas/trafficintelligence/ Traffic Intelligence] modules (in the trafficintelligence package); &lt;br /&gt;
* on Linux, add or modify the &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt; environment variable by typing &amp;lt;tt&amp;gt;$export PYTHONPATH=/home/username/Code/my_python_modules/&amp;lt;/tt&amp;gt; in a terminal. However, you have to do that for each terminal before running a Python interpreter. The better way is to set the environment variable when your shell starts. If using bash, simply add the previous command at the end of the user &amp;lt;tt&amp;gt;.bashrc&amp;lt;/tt&amp;gt; file (in the home directory);&lt;br /&gt;
* on both platforms, other paths can be added, separated by &amp;lt;tt&amp;gt;:&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If that did not work, you can add the path to the sys.path system variable in the Python interpreter or at the beginning of your code, before your import statements:&lt;br /&gt;
&lt;br /&gt;
 $ import sys&lt;br /&gt;
 $ sys.append('path_to_python_modules')&lt;br /&gt;
 $ import your_module&lt;br /&gt;
&lt;br /&gt;
To test your installation, start a Python interpreter (or even better, ipython) in a '''new terminal''' (the variable will not be added to the ones that were started before the &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt; variable was added) and try to import one of your modules in the directory referred to by &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 $ import your_module&lt;br /&gt;
&lt;br /&gt;
== Tools and Scientific libraries == &lt;br /&gt;
&lt;br /&gt;
Tools&lt;br /&gt;
* Better interpreter: ipython https://ipython.org/&lt;br /&gt;
* Running and presenting code with Jupyter Notebooks https://jupyter.org/&lt;br /&gt;
Libraries&lt;br /&gt;
* Matplotlib http://matplotlib.org&lt;br /&gt;
* Numpy http://www.numpy.org&lt;br /&gt;
* Computer Vision: OpenCV , scikit-image&lt;br /&gt;
* Statistics and machine learning: scipy, scikit-learn&lt;br /&gt;
* Geometry and GIS: shapely&lt;br /&gt;
* Tabular data loading/processing: pandas&lt;br /&gt;
* ORM: sqlalchemy&lt;br /&gt;
&lt;br /&gt;
= Links =&lt;br /&gt;
* Finding the shortest cycling path in the shade https://medium.com/@tanyamarleytsui/shady-streets-6dad0979c13a&lt;br /&gt;
&lt;br /&gt;
= Random Topics=&lt;br /&gt;
== Shapely ==&lt;br /&gt;
- I left functions in moving (in Point) that returns whether a point is in a polygon or not.&lt;br /&gt;
inPolygonNoShapely(polygon) where polygon is a Nx2 numpy array representing the polygon&lt;br /&gt;
&lt;br /&gt;
- with Shapely, use their polygon and point class, eg&lt;br /&gt;
&lt;br /&gt;
from shapely.geometry import Polygon, Point&lt;br /&gt;
poly = Polygon(array([[0,0],[0,1],[1,1],[1,0]]))&lt;br /&gt;
p = Point(0.5,0.5)&lt;br /&gt;
poly.contains(p)&lt;br /&gt;
-&amp;gt; returns True&lt;br /&gt;
poly.contains(Point(-1,-1))&lt;br /&gt;
-&amp;gt; returns False&lt;br /&gt;
&lt;br /&gt;
You can convert a moving.Point to a shapely point: p = moving.Point(1,2)&lt;br /&gt;
p.asShapely() returns the equivalent shapely point&lt;br /&gt;
&lt;br /&gt;
If you have several points to test, use moving.pointsInPolygon(points, polygon) where points are moving.Point and polygon is a shapely polygon.&lt;br /&gt;
&lt;br /&gt;
You should dig in shapely for functions that compute intersections (there is one in our library, but it is slow):&lt;br /&gt;
http://toblerity.github.io/shapely/manual.html#object.crosses&lt;br /&gt;
from shapely.geometry import Polygon, Point, LineString&lt;br /&gt;
coords = [(0, 0), (1, 1), (1, -1), (0, 1)]&lt;br /&gt;
LineString(coords).crosses(LineString([(0, 1), (1, 0)]))&lt;/div&gt;</summary>
		<author><name>NicolasSaunier</name></author>	</entry>

	<entry>
		<id>https://www.polymtl.ca/wikitransport/index.php?title=PythonHowTo&amp;diff=1044</id>
		<title>PythonHowTo</title>
		<link rel="alternate" type="text/html" href="https://www.polymtl.ca/wikitransport/index.php?title=PythonHowTo&amp;diff=1044"/>
				<updated>2026-07-17T11:56:39Z</updated>
		
		<summary type="html">&lt;p&gt;NicolasSaunier : /* Old Material */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Where to start =&lt;br /&gt;
[[Programming_Resources#Python|Python tutorials]]&lt;br /&gt;
== Virtual Environments for Python Libraries ==&lt;br /&gt;
&lt;br /&gt;
The new recommended way to install Python modules (libraries) is to use virtual environments to avoid mixing your installed packages with the system Python: &lt;br /&gt;
&lt;br /&gt;
 $ python -m venv &amp;lt;directory-name&amp;gt;&lt;br /&gt;
 $ source &amp;lt;directory-name&amp;gt;/bin/activate&lt;br /&gt;
&lt;br /&gt;
Once one wants to exit the Python environment, one should run the deactivate command:&lt;br /&gt;
&lt;br /&gt;
 $ deactivate&lt;br /&gt;
&lt;br /&gt;
There is otherwise a more recent and very interesting tool called [https://docs.astral.sh/uv/ uv] to manage Python environments. &lt;br /&gt;
&lt;br /&gt;
On the group Linux computers, the libraries installed on the &amp;lt;tt&amp;gt;~nicolas&amp;lt;/tt&amp;gt; account are accessible to avoid duplication, in particular for the deep learning ultralytics library.&lt;br /&gt;
&lt;br /&gt;
== Install Modules ==&lt;br /&gt;
&lt;br /&gt;
Ref https://docs.python.org/3/installing/index.html&lt;br /&gt;
&lt;br /&gt;
Once you have a virtual environment, activate and install the desired modules:&lt;br /&gt;
&lt;br /&gt;
 $ pip install SomePackage&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 $ python -m pip install SomePackage&lt;br /&gt;
&lt;br /&gt;
I highly recommend the IPython interpreter and, to a lesser degree, Jupyter (for the notebooks). See [https://sourceforge.net/p/traffic-intelligence/code/ci/default/tree/python-requirements.txt Traffic Intelligence requirements.txt] for the recommended scientific packages (&amp;lt;tt&amp;gt;pip install -r requirements.txt&amp;lt;/tt&amp;gt;):&lt;br /&gt;
&lt;br /&gt;
* Matplotlib http://matplotlib.org&lt;br /&gt;
* Numpy http://www.numpy.org&lt;br /&gt;
* Computer Vision: OpenCV, scikit-image&lt;br /&gt;
* Statistics and machine learning: scipy, scikit-learn&lt;br /&gt;
* Geometry and GIS: shapely&lt;br /&gt;
* Tabular data loading/processing: pandas&lt;br /&gt;
* ORM: sqlalchemy&lt;br /&gt;
&lt;br /&gt;
== Environment Variables for your Code and Other Downloaded Libraries ==&lt;br /&gt;
&lt;br /&gt;
To use Python modules from your code or downloaded code, the Python interpreter needs to know where to look for them. The first and preferred way is to set (or add to) the environment variable &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt; to refer to the location of the Python modules to load:&lt;br /&gt;
&lt;br /&gt;
* on Windows, add or modify the &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt; environment variable. Given the example installation path &amp;lt;tt&amp;gt;C:\Code\my_python_modules\&amp;lt;/tt&amp;gt;, it should be set to &amp;lt;tt&amp;gt;C:\Code\my_python_modules\&amp;lt;/tt&amp;gt;, e.g. &amp;lt;tt&amp;gt;C:\Users\username\traffic-intelligence\&amp;lt;/tt&amp;gt; for the [https://bitbucket.org/Nicolas/trafficintelligence/ Traffic Intelligence] modules (in the trafficintelligence package); &lt;br /&gt;
* on Linux, add or modify the &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt; environment variable by typing &amp;lt;tt&amp;gt;$export PYTHONPATH=/home/username/Code/my_python_modules/&amp;lt;/tt&amp;gt; in a terminal. However, you have to do that for each terminal before running a Python interpreter. The better way is to set the environment variable when your shell starts. If using bash, simply add the previous command at the end of the user &amp;lt;tt&amp;gt;.bashrc&amp;lt;/tt&amp;gt; file (in the home directory);&lt;br /&gt;
* on both platforms, other paths can be added, separated by &amp;lt;tt&amp;gt;:&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If that did not work, you can add the path to the sys.path system variable in the Python interpreter or at the beginning of your code, before your import statements:&lt;br /&gt;
&lt;br /&gt;
 $ import sys&lt;br /&gt;
 $ sys.append('path_to_python_modules')&lt;br /&gt;
 $ import your_module&lt;br /&gt;
&lt;br /&gt;
To test your installation, start a Python interpreter (or even better, ipython) in a '''new terminal''' (the variable will not be added to the ones that were started before the &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt; variable was added) and try to import one of your modules in the directory referred to by &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 $ import your_module&lt;br /&gt;
&lt;br /&gt;
== Tools and Scientific libraries == &lt;br /&gt;
&lt;br /&gt;
Tools&lt;br /&gt;
* Better interpreter: ipython https://ipython.org/&lt;br /&gt;
* Running and presenting code with Jupyter Notebooks https://jupyter.org/&lt;br /&gt;
Libraries&lt;br /&gt;
* Matplotlib http://matplotlib.org&lt;br /&gt;
* Numpy http://www.numpy.org&lt;br /&gt;
* Computer Vision: OpenCV , scikit-image&lt;br /&gt;
* Statistics and machine learning: scipy, scikit-learn&lt;br /&gt;
* Geometry and GIS: shapely&lt;br /&gt;
* Tabular data loading/processing: pandas&lt;br /&gt;
* ORM: sqlalchemy&lt;br /&gt;
&lt;br /&gt;
= Links =&lt;br /&gt;
* Finding the shortest cycling path in the shade https://medium.com/@tanyamarleytsui/shady-streets-6dad0979c13a&lt;br /&gt;
&lt;br /&gt;
= Random Topics=&lt;br /&gt;
== Shapely ==&lt;br /&gt;
- I left functions in moving (in Point) that returns whether a point is in a polygon or not.&lt;br /&gt;
inPolygonNoShapely(polygon) where polygon is a Nx2 numpy array representing the polygon&lt;br /&gt;
&lt;br /&gt;
- with Shapely, use their polygon and point class, eg&lt;br /&gt;
&lt;br /&gt;
from shapely.geometry import Polygon, Point&lt;br /&gt;
poly = Polygon(array([[0,0],[0,1],[1,1],[1,0]]))&lt;br /&gt;
p = Point(0.5,0.5)&lt;br /&gt;
poly.contains(p)&lt;br /&gt;
-&amp;gt; returns True&lt;br /&gt;
poly.contains(Point(-1,-1))&lt;br /&gt;
-&amp;gt; returns False&lt;br /&gt;
&lt;br /&gt;
You can convert a moving.Point to a shapely point: p = moving.Point(1,2)&lt;br /&gt;
p.asShapely() returns the equivalent shapely point&lt;br /&gt;
&lt;br /&gt;
If you have several points to test, use moving.pointsInPolygon(points, polygon) where points are moving.Point and polygon is a shapely polygon.&lt;br /&gt;
&lt;br /&gt;
You should dig in shapely for functions that compute intersections (there is one in our library, but it is slow):&lt;br /&gt;
http://toblerity.github.io/shapely/manual.html#object.crosses&lt;br /&gt;
from shapely.geometry import Polygon, Point, LineString&lt;br /&gt;
coords = [(0, 0), (1, 1), (1, -1), (0, 1)]&lt;br /&gt;
LineString(coords).crosses(LineString([(0, 1), (1, 0)]))&lt;/div&gt;</summary>
		<author><name>NicolasSaunier</name></author>	</entry>

	<entry>
		<id>https://www.polymtl.ca/wikitransport/index.php?title=PythonHowTo&amp;diff=1043</id>
		<title>PythonHowTo</title>
		<link rel="alternate" type="text/html" href="https://www.polymtl.ca/wikitransport/index.php?title=PythonHowTo&amp;diff=1043"/>
				<updated>2026-07-17T11:55:20Z</updated>
		
		<summary type="html">&lt;p&gt;NicolasSaunier : /* Install Modules */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Where to start =&lt;br /&gt;
[[Programming_Resources#Python|Python tutorials]]&lt;br /&gt;
== Virtual Environments for Python Libraries ==&lt;br /&gt;
&lt;br /&gt;
The new recommended way to install Python modules (libraries) is to use virtual environments to avoid mixing your installed packages with the system Python: &lt;br /&gt;
&lt;br /&gt;
 $ python -m venv &amp;lt;directory-name&amp;gt;&lt;br /&gt;
 $ source &amp;lt;directory-name&amp;gt;/bin/activate&lt;br /&gt;
&lt;br /&gt;
Once one wants to exit the Python environment, one should run the deactivate command:&lt;br /&gt;
&lt;br /&gt;
 $ deactivate&lt;br /&gt;
&lt;br /&gt;
There is otherwise a more recent and very interesting tool called [https://docs.astral.sh/uv/ uv] to manage Python environments. &lt;br /&gt;
&lt;br /&gt;
On the group Linux computers, the libraries installed on the &amp;lt;tt&amp;gt;~nicolas&amp;lt;/tt&amp;gt; account are accessible to avoid duplication, in particular for the deep learning ultralytics library.&lt;br /&gt;
&lt;br /&gt;
== Install Modules ==&lt;br /&gt;
&lt;br /&gt;
Ref https://docs.python.org/3/installing/index.html&lt;br /&gt;
&lt;br /&gt;
Once you have a virtual environment, activate and install the desired modules:&lt;br /&gt;
&lt;br /&gt;
 $ pip install SomePackage&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 $ python -m pip install SomePackage&lt;br /&gt;
&lt;br /&gt;
I highly recommend the IPython interpreter and, to a lesser degree, Jupyter (for the notebooks). See [https://sourceforge.net/p/traffic-intelligence/code/ci/default/tree/python-requirements.txt Traffic Intelligence requirements.txt] for the recommended scientific packages (&amp;lt;tt&amp;gt;pip install -r requirements.txt&amp;lt;/tt&amp;gt;):&lt;br /&gt;
&lt;br /&gt;
* Matplotlib http://matplotlib.org&lt;br /&gt;
* Numpy http://www.numpy.org&lt;br /&gt;
* Computer Vision: OpenCV, scikit-image&lt;br /&gt;
* Statistics and machine learning: scipy, scikit-learn&lt;br /&gt;
* Geometry and GIS: shapely&lt;br /&gt;
* Tabular data loading/processing: pandas&lt;br /&gt;
* ORM: sqlalchemy&lt;br /&gt;
&lt;br /&gt;
= Old Material=&lt;br /&gt;
&lt;br /&gt;
I recommend a good text editor with indispensable functionalities such as text coloring and parenthesis highlighting such as [http://notepad-plus-plus.org notepad++] on Windows, or [https://atom.io/ atom] and [http://projects.gnome.org/gedit/ gedit] (for Windows, Mac and Linux).&lt;br /&gt;
&lt;br /&gt;
== Environment Variables for your Code and Other Downloaded Libraries ==&lt;br /&gt;
&lt;br /&gt;
To use Python modules from your code or downloaded code, the Python interpreter needs to know where to look for them. The first and preferred way is to set (or add to) the environment variable &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt; to refer to the location of the Python modules to load:&lt;br /&gt;
&lt;br /&gt;
* on Windows, add or modify the &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt; environment variable. Given the example installation path &amp;lt;tt&amp;gt;C:\Code\my_python_modules\&amp;lt;/tt&amp;gt;, it should be set to &amp;lt;tt&amp;gt;C:\Code\my_python_modules\&amp;lt;/tt&amp;gt;, e.g. &amp;lt;tt&amp;gt;C:\Users\username\traffic-intelligence\&amp;lt;/tt&amp;gt; for the [https://bitbucket.org/Nicolas/trafficintelligence/ Traffic Intelligence] modules (in the trafficintelligence package); &lt;br /&gt;
* on Linux, add or modify the &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt; environment variable by typing &amp;lt;tt&amp;gt;$export PYTHONPATH=/home/username/Code/my_python_modules/&amp;lt;/tt&amp;gt; in a terminal. However, you have to do that for each terminal before running a Python interpreter. The better way is to set the environment variable when your shell starts. If using bash, simply add the previous command at the end of the user &amp;lt;tt&amp;gt;.bashrc&amp;lt;/tt&amp;gt; file (in the home directory);&lt;br /&gt;
* on both platforms, other paths can be added, separated by &amp;lt;tt&amp;gt;:&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If that did not work, you can add the path to the sys.path system variable in the Python interpreter or at the beginning of your code, before your import statements:&lt;br /&gt;
&lt;br /&gt;
 $ import sys&lt;br /&gt;
 $ sys.append('path_to_python_modules')&lt;br /&gt;
 $ import your_module&lt;br /&gt;
&lt;br /&gt;
To test your installation, start a Python interpreter (or even better, ipython) in a '''new terminal''' (the variable will not be added to the ones that were started before the &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt; variable was added) and try to import one of your modules in the directory referred to by &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 $ import your_module&lt;br /&gt;
&lt;br /&gt;
== Tools and Scientific libraries == &lt;br /&gt;
&lt;br /&gt;
Tools&lt;br /&gt;
* Better interpreter: ipython https://ipython.org/&lt;br /&gt;
* Running and presenting code with Jupyter Notebooks https://jupyter.org/&lt;br /&gt;
Libraries&lt;br /&gt;
* Matplotlib http://matplotlib.org&lt;br /&gt;
* Numpy http://www.numpy.org&lt;br /&gt;
* Computer Vision: OpenCV , scikit-image&lt;br /&gt;
* Statistics and machine learning: scipy, scikit-learn&lt;br /&gt;
* Geometry and GIS: shapely&lt;br /&gt;
* Tabular data loading/processing: pandas&lt;br /&gt;
* ORM: sqlalchemy&lt;br /&gt;
&lt;br /&gt;
= Links =&lt;br /&gt;
* Finding the shortest cycling path in the shade https://medium.com/@tanyamarleytsui/shady-streets-6dad0979c13a&lt;br /&gt;
&lt;br /&gt;
= Random Topics=&lt;br /&gt;
== Shapely ==&lt;br /&gt;
- I left functions in moving (in Point) that returns whether a point is in a polygon or not.&lt;br /&gt;
inPolygonNoShapely(polygon) where polygon is a Nx2 numpy array representing the polygon&lt;br /&gt;
&lt;br /&gt;
- with Shapely, use their polygon and point class, eg&lt;br /&gt;
&lt;br /&gt;
from shapely.geometry import Polygon, Point&lt;br /&gt;
poly = Polygon(array([[0,0],[0,1],[1,1],[1,0]]))&lt;br /&gt;
p = Point(0.5,0.5)&lt;br /&gt;
poly.contains(p)&lt;br /&gt;
-&amp;gt; returns True&lt;br /&gt;
poly.contains(Point(-1,-1))&lt;br /&gt;
-&amp;gt; returns False&lt;br /&gt;
&lt;br /&gt;
You can convert a moving.Point to a shapely point: p = moving.Point(1,2)&lt;br /&gt;
p.asShapely() returns the equivalent shapely point&lt;br /&gt;
&lt;br /&gt;
If you have several points to test, use moving.pointsInPolygon(points, polygon) where points are moving.Point and polygon is a shapely polygon.&lt;br /&gt;
&lt;br /&gt;
You should dig in shapely for functions that compute intersections (there is one in our library, but it is slow):&lt;br /&gt;
http://toblerity.github.io/shapely/manual.html#object.crosses&lt;br /&gt;
from shapely.geometry import Polygon, Point, LineString&lt;br /&gt;
coords = [(0, 0), (1, 1), (1, -1), (0, 1)]&lt;br /&gt;
LineString(coords).crosses(LineString([(0, 1), (1, 0)]))&lt;/div&gt;</summary>
		<author><name>NicolasSaunier</name></author>	</entry>

	<entry>
		<id>https://www.polymtl.ca/wikitransport/index.php?title=PythonHowTo&amp;diff=1042</id>
		<title>PythonHowTo</title>
		<link rel="alternate" type="text/html" href="https://www.polymtl.ca/wikitransport/index.php?title=PythonHowTo&amp;diff=1042"/>
				<updated>2026-07-17T11:50:01Z</updated>
		
		<summary type="html">&lt;p&gt;NicolasSaunier : /* Old Material */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Where to start =&lt;br /&gt;
[[Programming_Resources#Python|Python tutorials]]&lt;br /&gt;
== Virtual Environments for Python Libraries ==&lt;br /&gt;
&lt;br /&gt;
The new recommended way to install Python modules (libraries) is to use virtual environments to avoid mixing your installed packages with the system Python: &lt;br /&gt;
&lt;br /&gt;
 $ python -m venv &amp;lt;directory-name&amp;gt;&lt;br /&gt;
 $ source &amp;lt;directory-name&amp;gt;/bin/activate&lt;br /&gt;
&lt;br /&gt;
Once one wants to exit the Python environment, one should run the deactivate command:&lt;br /&gt;
&lt;br /&gt;
 $ deactivate&lt;br /&gt;
&lt;br /&gt;
There is otherwise a more recent and very interesting tool called [https://docs.astral.sh/uv/ uv] to manage Python environments. &lt;br /&gt;
&lt;br /&gt;
On the group Linux computers, the libraries installed on the &amp;lt;tt&amp;gt;~nicolas&amp;lt;/tt&amp;gt; account are accessible to avoid duplication, in particular for the deep learning ultralytics library.&lt;br /&gt;
&lt;br /&gt;
== Install Modules ==&lt;br /&gt;
&lt;br /&gt;
Ref https://docs.python.org/3/installing/index.html&lt;br /&gt;
&lt;br /&gt;
Once you have a virtual environment, activate and install the desired modules:&lt;br /&gt;
&lt;br /&gt;
 $ pip install SomePackage&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 $ python -m pip install SomePackage&lt;br /&gt;
&lt;br /&gt;
I highly recommend the IPython interpreter and, to a lesser degree, jupyter (for the notebooks). See [https://sourceforge.net/p/traffic-intelligence/code/ci/default/tree/python-requirements.txt Traffic Intelligence requirements.txt] for the recommended scientific packages (&amp;lt;tt&amp;gt;pip install -r requirements.txt&amp;lt;/tt&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
= Old Material=&lt;br /&gt;
&lt;br /&gt;
I recommend a good text editor with indispensable functionalities such as text coloring and parenthesis highlighting such as [http://notepad-plus-plus.org notepad++] on Windows, or [https://atom.io/ atom] and [http://projects.gnome.org/gedit/ gedit] (for Windows, Mac and Linux).&lt;br /&gt;
&lt;br /&gt;
== Environment Variables for your Code and Other Downloaded Libraries ==&lt;br /&gt;
&lt;br /&gt;
To use Python modules from your code or downloaded code, the Python interpreter needs to know where to look for them. The first and preferred way is to set (or add to) the environment variable &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt; to refer to the location of the Python modules to load:&lt;br /&gt;
&lt;br /&gt;
* on Windows, add or modify the &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt; environment variable. Given the example installation path &amp;lt;tt&amp;gt;C:\Code\my_python_modules\&amp;lt;/tt&amp;gt;, it should be set to &amp;lt;tt&amp;gt;C:\Code\my_python_modules\&amp;lt;/tt&amp;gt;, e.g. &amp;lt;tt&amp;gt;C:\Users\username\traffic-intelligence\&amp;lt;/tt&amp;gt; for the [https://bitbucket.org/Nicolas/trafficintelligence/ Traffic Intelligence] modules (in the trafficintelligence package); &lt;br /&gt;
* on Linux, add or modify the &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt; environment variable by typing &amp;lt;tt&amp;gt;$export PYTHONPATH=/home/username/Code/my_python_modules/&amp;lt;/tt&amp;gt; in a terminal. However, you have to do that for each terminal before running a Python interpreter. The better way is to set the environment variable when your shell starts. If using bash, simply add the previous command at the end of the user &amp;lt;tt&amp;gt;.bashrc&amp;lt;/tt&amp;gt; file (in the home directory);&lt;br /&gt;
* on both platforms, other paths can be added, separated by &amp;lt;tt&amp;gt;:&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If that did not work, you can add the path to the sys.path system variable in the Python interpreter or at the beginning of your code, before your import statements:&lt;br /&gt;
&lt;br /&gt;
 $ import sys&lt;br /&gt;
 $ sys.append('path_to_python_modules')&lt;br /&gt;
 $ import your_module&lt;br /&gt;
&lt;br /&gt;
To test your installation, start a Python interpreter (or even better, ipython) in a '''new terminal''' (the variable will not be added to the ones that were started before the &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt; variable was added) and try to import one of your modules in the directory referred to by &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 $ import your_module&lt;br /&gt;
&lt;br /&gt;
== Tools and Scientific libraries == &lt;br /&gt;
&lt;br /&gt;
Tools&lt;br /&gt;
* Better interpreter: ipython https://ipython.org/&lt;br /&gt;
* Running and presenting code with Jupyter Notebooks https://jupyter.org/&lt;br /&gt;
Libraries&lt;br /&gt;
* Matplotlib http://matplotlib.org&lt;br /&gt;
* Numpy http://www.numpy.org&lt;br /&gt;
* Computer Vision: OpenCV , scikit-image&lt;br /&gt;
* Statistics and machine learning: scipy, scikit-learn&lt;br /&gt;
* Geometry and GIS: shapely&lt;br /&gt;
* Tabular data loading/processing: pandas&lt;br /&gt;
* ORM: sqlalchemy&lt;br /&gt;
&lt;br /&gt;
= Links =&lt;br /&gt;
* Finding the shortest cycling path in the shade https://medium.com/@tanyamarleytsui/shady-streets-6dad0979c13a&lt;br /&gt;
&lt;br /&gt;
= Random Topics=&lt;br /&gt;
== Shapely ==&lt;br /&gt;
- I left functions in moving (in Point) that returns whether a point is in a polygon or not.&lt;br /&gt;
inPolygonNoShapely(polygon) where polygon is a Nx2 numpy array representing the polygon&lt;br /&gt;
&lt;br /&gt;
- with Shapely, use their polygon and point class, eg&lt;br /&gt;
&lt;br /&gt;
from shapely.geometry import Polygon, Point&lt;br /&gt;
poly = Polygon(array([[0,0],[0,1],[1,1],[1,0]]))&lt;br /&gt;
p = Point(0.5,0.5)&lt;br /&gt;
poly.contains(p)&lt;br /&gt;
-&amp;gt; returns True&lt;br /&gt;
poly.contains(Point(-1,-1))&lt;br /&gt;
-&amp;gt; returns False&lt;br /&gt;
&lt;br /&gt;
You can convert a moving.Point to a shapely point: p = moving.Point(1,2)&lt;br /&gt;
p.asShapely() returns the equivalent shapely point&lt;br /&gt;
&lt;br /&gt;
If you have several points to test, use moving.pointsInPolygon(points, polygon) where points are moving.Point and polygon is a shapely polygon.&lt;br /&gt;
&lt;br /&gt;
You should dig in shapely for functions that compute intersections (there is one in our library, but it is slow):&lt;br /&gt;
http://toblerity.github.io/shapely/manual.html#object.crosses&lt;br /&gt;
from shapely.geometry import Polygon, Point, LineString&lt;br /&gt;
coords = [(0, 0), (1, 1), (1, -1), (0, 1)]&lt;br /&gt;
LineString(coords).crosses(LineString([(0, 1), (1, 0)]))&lt;/div&gt;</summary>
		<author><name>NicolasSaunier</name></author>	</entry>

	<entry>
		<id>https://www.polymtl.ca/wikitransport/index.php?title=Programming_Resources&amp;diff=1041</id>
		<title>Programming Resources</title>
		<link rel="alternate" type="text/html" href="https://www.polymtl.ca/wikitransport/index.php?title=Programming_Resources&amp;diff=1041"/>
				<updated>2026-07-16T05:40:18Z</updated>
		
		<summary type="html">&lt;p&gt;NicolasSaunier : /* General */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=General=&lt;br /&gt;
* Getting started (Creative Coding for Beginners - Full Course! by Adam Shiffman) https://thecodingtrain.com/guides/getting-started&lt;br /&gt;
* [[DataScienceResources|Data science resources]]&lt;br /&gt;
&lt;br /&gt;
It is indispensable to use a good text editor with essential functionalities such as text coloring and parenthesis highlighting like [http://notepad-plus-plus.org notepad++] on Windows, [http://projects.gnome.org/gedit/ gedit] or [https://www.gnu.org/software/emacs/ Emacs] (for Windows, Mac and Linux).&lt;br /&gt;
&lt;br /&gt;
=Python=&lt;br /&gt;
* Resources and tutorials for the transport data management course CIV8760 (mostly in French) https://github.com/nsaunier/CIV8760/blob/master/Python/README.md, and simple [[PythonHowTo|how-to]] to install Python&lt;br /&gt;
* Official Python tutorial https://docs.python.org/3/tutorial/index.html (in [https://docs.python.org/fr/3/tutorial/ French] and the tutor (step by step visualization of the program) https://pythontutor.com/&lt;br /&gt;
* Python 1-h video tutorial https://www.youtube.com/watch?v=kqtD5dpn9C8&lt;br /&gt;
* [http://software-carpentry.org/lessons Software Carpentry lessons], in particular https://swcarpentry.github.io/python-novice-inflammation/ and http://swcarpentry.github.io/python-novice-gapminder (lessons and videos)&lt;br /&gt;
* [https://www.w3resource.com/python-exercises Hundreds of Python exercises]&lt;br /&gt;
* [https://github.com/jakevdp/WhirlwindTourOfPython A Whirlwind Tour of Python]&lt;br /&gt;
* [https://www.learnpython.org LearnPython.org]&lt;br /&gt;
* https://github.com/mpcs-51042/materials&lt;br /&gt;
* in French&lt;br /&gt;
** [https://www.youtube.com/playlist?list=PLfALbWbNPl4bSWH-Pbj3iIb_TVQdr99pH liste des vidéos du cours INF1005D]&lt;br /&gt;
** [https://openclassrooms.com/fr/courses/235344-apprenez-a-programmer-en-python Openclassrooms - Apprenez à programmer en Python]&lt;br /&gt;
** [https://python.doctor/ Apprendre le langage de programmation python]&lt;br /&gt;
* Online books:&lt;br /&gt;
** [http://greenteapress.com/wp/think-python/ Think Python]&lt;br /&gt;
** [http://www.diveinto.org/python3/ Dive into Python 3] and [http://www.diveintopython.net/ Dive into Python]&lt;br /&gt;
** [https://python.developpez.com/cours/apprendre-python3/ Apprendre à programmer avec Python 3] (en français)&lt;br /&gt;
** Python Programming And Numerical Methods: A Guide For Engineers And Scientists https://pythonnumericalmethods.studentorg.berkeley.edu/notebooks/Index.html&lt;br /&gt;
** Research Software Engineering with Python https://third-bit.com/py-rse/&lt;br /&gt;
* Older tutorials http://n.saunier.free.fr/saunier/teaching/workshop/12-09-script-ta-ville.html, [[SeminaireInfo|Séminaire appliqué sur les outils informatiques de traitement de données (2011)]]&lt;br /&gt;
&lt;br /&gt;
=R=&lt;br /&gt;
* Introduction to R programming (in French), Vincent Goulet https://cran.r-project.org/doc/contrib/Goulet_introduction_programmation_R.pdf&lt;br /&gt;
* Workshop on R software https://github.com/sahirbhatnagar/atelier-R-GERAD&lt;br /&gt;
* Guide pour l’analyse de données d’enquêtes avec R (in French) https://larmarange.github.io/guide-R/&lt;br /&gt;
&lt;br /&gt;
=Databases=&lt;br /&gt;
* Wikibook SQL http://en.wikibooks.org/wiki/SQL&lt;br /&gt;
* Murrell P., Introduction to Data Technologies 2009  http://www.stat.auckland.ac.nz/~paul/ItDT/&lt;br /&gt;
* SQL for Web Nerds  http://philip.greenspun.com/sql/&lt;br /&gt;
* Software Carpentry: Using Databases and SQL http://swcarpentry.github.io/sql-novice-survey&lt;br /&gt;
&lt;br /&gt;
=Version Control=&lt;br /&gt;
* [[Mercurial|Mercurial]]&lt;br /&gt;
* Others: Git https://glasskube.dev/guides/git/, Subversion&lt;br /&gt;
&lt;br /&gt;
=Other Languages=&lt;br /&gt;
* [https://p5js.org/ p5js]: porting of processing in javascript (video lessons by Adam Shiffman at https://thecodingtrain.com)&lt;br /&gt;
* [http://www.gnu.org/software/octave Octave]: Matlab clone&lt;br /&gt;
* C/C++: GCC compiler, cygwing or MinGW environnements (Windows)&lt;/div&gt;</summary>
		<author><name>NicolasSaunier</name></author>	</entry>

	<entry>
		<id>https://www.polymtl.ca/wikitransport/index.php?title=PythonHowTo&amp;diff=1040</id>
		<title>PythonHowTo</title>
		<link rel="alternate" type="text/html" href="https://www.polymtl.ca/wikitransport/index.php?title=PythonHowTo&amp;diff=1040"/>
				<updated>2026-07-16T05:37:49Z</updated>
		
		<summary type="html">&lt;p&gt;NicolasSaunier : /* Install Modules */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Where to start =&lt;br /&gt;
[[Programming_Resources#Python|Python tutorials]]&lt;br /&gt;
== Virtual Environments for Python Libraries ==&lt;br /&gt;
&lt;br /&gt;
The new recommended way to install Python modules (libraries) is to use virtual environments to avoid mixing your installed packages with the system Python: &lt;br /&gt;
&lt;br /&gt;
 $ python -m venv &amp;lt;directory-name&amp;gt;&lt;br /&gt;
 $ source &amp;lt;directory-name&amp;gt;/bin/activate&lt;br /&gt;
&lt;br /&gt;
Once one wants to exit the Python environment, one should run the deactivate command:&lt;br /&gt;
&lt;br /&gt;
 $ deactivate&lt;br /&gt;
&lt;br /&gt;
There is otherwise a more recent and very interesting tool called [https://docs.astral.sh/uv/ uv] to manage Python environments. &lt;br /&gt;
&lt;br /&gt;
On the group Linux computers, the libraries installed on the &amp;lt;tt&amp;gt;~nicolas&amp;lt;/tt&amp;gt; account are accessible to avoid duplication, in particular for the deep learning ultralytics library.&lt;br /&gt;
&lt;br /&gt;
== Install Modules ==&lt;br /&gt;
&lt;br /&gt;
Ref https://docs.python.org/3/installing/index.html&lt;br /&gt;
&lt;br /&gt;
Once you have a virtual environment, activate and install the desired modules:&lt;br /&gt;
&lt;br /&gt;
 $ pip install SomePackage&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 $ python -m pip install SomePackage&lt;br /&gt;
&lt;br /&gt;
I highly recommend the IPython interpreter and, to a lesser degree, jupyter (for the notebooks). See [https://sourceforge.net/p/traffic-intelligence/code/ci/default/tree/python-requirements.txt Traffic Intelligence requirements.txt] for the recommended scientific packages (&amp;lt;tt&amp;gt;pip install -r requirements.txt&amp;lt;/tt&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
= Old Material=&lt;br /&gt;
&lt;br /&gt;
* It is easy to install the necessary packages using easy_install/pip/conda once you have the basics&lt;br /&gt;
** pip is recommended with the online script https://bootstrap.pypa.io/get-pip.py. Any &amp;lt;tt&amp;gt;module&amp;lt;/tt&amp;gt; can be installed through and updated: &amp;lt;tt&amp;gt;pip install &amp;lt;module&amp;gt; --upgrade&amp;lt;/tt&amp;gt; (will install in the user home directory).&lt;br /&gt;
&lt;br /&gt;
* I recommend a scientific distribution of Python, ie Python with the improved interpreter iPython and the core scientific libraries (Numpy, Scipy, Matplotlib, Pandas, etc.) that are used for example in the [https://trafficintelligence.confins.net Traffic Intelligence] project:&lt;br /&gt;
** There are three main choices: [https://www.continuum.io/why-anaconda anaconda], [https://python-xy.github.io/ PythonXY] and [https://assets.enthought.com/downloads/ Enthought Python Distribution]. &lt;br /&gt;
** In addition, if you want to install other Python packages not provided by default, such as OpenCV that is needed to display video data and replay extracted trajectories over the video (used in the cvutils module). For example:&lt;br /&gt;
&lt;br /&gt;
 $ conda install opencv3&lt;br /&gt;
 $ pip install opencv-python&lt;br /&gt;
&lt;br /&gt;
or (you can search your preferred version using)&lt;br /&gt;
&lt;br /&gt;
 $ anaconda search -t conda opencv&lt;br /&gt;
 $ anaconda show &amp;lt;user/package&amp;gt;&lt;br /&gt;
 $ conda install --channel https://conda.anaconda.org/menpo opencv3 # for example&lt;br /&gt;
&lt;br /&gt;
I recommend a good text editor with indispensable functionalities such as text coloring and parenthesis highlighting such as [http://notepad-plus-plus.org notepad++] on Windows, or [https://atom.io/ atom] and [http://projects.gnome.org/gedit/ gedit] (for Windows, Mac and Linux).&lt;br /&gt;
&lt;br /&gt;
== Environment Variables for your Code and Other Downloaded Libraries ==&lt;br /&gt;
&lt;br /&gt;
To use Python modules from your code or downloaded code, the Python interpreter needs to know where to look for them. The first and preferred way is to set (or add to) the environment variable &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt; to refer to the location of the Python modules to load:&lt;br /&gt;
&lt;br /&gt;
* on Windows, add or modify the &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt; environment variable. Given the example installation path &amp;lt;tt&amp;gt;C:\Code\my_python_modules\&amp;lt;/tt&amp;gt;, it should be set to &amp;lt;tt&amp;gt;C:\Code\my_python_modules\&amp;lt;/tt&amp;gt;, e.g. &amp;lt;tt&amp;gt;C:\Users\username\traffic-intelligence\&amp;lt;/tt&amp;gt; for the [https://bitbucket.org/Nicolas/trafficintelligence/ Traffic Intelligence] modules (in the trafficintelligence package); &lt;br /&gt;
* on Linux, add or modify the &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt; environment variable by typing &amp;lt;tt&amp;gt;$export PYTHONPATH=/home/username/Code/my_python_modules/&amp;lt;/tt&amp;gt; in a terminal. However, you have to do that for each terminal before running a Python interpreter. The better way is to set the environment variable when your shell starts. If using bash, simply add the previous command at the end of the user &amp;lt;tt&amp;gt;.bashrc&amp;lt;/tt&amp;gt; file (in the home directory);&lt;br /&gt;
* on both platforms, other paths can be added, separated by &amp;lt;tt&amp;gt;:&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If that did not work, you can add the path to the sys.path system variable in the Python interpreter or at the beginning of your code, before your import statements:&lt;br /&gt;
&lt;br /&gt;
 $ import sys&lt;br /&gt;
 $ sys.append('path_to_python_modules')&lt;br /&gt;
 $ import your_module&lt;br /&gt;
&lt;br /&gt;
To test your installation, start a Python interpreter (or even better, ipython) in a '''new terminal''' (the variable will not be added to the ones that were started before the &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt; variable was added) and try to import one of your modules in the directory referred to by &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 $ import your_module&lt;br /&gt;
&lt;br /&gt;
== Tools and Scientific libraries == &lt;br /&gt;
&lt;br /&gt;
Tools&lt;br /&gt;
* Better interpreter: ipython https://ipython.org/&lt;br /&gt;
* Running and presenting code with Jupyter Notebooks https://jupyter.org/&lt;br /&gt;
Libraries&lt;br /&gt;
* Matplotlib http://matplotlib.org&lt;br /&gt;
* Numpy http://www.numpy.org&lt;br /&gt;
* Computer Vision: OpenCV , scikit-image&lt;br /&gt;
* Statistics and machine learning: scipy, scikit-learn&lt;br /&gt;
* Geometry and GIS: shapely&lt;br /&gt;
* Tabular data loading/processing: pandas&lt;br /&gt;
* ORM: sqlalchemy&lt;br /&gt;
&lt;br /&gt;
= Links =&lt;br /&gt;
* Finding the shortest cycling path in the shade https://medium.com/@tanyamarleytsui/shady-streets-6dad0979c13a&lt;br /&gt;
&lt;br /&gt;
= Random Topics=&lt;br /&gt;
== Shapely ==&lt;br /&gt;
- I left functions in moving (in Point) that returns whether a point is in a polygon or not.&lt;br /&gt;
inPolygonNoShapely(polygon) where polygon is a Nx2 numpy array representing the polygon&lt;br /&gt;
&lt;br /&gt;
- with Shapely, use their polygon and point class, eg&lt;br /&gt;
&lt;br /&gt;
from shapely.geometry import Polygon, Point&lt;br /&gt;
poly = Polygon(array([[0,0],[0,1],[1,1],[1,0]]))&lt;br /&gt;
p = Point(0.5,0.5)&lt;br /&gt;
poly.contains(p)&lt;br /&gt;
-&amp;gt; returns True&lt;br /&gt;
poly.contains(Point(-1,-1))&lt;br /&gt;
-&amp;gt; returns False&lt;br /&gt;
&lt;br /&gt;
You can convert a moving.Point to a shapely point: p = moving.Point(1,2)&lt;br /&gt;
p.asShapely() returns the equivalent shapely point&lt;br /&gt;
&lt;br /&gt;
If you have several points to test, use moving.pointsInPolygon(points, polygon) where points are moving.Point and polygon is a shapely polygon.&lt;br /&gt;
&lt;br /&gt;
You should dig in shapely for functions that compute intersections (there is one in our library, but it is slow):&lt;br /&gt;
http://toblerity.github.io/shapely/manual.html#object.crosses&lt;br /&gt;
from shapely.geometry import Polygon, Point, LineString&lt;br /&gt;
coords = [(0, 0), (1, 1), (1, -1), (0, 1)]&lt;br /&gt;
LineString(coords).crosses(LineString([(0, 1), (1, 0)]))&lt;/div&gt;</summary>
		<author><name>NicolasSaunier</name></author>	</entry>

	<entry>
		<id>https://www.polymtl.ca/wikitransport/index.php?title=PythonHowTo&amp;diff=1039</id>
		<title>PythonHowTo</title>
		<link rel="alternate" type="text/html" href="https://www.polymtl.ca/wikitransport/index.php?title=PythonHowTo&amp;diff=1039"/>
				<updated>2026-07-16T05:35:34Z</updated>
		
		<summary type="html">&lt;p&gt;NicolasSaunier : /* Install Modules */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Where to start =&lt;br /&gt;
[[Programming_Resources#Python|Python tutorials]]&lt;br /&gt;
== Virtual Environments for Python Libraries ==&lt;br /&gt;
&lt;br /&gt;
The new recommended way to install Python modules (libraries) is to use virtual environments to avoid mixing your installed packages with the system Python: &lt;br /&gt;
&lt;br /&gt;
 $ python -m venv &amp;lt;directory-name&amp;gt;&lt;br /&gt;
 $ source &amp;lt;directory-name&amp;gt;/bin/activate&lt;br /&gt;
&lt;br /&gt;
Once one wants to exit the Python environment, one should run the deactivate command:&lt;br /&gt;
&lt;br /&gt;
 $ deactivate&lt;br /&gt;
&lt;br /&gt;
There is otherwise a more recent and very interesting tool called [https://docs.astral.sh/uv/ uv] to manage Python environments. &lt;br /&gt;
&lt;br /&gt;
On the group Linux computers, the libraries installed on the &amp;lt;tt&amp;gt;~nicolas&amp;lt;/tt&amp;gt; account are accessible to avoid duplication, in particular for the deep learning ultralytics library.&lt;br /&gt;
&lt;br /&gt;
== Install Modules ==&lt;br /&gt;
&lt;br /&gt;
Ref https://docs.python.org/3/installing/index.html&lt;br /&gt;
&lt;br /&gt;
Once you have a virtual environment, activate and install the desired modules:&lt;br /&gt;
&lt;br /&gt;
 $ pip install SomePackage&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 $ python -m pip install SomePackage&lt;br /&gt;
&lt;br /&gt;
I highly recommend the IPython interpreter and, to a lesser degree, jupyter (for the notebooks). See [https://sourceforge.net/p/traffic-intelligence/code/ci/default/tree/python-requirements.txt Traffic Intelligence requirements.txt] for the recommended scientific packages.&lt;br /&gt;
&lt;br /&gt;
= Old Material=&lt;br /&gt;
&lt;br /&gt;
* It is easy to install the necessary packages using easy_install/pip/conda once you have the basics&lt;br /&gt;
** pip is recommended with the online script https://bootstrap.pypa.io/get-pip.py. Any &amp;lt;tt&amp;gt;module&amp;lt;/tt&amp;gt; can be installed through and updated: &amp;lt;tt&amp;gt;pip install &amp;lt;module&amp;gt; --upgrade&amp;lt;/tt&amp;gt; (will install in the user home directory).&lt;br /&gt;
&lt;br /&gt;
* I recommend a scientific distribution of Python, ie Python with the improved interpreter iPython and the core scientific libraries (Numpy, Scipy, Matplotlib, Pandas, etc.) that are used for example in the [https://trafficintelligence.confins.net Traffic Intelligence] project:&lt;br /&gt;
** There are three main choices: [https://www.continuum.io/why-anaconda anaconda], [https://python-xy.github.io/ PythonXY] and [https://assets.enthought.com/downloads/ Enthought Python Distribution]. &lt;br /&gt;
** In addition, if you want to install other Python packages not provided by default, such as OpenCV that is needed to display video data and replay extracted trajectories over the video (used in the cvutils module). For example:&lt;br /&gt;
&lt;br /&gt;
 $ conda install opencv3&lt;br /&gt;
 $ pip install opencv-python&lt;br /&gt;
&lt;br /&gt;
or (you can search your preferred version using)&lt;br /&gt;
&lt;br /&gt;
 $ anaconda search -t conda opencv&lt;br /&gt;
 $ anaconda show &amp;lt;user/package&amp;gt;&lt;br /&gt;
 $ conda install --channel https://conda.anaconda.org/menpo opencv3 # for example&lt;br /&gt;
&lt;br /&gt;
I recommend a good text editor with indispensable functionalities such as text coloring and parenthesis highlighting such as [http://notepad-plus-plus.org notepad++] on Windows, or [https://atom.io/ atom] and [http://projects.gnome.org/gedit/ gedit] (for Windows, Mac and Linux).&lt;br /&gt;
&lt;br /&gt;
== Environment Variables for your Code and Other Downloaded Libraries ==&lt;br /&gt;
&lt;br /&gt;
To use Python modules from your code or downloaded code, the Python interpreter needs to know where to look for them. The first and preferred way is to set (or add to) the environment variable &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt; to refer to the location of the Python modules to load:&lt;br /&gt;
&lt;br /&gt;
* on Windows, add or modify the &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt; environment variable. Given the example installation path &amp;lt;tt&amp;gt;C:\Code\my_python_modules\&amp;lt;/tt&amp;gt;, it should be set to &amp;lt;tt&amp;gt;C:\Code\my_python_modules\&amp;lt;/tt&amp;gt;, e.g. &amp;lt;tt&amp;gt;C:\Users\username\traffic-intelligence\&amp;lt;/tt&amp;gt; for the [https://bitbucket.org/Nicolas/trafficintelligence/ Traffic Intelligence] modules (in the trafficintelligence package); &lt;br /&gt;
* on Linux, add or modify the &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt; environment variable by typing &amp;lt;tt&amp;gt;$export PYTHONPATH=/home/username/Code/my_python_modules/&amp;lt;/tt&amp;gt; in a terminal. However, you have to do that for each terminal before running a Python interpreter. The better way is to set the environment variable when your shell starts. If using bash, simply add the previous command at the end of the user &amp;lt;tt&amp;gt;.bashrc&amp;lt;/tt&amp;gt; file (in the home directory);&lt;br /&gt;
* on both platforms, other paths can be added, separated by &amp;lt;tt&amp;gt;:&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If that did not work, you can add the path to the sys.path system variable in the Python interpreter or at the beginning of your code, before your import statements:&lt;br /&gt;
&lt;br /&gt;
 $ import sys&lt;br /&gt;
 $ sys.append('path_to_python_modules')&lt;br /&gt;
 $ import your_module&lt;br /&gt;
&lt;br /&gt;
To test your installation, start a Python interpreter (or even better, ipython) in a '''new terminal''' (the variable will not be added to the ones that were started before the &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt; variable was added) and try to import one of your modules in the directory referred to by &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 $ import your_module&lt;br /&gt;
&lt;br /&gt;
== Tools and Scientific libraries == &lt;br /&gt;
&lt;br /&gt;
Tools&lt;br /&gt;
* Better interpreter: ipython https://ipython.org/&lt;br /&gt;
* Running and presenting code with Jupyter Notebooks https://jupyter.org/&lt;br /&gt;
Libraries&lt;br /&gt;
* Matplotlib http://matplotlib.org&lt;br /&gt;
* Numpy http://www.numpy.org&lt;br /&gt;
* Computer Vision: OpenCV , scikit-image&lt;br /&gt;
* Statistics and machine learning: scipy, scikit-learn&lt;br /&gt;
* Geometry and GIS: shapely&lt;br /&gt;
* Tabular data loading/processing: pandas&lt;br /&gt;
* ORM: sqlalchemy&lt;br /&gt;
&lt;br /&gt;
= Links =&lt;br /&gt;
* Finding the shortest cycling path in the shade https://medium.com/@tanyamarleytsui/shady-streets-6dad0979c13a&lt;br /&gt;
&lt;br /&gt;
= Random Topics=&lt;br /&gt;
== Shapely ==&lt;br /&gt;
- I left functions in moving (in Point) that returns whether a point is in a polygon or not.&lt;br /&gt;
inPolygonNoShapely(polygon) where polygon is a Nx2 numpy array representing the polygon&lt;br /&gt;
&lt;br /&gt;
- with Shapely, use their polygon and point class, eg&lt;br /&gt;
&lt;br /&gt;
from shapely.geometry import Polygon, Point&lt;br /&gt;
poly = Polygon(array([[0,0],[0,1],[1,1],[1,0]]))&lt;br /&gt;
p = Point(0.5,0.5)&lt;br /&gt;
poly.contains(p)&lt;br /&gt;
-&amp;gt; returns True&lt;br /&gt;
poly.contains(Point(-1,-1))&lt;br /&gt;
-&amp;gt; returns False&lt;br /&gt;
&lt;br /&gt;
You can convert a moving.Point to a shapely point: p = moving.Point(1,2)&lt;br /&gt;
p.asShapely() returns the equivalent shapely point&lt;br /&gt;
&lt;br /&gt;
If you have several points to test, use moving.pointsInPolygon(points, polygon) where points are moving.Point and polygon is a shapely polygon.&lt;br /&gt;
&lt;br /&gt;
You should dig in shapely for functions that compute intersections (there is one in our library, but it is slow):&lt;br /&gt;
http://toblerity.github.io/shapely/manual.html#object.crosses&lt;br /&gt;
from shapely.geometry import Polygon, Point, LineString&lt;br /&gt;
coords = [(0, 0), (1, 1), (1, -1), (0, 1)]&lt;br /&gt;
LineString(coords).crosses(LineString([(0, 1), (1, 0)]))&lt;/div&gt;</summary>
		<author><name>NicolasSaunier</name></author>	</entry>

	<entry>
		<id>https://www.polymtl.ca/wikitransport/index.php?title=PythonHowTo&amp;diff=1038</id>
		<title>PythonHowTo</title>
		<link rel="alternate" type="text/html" href="https://www.polymtl.ca/wikitransport/index.php?title=PythonHowTo&amp;diff=1038"/>
				<updated>2026-07-16T05:32:15Z</updated>
		
		<summary type="html">&lt;p&gt;NicolasSaunier : /* Install Modules */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Where to start =&lt;br /&gt;
[[Programming_Resources#Python|Python tutorials]]&lt;br /&gt;
== Virtual Environments for Python Libraries ==&lt;br /&gt;
&lt;br /&gt;
The new recommended way to install Python modules (libraries) is to use virtual environments to avoid mixing your installed packages with the system Python: &lt;br /&gt;
&lt;br /&gt;
 $ python -m venv &amp;lt;directory-name&amp;gt;&lt;br /&gt;
 $ source &amp;lt;directory-name&amp;gt;/bin/activate&lt;br /&gt;
&lt;br /&gt;
Once one wants to exit the Python environment, one should run the deactivate command:&lt;br /&gt;
&lt;br /&gt;
 $ deactivate&lt;br /&gt;
&lt;br /&gt;
There is otherwise a more recent and very interesting tool called [https://docs.astral.sh/uv/ uv] to manage Python environments. &lt;br /&gt;
&lt;br /&gt;
On the group Linux computers, the libraries installed on the &amp;lt;tt&amp;gt;~nicolas&amp;lt;/tt&amp;gt; account are accessible to avoid duplication, in particular for the deep learning ultralytics library.&lt;br /&gt;
&lt;br /&gt;
== Install Modules ==&lt;br /&gt;
&lt;br /&gt;
Ref https://docs.python.org/3/installing/index.html&lt;br /&gt;
&lt;br /&gt;
Once you have a virtual environment, activate and install the desired modules:&lt;br /&gt;
&lt;br /&gt;
 $ pip install SomePackage&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 $ python -m pip install SomePackage&lt;br /&gt;
&lt;br /&gt;
I highly recommend the IPython interpreter and, to a lesser degree, jupyter (for the notebooks). See [https://sourceforge.net/p/traffic-intelligence/code/ci/default/tree/python-requirements.txt|Traffic Intelligence requirements.txt] for the recommended scientific packages.&lt;br /&gt;
&lt;br /&gt;
= Old Material=&lt;br /&gt;
&lt;br /&gt;
* It is easy to install the necessary packages using easy_install/pip/conda once you have the basics&lt;br /&gt;
** pip is recommended with the online script https://bootstrap.pypa.io/get-pip.py. Any &amp;lt;tt&amp;gt;module&amp;lt;/tt&amp;gt; can be installed through and updated: &amp;lt;tt&amp;gt;pip install &amp;lt;module&amp;gt; --upgrade&amp;lt;/tt&amp;gt; (will install in the user home directory).&lt;br /&gt;
&lt;br /&gt;
* I recommend a scientific distribution of Python, ie Python with the improved interpreter iPython and the core scientific libraries (Numpy, Scipy, Matplotlib, Pandas, etc.) that are used for example in the [https://trafficintelligence.confins.net Traffic Intelligence] project:&lt;br /&gt;
** There are three main choices: [https://www.continuum.io/why-anaconda anaconda], [https://python-xy.github.io/ PythonXY] and [https://assets.enthought.com/downloads/ Enthought Python Distribution]. &lt;br /&gt;
** In addition, if you want to install other Python packages not provided by default, such as OpenCV that is needed to display video data and replay extracted trajectories over the video (used in the cvutils module). For example:&lt;br /&gt;
&lt;br /&gt;
 $ conda install opencv3&lt;br /&gt;
 $ pip install opencv-python&lt;br /&gt;
&lt;br /&gt;
or (you can search your preferred version using)&lt;br /&gt;
&lt;br /&gt;
 $ anaconda search -t conda opencv&lt;br /&gt;
 $ anaconda show &amp;lt;user/package&amp;gt;&lt;br /&gt;
 $ conda install --channel https://conda.anaconda.org/menpo opencv3 # for example&lt;br /&gt;
&lt;br /&gt;
I recommend a good text editor with indispensable functionalities such as text coloring and parenthesis highlighting such as [http://notepad-plus-plus.org notepad++] on Windows, or [https://atom.io/ atom] and [http://projects.gnome.org/gedit/ gedit] (for Windows, Mac and Linux).&lt;br /&gt;
&lt;br /&gt;
== Environment Variables for your Code and Other Downloaded Libraries ==&lt;br /&gt;
&lt;br /&gt;
To use Python modules from your code or downloaded code, the Python interpreter needs to know where to look for them. The first and preferred way is to set (or add to) the environment variable &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt; to refer to the location of the Python modules to load:&lt;br /&gt;
&lt;br /&gt;
* on Windows, add or modify the &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt; environment variable. Given the example installation path &amp;lt;tt&amp;gt;C:\Code\my_python_modules\&amp;lt;/tt&amp;gt;, it should be set to &amp;lt;tt&amp;gt;C:\Code\my_python_modules\&amp;lt;/tt&amp;gt;, e.g. &amp;lt;tt&amp;gt;C:\Users\username\traffic-intelligence\&amp;lt;/tt&amp;gt; for the [https://bitbucket.org/Nicolas/trafficintelligence/ Traffic Intelligence] modules (in the trafficintelligence package); &lt;br /&gt;
* on Linux, add or modify the &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt; environment variable by typing &amp;lt;tt&amp;gt;$export PYTHONPATH=/home/username/Code/my_python_modules/&amp;lt;/tt&amp;gt; in a terminal. However, you have to do that for each terminal before running a Python interpreter. The better way is to set the environment variable when your shell starts. If using bash, simply add the previous command at the end of the user &amp;lt;tt&amp;gt;.bashrc&amp;lt;/tt&amp;gt; file (in the home directory);&lt;br /&gt;
* on both platforms, other paths can be added, separated by &amp;lt;tt&amp;gt;:&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If that did not work, you can add the path to the sys.path system variable in the Python interpreter or at the beginning of your code, before your import statements:&lt;br /&gt;
&lt;br /&gt;
 $ import sys&lt;br /&gt;
 $ sys.append('path_to_python_modules')&lt;br /&gt;
 $ import your_module&lt;br /&gt;
&lt;br /&gt;
To test your installation, start a Python interpreter (or even better, ipython) in a '''new terminal''' (the variable will not be added to the ones that were started before the &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt; variable was added) and try to import one of your modules in the directory referred to by &amp;lt;tt&amp;gt;PYTHONPATH&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 $ import your_module&lt;br /&gt;
&lt;br /&gt;
== Tools and Scientific libraries == &lt;br /&gt;
&lt;br /&gt;
Tools&lt;br /&gt;
* Better interpreter: ipython https://ipython.org/&lt;br /&gt;
* Running and presenting code with Jupyter Notebooks https://jupyter.org/&lt;br /&gt;
Libraries&lt;br /&gt;
* Matplotlib http://matplotlib.org&lt;br /&gt;
* Numpy http://www.numpy.org&lt;br /&gt;
* Computer Vision: OpenCV , scikit-image&lt;br /&gt;
* Statistics and machine learning: scipy, scikit-learn&lt;br /&gt;
* Geometry and GIS: shapely&lt;br /&gt;
* Tabular data loading/processing: pandas&lt;br /&gt;
* ORM: sqlalchemy&lt;br /&gt;
&lt;br /&gt;
= Links =&lt;br /&gt;
* Finding the shortest cycling path in the shade https://medium.com/@tanyamarleytsui/shady-streets-6dad0979c13a&lt;br /&gt;
&lt;br /&gt;
= Random Topics=&lt;br /&gt;
== Shapely ==&lt;br /&gt;
- I left functions in moving (in Point) that returns whether a point is in a polygon or not.&lt;br /&gt;
inPolygonNoShapely(polygon) where polygon is a Nx2 numpy array representing the polygon&lt;br /&gt;
&lt;br /&gt;
- with Shapely, use their polygon and point class, eg&lt;br /&gt;
&lt;br /&gt;
from shapely.geometry import Polygon, Point&lt;br /&gt;
poly = Polygon(array([[0,0],[0,1],[1,1],[1,0]]))&lt;br /&gt;
p = Point(0.5,0.5)&lt;br /&gt;
poly.contains(p)&lt;br /&gt;
-&amp;gt; returns True&lt;br /&gt;
poly.contains(Point(-1,-1))&lt;br /&gt;
-&amp;gt; returns False&lt;br /&gt;
&lt;br /&gt;
You can convert a moving.Point to a shapely point: p = moving.Point(1,2)&lt;br /&gt;
p.asShapely() returns the equivalent shapely point&lt;br /&gt;
&lt;br /&gt;
If you have several points to test, use moving.pointsInPolygon(points, polygon) where points are moving.Point and polygon is a shapely polygon.&lt;br /&gt;
&lt;br /&gt;
You should dig in shapely for functions that compute intersections (there is one in our library, but it is slow):&lt;br /&gt;
http://toblerity.github.io/shapely/manual.html#object.crosses&lt;br /&gt;
from shapely.geometry import Polygon, Point, LineString&lt;br /&gt;
coords = [(0, 0), (1, 1), (1, -1), (0, 1)]&lt;br /&gt;
LineString(coords).crosses(LineString([(0, 1), (1, 0)]))&lt;/div&gt;</summary>
		<author><name>NicolasSaunier</name></author>	</entry>

	<entry>
		<id>https://www.polymtl.ca/wikitransport/index.php?title=Programming_Resources&amp;diff=1037</id>
		<title>Programming Resources</title>
		<link rel="alternate" type="text/html" href="https://www.polymtl.ca/wikitransport/index.php?title=Programming_Resources&amp;diff=1037"/>
				<updated>2026-07-16T05:28:20Z</updated>
		
		<summary type="html">&lt;p&gt;NicolasSaunier : /* Python */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=General=&lt;br /&gt;
* Getting started (Creative Coding for Beginners - Full Course! by Adam Shiffman) https://thecodingtrain.com/guides/getting-started&lt;br /&gt;
* [[DataScienceResources|Data science resources]]&lt;br /&gt;
&lt;br /&gt;
=Python=&lt;br /&gt;
* Resources and tutorials for the transport data management course CIV8760 (mostly in French) https://github.com/nsaunier/CIV8760/blob/master/Python/README.md, and simple [[PythonHowTo|how-to]] to install Python&lt;br /&gt;
* Official Python tutorial https://docs.python.org/3/tutorial/index.html (in [https://docs.python.org/fr/3/tutorial/ French] and the tutor (step by step visualization of the program) https://pythontutor.com/&lt;br /&gt;
* Python 1-h video tutorial https://www.youtube.com/watch?v=kqtD5dpn9C8&lt;br /&gt;
* [http://software-carpentry.org/lessons Software Carpentry lessons], in particular https://swcarpentry.github.io/python-novice-inflammation/ and http://swcarpentry.github.io/python-novice-gapminder (lessons and videos)&lt;br /&gt;
* [https://www.w3resource.com/python-exercises Hundreds of Python exercises]&lt;br /&gt;
* [https://github.com/jakevdp/WhirlwindTourOfPython A Whirlwind Tour of Python]&lt;br /&gt;
* [https://www.learnpython.org LearnPython.org]&lt;br /&gt;
* https://github.com/mpcs-51042/materials&lt;br /&gt;
* in French&lt;br /&gt;
** [https://www.youtube.com/playlist?list=PLfALbWbNPl4bSWH-Pbj3iIb_TVQdr99pH liste des vidéos du cours INF1005D]&lt;br /&gt;
** [https://openclassrooms.com/fr/courses/235344-apprenez-a-programmer-en-python Openclassrooms - Apprenez à programmer en Python]&lt;br /&gt;
** [https://python.doctor/ Apprendre le langage de programmation python]&lt;br /&gt;
* Online books:&lt;br /&gt;
** [http://greenteapress.com/wp/think-python/ Think Python]&lt;br /&gt;
** [http://www.diveinto.org/python3/ Dive into Python 3] and [http://www.diveintopython.net/ Dive into Python]&lt;br /&gt;
** [https://python.developpez.com/cours/apprendre-python3/ Apprendre à programmer avec Python 3] (en français)&lt;br /&gt;
** Python Programming And Numerical Methods: A Guide For Engineers And Scientists https://pythonnumericalmethods.studentorg.berkeley.edu/notebooks/Index.html&lt;br /&gt;
** Research Software Engineering with Python https://third-bit.com/py-rse/&lt;br /&gt;
* Older tutorials http://n.saunier.free.fr/saunier/teaching/workshop/12-09-script-ta-ville.html, [[SeminaireInfo|Séminaire appliqué sur les outils informatiques de traitement de données (2011)]]&lt;br /&gt;
&lt;br /&gt;
=R=&lt;br /&gt;
* Introduction to R programming (in French), Vincent Goulet https://cran.r-project.org/doc/contrib/Goulet_introduction_programmation_R.pdf&lt;br /&gt;
* Workshop on R software https://github.com/sahirbhatnagar/atelier-R-GERAD&lt;br /&gt;
* Guide pour l’analyse de données d’enquêtes avec R (in French) https://larmarange.github.io/guide-R/&lt;br /&gt;
&lt;br /&gt;
=Databases=&lt;br /&gt;
* Wikibook SQL http://en.wikibooks.org/wiki/SQL&lt;br /&gt;
* Murrell P., Introduction to Data Technologies 2009  http://www.stat.auckland.ac.nz/~paul/ItDT/&lt;br /&gt;
* SQL for Web Nerds  http://philip.greenspun.com/sql/&lt;br /&gt;
* Software Carpentry: Using Databases and SQL http://swcarpentry.github.io/sql-novice-survey&lt;br /&gt;
&lt;br /&gt;
=Version Control=&lt;br /&gt;
* [[Mercurial|Mercurial]]&lt;br /&gt;
* Others: Git https://glasskube.dev/guides/git/, Subversion&lt;br /&gt;
&lt;br /&gt;
=Other Languages=&lt;br /&gt;
* [https://p5js.org/ p5js]: porting of processing in javascript (video lessons by Adam Shiffman at https://thecodingtrain.com)&lt;br /&gt;
* [http://www.gnu.org/software/octave Octave]: Matlab clone&lt;br /&gt;
* C/C++: GCC compiler, cygwing or MinGW environnements (Windows)&lt;/div&gt;</summary>
		<author><name>NicolasSaunier</name></author>	</entry>

	<entry>
		<id>https://www.polymtl.ca/wikitransport/index.php?title=Accueil&amp;diff=1036</id>
		<title>Accueil</title>
		<link rel="alternate" type="text/html" href="https://www.polymtl.ca/wikitransport/index.php?title=Accueil&amp;diff=1036"/>
				<updated>2026-06-02T13:54:06Z</updated>
		
		<summary type="html">&lt;p&gt;NicolasSaunier : /* Resources / Ressources */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;big&amp;gt;'''Bienvenue sur PolyWikiTI, le wiki de la recherche en Transports Intelligents, Actifs et Sécuritaires à Polytechnique Montréal (PolyTI)'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''Welcome to PolyWikiTI, the wiki about Research in Intelligent, Active and Safe Transport at Polytechnique Montréal (PolyIT)'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
maintenu par / maintained by [http://nicolas.saunier.confins.net Nicolas Saunier]&lt;br /&gt;
&lt;br /&gt;
* Professors in the Groupe Transport et Mobilité Durables (Sustainable Transport and Mobility)&lt;br /&gt;
** [https://www.polymtl.ca/expertises/boisjoly-genevieve Geneviève Boisjoly]&lt;br /&gt;
** [https://www.polymtl.ca/expertises/ciari-francesco Francesco Ciari]&lt;br /&gt;
** [http://www.polymtl.ca/recherche/rc/professeurs/details.php?NoProf=322 Catherine Morency]&lt;br /&gt;
** [http://nicolas.saunier.confins.net Nicolas Saunier]&lt;br /&gt;
** [http://www.polymtl.ca/recherche/rc/professeurs/details.php?NoProf=190 Martin Trépanier]&lt;br /&gt;
** [https://www.polymtl.ca/expertises/waygood-owen Owen Waygood]&lt;br /&gt;
* Former professors&lt;br /&gt;
** [https://scholar.google.com/scholar?&amp;amp;q=karsten%20baass Karsten Baass]&lt;br /&gt;
** [http://www.transport.polymtl.ca/titre1.htm Robert Chapleau]&lt;br /&gt;
* [[students|Étudiants / students]]&lt;br /&gt;
&lt;br /&gt;
=Activities / Activités=&lt;br /&gt;
* [[SeminaireGroupe|Séminaires du groupe PolyTI]]&lt;br /&gt;
* [[SeminaireTransport|Séminaires Transport des professeurs et étudiants de l'École Polytechnique de Montréal]], organisés sur Teams en 2020-2021&lt;br /&gt;
* [[SeminaireInfo|Séminaire appliqué sur les outils informatiques de traitement de données (2011)]]&lt;br /&gt;
* [[ModelisationCirculation|Comité pour la modélisation (microscopique) de la circulation (CoMCI)]]&lt;br /&gt;
&lt;br /&gt;
=Research / Recherche=&lt;br /&gt;
Maybe we'll use https://polyit.pubpub.org/.&lt;br /&gt;
* [[PolyDatasets|Data]]&lt;br /&gt;
* Research Themes&lt;br /&gt;
** [[ResearchIdeas|Research project ideas]]&lt;br /&gt;
** [[BikeLab|Bike laboratory to collect traffic and infrastructure data]]&lt;br /&gt;
** [[StreetEvaluationFramework|Framework to evaluate the functions and impacts of streets]]&lt;br /&gt;
** [[RoadSafety|Road Safety]] and [[Surrogate_Measures_of_Safety|Surrogate Measures of Safety]]&lt;br /&gt;
** [[VideoTracking|Video-based transportation data collection]]&lt;br /&gt;
** [[TrajectoryManagement|Trajectory Management and Analysis]]&lt;br /&gt;
** [[TrackingOptimization|Optimization of tracking performance]]&lt;br /&gt;
** [[VideoAnnotation|Annotation of video data, user trajectories and characteristics]]&lt;br /&gt;
** [[Trajectory_Learning|Methods to learn (cluster) trajectories (motion patterns)]]&lt;br /&gt;
** [[SimulationCalibration|Traffic micro-simulation calibration and validation]]&lt;br /&gt;
* [[OldProjects|Past projects]]&lt;br /&gt;
&lt;br /&gt;
=Resources / Ressources=&lt;br /&gt;
* Études supérieures et recherche à Polytechnique&lt;br /&gt;
** Faire un [[PolyPlanEtude|plan d'étude au cycle supérieur en transport]], [[StageMaitrise|un rapport de stage en maîtrise professionnelle]]&lt;br /&gt;
** [[Getting_Started_in_Graduate_Programs|Commencer une maîtrise ou un doctorat / Getting started in a master's or PhD]]&lt;br /&gt;
** [[GestionEquipe|Gestion du groupe de recherche / Research group management]]&lt;br /&gt;
** [[Integrité en recherche|Intégrité en recherche / Research integrity]]&lt;br /&gt;
* Ressources pour les cours de [[Ressources_pour_les_cours_de_circulation|circulation et transport]]&lt;br /&gt;
* Data Analysis / Analyse de données&lt;br /&gt;
** [[Programming_Resources|Programming resources]]&lt;br /&gt;
** [[Data_Science_Resources|Data Science resources]]&lt;br /&gt;
** [[SafetyResources|(Road) Safety resources]]&lt;br /&gt;
** [[MapTrafficResources|Map and Traffic Processing (Simulation) Resources]]&lt;br /&gt;
** [[PythonHowTo|Python how-to]]&lt;br /&gt;
** [[Computing_Tools_for_Research|Computing tools for research (Liste d'outils informatiques pour la recherche)]]&lt;br /&gt;
** [[OpenScience]]&lt;br /&gt;
** [[Computing,_Data_Management_and_Linux_Resources|Computing, data management and Linux resources]]&lt;br /&gt;
** [[ProgrammingStyle|Programming naming convention and other coding styles]]&lt;br /&gt;
* [[Conseils_pour_faire_de_la_recherche|Conseils pour faire de la recherche]]&lt;br /&gt;
* [[TripPlanning|Tools for trip planning]]&lt;br /&gt;
* [[Public_Transportation_Datasets|Public transportation datasets]]&lt;br /&gt;
* [[Equipment|Equipment]] for data collection&lt;br /&gt;
** [[Rules_for_research_activities_during_the_COVID-19_pandemic|Rules for data collection during the COVID-19 pandemic]]&lt;br /&gt;
** [[VideoDataCollectionHowTo|How to collect video data]]&lt;br /&gt;
** [[Survol_des_équipements_vidéos_pour_collection_de_données|Overview of video data collection gear]]&lt;br /&gt;
* Rules for room/règles pour la salle [[B344|B344]]&lt;br /&gt;
* [[BoursesTransport|Liste des bourses pour les étudiants en transport]]&lt;/div&gt;</summary>
		<author><name>NicolasSaunier</name></author>	</entry>

	<entry>
		<id>https://www.polymtl.ca/wikitransport/index.php?title=Computing,_Data_Management_and_Linux_Resources&amp;diff=1034</id>
		<title>Computing, Data Management and Linux Resources</title>
		<link rel="alternate" type="text/html" href="https://www.polymtl.ca/wikitransport/index.php?title=Computing,_Data_Management_and_Linux_Resources&amp;diff=1034"/>
				<updated>2026-06-02T13:53:09Z</updated>
		
		<summary type="html">&lt;p&gt;NicolasSaunier : NicolasSaunier a déplacé la page Linux Resources vers Computing, Data Management and Linux Resources&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Connecting to Polytechnique desktops ==&lt;br /&gt;
&lt;br /&gt;
* the first way to connect is though ssh, which, to put it simply, gives you the same access as to a terminal locally (see below for terminal resources)&lt;br /&gt;
** ask the responsible person for the computer ip address and ssh port. You can then connect through &amp;lt;code&amp;gt;ssh -p [port] [user]@[ip_address]&amp;lt;/code&amp;gt; using your local user name and password.&lt;br /&gt;
* one can use a proprietary tool like Teamviewer for remote graphical access, but the free version has quirks and sometimes won't work anymore. In that case, one can use a 100% free solution relying on VNC (included on MacOS). &lt;br /&gt;
** make sure a VNC server (we'll use [https://wiki.archlinux.org/title/X11vnc x11vnc] since it is lightweight and full featured) is installed on the target computer&lt;br /&gt;
** create a tunnel to the computer and start by typing &lt;br /&gt;
 ssh -t -L 5900:localhost:5900 username@ipaddress -p port 'x11vnc -localhost -display :0&lt;br /&gt;
&lt;br /&gt;
where the username, ipaddress and port are replaced by the appropriate values (removing the last part in single quotes creates the tunnel, and one has to start x11vnc after connection)&lt;br /&gt;
:* if a user is connected locally on the computer, you must connect as the same user through ssh.&lt;br /&gt;
:* it may be necessary to type &amp;lt;code&amp;gt;xhost + local:&amp;lt;/code&amp;gt; before starting x11vnc.&lt;br /&gt;
:* connect to the computer using a VNC client, eg vinagre on Linux or [https://www.realvnc.com/en/connect/download/vnc/ realVNC] (the integrated client in MacOS insists on having a password, but we are not using one here): the address is simply 'localhost' since the tunnel does as if the remote computer is local on the specific VNC port (5900)&lt;br /&gt;
* access to files can be done through secure ftp (sftp) using a client like [https://filezilla-project.org/ filezilla] or on the command line using scp with the same information as for ssh.&lt;br /&gt;
&lt;br /&gt;
== Other ==&lt;br /&gt;
* Taming the terminal https://ttt.bartificer.net/book.html&lt;/div&gt;</summary>
		<author><name>NicolasSaunier</name></author>	</entry>

	<entry>
		<id>https://www.polymtl.ca/wikitransport/index.php?title=Linux_Resources&amp;diff=1035</id>
		<title>Linux Resources</title>
		<link rel="alternate" type="text/html" href="https://www.polymtl.ca/wikitransport/index.php?title=Linux_Resources&amp;diff=1035"/>
				<updated>2026-06-02T13:53:09Z</updated>
		
		<summary type="html">&lt;p&gt;NicolasSaunier : NicolasSaunier a déplacé la page Linux Resources vers Computing, Data Management and Linux Resources&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECTION [[Computing, Data Management and Linux Resources]]&lt;/div&gt;</summary>
		<author><name>NicolasSaunier</name></author>	</entry>

	<entry>
		<id>https://www.polymtl.ca/wikitransport/index.php?title=Surrogate_Measures_of_Safety&amp;diff=1033</id>
		<title>Surrogate Measures of Safety</title>
		<link rel="alternate" type="text/html" href="https://www.polymtl.ca/wikitransport/index.php?title=Surrogate_Measures_of_Safety&amp;diff=1033"/>
				<updated>2026-05-22T18:44:49Z</updated>
		
		<summary type="html">&lt;p&gt;NicolasSaunier : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Projects==&lt;br /&gt;
* [[Surrogate_Measures_of_Safety/Interaction_Similarity|Similarity of interactions]]&lt;br /&gt;
* [[Surrogate_Measures_of_Safety/Minimal_Road_User_Interaction_Simulation|Minimal road user interaction simulation]]&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Vision_Zero Vision zero] and its operationalization (safe systems)&lt;br /&gt;
&lt;br /&gt;
==Resources==&lt;br /&gt;
Good starting points are the reports from the [https://www.bast.de/DE/Themen/Sicherheit/Daten/InDeV/InDev-Projekt.html InDeV project], in particular the [https://www.bast.de/DE/Themen/Sicherheit/Daten/InDeV/Documents/pdf/2-1-4.pdf?__blob=publicationFile&amp;amp;v=1 review of current study methods for VRU safety (Appendix 6)] and [https://www.bast.de/DE/Themen/Sicherheit/Daten/InDeV/Handbook/Handbook_node.html handbook for safety of vulnerable road users]. &lt;br /&gt;
&lt;br /&gt;
A natural home for everything related to SMoS is the International Cooperation on Theories and Concepts in Traffic safety (ICTCT), with its [https://www.ictct.net/smos/ subcommittee]. There was a [https://sites.google.com/site/surrogatesafety/ TRB subcommittee] for at least two decades, but it last met in 2025. &lt;br /&gt;
&lt;br /&gt;
Another are the following papers:&lt;br /&gt;
* Andrew Tarko: book https://www.elsevier.com/books/measuring-road-safety-with-surrogate-events/tarko/978-0-12-810504-7 and chapter https://www.emerald.com/insight/content/doi/10.1108/S2044-994120180000011019/full/html?utm_source=TrendMD&amp;amp;utm_medium=cpc&amp;amp;utm_campaign=Transport_and_Sustainability_TrendMD_0&lt;br /&gt;
* N. Saunier and A. Laureshyn. Surrogate Measures of Safety, Encyclopedia of Transportation, 2:662-667, Elsevier, 2021 http://doi.org/10.1016/B978-0-08-102671-7.10197-6&lt;br /&gt;
&lt;br /&gt;
The following PhD theses are also very good starting points to understand the topic, in particular the work of Svensson which bridges the traditional traffic conflict techniques and new, more disaggregated, approaches. &lt;br /&gt;
*  Yastremska-Kravchenko, Oksana Microscopic behaviour analysis using video recordings : A perspective on vulnerable road users https://lup.lub.lu.se/search/publication/afdb397a-ba27-4685-8c57-1334046e2d5b&lt;br /&gt;
* St-Aubin, P.  Driver Behaviour and Road Safety Analysis Using Computer Vision and Applications in Roundabout Safety, 2016 https://publications.polymtl.ca/2272/&lt;br /&gt;
* Mohamed, M. G. Automatic Behavior Analysis and Understanding of Collision Processes Using Video Sensors, 2015 Polytechnique Montréal https://publications.polymtl.ca/1784/&lt;br /&gt;
* Bagadadi, O. The development of methods for detection and assessment of safety critical events in car driving, 2012 http://www.diva-portal.org/smash/record.jsf?pid=diva2%3A674143&amp;amp;dswid=2561 ('''warnings''' about the unclear vocabulary and limited sample sizes)&lt;br /&gt;
* Laureshyn, A. Application of automated video analysis to road user behaviour Lund University, 2010 https://portal.research.lu.se/en/publications/application-of-automated-video-analysis-to-road-user-behaviour (Paper 1 on p 93 (unpublished as far as I know) provides a very exhaustive list of safety indicators)&lt;br /&gt;
* Svensson, A. A Method for Analyzing the Traffic Process in a Safety Perspective University of Lund, 1998. https://portal.research.lu.se/en/publications/a-method-for-analysing-the-traffic-process-in-a-safety-perspectiv&lt;br /&gt;
* Ismail, K. Application of computer vision techniques for automated road safety analysis and traffic data collection University of British Columbia, 2010. http://hdl.handle.net/2429/29546&lt;br /&gt;
* Archer, J. Methods for the Assessment and Prediction of Traffic Safety at Urban Intersections and their Application in Micro-simulation Modelling Royal Institute of Technology, 2004. http://urn.kb.se/resolve?urn=urn:nbn:se:kth:diva-143&lt;br /&gt;
* Cunto, F. Assessing Safety Performance of Transportation Systems using Microscopic Simulation University of Waterloo, 2008. http://hdl.handle.net/10012/4111&lt;br /&gt;
&lt;br /&gt;
Other ressources:&lt;br /&gt;
* Journals: [https://tsr.international Traffic Safety Research]&lt;br /&gt;
* Vision zero and safe systems: https://carsp.ca/en/news-and-resources/road-safety-information/vision-zero-and-the-safe-system-approach/ https://www.tac-atc.ca/wp-content/uploads/prm-vzss-e.pdf&lt;br /&gt;
* white paper by the TRB subcommittee on surrogate measures of safety: http://n.saunier.free.fr/saunier/stock/tarko09surrogate.pdf&lt;br /&gt;
* white paper of the [https://www.sae.org/servlets/works/committeeHome.do?comtID=TEVSMEASURES SAE committee on surrogate measures of safety]: http://papers.sae.org/wp-0005/&lt;br /&gt;
* the software tool to evaluate traffic micro-simulation in terms of safety: &lt;br /&gt;
** new SSAM https://www.itsforge.net/index.php/community/explore-applications#/35/143&lt;br /&gt;
** old version of SSAM from FHWA (reports http://www.tfhrc.gov/safety/pubs/03050/index.htm http://www.fhwa.dot.gov/publications/research/safety/08051/)&lt;br /&gt;
Old documents:&lt;br /&gt;
* FHWA's manual: Traffic Conflict Techniques for Safety and Operations: Observer's Manual http://www.fhwa.dot.gov/publications/research/safety/88027/index.cfm&lt;br /&gt;
&lt;br /&gt;
I wrote lecture notes for a course given at McGill and online in Canada's national transportation course: https://dl.dropbox.com/u/179169/notes-surrogates.pdf.&lt;/div&gt;</summary>
		<author><name>NicolasSaunier</name></author>	</entry>

	<entry>
		<id>https://www.polymtl.ca/wikitransport/index.php?title=SeminaireGroupe&amp;diff=1032</id>
		<title>SeminaireGroupe</title>
		<link rel="alternate" type="text/html" href="https://www.polymtl.ca/wikitransport/index.php?title=SeminaireGroupe&amp;diff=1032"/>
				<updated>2026-05-08T17:13:15Z</updated>
		
		<summary type="html">&lt;p&gt;NicolasSaunier : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* 2026&lt;br /&gt;
** 08/05/26: A Maneuver Vocabulary for Vehicle Trajectories at Urban Intersections, Munkh-Erdene Munkhbat, intern from Seoul National University&lt;br /&gt;
** 17/04.26: How much data, how often? Scaling Laws and Temporal Decay in Traffic Forecasting, Nicolas Rodwell Bent&lt;br /&gt;
** 03/03/26: final research presentation by Wang Luo, visiting PhD student from Central South University&lt;br /&gt;
** 16/01/26: Traffic Modelling Visualization techniques, Nicolas Rodwell Bent&lt;br /&gt;
* 2025&lt;br /&gt;
** 21/11/2025: group meeting and discussion of data organization (see [[OpenScience]])&lt;br /&gt;
** 31/10/2025: group meeting&lt;br /&gt;
* 2024&lt;br /&gt;
** research data planning and management&lt;br /&gt;
** 10 or 12/07/2024: discussion of paper in https://tsr.international/TSR/issue/view/3297&lt;br /&gt;
** 21/06/2024: Tristan Fortin, Study of road user understanding, behavior and safety on bicycle boulevards&lt;br /&gt;
** 07/06/2024: Frédérick Chabot, Characterization framework to assess the performance of a tool for the observation of life in public spaces&lt;br /&gt;
** 31/05/2024: Qingwu Liu, A comprehensive case study on deep learning-based object recognition for safety analysis on roadside and vehicle-mounted dataset&lt;br /&gt;
** 17/05/2024: Guillaume Néven, Probabilistic approach to path travel time estimation&lt;br /&gt;
* 2023&lt;br /&gt;
** Summer seminar&lt;br /&gt;
*** Tristan Fortin, Collecte de données sur les vélorues : analyse vidéo et questionnaire&lt;br /&gt;
*** Yash Pratap Singh, Benchmarking Computer Vision Surveillance Algorithms for Practical Traffic Applications&lt;br /&gt;
*** Qingwu Liu, How good are deep learning methods for automated road safety analysis using video data? An experimental study&lt;br /&gt;
*** Zhangcun Yan, Investigating and Modeling Motorized and Non-Motorized Interaction Behavior in Shared Spaces of Intersections&lt;br /&gt;
*** Tarcisio Costa de Souza Neto, Automatisation d'extraction et d'analyse des données ouvertes de transports&lt;br /&gt;
*** Reza Zarei, “Questionnaire Design” for surveying drivers' attitudes towards road safety.  &lt;br /&gt;
*** Edem Houndjafo, Étude pour l’installation de feux cyclistes aux intersections du chemin de la Côte Sainte Catherine&lt;br /&gt;
*** Xinyu Chen, Matrix and Tensor Models for Spatiotemporal Traffic Data Modeling&lt;br /&gt;
*** Mohammad Ghavidel, Smartphone Accelerometer Sensor Orientation: best Techniques and its applications&lt;br /&gt;
*** Frédérick Chabot, Develop a performance characterization framework for a public space - public life data collection tool&lt;br /&gt;
** group meetings open to everyone starting February 23rd: discussions and exchanges of ideas, on research projects and technical discussions, sometimes based on published papers (reading club). &lt;br /&gt;
*** February 23rd: data management plan (&amp;quot;plan de gestion des données&amp;quot;) https://guides.biblio.polymtl.ca/donneesrecherche&lt;br /&gt;
*** other ideas: open access publication, peer review is largely a failure... https://experimentalhistory.substack.com/p/the-rise-and-fall-of-peer-review So we could write papers differently: https://psyarxiv.com/2uxwk/&lt;br /&gt;
&lt;br /&gt;
* 2012&lt;br /&gt;
** 26 juillet&lt;br /&gt;
** 19 juillet&lt;br /&gt;
** 12 juillet&lt;br /&gt;
** 5 juillet: application du Canadian Capacity Guide (François), http://www.runmycode.org&lt;br /&gt;
** 29 juin: projet de collecte de données sur les carrefours giratoires (Arthur)&lt;br /&gt;
** 22 juin: projet marquage au sol (Caio)&lt;br /&gt;
** 15 juin: discussion des paramètres de description des carrefours giratoires (Paul)&lt;br /&gt;
** 8 juin: demo background subtraction (Anurag, Jean-Philippe), de traffic intelligence&lt;br /&gt;
** 1 juin: presentation de Mohamed sur les méthodes de prédictions des mouvement (en particulier en robotique), résultats graphiques de François&lt;br /&gt;
** 18 mai: première réunion&lt;/div&gt;</summary>
		<author><name>NicolasSaunier</name></author>	</entry>

	<entry>
		<id>https://www.polymtl.ca/wikitransport/index.php?title=Road_Safety&amp;diff=1030</id>
		<title>Road Safety</title>
		<link rel="alternate" type="text/html" href="https://www.polymtl.ca/wikitransport/index.php?title=Road_Safety&amp;diff=1030"/>
				<updated>2026-04-20T17:02:11Z</updated>
		
		<summary type="html">&lt;p&gt;NicolasSaunier : NicolasSaunier a déplacé la page RoadSafety vers Road Safety&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Road safety is characterized, based on the vision zero, as the absence of fatalities or severe injuries when people move on roads (including sidewalks). &lt;br /&gt;
&lt;br /&gt;
Data is needed to measure safety itself, e.g., based on crashes, and on factors associated with crashes, which can be related to users, vehicles and infrastructure, as well as some elements of the larger environment such as the weather. &lt;br /&gt;
&lt;br /&gt;
Safety can also be measured proactively using [[Surrogate_Measures_of_Safety|surrogate measures of safety]].&lt;br /&gt;
&lt;br /&gt;
== Data Sources==&lt;br /&gt;
&lt;br /&gt;
Public or semi-public data sources, see the [https://bellingcat.gitbook.io/toolkit open source intelligence community].&lt;br /&gt;
&lt;br /&gt;
Data for safety diagnosis often needs to be extracted from the raw data, e.g., images, through various methods including recent advances in AI (computer vision) methods.&lt;br /&gt;
&lt;br /&gt;
TODO: upload sketch of data sources. &lt;br /&gt;
&lt;br /&gt;
== Analysis ==&lt;br /&gt;
&lt;br /&gt;
Statistical and AI methods.&lt;/div&gt;</summary>
		<author><name>NicolasSaunier</name></author>	</entry>

	<entry>
		<id>https://www.polymtl.ca/wikitransport/index.php?title=RoadSafety&amp;diff=1031</id>
		<title>RoadSafety</title>
		<link rel="alternate" type="text/html" href="https://www.polymtl.ca/wikitransport/index.php?title=RoadSafety&amp;diff=1031"/>
				<updated>2026-04-20T17:02:11Z</updated>
		
		<summary type="html">&lt;p&gt;NicolasSaunier : NicolasSaunier a déplacé la page RoadSafety vers Road Safety&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECTION [[Road Safety]]&lt;/div&gt;</summary>
		<author><name>NicolasSaunier</name></author>	</entry>

	<entry>
		<id>https://www.polymtl.ca/wikitransport/index.php?title=Road_Safety&amp;diff=1029</id>
		<title>Road Safety</title>
		<link rel="alternate" type="text/html" href="https://www.polymtl.ca/wikitransport/index.php?title=Road_Safety&amp;diff=1029"/>
				<updated>2026-04-20T17:01:58Z</updated>
		
		<summary type="html">&lt;p&gt;NicolasSaunier : Page créée avec « Road safety is characterized, based on the vision zero, as the absence of fatalities or severe injuries when people move on roads (including sidewalks).   Data is needed t... »&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Road safety is characterized, based on the vision zero, as the absence of fatalities or severe injuries when people move on roads (including sidewalks). &lt;br /&gt;
&lt;br /&gt;
Data is needed to measure safety itself, e.g., based on crashes, and on factors associated with crashes, which can be related to users, vehicles and infrastructure, as well as some elements of the larger environment such as the weather. &lt;br /&gt;
&lt;br /&gt;
Safety can also be measured proactively using [[Surrogate_Measures_of_Safety|surrogate measures of safety]].&lt;br /&gt;
&lt;br /&gt;
== Data Sources==&lt;br /&gt;
&lt;br /&gt;
Public or semi-public data sources, see the [https://bellingcat.gitbook.io/toolkit open source intelligence community].&lt;br /&gt;
&lt;br /&gt;
Data for safety diagnosis often needs to be extracted from the raw data, e.g., images, through various methods including recent advances in AI (computer vision) methods.&lt;br /&gt;
&lt;br /&gt;
TODO: upload sketch of data sources. &lt;br /&gt;
&lt;br /&gt;
== Analysis ==&lt;br /&gt;
&lt;br /&gt;
Statistical and AI methods.&lt;/div&gt;</summary>
		<author><name>NicolasSaunier</name></author>	</entry>

	<entry>
		<id>https://www.polymtl.ca/wikitransport/index.php?title=Accueil&amp;diff=1028</id>
		<title>Accueil</title>
		<link rel="alternate" type="text/html" href="https://www.polymtl.ca/wikitransport/index.php?title=Accueil&amp;diff=1028"/>
				<updated>2026-04-20T16:53:46Z</updated>
		
		<summary type="html">&lt;p&gt;NicolasSaunier : /* Research / Recherche */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;big&amp;gt;'''Bienvenue sur PolyWikiTI, le wiki de la recherche en Transports Intelligents, Actifs et Sécuritaires à Polytechnique Montréal (PolyTI)'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''Welcome to PolyWikiTI, the wiki about Research in Intelligent, Active and Safe Transport at Polytechnique Montréal (PolyIT)'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
maintenu par / maintained by [http://nicolas.saunier.confins.net Nicolas Saunier]&lt;br /&gt;
&lt;br /&gt;
* Professors in the Groupe Transport et Mobilité Durables (Sustainable Transport and Mobility)&lt;br /&gt;
** [https://www.polymtl.ca/expertises/boisjoly-genevieve Geneviève Boisjoly]&lt;br /&gt;
** [https://www.polymtl.ca/expertises/ciari-francesco Francesco Ciari]&lt;br /&gt;
** [http://www.polymtl.ca/recherche/rc/professeurs/details.php?NoProf=322 Catherine Morency]&lt;br /&gt;
** [http://nicolas.saunier.confins.net Nicolas Saunier]&lt;br /&gt;
** [http://www.polymtl.ca/recherche/rc/professeurs/details.php?NoProf=190 Martin Trépanier]&lt;br /&gt;
** [https://www.polymtl.ca/expertises/waygood-owen Owen Waygood]&lt;br /&gt;
* Former professors&lt;br /&gt;
** [https://scholar.google.com/scholar?&amp;amp;q=karsten%20baass Karsten Baass]&lt;br /&gt;
** [http://www.transport.polymtl.ca/titre1.htm Robert Chapleau]&lt;br /&gt;
* [[students|Étudiants / students]]&lt;br /&gt;
&lt;br /&gt;
=Activities / Activités=&lt;br /&gt;
* [[SeminaireGroupe|Séminaires du groupe PolyTI]]&lt;br /&gt;
* [[SeminaireTransport|Séminaires Transport des professeurs et étudiants de l'École Polytechnique de Montréal]], organisés sur Teams en 2020-2021&lt;br /&gt;
* [[SeminaireInfo|Séminaire appliqué sur les outils informatiques de traitement de données (2011)]]&lt;br /&gt;
* [[ModelisationCirculation|Comité pour la modélisation (microscopique) de la circulation (CoMCI)]]&lt;br /&gt;
&lt;br /&gt;
=Research / Recherche=&lt;br /&gt;
Maybe we'll use https://polyit.pubpub.org/.&lt;br /&gt;
* [[PolyDatasets|Data]]&lt;br /&gt;
* Research Themes&lt;br /&gt;
** [[ResearchIdeas|Research project ideas]]&lt;br /&gt;
** [[BikeLab|Bike laboratory to collect traffic and infrastructure data]]&lt;br /&gt;
** [[StreetEvaluationFramework|Framework to evaluate the functions and impacts of streets]]&lt;br /&gt;
** [[RoadSafety|Road Safety]] and [[Surrogate_Measures_of_Safety|Surrogate Measures of Safety]]&lt;br /&gt;
** [[VideoTracking|Video-based transportation data collection]]&lt;br /&gt;
** [[TrajectoryManagement|Trajectory Management and Analysis]]&lt;br /&gt;
** [[TrackingOptimization|Optimization of tracking performance]]&lt;br /&gt;
** [[VideoAnnotation|Annotation of video data, user trajectories and characteristics]]&lt;br /&gt;
** [[Trajectory_Learning|Methods to learn (cluster) trajectories (motion patterns)]]&lt;br /&gt;
** [[SimulationCalibration|Traffic micro-simulation calibration and validation]]&lt;br /&gt;
* [[OldProjects|Past projects]]&lt;br /&gt;
&lt;br /&gt;
=Resources / Ressources=&lt;br /&gt;
* Études supérieures et recherche à Polytechnique&lt;br /&gt;
** Faire un [[PolyPlanEtude|plan d'étude au cycle supérieur en transport]], [[StageMaitrise|un rapport de stage en maîtrise professionnelle]]&lt;br /&gt;
** [[Getting_Started_in_Graduate_Programs|Commencer une maîtrise ou un doctorat / Getting started in a master's or PhD]]&lt;br /&gt;
** [[GestionEquipe|Gestion du groupe de recherche / Research group management]]&lt;br /&gt;
** [[Integrité en recherche|Intégrité en recherche / Research integrity]]&lt;br /&gt;
* Ressources pour les cours de [[Ressources_pour_les_cours_de_circulation|circulation et transport]]&lt;br /&gt;
* Data Analysis / Analyse de données&lt;br /&gt;
** [[Programming_Resources|Programming resources]]&lt;br /&gt;
** [[Data_Science_Resources|Data Science resources]]&lt;br /&gt;
** [[SafetyResources|(Road) Safety resources]]&lt;br /&gt;
** [[MapTrafficResources|Map and Traffic Processing (Simulation) Resources]]&lt;br /&gt;
** [[PythonHowTo|Python how-to]]&lt;br /&gt;
** [[Computing_Tools_for_Research|Computing tools for research (Liste d'outils informatiques pour la recherche)]]&lt;br /&gt;
** [[OpenScience]]&lt;br /&gt;
** [[Linux_Resources|Linux resources]]&lt;br /&gt;
** [[ProgrammingStyle|Programming naming convention and other coding styles]]&lt;br /&gt;
* [[Conseils_pour_faire_de_la_recherche|Conseils pour faire de la recherche]]&lt;br /&gt;
* [[TripPlanning|Tools for trip planning]]&lt;br /&gt;
* [[Public_Transportation_Datasets|Public transportation datasets]]&lt;br /&gt;
* [[Equipment|Equipment]] for data collection&lt;br /&gt;
** [[Rules_for_research_activities_during_the_COVID-19_pandemic|Rules for data collection during the COVID-19 pandemic]]&lt;br /&gt;
** [[VideoDataCollectionHowTo|How to collect video data]]&lt;br /&gt;
** [[Survol_des_équipements_vidéos_pour_collection_de_données|Overview of video data collection gear]]&lt;br /&gt;
* Rules for room/règles pour la salle [[B344|B344]]&lt;br /&gt;
* [[BoursesTransport|Liste des bourses pour les étudiants en transport]]&lt;/div&gt;</summary>
		<author><name>NicolasSaunier</name></author>	</entry>

	<entry>
		<id>https://www.polymtl.ca/wikitransport/index.php?title=SeminaireGroupe&amp;diff=1027</id>
		<title>SeminaireGroupe</title>
		<link rel="alternate" type="text/html" href="https://www.polymtl.ca/wikitransport/index.php?title=SeminaireGroupe&amp;diff=1027"/>
				<updated>2026-04-17T17:16:13Z</updated>
		
		<summary type="html">&lt;p&gt;NicolasSaunier : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* 2026&lt;br /&gt;
** 17/04.26: Nicolas Rodwell Bent How much data, how often? Scaling Laws and Temporal Decay in Traffic Forecasting&lt;br /&gt;
** 03/03/26: research presentation by Wang Luo, visiting PhD student from Central South University&lt;br /&gt;
** 16/01/26: Nicolas Rodwell Bent presented on Traffic Modelling Visualization techniques&lt;br /&gt;
* 2025&lt;br /&gt;
** 21/11/2025: group meeting and discussion of data organization (see [[OpenScience]])&lt;br /&gt;
** 31/10/2025: group meeting&lt;br /&gt;
* 2024&lt;br /&gt;
** research data planning and management&lt;br /&gt;
** 10 or 12/07/2024: discussion of paper in https://tsr.international/TSR/issue/view/3297&lt;br /&gt;
** 21/06/2024: Tristan Fortin, Study of road user understanding, behavior and safety on bicycle boulevards&lt;br /&gt;
** 07/06/2024: Frédérick Chabot, Characterization framework to assess the performance of a tool for the observation of life in public spaces&lt;br /&gt;
** 31/05/2024: Qingwu Liu, A comprehensive case study on deep learning-based object recognition for safety analysis on roadside and vehicle-mounted dataset&lt;br /&gt;
** 17/05/2024: Guillaume Néven, Probabilistic approach to path travel time estimation&lt;br /&gt;
* 2023&lt;br /&gt;
** Summer seminar&lt;br /&gt;
*** Tristan Fortin, Collecte de données sur les vélorues : analyse vidéo et questionnaire&lt;br /&gt;
*** Yash Pratap Singh, Benchmarking Computer Vision Surveillance Algorithms for Practical Traffic Applications&lt;br /&gt;
*** Qingwu Liu, How good are deep learning methods for automated road safety analysis using video data? An experimental study&lt;br /&gt;
*** Zhangcun Yan, Investigating and Modeling Motorized and Non-Motorized Interaction Behavior in Shared Spaces of Intersections&lt;br /&gt;
*** Tarcisio Costa de Souza Neto, Automatisation d'extraction et d'analyse des données ouvertes de transports&lt;br /&gt;
*** Reza Zarei, “Questionnaire Design” for surveying drivers' attitudes towards road safety.  &lt;br /&gt;
*** Edem Houndjafo, Étude pour l’installation de feux cyclistes aux intersections du chemin de la Côte Sainte Catherine&lt;br /&gt;
*** Xinyu Chen, Matrix and Tensor Models for Spatiotemporal Traffic Data Modeling&lt;br /&gt;
*** Mohammad Ghavidel, Smartphone Accelerometer Sensor Orientation: best Techniques and its applications&lt;br /&gt;
*** Frédérick Chabot, Develop a performance characterization framework for a public space - public life data collection tool&lt;br /&gt;
** group meetings open to everyone starting February 23rd: discussions and exchanges of ideas, on research projects and technical discussions, sometimes based on published papers (reading club). &lt;br /&gt;
*** February 23rd: data management plan (&amp;quot;plan de gestion des données&amp;quot;) https://guides.biblio.polymtl.ca/donneesrecherche&lt;br /&gt;
*** other ideas: open access publication, peer review is largely a failure... https://experimentalhistory.substack.com/p/the-rise-and-fall-of-peer-review So we could write papers differently: https://psyarxiv.com/2uxwk/&lt;br /&gt;
&lt;br /&gt;
* 2012&lt;br /&gt;
** 26 juillet&lt;br /&gt;
** 19 juillet&lt;br /&gt;
** 12 juillet&lt;br /&gt;
** 5 juillet: application du Canadian Capacity Guide (François), http://www.runmycode.org&lt;br /&gt;
** 29 juin: projet de collecte de données sur les carrefours giratoires (Arthur)&lt;br /&gt;
** 22 juin: projet marquage au sol (Caio)&lt;br /&gt;
** 15 juin: discussion des paramètres de description des carrefours giratoires (Paul)&lt;br /&gt;
** 8 juin: demo background subtraction (Anurag, Jean-Philippe), de traffic intelligence&lt;br /&gt;
** 1 juin: presentation de Mohamed sur les méthodes de prédictions des mouvement (en particulier en robotique), résultats graphiques de François&lt;br /&gt;
** 18 mai: première réunion&lt;/div&gt;</summary>
		<author><name>NicolasSaunier</name></author>	</entry>

	<entry>
		<id>https://www.polymtl.ca/wikitransport/index.php?title=Surrogate_Measures_of_Safety&amp;diff=1026</id>
		<title>Surrogate Measures of Safety</title>
		<link rel="alternate" type="text/html" href="https://www.polymtl.ca/wikitransport/index.php?title=Surrogate_Measures_of_Safety&amp;diff=1026"/>
				<updated>2026-03-10T20:32:41Z</updated>
		
		<summary type="html">&lt;p&gt;NicolasSaunier : /* Resources */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Projects==&lt;br /&gt;
* [[Surrogate_Measures_of_Safety/Interaction_Similarity|Similarity of interactions]]&lt;br /&gt;
* [[Surrogate_Measures_of_Safety/Minimal_Road_User_Interaction_Simulation|Minimal road user interaction simulation]]&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Vision_Zero Vision zero] and its operationalization (safe systems)&lt;br /&gt;
&lt;br /&gt;
==Resources==&lt;br /&gt;
Good starting points are the reports from the [https://www.bast.de/EN/Traffic_Safety/Subjects/InDeV/Home/home_node.html InDeV project], in particular the [https://www.bast.de/EN/Traffic_Safety/Subjects/InDeV/Documents/pdf/2-1-4.pdf?__blob=publicationFile&amp;amp;v=1 review of current study methods for VRU safety (Appendix 6)] and [https://www.bast.de/EN/Traffic_Safety/Subjects/InDeV/Handbook/Handbook_node.html handbook for safety of vulnerable road users]. &lt;br /&gt;
&lt;br /&gt;
A natural home for everything related to SMoS is the International Cooperation on Theories and Concepts in Traffic safety (ICTCT), with its [https://www.ictct.net/smos/ subcommittee]. There was a [https://sites.google.com/site/surrogatesafety/ TRB subcommittee] for at least two decades, but it last met in 2025. &lt;br /&gt;
&lt;br /&gt;
Another are the following papers:&lt;br /&gt;
* Andrew Tarko: book https://www.elsevier.com/books/measuring-road-safety-with-surrogate-events/tarko/978-0-12-810504-7 and chapter https://www.emerald.com/insight/content/doi/10.1108/S2044-994120180000011019/full/html?utm_source=TrendMD&amp;amp;utm_medium=cpc&amp;amp;utm_campaign=Transport_and_Sustainability_TrendMD_0&lt;br /&gt;
* N. Saunier and A. Laureshyn. Surrogate Measures of Safety, Encyclopedia of Transportation, 2:662-667, Elsevier, 2021 http://doi.org/10.1016/B978-0-08-102671-7.10197-6&lt;br /&gt;
&lt;br /&gt;
The following PhD theses are also very good starting points to understand the topic, in particular the work of Svensson which bridges the traditional traffic conflict techniques and new, more disaggregated, approaches. &lt;br /&gt;
*  Yastremska-Kravchenko, Oksana Microscopic behaviour analysis using video recordings : A perspective on vulnerable road users https://lup.lub.lu.se/search/publication/afdb397a-ba27-4685-8c57-1334046e2d5b&lt;br /&gt;
* St-Aubin, P.  Driver Behaviour and Road Safety Analysis Using Computer Vision and Applications in Roundabout Safety, 2016 https://publications.polymtl.ca/2272/&lt;br /&gt;
* Mohamed, M. G. Automatic Behavior Analysis and Understanding of Collision Processes Using Video Sensors, 2015 Polytechnique Montréal https://publications.polymtl.ca/1784/&lt;br /&gt;
* Bagadadi, O. The development of methods for detection and assessment of safety critical events in car driving, 2012 http://www.diva-portal.org/smash/record.jsf?pid=diva2%3A674143&amp;amp;dswid=2561 ('''warnings''' about the unclear vocabulary and limited sample sizes)&lt;br /&gt;
* Laureshyn, A. Application of automated video analysis to road user behaviour Lund University, 2010 https://portal.research.lu.se/en/publications/application-of-automated-video-analysis-to-road-user-behaviour (Paper 1 on p 93 (unpublished as far as I know) provides a very exhaustive list of safety indicators)&lt;br /&gt;
* Svensson, A. A Method for Analyzing the Traffic Process in a Safety Perspective University of Lund, 1998. https://portal.research.lu.se/en/publications/a-method-for-analysing-the-traffic-process-in-a-safety-perspectiv&lt;br /&gt;
* Ismail, K. Application of computer vision techniques for automated road safety analysis and traffic data collection University of British Columbia, 2010. http://hdl.handle.net/2429/29546&lt;br /&gt;
* Archer, J. Methods for the Assessment and Prediction of Traffic Safety at Urban Intersections and their Application in Micro-simulation Modelling Royal Institute of Technology, 2004. http://urn.kb.se/resolve?urn=urn:nbn:se:kth:diva-143&lt;br /&gt;
* Cunto, F. Assessing Safety Performance of Transportation Systems using Microscopic Simulation University of Waterloo, 2008. http://hdl.handle.net/10012/4111&lt;br /&gt;
&lt;br /&gt;
Other ressources:&lt;br /&gt;
* Journals: [https://tsr.international Traffic Safety Research]&lt;br /&gt;
* Vision zero and safe systems: https://carsp.ca/en/news-and-resources/road-safety-information/vision-zero-and-the-safe-system-approach/ https://www.tac-atc.ca/wp-content/uploads/prm-vzss-e.pdf&lt;br /&gt;
* white paper by the TRB subcommittee on surrogate measures of safety: http://n.saunier.free.fr/saunier/stock/tarko09surrogate.pdf&lt;br /&gt;
* white paper of the [https://www.sae.org/servlets/works/committeeHome.do?comtID=TEVSMEASURES SAE committee on surrogate measures of safety]: http://papers.sae.org/wp-0005/&lt;br /&gt;
* the software tool to evaluate traffic micro-simulation in terms of safety: &lt;br /&gt;
** new SSAM https://www.itsforge.net/index.php/community/explore-applications#/35/143&lt;br /&gt;
** old version of SSAM from FHWA (reports http://www.tfhrc.gov/safety/pubs/03050/index.htm http://www.fhwa.dot.gov/publications/research/safety/08051/)&lt;br /&gt;
Old documents:&lt;br /&gt;
* FHWA's manual: Traffic Conflict Techniques for Safety and Operations: Observer's Manual http://www.fhwa.dot.gov/publications/research/safety/88027/index.cfm&lt;br /&gt;
&lt;br /&gt;
I wrote lecture notes for a course given at McGill and online in Canada's national transportation course: https://dl.dropbox.com/u/179169/notes-surrogates.pdf.&lt;/div&gt;</summary>
		<author><name>NicolasSaunier</name></author>	</entry>

	<entry>
		<id>https://www.polymtl.ca/wikitransport/index.php?title=GestionEquipe&amp;diff=1025</id>
		<title>GestionEquipe</title>
		<link rel="alternate" type="text/html" href="https://www.polymtl.ca/wikitransport/index.php?title=GestionEquipe&amp;diff=1025"/>
				<updated>2026-03-03T15:28:28Z</updated>
		
		<summary type="html">&lt;p&gt;NicolasSaunier : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Formation éthique / Ethics training==&lt;br /&gt;
Les étudiants doivent connaître les règles d'intégrité en recherche. &lt;br /&gt;
&lt;br /&gt;
Students must know ethics rules. &lt;br /&gt;
&lt;br /&gt;
Voir [[Integrité en recherche]] / See [[Integrité_en_recherche|research integrity]]&lt;br /&gt;
&lt;br /&gt;
==Santé et sécurité au travail (SST)==&lt;br /&gt;
Faire une évaluation avant une sortie sur le terrain si l'activité implique des risques plus importants que des déplacements personnels. &lt;br /&gt;
&lt;br /&gt;
==Bonnes pratiques==&lt;br /&gt;
* Assurer la transparence et l’équité des pratiques&lt;br /&gt;
* Faire connaitre les opportunités et ressources sur le campus&lt;br /&gt;
* Soutenir l’intégration des nouvelles recrues&lt;br /&gt;
* Encourager les échanges et la convivialité&lt;br /&gt;
* Renforcer la cohésion et l’esprit d’équipe&lt;br /&gt;
* Réduire la pression de performance et ses effets contreproductifs&lt;br /&gt;
* Favoriser la santé globale, le bien-être et l’équilibre de vie&lt;br /&gt;
* Aménager des espaces agréables et confortables&lt;br /&gt;
* Rester à l’écoute des besoins&lt;br /&gt;
&lt;br /&gt;
Tiré de [https://share.polymtl.ca/alfresco/service/api/path/content;cm:content/workspace/SpacesStore/Company%20Home/Sites/edi-web/documentLibrary/Labos-inclusifs/Labos-inclusifs_Recommandations.pdf?guest=true Document synthèse des bonnes pratiques]&lt;br /&gt;
&lt;br /&gt;
==Ressources==&lt;br /&gt;
* https://www.polymtl.ca/edi/labos-inclusifs&lt;br /&gt;
* [https://share.polymtl.ca/alfresco/service/api/path/content;cm:content/workspace/SpacesStore/Company%20Home/Sites/edi-web/documentLibrary/Labos-inclusifs/Continuum-sante-mentale.pdf?guest=true Continuum en santé mentale] [https://share.polymtl.ca/alfresco/service/api/path/content;cm:content/workspace/SpacesStore/Company%20Home/Sites/edi-web/documentLibrary/Labos-inclusifs/Continuum-mental-health.pdf?guest=true Mental Health Continuum]&lt;/div&gt;</summary>
		<author><name>NicolasSaunier</name></author>	</entry>

	<entry>
		<id>https://www.polymtl.ca/wikitransport/index.php?title=Integrit%C3%A9_en_recherche&amp;diff=1024</id>
		<title>Integrité en recherche</title>
		<link rel="alternate" type="text/html" href="https://www.polymtl.ca/wikitransport/index.php?title=Integrit%C3%A9_en_recherche&amp;diff=1024"/>
				<updated>2026-03-03T15:27:15Z</updated>
		
		<summary type="html">&lt;p&gt;NicolasSaunier : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Éthique / Ethics==&lt;br /&gt;
&lt;br /&gt;
Les étudiants doivent connaître les règles d'intégrité en recherche.&lt;br /&gt;
&lt;br /&gt;
L'approbation éthique doit être obtenue (entièrement, et non conditionnellement) auprès du comité d’éthique de la recherche de Polytechnique pour toutes les données personnelles, qu’elles soient collectées par nous, comme les données vidéo, ou partagées par un tiers.&lt;br /&gt;
&lt;br /&gt;
Students must know ethics rules. &lt;br /&gt;
&lt;br /&gt;
Ethics approval must be obtained (completely, not conditionally) from the research ethics committee of Polytechnique for any personal data, whether collected by us like video data or shared by a third party. &lt;br /&gt;
&lt;br /&gt;
https://www.polymtl.ca/renseignements-generaux/documents-officiels/6-recherche-et-innovation&lt;br /&gt;
&lt;br /&gt;
==Academic integrity==&lt;br /&gt;
&lt;br /&gt;
Plagiarism and academic fraud are obviously forbidden. &lt;br /&gt;
&lt;br /&gt;
This includes using AI to generate text or images for you without disclosing it. You must also verify every output, in particular text and code, for errors. You are responsible in the end of the submitted document. This includes easier to verify telltales like citations that do not exist. You will be reported for academic misconduct if that happens. It should be obvious that you cite only work you've read.  &lt;br /&gt;
&lt;br /&gt;
Scientific rigor takes time. There is basically no shortcut.&lt;/div&gt;</summary>
		<author><name>NicolasSaunier</name></author>	</entry>

	<entry>
		<id>https://www.polymtl.ca/wikitransport/index.php?title=Integrit%C3%A9_en_recherche&amp;diff=1023</id>
		<title>Integrité en recherche</title>
		<link rel="alternate" type="text/html" href="https://www.polymtl.ca/wikitransport/index.php?title=Integrit%C3%A9_en_recherche&amp;diff=1023"/>
				<updated>2026-03-03T15:24:52Z</updated>
		
		<summary type="html">&lt;p&gt;NicolasSaunier : Page créée avec « ==Ethics==   Ethics approval must be obtained (completely, not conditionally) from the ethics committee of Polytechnique for any personal data, whether collected by us lik... »&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Ethics==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ethics approval must be obtained (completely, not conditionally) from the ethics committee of Polytechnique for any personal data, whether collected by us like video data or shared by a third party. &lt;br /&gt;
&lt;br /&gt;
https://www.polymtl.ca/renseignements-generaux/documents-officiels/6-recherche-et-innovation&lt;br /&gt;
&lt;br /&gt;
==Academic integrity==&lt;br /&gt;
&lt;br /&gt;
Plagiarism and academic fraud are obviously forbidden. &lt;br /&gt;
&lt;br /&gt;
This includes using AI to generate text or images for you without disclosing it. You must also verify every output, in particular text and code, for errors. You are responsible in the end of the submitted document. This includes easier to verify telltales like citations that do not exist. You will be reported for academic misconduct if that happens. It should be obvious that you cite only work you've read.  &lt;br /&gt;
&lt;br /&gt;
Scientific rigor takes time. There is basically no shortcut.&lt;/div&gt;</summary>
		<author><name>NicolasSaunier</name></author>	</entry>

	<entry>
		<id>https://www.polymtl.ca/wikitransport/index.php?title=Accueil&amp;diff=1022</id>
		<title>Accueil</title>
		<link rel="alternate" type="text/html" href="https://www.polymtl.ca/wikitransport/index.php?title=Accueil&amp;diff=1022"/>
				<updated>2026-03-03T15:18:40Z</updated>
		
		<summary type="html">&lt;p&gt;NicolasSaunier : /* Resources / Ressources */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;big&amp;gt;'''Bienvenue sur PolyWikiTI, le wiki de la recherche en Transports Intelligents, Actifs et Sécuritaires à Polytechnique Montréal (PolyTI)'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''Welcome to PolyWikiTI, the wiki about Research in Intelligent, Active and Safe Transport at Polytechnique Montréal (PolyIT)'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
maintenu par / maintained by [http://nicolas.saunier.confins.net Nicolas Saunier]&lt;br /&gt;
&lt;br /&gt;
* Professors in the Groupe Transport et Mobilité Durables (Sustainable Transport and Mobility)&lt;br /&gt;
** [https://www.polymtl.ca/expertises/boisjoly-genevieve Geneviève Boisjoly]&lt;br /&gt;
** [https://www.polymtl.ca/expertises/ciari-francesco Francesco Ciari]&lt;br /&gt;
** [http://www.polymtl.ca/recherche/rc/professeurs/details.php?NoProf=322 Catherine Morency]&lt;br /&gt;
** [http://nicolas.saunier.confins.net Nicolas Saunier]&lt;br /&gt;
** [http://www.polymtl.ca/recherche/rc/professeurs/details.php?NoProf=190 Martin Trépanier]&lt;br /&gt;
** [https://www.polymtl.ca/expertises/waygood-owen Owen Waygood]&lt;br /&gt;
* Former professors&lt;br /&gt;
** [https://scholar.google.com/scholar?&amp;amp;q=karsten%20baass Karsten Baass]&lt;br /&gt;
** [http://www.transport.polymtl.ca/titre1.htm Robert Chapleau]&lt;br /&gt;
* [[students|Étudiants / students]]&lt;br /&gt;
&lt;br /&gt;
=Activities / Activités=&lt;br /&gt;
* [[SeminaireGroupe|Séminaires du groupe PolyTI]]&lt;br /&gt;
* [[SeminaireTransport|Séminaires Transport des professeurs et étudiants de l'École Polytechnique de Montréal]], organisés sur Teams en 2020-2021&lt;br /&gt;
* [[SeminaireInfo|Séminaire appliqué sur les outils informatiques de traitement de données (2011)]]&lt;br /&gt;
* [[ModelisationCirculation|Comité pour la modélisation (microscopique) de la circulation (CoMCI)]]&lt;br /&gt;
&lt;br /&gt;
=Research / Recherche=&lt;br /&gt;
Maybe we'll use https://polyit.pubpub.org/.&lt;br /&gt;
* [[PolyDatasets|Data]]&lt;br /&gt;
* Research Themes&lt;br /&gt;
** [[ResearchIdeas|Research project ideas]]&lt;br /&gt;
** [[BikeLab|Bike laboratory to collect traffic and infrastructure data]]&lt;br /&gt;
** [[StreetEvaluationFramework|Framework to evaluate the functions and impacts of streets]]&lt;br /&gt;
** [[Surrogate_Measures_of_Safety|Surrogate Measures of Safety]]&lt;br /&gt;
** [[VideoTracking|Video-based transportation data collection]]&lt;br /&gt;
** [[TrajectoryManagement|Trajectory Management and Analysis]]&lt;br /&gt;
** [[TrackingOptimization|Optimization of tracking performance]]&lt;br /&gt;
** [[VideoAnnotation|Annotation of video data, user trajectories and characteristics]]&lt;br /&gt;
** [[Trajectory_Learning|Methods to learn (cluster) trajectories (motion patterns)]]&lt;br /&gt;
** [[SimulationCalibration|Traffic micro-simulation calibration and validation]]&lt;br /&gt;
* [[OldProjects|Past projects]]&lt;br /&gt;
&lt;br /&gt;
=Resources / Ressources=&lt;br /&gt;
* Études supérieures et recherche à Polytechnique&lt;br /&gt;
** Faire un [[PolyPlanEtude|plan d'étude au cycle supérieur en transport]], [[StageMaitrise|un rapport de stage en maîtrise professionnelle]]&lt;br /&gt;
** [[Getting_Started_in_Graduate_Programs|Commencer une maîtrise ou un doctorat / Getting started in a master's or PhD]]&lt;br /&gt;
** [[GestionEquipe|Gestion du groupe de recherche / Research group management]]&lt;br /&gt;
** [[Integrité en recherche|Intégrité en recherche / Research integrity]]&lt;br /&gt;
* Ressources pour les cours de [[Ressources_pour_les_cours_de_circulation|circulation et transport]]&lt;br /&gt;
* Data Analysis / Analyse de données&lt;br /&gt;
** [[Programming_Resources|Programming resources]]&lt;br /&gt;
** [[Data_Science_Resources|Data Science resources]]&lt;br /&gt;
** [[SafetyResources|(Road) Safety resources]]&lt;br /&gt;
** [[MapTrafficResources|Map and Traffic Processing (Simulation) Resources]]&lt;br /&gt;
** [[PythonHowTo|Python how-to]]&lt;br /&gt;
** [[Computing_Tools_for_Research|Computing tools for research (Liste d'outils informatiques pour la recherche)]]&lt;br /&gt;
** [[OpenScience]]&lt;br /&gt;
** [[Linux_Resources|Linux resources]]&lt;br /&gt;
** [[ProgrammingStyle|Programming naming convention and other coding styles]]&lt;br /&gt;
* [[Conseils_pour_faire_de_la_recherche|Conseils pour faire de la recherche]]&lt;br /&gt;
* [[TripPlanning|Tools for trip planning]]&lt;br /&gt;
* [[Public_Transportation_Datasets|Public transportation datasets]]&lt;br /&gt;
* [[Equipment|Equipment]] for data collection&lt;br /&gt;
** [[Rules_for_research_activities_during_the_COVID-19_pandemic|Rules for data collection during the COVID-19 pandemic]]&lt;br /&gt;
** [[VideoDataCollectionHowTo|How to collect video data]]&lt;br /&gt;
** [[Survol_des_équipements_vidéos_pour_collection_de_données|Overview of video data collection gear]]&lt;br /&gt;
* Rules for room/règles pour la salle [[B344|B344]]&lt;br /&gt;
* [[BoursesTransport|Liste des bourses pour les étudiants en transport]]&lt;/div&gt;</summary>
		<author><name>NicolasSaunier</name></author>	</entry>

	<entry>
		<id>https://www.polymtl.ca/wikitransport/index.php?title=Surrogate_Measures_of_Safety&amp;diff=1021</id>
		<title>Surrogate Measures of Safety</title>
		<link rel="alternate" type="text/html" href="https://www.polymtl.ca/wikitransport/index.php?title=Surrogate_Measures_of_Safety&amp;diff=1021"/>
				<updated>2026-02-25T03:56:41Z</updated>
		
		<summary type="html">&lt;p&gt;NicolasSaunier : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Projects==&lt;br /&gt;
* [[Surrogate_Measures_of_Safety/Interaction_Similarity|Similarity of interactions]]&lt;br /&gt;
* [[Surrogate_Measures_of_Safety/Minimal_Road_User_Interaction_Simulation|Minimal road user interaction simulation]]&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Vision_Zero Vision zero] and its operationalization (safe systems)&lt;br /&gt;
&lt;br /&gt;
==Resources==&lt;br /&gt;
Good starting points are the reports from the [https://www.bast.de/EN/Traffic_Safety/Subjects/InDeV/Home/home_node.html InDeV project], in particular the [https://www.bast.de/EN/Traffic_Safety/Subjects/InDeV/Documents/pdf/2-1-4.pdf?__blob=publicationFile&amp;amp;v=1 review of current study methods for VRU safety (Appendix 6)] and [https://www.bast.de/EN/Traffic_Safety/Subjects/InDeV/Handbook/Handbook_node.html handbook for safety of vulnerable road users]. &lt;br /&gt;
&lt;br /&gt;
A natural home for everything related to SMoS is the International Cooperation on Theories and Concepts in Traffic safety (ICTCT), with its [https://www.ictct.net/smos/ subcommittee]. There was a [https://sites.google.com/site/surrogatesafety/ TRB subcommittee] for at least two decades, but it last met in 2025. &lt;br /&gt;
&lt;br /&gt;
Another are the following papers:&lt;br /&gt;
* Andrew Tarko: book https://www.elsevier.com/books/measuring-road-safety-with-surrogate-events/tarko/978-0-12-810504-7 and chapter https://www.emerald.com/insight/content/doi/10.1108/S2044-994120180000011019/full/html?utm_source=TrendMD&amp;amp;utm_medium=cpc&amp;amp;utm_campaign=Transport_and_Sustainability_TrendMD_0&lt;br /&gt;
* N. Saunier and A. Laureshyn. Surrogate Measures of Safety, Encyclopedia of Transportation, 2:662-667, Elsevier, 2021 http://doi.org/10.1016/B978-0-08-102671-7.10197-6&lt;br /&gt;
&lt;br /&gt;
The following PhD theses are also very good starting points to understand the topic, in particular the work of Svensson which bridges the traditional traffic conflict techniques and new, more disaggregated, approaches. &lt;br /&gt;
* St-Aubin, P.  Driver Behaviour and Road Safety Analysis Using Computer Vision and Applications in Roundabout Safety, 2016 https://publications.polymtl.ca/2272/&lt;br /&gt;
* Mohamed, M. G. Automatic Behavior Analysis and Understanding of Collision Processes Using Video Sensors, 2015 Polytechnique Montréal https://publications.polymtl.ca/1784/&lt;br /&gt;
* Bagadadi, O. The development of methods for detection and assessment of safety critical events in car driving, 2012 http://www.diva-portal.org/smash/record.jsf?pid=diva2%3A674143&amp;amp;dswid=2561 ('''warnings''' about the unclear vocabulary and limited sample sizes)&lt;br /&gt;
* Laureshyn, A. Application of automated video analysis to road user behaviour Lund University, 2010 https://portal.research.lu.se/en/publications/application-of-automated-video-analysis-to-road-user-behaviour (Paper 1 on p 93 (unpublished as far as I know) provides a very exhaustive list of safety indicators)&lt;br /&gt;
* Svensson, A. A Method for Analyzing the Traffic Process in a Safety Perspective University of Lund, 1998. https://portal.research.lu.se/en/publications/a-method-for-analysing-the-traffic-process-in-a-safety-perspectiv&lt;br /&gt;
* Ismail, K. Application of computer vision techniques for automated road safety analysis and traffic data collection University of British Columbia, 2010. http://hdl.handle.net/2429/29546&lt;br /&gt;
* Archer, J. Methods for the Assessment and Prediction of Traffic Safety at Urban Intersections and their Application in Micro-simulation Modelling Royal Institute of Technology, 2004. http://urn.kb.se/resolve?urn=urn:nbn:se:kth:diva-143&lt;br /&gt;
* Cunto, F. Assessing Safety Performance of Transportation Systems using Microscopic Simulation University of Waterloo, 2008. http://hdl.handle.net/10012/4111&lt;br /&gt;
&lt;br /&gt;
Other ressources:&lt;br /&gt;
* Journals: [https://tsr.international Traffic Safety Research]&lt;br /&gt;
* Vision zero and safe systems: https://carsp.ca/en/news-and-resources/road-safety-information/vision-zero-and-the-safe-system-approach/ https://www.tac-atc.ca/wp-content/uploads/prm-vzss-e.pdf&lt;br /&gt;
* white paper by the TRB subcommittee on surrogate measures of safety: http://n.saunier.free.fr/saunier/stock/tarko09surrogate.pdf&lt;br /&gt;
* white paper of the [https://www.sae.org/servlets/works/committeeHome.do?comtID=TEVSMEASURES SAE committee on surrogate measures of safety]: http://papers.sae.org/wp-0005/&lt;br /&gt;
* the software tool to evaluate traffic micro-simulation in terms of safety: &lt;br /&gt;
** new SSAM https://www.itsforge.net/index.php/community/explore-applications#/35/143&lt;br /&gt;
** old version of SSAM from FHWA (reports http://www.tfhrc.gov/safety/pubs/03050/index.htm http://www.fhwa.dot.gov/publications/research/safety/08051/)&lt;br /&gt;
Old documents:&lt;br /&gt;
* FHWA's manual: Traffic Conflict Techniques for Safety and Operations: Observer's Manual http://www.fhwa.dot.gov/publications/research/safety/88027/index.cfm&lt;br /&gt;
&lt;br /&gt;
I wrote lecture notes for a course given at McGill and online in Canada's national transportation course: https://dl.dropbox.com/u/179169/notes-surrogates.pdf.&lt;/div&gt;</summary>
		<author><name>NicolasSaunier</name></author>	</entry>

	<entry>
		<id>https://www.polymtl.ca/wikitransport/index.php?title=Surrogate_Measures_of_Safety&amp;diff=1020</id>
		<title>Surrogate Measures of Safety</title>
		<link rel="alternate" type="text/html" href="https://www.polymtl.ca/wikitransport/index.php?title=Surrogate_Measures_of_Safety&amp;diff=1020"/>
				<updated>2026-02-25T03:52:46Z</updated>
		
		<summary type="html">&lt;p&gt;NicolasSaunier : /* Projects */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Projects==&lt;br /&gt;
* [[Surrogate_Measures_of_Safety/Interaction_Similarity|Similarity of interactions]]&lt;br /&gt;
* [[Surrogate_Measures_of_Safety/Minimal_Road_User_Interaction_Simulation|Minimal road user interaction simulation]]&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Vision_Zero|Vision zero] and its operationalization (safe systems)&lt;br /&gt;
&lt;br /&gt;
==Resources==&lt;br /&gt;
Good starting points are the reports from the [https://www.bast.de/EN/Traffic_Safety/Subjects/InDeV/Home/home_node.html InDeV project], in particular the [https://www.bast.de/EN/Traffic_Safety/Subjects/InDeV/Documents/pdf/2-1-4.pdf?__blob=publicationFile&amp;amp;v=1 review of current study methods for VRU safety (Appendix 6)] and [https://www.bast.de/EN/Traffic_Safety/Subjects/InDeV/Handbook/Handbook_node.html handbook for safety of vulnerable road users]. &lt;br /&gt;
&lt;br /&gt;
A natural home for everything related to SMoS is the International Cooperation on Theories and Concepts in Traffic safety (ICTCT), with its [[https://www.ictct.net/smos/|subcommittee]]. There was a [[https://sites.google.com/site/surrogatesafety/|TRB subcommittee]] for at least two decades, but it last met in 2025. &lt;br /&gt;
&lt;br /&gt;
Another are the following papers:&lt;br /&gt;
* Andrew Tarko: book https://www.elsevier.com/books/measuring-road-safety-with-surrogate-events/tarko/978-0-12-810504-7 and chapter https://www.emerald.com/insight/content/doi/10.1108/S2044-994120180000011019/full/html?utm_source=TrendMD&amp;amp;utm_medium=cpc&amp;amp;utm_campaign=Transport_and_Sustainability_TrendMD_0&lt;br /&gt;
* N. Saunier and A. Laureshyn. Surrogate Measures of Safety, Encyclopedia of Transportation, 2:662-667, Elsevier, 2021 http://doi.org/10.1016/B978-0-08-102671-7.10197-6&lt;br /&gt;
&lt;br /&gt;
The following PhD theses are also very good starting points to understand the topic, in particular the work of Svensson which bridges the traditional traffic conflict techniques and new, more disaggregated, approaches. &lt;br /&gt;
* St-Aubin, P.  Driver Behaviour and Road Safety Analysis Using Computer Vision and Applications in Roundabout Safety, 2016 https://publications.polymtl.ca/2272/&lt;br /&gt;
* Mohamed, M. G. Automatic Behavior Analysis and Understanding of Collision Processes Using Video Sensors, 2015 Polytechnique Montréal https://publications.polymtl.ca/1784/&lt;br /&gt;
* Bagadadi, O. The development of methods for detection and assessment of safety critical events in car driving, 2012 http://www.diva-portal.org/smash/record.jsf?pid=diva2%3A674143&amp;amp;dswid=2561 ('''warnings''' about the unclear vocabulary and limited sample sizes)&lt;br /&gt;
* Laureshyn, A. Application of automated video analysis to road user behaviour Lund University, 2010 https://portal.research.lu.se/en/publications/application-of-automated-video-analysis-to-road-user-behaviour (Paper 1 on p 93 (unpublished as far as I know) provides a very exhaustive list of safety indicators)&lt;br /&gt;
* Svensson, A. A Method for Analyzing the Traffic Process in a Safety Perspective University of Lund, 1998. https://portal.research.lu.se/en/publications/a-method-for-analysing-the-traffic-process-in-a-safety-perspectiv&lt;br /&gt;
* Ismail, K. Application of computer vision techniques for automated road safety analysis and traffic data collection University of British Columbia, 2010. http://hdl.handle.net/2429/29546&lt;br /&gt;
* Archer, J. Methods for the Assessment and Prediction of Traffic Safety at Urban Intersections and their Application in Micro-simulation Modelling Royal Institute of Technology, 2004. http://urn.kb.se/resolve?urn=urn:nbn:se:kth:diva-143&lt;br /&gt;
* Cunto, F. Assessing Safety Performance of Transportation Systems using Microscopic Simulation University of Waterloo, 2008. http://hdl.handle.net/10012/4111&lt;br /&gt;
&lt;br /&gt;
Other ressources:&lt;br /&gt;
* [https://tsr.international/|Traffic Safety Research]&lt;br /&gt;
* white paper by the TRB subcommittee on surrogate measures of safety: http://n.saunier.free.fr/saunier/stock/tarko09surrogate.pdf&lt;br /&gt;
* white paper of the [https://www.sae.org/servlets/works/committeeHome.do?comtID=TEVSMEASURES SAE committee on surrogate measures of safety]: http://papers.sae.org/wp-0005/&lt;br /&gt;
* the software tool to evaluate traffic micro-simulation in terms of safety: &lt;br /&gt;
** new SSAM https://www.itsforge.net/index.php/community/explore-applications#/35/143&lt;br /&gt;
** old version of SSAM from FHWA (reports http://www.tfhrc.gov/safety/pubs/03050/index.htm http://www.fhwa.dot.gov/publications/research/safety/08051/)&lt;br /&gt;
Old documents:&lt;br /&gt;
* FHWA's manual: Traffic Conflict Techniques for Safety and Operations: Observer's Manual http://www.fhwa.dot.gov/publications/research/safety/88027/index.cfm&lt;br /&gt;
&lt;br /&gt;
I wrote lecture notes for a course given at McGill and online in Canada's national transportation course: https://dl.dropbox.com/u/179169/notes-surrogates.pdf.&lt;/div&gt;</summary>
		<author><name>NicolasSaunier</name></author>	</entry>

	<entry>
		<id>https://www.polymtl.ca/wikitransport/index.php?title=Surrogate_Measures_of_Safety&amp;diff=1019</id>
		<title>Surrogate Measures of Safety</title>
		<link rel="alternate" type="text/html" href="https://www.polymtl.ca/wikitransport/index.php?title=Surrogate_Measures_of_Safety&amp;diff=1019"/>
				<updated>2026-02-25T03:51:20Z</updated>
		
		<summary type="html">&lt;p&gt;NicolasSaunier : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Projects==&lt;br /&gt;
* [[Surrogate_Measures_of_Safety/Interaction_Similarity|Similarity of interactions]]&lt;br /&gt;
* [[Surrogate_Measures_of_Safety/Minimal_Road_User_Interaction_Simulation|Minimal road user interaction simulation]]&lt;br /&gt;
* Vision zero and its operationalization&lt;br /&gt;
&lt;br /&gt;
==Resources==&lt;br /&gt;
Good starting points are the reports from the [https://www.bast.de/EN/Traffic_Safety/Subjects/InDeV/Home/home_node.html InDeV project], in particular the [https://www.bast.de/EN/Traffic_Safety/Subjects/InDeV/Documents/pdf/2-1-4.pdf?__blob=publicationFile&amp;amp;v=1 review of current study methods for VRU safety (Appendix 6)] and [https://www.bast.de/EN/Traffic_Safety/Subjects/InDeV/Handbook/Handbook_node.html handbook for safety of vulnerable road users]. &lt;br /&gt;
&lt;br /&gt;
A natural home for everything related to SMoS is the International Cooperation on Theories and Concepts in Traffic safety (ICTCT), with its [[https://www.ictct.net/smos/|subcommittee]]. There was a [[https://sites.google.com/site/surrogatesafety/|TRB subcommittee]] for at least two decades, but it last met in 2025. &lt;br /&gt;
&lt;br /&gt;
Another are the following papers:&lt;br /&gt;
* Andrew Tarko: book https://www.elsevier.com/books/measuring-road-safety-with-surrogate-events/tarko/978-0-12-810504-7 and chapter https://www.emerald.com/insight/content/doi/10.1108/S2044-994120180000011019/full/html?utm_source=TrendMD&amp;amp;utm_medium=cpc&amp;amp;utm_campaign=Transport_and_Sustainability_TrendMD_0&lt;br /&gt;
* N. Saunier and A. Laureshyn. Surrogate Measures of Safety, Encyclopedia of Transportation, 2:662-667, Elsevier, 2021 http://doi.org/10.1016/B978-0-08-102671-7.10197-6&lt;br /&gt;
&lt;br /&gt;
The following PhD theses are also very good starting points to understand the topic, in particular the work of Svensson which bridges the traditional traffic conflict techniques and new, more disaggregated, approaches. &lt;br /&gt;
* St-Aubin, P.  Driver Behaviour and Road Safety Analysis Using Computer Vision and Applications in Roundabout Safety, 2016 https://publications.polymtl.ca/2272/&lt;br /&gt;
* Mohamed, M. G. Automatic Behavior Analysis and Understanding of Collision Processes Using Video Sensors, 2015 Polytechnique Montréal https://publications.polymtl.ca/1784/&lt;br /&gt;
* Bagadadi, O. The development of methods for detection and assessment of safety critical events in car driving, 2012 http://www.diva-portal.org/smash/record.jsf?pid=diva2%3A674143&amp;amp;dswid=2561 ('''warnings''' about the unclear vocabulary and limited sample sizes)&lt;br /&gt;
* Laureshyn, A. Application of automated video analysis to road user behaviour Lund University, 2010 https://portal.research.lu.se/en/publications/application-of-automated-video-analysis-to-road-user-behaviour (Paper 1 on p 93 (unpublished as far as I know) provides a very exhaustive list of safety indicators)&lt;br /&gt;
* Svensson, A. A Method for Analyzing the Traffic Process in a Safety Perspective University of Lund, 1998. https://portal.research.lu.se/en/publications/a-method-for-analysing-the-traffic-process-in-a-safety-perspectiv&lt;br /&gt;
* Ismail, K. Application of computer vision techniques for automated road safety analysis and traffic data collection University of British Columbia, 2010. http://hdl.handle.net/2429/29546&lt;br /&gt;
* Archer, J. Methods for the Assessment and Prediction of Traffic Safety at Urban Intersections and their Application in Micro-simulation Modelling Royal Institute of Technology, 2004. http://urn.kb.se/resolve?urn=urn:nbn:se:kth:diva-143&lt;br /&gt;
* Cunto, F. Assessing Safety Performance of Transportation Systems using Microscopic Simulation University of Waterloo, 2008. http://hdl.handle.net/10012/4111&lt;br /&gt;
&lt;br /&gt;
Other ressources:&lt;br /&gt;
* [https://tsr.international/|Traffic Safety Research]&lt;br /&gt;
* white paper by the TRB subcommittee on surrogate measures of safety: http://n.saunier.free.fr/saunier/stock/tarko09surrogate.pdf&lt;br /&gt;
* white paper of the [https://www.sae.org/servlets/works/committeeHome.do?comtID=TEVSMEASURES SAE committee on surrogate measures of safety]: http://papers.sae.org/wp-0005/&lt;br /&gt;
* the software tool to evaluate traffic micro-simulation in terms of safety: &lt;br /&gt;
** new SSAM https://www.itsforge.net/index.php/community/explore-applications#/35/143&lt;br /&gt;
** old version of SSAM from FHWA (reports http://www.tfhrc.gov/safety/pubs/03050/index.htm http://www.fhwa.dot.gov/publications/research/safety/08051/)&lt;br /&gt;
Old documents:&lt;br /&gt;
* FHWA's manual: Traffic Conflict Techniques for Safety and Operations: Observer's Manual http://www.fhwa.dot.gov/publications/research/safety/88027/index.cfm&lt;br /&gt;
&lt;br /&gt;
I wrote lecture notes for a course given at McGill and online in Canada's national transportation course: https://dl.dropbox.com/u/179169/notes-surrogates.pdf.&lt;/div&gt;</summary>
		<author><name>NicolasSaunier</name></author>	</entry>

	<entry>
		<id>https://www.polymtl.ca/wikitransport/index.php?title=Surrogate_Measures_of_Safety&amp;diff=1018</id>
		<title>Surrogate Measures of Safety</title>
		<link rel="alternate" type="text/html" href="https://www.polymtl.ca/wikitransport/index.php?title=Surrogate_Measures_of_Safety&amp;diff=1018"/>
				<updated>2026-02-25T03:51:06Z</updated>
		
		<summary type="html">&lt;p&gt;NicolasSaunier : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Projects==&lt;br /&gt;
* [[Surrogate_Measures_of_Safety/Interaction_Similarity|Similarity of interactions]]&lt;br /&gt;
* [[Surrogate_Measures_of_Safety/Minimal_Road_User_Interaction_Simulation|Minimal road user interaction simulation]]&lt;br /&gt;
* Vision zero and its operationalization&lt;br /&gt;
&lt;br /&gt;
==Resources==&lt;br /&gt;
Good starting points are the reports from the [https://www.bast.de/EN/Traffic_Safety/Subjects/InDeV/Home/home_node.html InDeV project], in particular the [https://www.bast.de/EN/Traffic_Safety/Subjects/InDeV/Documents/pdf/2-1-4.pdf?__blob=publicationFile&amp;amp;v=1 review of current study methods for VRU safety (Appendix 6)] and [https://www.bast.de/EN/Traffic_Safety/Subjects/InDeV/Handbook/Handbook_node.html handbook for safety of vulnerable road users]. &lt;br /&gt;
&lt;br /&gt;
A natural home for everything related to SMoS is the International Cooperation on Theories and Concepts in Traffic safety (ICTCT), with its [[https://www.ictct.net/smos/|subcommittee]]. There was a [[https://sites.google.com/site/surrogatesafety/|TRB subcommittee]] for at least two decades, but it last met in 2025. &lt;br /&gt;
&lt;br /&gt;
Another are the following papers:&lt;br /&gt;
* Andrew Tarko: book https://www.elsevier.com/books/measuring-road-safety-with-surrogate-events/tarko/978-0-12-810504-7 and chapter https://www.emerald.com/insight/content/doi/10.1108/S2044-994120180000011019/full/html?utm_source=TrendMD&amp;amp;utm_medium=cpc&amp;amp;utm_campaign=Transport_and_Sustainability_TrendMD_0&lt;br /&gt;
* N. Saunier and A. Laureshyn. Surrogate Measures of Safety, Encyclopedia of Transportation, 2:662-667, Elsevier, 2021 http://doi.org/10.1016/B978-0-08-102671-7.10197-6&lt;br /&gt;
&lt;br /&gt;
The following PhD theses are also very good starting points to understand the topic, in particular the work of Svensson which bridges the traditional traffic conflict techniques and new, more disaggregated, approaches. &lt;br /&gt;
* St-Aubin, P.  Driver Behaviour and Road Safety Analysis Using Computer Vision and Applications in Roundabout Safety, 2016 https://publications.polymtl.ca/2272/&lt;br /&gt;
* Mohamed, M. G. Automatic Behavior Analysis and Understanding of Collision Processes Using Video Sensors, 2015 Polytechnique Montréal https://publications.polymtl.ca/1784/&lt;br /&gt;
* Bagadadi, O. The development of methods for detection and assessment of safety critical events in car driving, 2012 http://www.diva-portal.org/smash/record.jsf?pid=diva2%3A674143&amp;amp;dswid=2561 ('''warnings''' about the unclear vocabulary and limited sample sizes)&lt;br /&gt;
* Laureshyn, A. Application of automated video analysis to road user behaviour Lund University, 2010 https://portal.research.lu.se/en/publications/application-of-automated-video-analysis-to-road-user-behaviour (Paper 1 on p 93 (unpublished as far as I know) provides a very exhaustive list of safety indicators)&lt;br /&gt;
* Svensson, A. A Method for Analyzing the Traffic Process in a Safety Perspective University of Lund, 1998. https://portal.research.lu.se/en/publications/a-method-for-analysing-the-traffic-process-in-a-safety-perspectiv&lt;br /&gt;
* Ismail, K. Application of computer vision techniques for automated road safety analysis and traffic data collection University of British Columbia, 2010. http://hdl.handle.net/2429/29546&lt;br /&gt;
* Archer, J. Methods for the Assessment and Prediction of Traffic Safety at Urban Intersections and their Application in Micro-simulation Modelling Royal Institute of Technology, 2004. http://urn.kb.se/resolve?urn=urn:nbn:se:kth:diva-143&lt;br /&gt;
* Cunto, F. Assessing Safety Performance of Transportation Systems using Microscopic Simulation University of Waterloo, 2008. http://hdl.handle.net/10012/4111&lt;br /&gt;
&lt;br /&gt;
Other ressources:&lt;br /&gt;
* [[https://tsr.international/|Traffic Safety Research]]&lt;br /&gt;
* white paper by the TRB subcommittee on surrogate measures of safety: http://n.saunier.free.fr/saunier/stock/tarko09surrogate.pdf&lt;br /&gt;
* white paper of the [https://www.sae.org/servlets/works/committeeHome.do?comtID=TEVSMEASURES SAE committee on surrogate measures of safety]: http://papers.sae.org/wp-0005/&lt;br /&gt;
* the software tool to evaluate traffic micro-simulation in terms of safety: &lt;br /&gt;
** new SSAM https://www.itsforge.net/index.php/community/explore-applications#/35/143&lt;br /&gt;
** old version of SSAM from FHWA (reports http://www.tfhrc.gov/safety/pubs/03050/index.htm http://www.fhwa.dot.gov/publications/research/safety/08051/)&lt;br /&gt;
Old documents:&lt;br /&gt;
* FHWA's manual: Traffic Conflict Techniques for Safety and Operations: Observer's Manual http://www.fhwa.dot.gov/publications/research/safety/88027/index.cfm&lt;br /&gt;
&lt;br /&gt;
I wrote lecture notes for a course given at McGill and online in Canada's national transportation course: https://dl.dropbox.com/u/179169/notes-surrogates.pdf.&lt;/div&gt;</summary>
		<author><name>NicolasSaunier</name></author>	</entry>

	<entry>
		<id>https://www.polymtl.ca/wikitransport/index.php?title=Surrogate_Measures_of_Safety&amp;diff=1017</id>
		<title>Surrogate Measures of Safety</title>
		<link rel="alternate" type="text/html" href="https://www.polymtl.ca/wikitransport/index.php?title=Surrogate_Measures_of_Safety&amp;diff=1017"/>
				<updated>2026-02-24T20:13:40Z</updated>
		
		<summary type="html">&lt;p&gt;NicolasSaunier : /* Projects */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Projects==&lt;br /&gt;
* [[Surrogate_Measures_of_Safety/Interaction_Similarity|Similarity of interactions]]&lt;br /&gt;
* [[Surrogate_Measures_of_Safety/Minimal_Road_User_Interaction_Simulation|Minimal road user interaction simulation]]&lt;br /&gt;
* Vision zero and its operationalization&lt;br /&gt;
&lt;br /&gt;
==Resources==&lt;br /&gt;
Good starting points are the reports from the [https://www.bast.de/EN/Traffic_Safety/Subjects/InDeV/Home/home_node.html InDeV project], in particular the [https://www.bast.de/EN/Traffic_Safety/Subjects/InDeV/Documents/pdf/2-1-4.pdf?__blob=publicationFile&amp;amp;v=1 review of current study methods for VRU safety (Appendix 6)] and [https://www.bast.de/EN/Traffic_Safety/Subjects/InDeV/Handbook/Handbook_node.html handbook for safety of vulnerable road users]. &lt;br /&gt;
&lt;br /&gt;
A natural home for everything related to SMoS is the International Cooperation on Theories and Concepts in Traffic safety (ICTCT), with its [[https://www.ictct.net/smos/|subcommittee]]. There was a [[https://sites.google.com/site/surrogatesafety/|TRB subcommittee]] for at least two decades, but it last met in 2025. &lt;br /&gt;
&lt;br /&gt;
Another are the following papers:&lt;br /&gt;
* Andrew Tarko: book https://www.elsevier.com/books/measuring-road-safety-with-surrogate-events/tarko/978-0-12-810504-7 and chapter https://www.emerald.com/insight/content/doi/10.1108/S2044-994120180000011019/full/html?utm_source=TrendMD&amp;amp;utm_medium=cpc&amp;amp;utm_campaign=Transport_and_Sustainability_TrendMD_0&lt;br /&gt;
* N. Saunier and A. Laureshyn. Surrogate Measures of Safety, Encyclopedia of Transportation, 2:662-667, Elsevier, 2021 http://doi.org/10.1016/B978-0-08-102671-7.10197-6&lt;br /&gt;
&lt;br /&gt;
The following PhD theses are also very good starting points to understand the topic, in particular the work of Svensson which bridges the traditional traffic conflict techniques and new, more disaggregated, approaches. &lt;br /&gt;
* St-Aubin, P.  Driver Behaviour and Road Safety Analysis Using Computer Vision and Applications in Roundabout Safety, 2016 https://publications.polymtl.ca/2272/&lt;br /&gt;
* Mohamed, M. G. Automatic Behavior Analysis and Understanding of Collision Processes Using Video Sensors, 2015 Polytechnique Montréal https://publications.polymtl.ca/1784/&lt;br /&gt;
* Bagadadi, O. The development of methods for detection and assessment of safety critical events in car driving, 2012 http://www.diva-portal.org/smash/record.jsf?pid=diva2%3A674143&amp;amp;dswid=2561 ('''warnings''' about the unclear vocabulary and limited sample sizes)&lt;br /&gt;
* Laureshyn, A. Application of automated video analysis to road user behaviour Lund University, 2010 https://portal.research.lu.se/en/publications/application-of-automated-video-analysis-to-road-user-behaviour (Paper 1 on p 93 (unpublished as far as I know) provides a very exhaustive list of safety indicators)&lt;br /&gt;
* Svensson, A. A Method for Analyzing the Traffic Process in a Safety Perspective University of Lund, 1998. https://portal.research.lu.se/en/publications/a-method-for-analysing-the-traffic-process-in-a-safety-perspectiv&lt;br /&gt;
* Ismail, K. Application of computer vision techniques for automated road safety analysis and traffic data collection University of British Columbia, 2010. http://hdl.handle.net/2429/29546&lt;br /&gt;
* Archer, J. Methods for the Assessment and Prediction of Traffic Safety at Urban Intersections and their Application in Micro-simulation Modelling Royal Institute of Technology, 2004. http://urn.kb.se/resolve?urn=urn:nbn:se:kth:diva-143&lt;br /&gt;
* Cunto, F. Assessing Safety Performance of Transportation Systems using Microscopic Simulation University of Waterloo, 2008. http://hdl.handle.net/10012/4111&lt;br /&gt;
&lt;br /&gt;
Other ressources:&lt;br /&gt;
* white paper by the TRB subcommittee on surrogate measures of safety: http://n.saunier.free.fr/saunier/stock/tarko09surrogate.pdf&lt;br /&gt;
* white paper of the [https://www.sae.org/servlets/works/committeeHome.do?comtID=TEVSMEASURES SAE committee on surrogate measures of safety]: http://papers.sae.org/wp-0005/&lt;br /&gt;
* the software tool to evaluate traffic micro-simulation in terms of safety: &lt;br /&gt;
** new SSAM https://www.itsforge.net/index.php/community/explore-applications#/35/143&lt;br /&gt;
** old version of SSAM from FHWA (reports http://www.tfhrc.gov/safety/pubs/03050/index.htm http://www.fhwa.dot.gov/publications/research/safety/08051/)&lt;br /&gt;
Old documents:&lt;br /&gt;
* FHWA's manual: Traffic Conflict Techniques for Safety and Operations: Observer's Manual http://www.fhwa.dot.gov/publications/research/safety/88027/index.cfm&lt;br /&gt;
&lt;br /&gt;
I wrote lecture notes for a course given at McGill and online in Canada's national transportation course: https://dl.dropbox.com/u/179169/notes-surrogates.pdf&lt;/div&gt;</summary>
		<author><name>NicolasSaunier</name></author>	</entry>

	<entry>
		<id>https://www.polymtl.ca/wikitransport/index.php?title=Surrogate_Measures_of_Safety&amp;diff=1016</id>
		<title>Surrogate Measures of Safety</title>
		<link rel="alternate" type="text/html" href="https://www.polymtl.ca/wikitransport/index.php?title=Surrogate_Measures_of_Safety&amp;diff=1016"/>
				<updated>2026-02-24T20:13:16Z</updated>
		
		<summary type="html">&lt;p&gt;NicolasSaunier : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Projects==&lt;br /&gt;
* [[Surrogate_Measures_of_Safety/Interaction_Similarity|Similarity of interactions]]&lt;br /&gt;
* [[Surrogate_Measures_of_Safety/Minimal_Road_User_Interaction_Simulation|Minimal road user interaction simulation]]&lt;br /&gt;
&lt;br /&gt;
==Resources==&lt;br /&gt;
Good starting points are the reports from the [https://www.bast.de/EN/Traffic_Safety/Subjects/InDeV/Home/home_node.html InDeV project], in particular the [https://www.bast.de/EN/Traffic_Safety/Subjects/InDeV/Documents/pdf/2-1-4.pdf?__blob=publicationFile&amp;amp;v=1 review of current study methods for VRU safety (Appendix 6)] and [https://www.bast.de/EN/Traffic_Safety/Subjects/InDeV/Handbook/Handbook_node.html handbook for safety of vulnerable road users]. &lt;br /&gt;
&lt;br /&gt;
A natural home for everything related to SMoS is the International Cooperation on Theories and Concepts in Traffic safety (ICTCT), with its [[https://www.ictct.net/smos/|subcommittee]]. There was a [[https://sites.google.com/site/surrogatesafety/|TRB subcommittee]] for at least two decades, but it last met in 2025. &lt;br /&gt;
&lt;br /&gt;
Another are the following papers:&lt;br /&gt;
* Andrew Tarko: book https://www.elsevier.com/books/measuring-road-safety-with-surrogate-events/tarko/978-0-12-810504-7 and chapter https://www.emerald.com/insight/content/doi/10.1108/S2044-994120180000011019/full/html?utm_source=TrendMD&amp;amp;utm_medium=cpc&amp;amp;utm_campaign=Transport_and_Sustainability_TrendMD_0&lt;br /&gt;
* N. Saunier and A. Laureshyn. Surrogate Measures of Safety, Encyclopedia of Transportation, 2:662-667, Elsevier, 2021 http://doi.org/10.1016/B978-0-08-102671-7.10197-6&lt;br /&gt;
&lt;br /&gt;
The following PhD theses are also very good starting points to understand the topic, in particular the work of Svensson which bridges the traditional traffic conflict techniques and new, more disaggregated, approaches. &lt;br /&gt;
* St-Aubin, P.  Driver Behaviour and Road Safety Analysis Using Computer Vision and Applications in Roundabout Safety, 2016 https://publications.polymtl.ca/2272/&lt;br /&gt;
* Mohamed, M. G. Automatic Behavior Analysis and Understanding of Collision Processes Using Video Sensors, 2015 Polytechnique Montréal https://publications.polymtl.ca/1784/&lt;br /&gt;
* Bagadadi, O. The development of methods for detection and assessment of safety critical events in car driving, 2012 http://www.diva-portal.org/smash/record.jsf?pid=diva2%3A674143&amp;amp;dswid=2561 ('''warnings''' about the unclear vocabulary and limited sample sizes)&lt;br /&gt;
* Laureshyn, A. Application of automated video analysis to road user behaviour Lund University, 2010 https://portal.research.lu.se/en/publications/application-of-automated-video-analysis-to-road-user-behaviour (Paper 1 on p 93 (unpublished as far as I know) provides a very exhaustive list of safety indicators)&lt;br /&gt;
* Svensson, A. A Method for Analyzing the Traffic Process in a Safety Perspective University of Lund, 1998. https://portal.research.lu.se/en/publications/a-method-for-analysing-the-traffic-process-in-a-safety-perspectiv&lt;br /&gt;
* Ismail, K. Application of computer vision techniques for automated road safety analysis and traffic data collection University of British Columbia, 2010. http://hdl.handle.net/2429/29546&lt;br /&gt;
* Archer, J. Methods for the Assessment and Prediction of Traffic Safety at Urban Intersections and their Application in Micro-simulation Modelling Royal Institute of Technology, 2004. http://urn.kb.se/resolve?urn=urn:nbn:se:kth:diva-143&lt;br /&gt;
* Cunto, F. Assessing Safety Performance of Transportation Systems using Microscopic Simulation University of Waterloo, 2008. http://hdl.handle.net/10012/4111&lt;br /&gt;
&lt;br /&gt;
Other ressources:&lt;br /&gt;
* white paper by the TRB subcommittee on surrogate measures of safety: http://n.saunier.free.fr/saunier/stock/tarko09surrogate.pdf&lt;br /&gt;
* white paper of the [https://www.sae.org/servlets/works/committeeHome.do?comtID=TEVSMEASURES SAE committee on surrogate measures of safety]: http://papers.sae.org/wp-0005/&lt;br /&gt;
* the software tool to evaluate traffic micro-simulation in terms of safety: &lt;br /&gt;
** new SSAM https://www.itsforge.net/index.php/community/explore-applications#/35/143&lt;br /&gt;
** old version of SSAM from FHWA (reports http://www.tfhrc.gov/safety/pubs/03050/index.htm http://www.fhwa.dot.gov/publications/research/safety/08051/)&lt;br /&gt;
Old documents:&lt;br /&gt;
* FHWA's manual: Traffic Conflict Techniques for Safety and Operations: Observer's Manual http://www.fhwa.dot.gov/publications/research/safety/88027/index.cfm&lt;br /&gt;
&lt;br /&gt;
I wrote lecture notes for a course given at McGill and online in Canada's national transportation course: https://dl.dropbox.com/u/179169/notes-surrogates.pdf&lt;/div&gt;</summary>
		<author><name>NicolasSaunier</name></author>	</entry>

	<entry>
		<id>https://www.polymtl.ca/wikitransport/index.php?title=SeminaireGroupe&amp;diff=1015</id>
		<title>SeminaireGroupe</title>
		<link rel="alternate" type="text/html" href="https://www.polymtl.ca/wikitransport/index.php?title=SeminaireGroupe&amp;diff=1015"/>
				<updated>2026-02-24T20:05:28Z</updated>
		
		<summary type="html">&lt;p&gt;NicolasSaunier : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* 2026&lt;br /&gt;
** 03/03/26: research presentation by Wang Luo, visiting PhD student from Central South University&lt;br /&gt;
** 16/01/26: Nicolas Rodwell Bent presented on Traffic Modelling Visualization techniques&lt;br /&gt;
* 2025&lt;br /&gt;
** 21/11/2025: group meeting and discussion of data organization (see [[OpenScience]])&lt;br /&gt;
** 31/10/2025: group meeting&lt;br /&gt;
* 2024&lt;br /&gt;
** research data planning and management&lt;br /&gt;
** 10 or 12/07/2024: discussion of paper in https://tsr.international/TSR/issue/view/3297&lt;br /&gt;
** 21/06/2024: Tristan Fortin, Study of road user understanding, behavior and safety on bicycle boulevards&lt;br /&gt;
** 07/06/2024: Frédérick Chabot, Characterization framework to assess the performance of a tool for the observation of life in public spaces&lt;br /&gt;
** 31/05/2024: Qingwu Liu, A comprehensive case study on deep learning-based object recognition for safety analysis on roadside and vehicle-mounted dataset&lt;br /&gt;
** 17/05/2024: Guillaume Néven, Probabilistic approach to path travel time estimation&lt;br /&gt;
* 2023&lt;br /&gt;
** Summer seminar&lt;br /&gt;
*** Tristan Fortin, Collecte de données sur les vélorues : analyse vidéo et questionnaire&lt;br /&gt;
*** Yash Pratap Singh, Benchmarking Computer Vision Surveillance Algorithms for Practical Traffic Applications&lt;br /&gt;
*** Qingwu Liu, How good are deep learning methods for automated road safety analysis using video data? An experimental study&lt;br /&gt;
*** Zhangcun Yan, Investigating and Modeling Motorized and Non-Motorized Interaction Behavior in Shared Spaces of Intersections&lt;br /&gt;
*** Tarcisio Costa de Souza Neto, Automatisation d'extraction et d'analyse des données ouvertes de transports&lt;br /&gt;
*** Reza Zarei, “Questionnaire Design” for surveying drivers' attitudes towards road safety.  &lt;br /&gt;
*** Edem Houndjafo, Étude pour l’installation de feux cyclistes aux intersections du chemin de la Côte Sainte Catherine&lt;br /&gt;
*** Xinyu Chen, Matrix and Tensor Models for Spatiotemporal Traffic Data Modeling&lt;br /&gt;
*** Mohammad Ghavidel, Smartphone Accelerometer Sensor Orientation: best Techniques and its applications&lt;br /&gt;
*** Frédérick Chabot, Develop a performance characterization framework for a public space - public life data collection tool&lt;br /&gt;
** group meetings open to everyone starting February 23rd: discussions and exchanges of ideas, on research projects and technical discussions, sometimes based on published papers (reading club). &lt;br /&gt;
*** February 23rd: data management plan (&amp;quot;plan de gestion des données&amp;quot;) https://guides.biblio.polymtl.ca/donneesrecherche&lt;br /&gt;
*** other ideas: open access publication, peer review is largely a failure... https://experimentalhistory.substack.com/p/the-rise-and-fall-of-peer-review So we could write papers differently: https://psyarxiv.com/2uxwk/&lt;br /&gt;
&lt;br /&gt;
* 2012&lt;br /&gt;
** 26 juillet&lt;br /&gt;
** 19 juillet&lt;br /&gt;
** 12 juillet&lt;br /&gt;
** 5 juillet: application du Canadian Capacity Guide (François), http://www.runmycode.org&lt;br /&gt;
** 29 juin: projet de collecte de données sur les carrefours giratoires (Arthur)&lt;br /&gt;
** 22 juin: projet marquage au sol (Caio)&lt;br /&gt;
** 15 juin: discussion des paramètres de description des carrefours giratoires (Paul)&lt;br /&gt;
** 8 juin: demo background subtraction (Anurag, Jean-Philippe), de traffic intelligence&lt;br /&gt;
** 1 juin: presentation de Mohamed sur les méthodes de prédictions des mouvement (en particulier en robotique), résultats graphiques de François&lt;br /&gt;
** 18 mai: première réunion&lt;/div&gt;</summary>
		<author><name>NicolasSaunier</name></author>	</entry>

	<entry>
		<id>https://www.polymtl.ca/wikitransport/index.php?title=Accueil&amp;diff=1014</id>
		<title>Accueil</title>
		<link rel="alternate" type="text/html" href="https://www.polymtl.ca/wikitransport/index.php?title=Accueil&amp;diff=1014"/>
				<updated>2026-02-24T19:59:27Z</updated>
		
		<summary type="html">&lt;p&gt;NicolasSaunier : /* Resources / Ressources */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;big&amp;gt;'''Bienvenue sur PolyWikiTI, le wiki de la recherche en Transports Intelligents, Actifs et Sécuritaires à Polytechnique Montréal (PolyTI)'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''Welcome to PolyWikiTI, the wiki about Research in Intelligent, Active and Safe Transport at Polytechnique Montréal (PolyIT)'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
maintenu par / maintained by [http://nicolas.saunier.confins.net Nicolas Saunier]&lt;br /&gt;
&lt;br /&gt;
* Professors in the Groupe Transport et Mobilité Durables (Sustainable Transport and Mobility)&lt;br /&gt;
** [https://www.polymtl.ca/expertises/boisjoly-genevieve Geneviève Boisjoly]&lt;br /&gt;
** [https://www.polymtl.ca/expertises/ciari-francesco Francesco Ciari]&lt;br /&gt;
** [http://www.polymtl.ca/recherche/rc/professeurs/details.php?NoProf=322 Catherine Morency]&lt;br /&gt;
** [http://nicolas.saunier.confins.net Nicolas Saunier]&lt;br /&gt;
** [http://www.polymtl.ca/recherche/rc/professeurs/details.php?NoProf=190 Martin Trépanier]&lt;br /&gt;
** [https://www.polymtl.ca/expertises/waygood-owen Owen Waygood]&lt;br /&gt;
* Former professors&lt;br /&gt;
** [https://scholar.google.com/scholar?&amp;amp;q=karsten%20baass Karsten Baass]&lt;br /&gt;
** [http://www.transport.polymtl.ca/titre1.htm Robert Chapleau]&lt;br /&gt;
* [[students|Étudiants / students]]&lt;br /&gt;
&lt;br /&gt;
=Activities / Activités=&lt;br /&gt;
* [[SeminaireGroupe|Séminaires du groupe PolyTI]]&lt;br /&gt;
* [[SeminaireTransport|Séminaires Transport des professeurs et étudiants de l'École Polytechnique de Montréal]], organisés sur Teams en 2020-2021&lt;br /&gt;
* [[SeminaireInfo|Séminaire appliqué sur les outils informatiques de traitement de données (2011)]]&lt;br /&gt;
* [[ModelisationCirculation|Comité pour la modélisation (microscopique) de la circulation (CoMCI)]]&lt;br /&gt;
&lt;br /&gt;
=Research / Recherche=&lt;br /&gt;
Maybe we'll use https://polyit.pubpub.org/.&lt;br /&gt;
* [[PolyDatasets|Data]]&lt;br /&gt;
* Research Themes&lt;br /&gt;
** [[ResearchIdeas|Research project ideas]]&lt;br /&gt;
** [[BikeLab|Bike laboratory to collect traffic and infrastructure data]]&lt;br /&gt;
** [[StreetEvaluationFramework|Framework to evaluate the functions and impacts of streets]]&lt;br /&gt;
** [[Surrogate_Measures_of_Safety|Surrogate Measures of Safety]]&lt;br /&gt;
** [[VideoTracking|Video-based transportation data collection]]&lt;br /&gt;
** [[TrajectoryManagement|Trajectory Management and Analysis]]&lt;br /&gt;
** [[TrackingOptimization|Optimization of tracking performance]]&lt;br /&gt;
** [[VideoAnnotation|Annotation of video data, user trajectories and characteristics]]&lt;br /&gt;
** [[Trajectory_Learning|Methods to learn (cluster) trajectories (motion patterns)]]&lt;br /&gt;
** [[SimulationCalibration|Traffic micro-simulation calibration and validation]]&lt;br /&gt;
* [[OldProjects|Past projects]]&lt;br /&gt;
&lt;br /&gt;
=Resources / Ressources=&lt;br /&gt;
* Études supérieures et recherche à Polytechnique&lt;br /&gt;
** Faire un [[PolyPlanEtude|plan d'étude au cycle supérieur en transport]], [[StageMaitrise|un rapport de stage en maîtrise professionnelle]]&lt;br /&gt;
** [[Getting_Started_in_Graduate_Programs|Getting started in a master's or PhD]]&lt;br /&gt;
** [[GestionEquipe|Organisation du groupe de recherche]]&lt;br /&gt;
* Ressources pour les cours de [[Ressources_pour_les_cours_de_circulation|circulation et transport]]&lt;br /&gt;
* Data Analysis / Analyse de données&lt;br /&gt;
** [[Programming_Resources|Programming resources]]&lt;br /&gt;
** [[Data_Science_Resources|Data Science resources]]&lt;br /&gt;
** [[SafetyResources|(Road) Safety resources]]&lt;br /&gt;
** [[MapTrafficResources|Map and Traffic Processing (Simulation) Resources]]&lt;br /&gt;
** [[PythonHowTo|Python how-to]]&lt;br /&gt;
** [[Computing_Tools_for_Research|Computing tools for research (Liste d'outils informatiques pour la recherche)]]&lt;br /&gt;
** [[OpenScience]]&lt;br /&gt;
** [[Linux_Resources|Linux resources]]&lt;br /&gt;
** [[ProgrammingStyle|Programming naming convention and other coding styles]]&lt;br /&gt;
* [[Conseils_pour_faire_de_la_recherche|Conseils pour faire de la recherche]]&lt;br /&gt;
* [[TripPlanning|Tools for trip planning]]&lt;br /&gt;
* [[Public_Transportation_Datasets|Public transportation datasets]]&lt;br /&gt;
* [[Equipment|Equipment]] for data collection&lt;br /&gt;
** [[Rules_for_research_activities_during_the_COVID-19_pandemic|Rules for data collection during the COVID-19 pandemic]]&lt;br /&gt;
** [[VideoDataCollectionHowTo|How to collect video data]]&lt;br /&gt;
** [[Survol_des_équipements_vidéos_pour_collection_de_données|Overview of video data collection gear]]&lt;br /&gt;
* Rules for room/règles pour la salle [[B344|B344]]&lt;br /&gt;
* [[BoursesTransport|Liste des bourses pour les étudiants en transport]]&lt;/div&gt;</summary>
		<author><name>NicolasSaunier</name></author>	</entry>

	<entry>
		<id>https://www.polymtl.ca/wikitransport/index.php?title=Getting_Started_in_Graduate_Programs&amp;diff=1012</id>
		<title>Getting Started in Graduate Programs</title>
		<link rel="alternate" type="text/html" href="https://www.polymtl.ca/wikitransport/index.php?title=Getting_Started_in_Graduate_Programs&amp;diff=1012"/>
				<updated>2026-02-24T19:58:43Z</updated>
		
		<summary type="html">&lt;p&gt;NicolasSaunier : NicolasSaunier a déplacé la page GettingStartedPhD vers Getting Started in Graduate Programs&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Generic==&lt;br /&gt;
&lt;br /&gt;
* Study plan&lt;br /&gt;
* CAP workshops&lt;br /&gt;
* Literature review (possible relevant use of LLM tools for search and synthesis)&lt;br /&gt;
* [[OpenScience#Research_Data_Management|Data management plan]]&lt;br /&gt;
** identify reproducible research&lt;br /&gt;
** build benchmark to demonstrate the contributions&lt;br /&gt;
&lt;br /&gt;
== PhD specific==&lt;br /&gt;
&lt;br /&gt;
* Comprehensive exam: to be passed by the 4th semester, with automatic extension to 5th&lt;br /&gt;
** written part&lt;br /&gt;
** research proposal&lt;/div&gt;</summary>
		<author><name>NicolasSaunier</name></author>	</entry>

	<entry>
		<id>https://www.polymtl.ca/wikitransport/index.php?title=GettingStartedPhD&amp;diff=1013</id>
		<title>GettingStartedPhD</title>
		<link rel="alternate" type="text/html" href="https://www.polymtl.ca/wikitransport/index.php?title=GettingStartedPhD&amp;diff=1013"/>
				<updated>2026-02-24T19:58:43Z</updated>
		
		<summary type="html">&lt;p&gt;NicolasSaunier : NicolasSaunier a déplacé la page GettingStartedPhD vers Getting Started in Graduate Programs&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECTION [[Getting Started in Graduate Programs]]&lt;/div&gt;</summary>
		<author><name>NicolasSaunier</name></author>	</entry>

	<entry>
		<id>https://www.polymtl.ca/wikitransport/index.php?title=Getting_Started_in_Graduate_Programs&amp;diff=1011</id>
		<title>Getting Started in Graduate Programs</title>
		<link rel="alternate" type="text/html" href="https://www.polymtl.ca/wikitransport/index.php?title=Getting_Started_in_Graduate_Programs&amp;diff=1011"/>
				<updated>2026-02-24T19:58:23Z</updated>
		
		<summary type="html">&lt;p&gt;NicolasSaunier : Page créée avec « ==Generic==  * Study plan * CAP workshops * Literature review (possible relevant use of LLM tools for search and synthesis) * OpenScience#Research_Data_Management|Data m... »&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Generic==&lt;br /&gt;
&lt;br /&gt;
* Study plan&lt;br /&gt;
* CAP workshops&lt;br /&gt;
* Literature review (possible relevant use of LLM tools for search and synthesis)&lt;br /&gt;
* [[OpenScience#Research_Data_Management|Data management plan]]&lt;br /&gt;
** identify reproducible research&lt;br /&gt;
** build benchmark to demonstrate the contributions&lt;br /&gt;
&lt;br /&gt;
== PhD specific==&lt;br /&gt;
&lt;br /&gt;
* Comprehensive exam: to be passed by the 4th semester, with automatic extension to 5th&lt;br /&gt;
** written part&lt;br /&gt;
** research proposal&lt;/div&gt;</summary>
		<author><name>NicolasSaunier</name></author>	</entry>

	<entry>
		<id>https://www.polymtl.ca/wikitransport/index.php?title=Accueil&amp;diff=1010</id>
		<title>Accueil</title>
		<link rel="alternate" type="text/html" href="https://www.polymtl.ca/wikitransport/index.php?title=Accueil&amp;diff=1010"/>
				<updated>2026-02-24T19:49:56Z</updated>
		
		<summary type="html">&lt;p&gt;NicolasSaunier : /* Resources / Ressources */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;big&amp;gt;'''Bienvenue sur PolyWikiTI, le wiki de la recherche en Transports Intelligents, Actifs et Sécuritaires à Polytechnique Montréal (PolyTI)'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''Welcome to PolyWikiTI, the wiki about Research in Intelligent, Active and Safe Transport at Polytechnique Montréal (PolyIT)'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
maintenu par / maintained by [http://nicolas.saunier.confins.net Nicolas Saunier]&lt;br /&gt;
&lt;br /&gt;
* Professors in the Groupe Transport et Mobilité Durables (Sustainable Transport and Mobility)&lt;br /&gt;
** [https://www.polymtl.ca/expertises/boisjoly-genevieve Geneviève Boisjoly]&lt;br /&gt;
** [https://www.polymtl.ca/expertises/ciari-francesco Francesco Ciari]&lt;br /&gt;
** [http://www.polymtl.ca/recherche/rc/professeurs/details.php?NoProf=322 Catherine Morency]&lt;br /&gt;
** [http://nicolas.saunier.confins.net Nicolas Saunier]&lt;br /&gt;
** [http://www.polymtl.ca/recherche/rc/professeurs/details.php?NoProf=190 Martin Trépanier]&lt;br /&gt;
** [https://www.polymtl.ca/expertises/waygood-owen Owen Waygood]&lt;br /&gt;
* Former professors&lt;br /&gt;
** [https://scholar.google.com/scholar?&amp;amp;q=karsten%20baass Karsten Baass]&lt;br /&gt;
** [http://www.transport.polymtl.ca/titre1.htm Robert Chapleau]&lt;br /&gt;
* [[students|Étudiants / students]]&lt;br /&gt;
&lt;br /&gt;
=Activities / Activités=&lt;br /&gt;
* [[SeminaireGroupe|Séminaires du groupe PolyTI]]&lt;br /&gt;
* [[SeminaireTransport|Séminaires Transport des professeurs et étudiants de l'École Polytechnique de Montréal]], organisés sur Teams en 2020-2021&lt;br /&gt;
* [[SeminaireInfo|Séminaire appliqué sur les outils informatiques de traitement de données (2011)]]&lt;br /&gt;
* [[ModelisationCirculation|Comité pour la modélisation (microscopique) de la circulation (CoMCI)]]&lt;br /&gt;
&lt;br /&gt;
=Research / Recherche=&lt;br /&gt;
Maybe we'll use https://polyit.pubpub.org/.&lt;br /&gt;
* [[PolyDatasets|Data]]&lt;br /&gt;
* Research Themes&lt;br /&gt;
** [[ResearchIdeas|Research project ideas]]&lt;br /&gt;
** [[BikeLab|Bike laboratory to collect traffic and infrastructure data]]&lt;br /&gt;
** [[StreetEvaluationFramework|Framework to evaluate the functions and impacts of streets]]&lt;br /&gt;
** [[Surrogate_Measures_of_Safety|Surrogate Measures of Safety]]&lt;br /&gt;
** [[VideoTracking|Video-based transportation data collection]]&lt;br /&gt;
** [[TrajectoryManagement|Trajectory Management and Analysis]]&lt;br /&gt;
** [[TrackingOptimization|Optimization of tracking performance]]&lt;br /&gt;
** [[VideoAnnotation|Annotation of video data, user trajectories and characteristics]]&lt;br /&gt;
** [[Trajectory_Learning|Methods to learn (cluster) trajectories (motion patterns)]]&lt;br /&gt;
** [[SimulationCalibration|Traffic micro-simulation calibration and validation]]&lt;br /&gt;
* [[OldProjects|Past projects]]&lt;br /&gt;
&lt;br /&gt;
=Resources / Ressources=&lt;br /&gt;
* Études supérieures et recherche à Polytechnique&lt;br /&gt;
** Faire un [[PolyPlanEtude|plan d'étude au cycle supérieur en transport]], [[StageMaitrise|un rapport de stage en maîtrise professionnelle]]&lt;br /&gt;
** [[GettingStartedPhD|Getting started in a master's or PhD]]&lt;br /&gt;
** [[GestionEquipe|Organisation du groupe de recherche]]&lt;br /&gt;
* Ressources pour les cours de [[Ressources_pour_les_cours_de_circulation|circulation et transport]]&lt;br /&gt;
* Data Analysis / Analyse de données&lt;br /&gt;
** [[Programming_Resources|Programming resources]]&lt;br /&gt;
** [[Data_Science_Resources|Data Science resources]]&lt;br /&gt;
** [[SafetyResources|(Road) Safety resources]]&lt;br /&gt;
** [[MapTrafficResources|Map and Traffic Processing (Simulation) Resources]]&lt;br /&gt;
** [[PythonHowTo|Python how-to]]&lt;br /&gt;
** [[Computing_Tools_for_Research|Computing tools for research (Liste d'outils informatiques pour la recherche)]]&lt;br /&gt;
** [[OpenScience]]&lt;br /&gt;
** [[Linux_Resources|Linux resources]]&lt;br /&gt;
** [[ProgrammingStyle|Programming naming convention and other coding styles]]&lt;br /&gt;
* [[Conseils_pour_faire_de_la_recherche|Conseils pour faire de la recherche]]&lt;br /&gt;
* [[TripPlanning|Tools for trip planning]]&lt;br /&gt;
* [[Public_Transportation_Datasets|Public transportation datasets]]&lt;br /&gt;
* [[Equipment|Equipment]] for data collection&lt;br /&gt;
** [[Rules_for_research_activities_during_the_COVID-19_pandemic|Rules for data collection during the COVID-19 pandemic]]&lt;br /&gt;
** [[VideoDataCollectionHowTo|How to collect video data]]&lt;br /&gt;
** [[Survol_des_équipements_vidéos_pour_collection_de_données|Overview of video data collection gear]]&lt;br /&gt;
* Rules for room/règles pour la salle [[B344|B344]]&lt;br /&gt;
* [[BoursesTransport|Liste des bourses pour les étudiants en transport]]&lt;/div&gt;</summary>
		<author><name>NicolasSaunier</name></author>	</entry>

	<entry>
		<id>https://www.polymtl.ca/wikitransport/index.php?title=GestionEquipe&amp;diff=1009</id>
		<title>GestionEquipe</title>
		<link rel="alternate" type="text/html" href="https://www.polymtl.ca/wikitransport/index.php?title=GestionEquipe&amp;diff=1009"/>
				<updated>2026-01-26T14:26:30Z</updated>
		
		<summary type="html">&lt;p&gt;NicolasSaunier : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Formation éthique==&lt;br /&gt;
les étudiants doivent connaître les règles d'intégrité en recherche&lt;br /&gt;
&lt;br /&gt;
https://www.polymtl.ca/renseignements-generaux/documents-officiels/6-recherche-et-innovation&lt;br /&gt;
&lt;br /&gt;
==Santé et sécurité au travail (SST)==&lt;br /&gt;
Faire une évaluation avant une sortie sur le terrain si l'activité implique des risques plus importants que des déplacements personnels. &lt;br /&gt;
&lt;br /&gt;
==Bonnes pratiques==&lt;br /&gt;
* Assurer la transparence et l’équité des pratiques&lt;br /&gt;
* Faire connaitre les opportunités et ressources sur le campus&lt;br /&gt;
* Soutenir l’intégration des nouvelles recrues&lt;br /&gt;
* Encourager les échanges et la convivialité&lt;br /&gt;
* Renforcer la cohésion et l’esprit d’équipe&lt;br /&gt;
* Réduire la pression de performance et ses effets contreproductifs&lt;br /&gt;
* Favoriser la santé globale, le bien-être et l’équilibre de vie&lt;br /&gt;
* Aménager des espaces agréables et confortables&lt;br /&gt;
* Rester à l’écoute des besoins&lt;br /&gt;
&lt;br /&gt;
Tiré de [https://share.polymtl.ca/alfresco/service/api/path/content;cm:content/workspace/SpacesStore/Company%20Home/Sites/edi-web/documentLibrary/Labos-inclusifs/Labos-inclusifs_Recommandations.pdf?guest=true Document synthèse des bonnes pratiques]&lt;br /&gt;
&lt;br /&gt;
==Ressources==&lt;br /&gt;
* https://www.polymtl.ca/edi/labos-inclusifs&lt;br /&gt;
* [https://share.polymtl.ca/alfresco/service/api/path/content;cm:content/workspace/SpacesStore/Company%20Home/Sites/edi-web/documentLibrary/Labos-inclusifs/Continuum-sante-mentale.pdf?guest=true Continuum en santé mentale] [https://share.polymtl.ca/alfresco/service/api/path/content;cm:content/workspace/SpacesStore/Company%20Home/Sites/edi-web/documentLibrary/Labos-inclusifs/Continuum-mental-health.pdf?guest=true Mental Health Continuum]&lt;/div&gt;</summary>
		<author><name>NicolasSaunier</name></author>	</entry>

	<entry>
		<id>https://www.polymtl.ca/wikitransport/index.php?title=SeminaireGroupe&amp;diff=1008</id>
		<title>SeminaireGroupe</title>
		<link rel="alternate" type="text/html" href="https://www.polymtl.ca/wikitransport/index.php?title=SeminaireGroupe&amp;diff=1008"/>
				<updated>2026-01-16T21:10:26Z</updated>
		
		<summary type="html">&lt;p&gt;NicolasSaunier : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* 2026&lt;br /&gt;
** 16/01/26: Nicolas Rodwell Bent presented on Traffic Modelling Visualization techniques&lt;br /&gt;
* 2025&lt;br /&gt;
** 21/11/2025: group meeting and discussion of data organization (see [[OpenScience]])&lt;br /&gt;
** 31/10/2025: group meeting&lt;br /&gt;
* 2024&lt;br /&gt;
** research data planning and management&lt;br /&gt;
** 10 or 12/07/2024: discussion of paper in https://tsr.international/TSR/issue/view/3297&lt;br /&gt;
** 21/06/2024: Tristan Fortin, Study of road user understanding, behavior and safety on bicycle boulevards&lt;br /&gt;
** 07/06/2024: Frédérick Chabot, Characterization framework to assess the performance of a tool for the observation of life in public spaces&lt;br /&gt;
** 31/05/2024: Qingwu Liu, A comprehensive case study on deep learning-based object recognition for safety analysis on roadside and vehicle-mounted dataset&lt;br /&gt;
** 17/05/2024: Guillaume Néven, Probabilistic approach to path travel time estimation&lt;br /&gt;
* 2023&lt;br /&gt;
** Summer seminar&lt;br /&gt;
*** Tristan Fortin, Collecte de données sur les vélorues : analyse vidéo et questionnaire&lt;br /&gt;
*** Yash Pratap Singh, Benchmarking Computer Vision Surveillance Algorithms for Practical Traffic Applications&lt;br /&gt;
*** Qingwu Liu, How good are deep learning methods for automated road safety analysis using video data? An experimental study&lt;br /&gt;
*** Zhangcun Yan, Investigating and Modeling Motorized and Non-Motorized Interaction Behavior in Shared Spaces of Intersections&lt;br /&gt;
*** Tarcisio Costa de Souza Neto, Automatisation d'extraction et d'analyse des données ouvertes de transports&lt;br /&gt;
*** Reza Zarei, “Questionnaire Design” for surveying drivers' attitudes towards road safety.  &lt;br /&gt;
*** Edem Houndjafo, Étude pour l’installation de feux cyclistes aux intersections du chemin de la Côte Sainte Catherine&lt;br /&gt;
*** Xinyu Chen, Matrix and Tensor Models for Spatiotemporal Traffic Data Modeling&lt;br /&gt;
*** Mohammad Ghavidel, Smartphone Accelerometer Sensor Orientation: best Techniques and its applications&lt;br /&gt;
*** Frédérick Chabot, Develop a performance characterization framework for a public space - public life data collection tool&lt;br /&gt;
** group meetings open to everyone starting February 23rd: discussions and exchanges of ideas, on research projects and technical discussions, sometimes based on published papers (reading club). &lt;br /&gt;
*** February 23rd: data management plan (&amp;quot;plan de gestion des données&amp;quot;) https://guides.biblio.polymtl.ca/donneesrecherche&lt;br /&gt;
*** other ideas: open access publication, peer review is largely a failure... https://experimentalhistory.substack.com/p/the-rise-and-fall-of-peer-review So we could write papers differently: https://psyarxiv.com/2uxwk/&lt;br /&gt;
&lt;br /&gt;
* 2012&lt;br /&gt;
** 26 juillet&lt;br /&gt;
** 19 juillet&lt;br /&gt;
** 12 juillet&lt;br /&gt;
** 5 juillet: application du Canadian Capacity Guide (François), http://www.runmycode.org&lt;br /&gt;
** 29 juin: projet de collecte de données sur les carrefours giratoires (Arthur)&lt;br /&gt;
** 22 juin: projet marquage au sol (Caio)&lt;br /&gt;
** 15 juin: discussion des paramètres de description des carrefours giratoires (Paul)&lt;br /&gt;
** 8 juin: demo background subtraction (Anurag, Jean-Philippe), de traffic intelligence&lt;br /&gt;
** 1 juin: presentation de Mohamed sur les méthodes de prédictions des mouvement (en particulier en robotique), résultats graphiques de François&lt;br /&gt;
** 18 mai: première réunion&lt;/div&gt;</summary>
		<author><name>NicolasSaunier</name></author>	</entry>

	<entry>
		<id>https://www.polymtl.ca/wikitransport/index.php?title=Public_Transportation_Datasets&amp;diff=1007</id>
		<title>Public Transportation Datasets</title>
		<link rel="alternate" type="text/html" href="https://www.polymtl.ca/wikitransport/index.php?title=Public_Transportation_Datasets&amp;diff=1007"/>
				<updated>2026-01-02T13:22:40Z</updated>
		
		<summary type="html">&lt;p&gt;NicolasSaunier : /* Traffic Data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See [[PolyDatasets|PolyIT Datasets]], generally not public for privacy reasons.&lt;br /&gt;
&lt;br /&gt;
Another resource: https://sites.google.com/view/transport-research-network/shared-resources/datasets&lt;br /&gt;
&lt;br /&gt;
==Traffic Data==&lt;br /&gt;
* DLR Urban Traffic dataset (DLR-UT) https://elib.dlr.de/207287/&lt;br /&gt;
* INTERnational, Adversarial and Cooperative moTION Dataset https://interaction-dataset.com/&lt;br /&gt;
* NeurIPS 2022 Traffic4cast competition https://github.com/iarai/NeurIPS2022-traffic4cast&lt;br /&gt;
* CitySim https://github.com/ozheng1993/UCF-SST-CitySim-Dataset&lt;br /&gt;
* PEMS-BAY / METR-LA liyaguang/DCRNN: Implementation of Diffusion Convolutional Recurrent Neural Network in Tensorflow https://github.com/liyaguang/DCRNN&lt;br /&gt;
* NAVER-SEOUL, HyunWookL/PM-MemNet https://github.com/HyunWookL/PM-MemNet&lt;br /&gt;
* Uber movement data https://movement.uber.com/?lang=en-CA&lt;br /&gt;
* Detector-based traffic data from many countries https://utd19.ethz.ch/index.html&lt;br /&gt;
* Trajectories&lt;br /&gt;
** BirdsEyeTrajectoryReconstructionSHRP2NDS https://doi.org/10.15787/VTT1/EFYEJR https://github.com/Yiru-Jiao/BirdsEyeTrajectoryReconstructionSHRP2NDS&lt;br /&gt;
** TJRD TS: http://tjrdts.linknova.cn (vehicle were tracked through millimeter wave radar sensors installed along the freeways in sequence, and trajectories were spliced)&lt;br /&gt;
** Trajnet++ pedestrian trajectory detection benchmark https://www.aicrowd.com/challenges/trajnet-a-trajectory-forecasting-challenge&lt;br /&gt;
** pNEUMA https://open-traffic.epfl.ch/&lt;br /&gt;
** Vehicle-Crowd Intraction (VCI): DUT dataset https://github.com/dongfang-steven-yang/vci-dataset-dut, CITR dataset https://github.com/dongfang-steven-yang/vci-dataset-citr&lt;br /&gt;
** Toyota Woven Prediction Dataset https://woven.toyota/en/prediction-dataset/&lt;br /&gt;
** highD dataset (and more recent: inD, roundD, uniD, etc): new dataset of naturalistic vehicle trajectories recorded on German highways, using a drone https://www.highd-dataset.com/&lt;br /&gt;
** Trajectories from Shanghai intersections https://www.kaggle.com/datasets/zcyan2/mixed-traffic-trajectory-dataset-in-from-shanghai&lt;br /&gt;
** Zen traffic data (2-km Japanese highway) https://zen-traffic-data.net/english/&lt;br /&gt;
* Open Data portals&lt;br /&gt;
** Montreal: counts, [http://donnees.ville.montreal.qc.ca/dataset/temps-de-parcours-sur-des-segments-routiers-historique Bluetooth travel times (continuous, 2016-2017)], [http://donnees.ville.montreal.qc.ca/dataset/mtl-trajet MTL trajet travel survey with trajectories (2016, 2017)], [http://donnees.ville.montreal.qc.ca/dataset/trajets-individuels-velo-enregistre-mon-resovelo cyclist trajectories (2014)]&lt;br /&gt;
** Quebec: [https://www.donneesquebec.ca/recherche/fr/dataset/rapports-d-accident road accidents], [https://www.donneesquebec.ca/recherche/fr/dataset/debit-de-circulation AADT]&lt;br /&gt;
* TRB Traffic flow theory and characteristics committee (AHB45) http://tft.eng.usf.edu/docs.htm (bottom of the page)&lt;br /&gt;
** includes links to Portland ITS Portal, PeMS in California, etc.&lt;br /&gt;
** NGSIM dataset: traffic data for highways and urban corridors taken from multiple cameras on high buildings https://catalog.data.gov/dataset/next-generation-simulation-ngsim-vehicle-trajectories&lt;br /&gt;
* Mobile century data https://bayen.berkeley.edu/downloads/mobile-century-data&lt;br /&gt;
* Traffic control data from the US&lt;br /&gt;
** Nevada http://challenger.nvfast.org/SPM/&lt;br /&gt;
** Utah http://udottraffic.utah.gov/ATSPM/&lt;br /&gt;
&lt;br /&gt;
==Automated Vehicles==&lt;br /&gt;
* Argoverse https://www.argoverse.org/&lt;br /&gt;
* Waymo open https://waymo.com/open&lt;br /&gt;
* Nuscenes https://www.nuscenes.org&lt;br /&gt;
* Volvo https://developer.volvocars.com/open-datasets/cirrus/&lt;br /&gt;
&lt;br /&gt;
==Video-related Datasets==&lt;br /&gt;
Image datasets of known objects are useful to train and test object classifiers&lt;br /&gt;
* Public video data set for road transportation applications (PDTV) http://www.tft.lth.se/video/co-operation/data-exchange/ ftp://barbapappa.tft.lth.se/&lt;br /&gt;
* Old synthetic and traffic video data http://i21www.ira.uka.de/image_sequences/&lt;br /&gt;
* Comprehensive cars dataset: http://mmlab.ie.cuhk.edu.hk/datasets/comp_cars/index.html&lt;br /&gt;
* MIT car data http://cbcl.mit.edu/software-datasets/CarData.html and person data http://cbcl.mit.edu/software-datasets/PedestrianData.html&lt;br /&gt;
* MIT Traffic Dataset http://www.ee.cuhk.edu.hk/~xgwang/MITtraffic.html&lt;br /&gt;
* UIUC car detection http://cogcomp.cs.illinois.edu/Data/Car/ and CMU car data http://vasc.ri.cmu.edu/idb/html/car/&lt;br /&gt;
* UCSD method for people counting with dataset http://www.svcl.ucsd.edu/projects/peoplecnt/&lt;br /&gt;
* Oxford annotated pedestrian dataset (Town Centre) http://www.robots.ox.ac.uk/ActiveVision/Research/Projects/2009bbenfold_headpose/project.html#datasets&lt;br /&gt;
* PETS datasets http://www.cvg.rdg.ac.uk/slides/pets.html&lt;br /&gt;
** 2009: people tracking with multiple cameras http://www.cvg.rdg.ac.uk/PETS2009/ (http://www.cvg.rdg.ac.uk/PETS2009/a.html)&lt;br /&gt;
** 2001: people and cars ftp://ftp.pets.rdg.ac.uk/pub/PETS2001/&lt;br /&gt;
* CityCars and CityPedestrians http://www.psi.toronto.edu/index.php?q=flobject%20analysis&lt;br /&gt;
* Gavrila http://www.gavrila.net/Research/Pedestrian_Detection/Daimler_Pedestrian_Benchmark_D/daimler_pedestrian_benchmark_d.html&lt;br /&gt;
* INRIA dataset used by N. Dalal (HoG classifiers) http://pascal.inrialpes.fr/data/human/&lt;br /&gt;
* Multi-View Car Dataset EPFL  http://cvlab.epfl.ch/data/pose/&lt;br /&gt;
* Multiple object type (including cars) from multiple view http://www.vision.caltech.edu/savarese/3Ddataset.html&lt;br /&gt;
* Pascal-type object datasets: http://www.image-net.org/challenges/LSVRC/2012/browse-synsets&lt;br /&gt;
* ETH datasets http://www.vision.ee.ethz.ch/datasets/index.en.html&lt;br /&gt;
* VIRAT Video Dataset (surveillance, road users, car parks) http://www.viratdata.org/&lt;br /&gt;
* NGSIM dataset: highways and urban corridors taken from multiple cameras on high buildings, with the computed results http://ngsim-community.org/&lt;br /&gt;
* The PASCAL Visual Object Classes Homepage contains sets of images of objects of various types, including people, bicycles, cars, etc. http://pascallin.ecs.soton.ac.uk/challenges/VOC/ (see also MIT SUN dataset http://groups.csail.mit.edu/vision/SUN/ and Caltech http://www.vision.caltech.edu/Image_Datasets/Caltech256/, MIT CBCL StreetScenes http://cbcl.mit.edu/software-datasets/streetscenes/)&lt;br /&gt;
* KITTI vision benchmark suite (images+lidar) http://www.cvlibs.net/datasets/kitti/ (object detection benchmark http://www.cvlibs.net/datasets/kitti/eval_object.php) and Karlsruhe objects http://www.cvlibs.net/datasets/karlsruhe_objects.html&lt;br /&gt;
* Longterm Observation of Scenes with Tracks Dataset (LOST) at WUSL http://lost.cse.wustl.edu/browse&lt;br /&gt;
* TRaffic ANd COngestionS (TRANCOS) dataset, a novel benchmark for (extremely overlapping) vehicle counting in traffic congestion situation http://agamenon.tsc.uah.es/Personales/rlopez/data/trancos/&lt;br /&gt;
* GRAM Road-Traffic Monitoring (GRAM-RTM) dataset, a novel benchmark for multi-vehicle tracking in real-time http://agamenon.tsc.uah.es/Personales/rlopez/data/rtm/&lt;br /&gt;
* Amazing online open source tool for annotation (and using Amazon mechanical turk) http://mit.edu/vondrick/vatic/&lt;br /&gt;
* The Comprehensive Cars (CompCars) dataset http://mmlab.ie.cuhk.edu.hk/datasets/comp_cars/index.html&lt;br /&gt;
* Cityscapes Dataset (fine and coarse segmentation) https://www.cityscapes-dataset.com/&lt;br /&gt;
** with CityPersons https://arxiv.org/abs/1702.05693&lt;br /&gt;
* Traffic sign detection challenge http://benchmark.ini.rub.de/?section=gtsdb&amp;amp;subsection=news&lt;br /&gt;
* Common objects in context (Microsoft COCO dataset) http://cocodataset.org&lt;br /&gt;
* Miovision Traffic Camera Dataset http://podoce.dinf.usherbrooke.ca/&lt;br /&gt;
* Synthia dataset (SYNTHetic collection of Imagery and Annotations) http://synthia-dataset.net/&lt;br /&gt;
* [http://wider-challenge.org/ WIDER Face &amp;amp; Pedestrian Challenge] - Track 2: Pedestrian Detection https://competitions.codalab.org/competitions/19118&lt;br /&gt;
* BDD100K: A Large-scale Diverse Driving Video Database: http://bair.berkeley.edu/blog/2018/05/30/bdd/&lt;br /&gt;
* Stanford Drone Dataset: http://cvgl.stanford.edu/projects/uav_data/&lt;br /&gt;
* The Unmanned Aerial Vehicle Benchmark: Object Detection and Tracking https://sites.google.com/site/daviddo0323/projects/uavdt&lt;br /&gt;
* Collective Activity Dataset: https://vhosts.eecs.umich.edu/vision//activity-dataset.html&lt;br /&gt;
* Abnormal Event Detection at 150 FPS: http://www.cse.cuhk.edu.hk/leojia/projects/detectabnormal/index.html&lt;br /&gt;
* Traffic Research, GRAPH@FIT, Brno University of Technology (camera calibration, car image box, speed measurements): https://medusa.fit.vutbr.cz/traffic/&lt;br /&gt;
* Vision Meets Drones http://aiskyeye.com/&lt;br /&gt;
* MOTChallenge: The Multiple Object Tracking Benchmark https://motchallenge.net/&lt;br /&gt;
* AI city challenge: https://www.aicitychallenge.org/ (dataset CityFlow)&lt;br /&gt;
* STREETS: A Novel Camera Network Dataset for Traffic Flow https://github.com/corey-snyder/STREETS&lt;br /&gt;
* MOT challenge, includes other datasets https://motchallenge.net/&lt;br /&gt;
* Event cameras&lt;br /&gt;
** MVSEC: The Multi Vehicle Stereo Event Camera Dataset https://daniilidis-group.github.io/mvsec/&lt;br /&gt;
** DSEC Dataset: A Stereo Event Camera Dataset for Driving Scenarios https://dsec.ifi.uzh.ch/&lt;br /&gt;
* DrivingStereo: A Large-Scale Dataset for Stereo Matching in Autonomous Driving Scenarios https://drivingstereo-dataset.github.io/&lt;br /&gt;
* Sydney group: driving around Sydney campus http://its.acfr.usyd.edu.au/datasets/&lt;br /&gt;
* Infrared data: FLIR https://www.flir.quebec/oem/adas/adas-dataset-form/&lt;br /&gt;
* Infrared and visual comparison: CAMEL https://camel.ece.gatech.edu/&lt;br /&gt;
* MOTSynth (pedestrian videos from GTA V): https://aimagelab.ing.unimore.it/imagelab/page.asp?IdPage=42&lt;br /&gt;
* Mobility Aids http://mobility-aids.informatik.uni-freiburg.de/&lt;br /&gt;
* X world, EvalAI (CVPR2022 AVA Accessibility Vision and Autonomy Challenge) https://eval.ai/challenge/1690/overview https://openaccess.thecvf.com/content/ICCV2021/papers/Zhang_X-World_Accessibility_Vision_and_Autonomy_Meet_ICCV_2021_paper.pdf&lt;br /&gt;
* UCLA activity dataset https://vcla.stat.ucla.edu/Projects/Multiscale_Activity_Recognition/&lt;br /&gt;
* Multi-Object Multi-Actor, The first benchmark and dataset dedicated to activity parsing https://moma.stanford.edu&lt;br /&gt;
* LUMPI: The Leibniz University Multi-Perspective Intersection Dataset https://data.uni-hannover.de/dataset/lumpi&lt;br /&gt;
&lt;br /&gt;
==Crash datasets==&lt;br /&gt;
* WTS: Woven Traffic Safety Dataset https://woven-visionai.github.io/wts-dataset-homepage/&lt;br /&gt;
* CADP: A Novel Dataset for CCTV Traffic Camera based Accident Analysis https://ankitshah009.github.io/accident_forecasting_traffic_camera&lt;br /&gt;
* TCP: Traffic Camera Pipeline https://github.com/BerkeleyAutomation/Traffic_Camera_Pipeline&lt;br /&gt;
&lt;br /&gt;
==LIDAR datasets==&lt;br /&gt;
Interesting applications https://scholar.google.com/scholar?&amp;amp;q=lidar%20urban%20environment%20parking&lt;br /&gt;
* MulRan: Multimodal Range Dataset for Urban Place Recognition https://sites.google.com/view/mulran-pr&lt;br /&gt;
* Complex Urban LiDAR Data Set (more robotics?) http://irap.kaist.ac.kr/dataset&lt;br /&gt;
&lt;br /&gt;
==Driver Simulator/Naturalistic Driving==&lt;br /&gt;
* [https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0174959 Driver behavior profiling: An investigation with different smartphone sensors and machine learning] https://github.com/jair-jr/driverBehaviorDataset&lt;br /&gt;
* Real World Driving to Assess Driver Workload https://www.hcilab.org/research/hcilab-driving-dataset/&lt;br /&gt;
* SIMULATOR STUDY I: A Multimodal Dataset for Various Forms of Distracted Driving https://osf.io/c42cn/&lt;/div&gt;</summary>
		<author><name>NicolasSaunier</name></author>	</entry>

	<entry>
		<id>https://www.polymtl.ca/wikitransport/index.php?title=Trajectory_Management_and_Analysis&amp;diff=1006</id>
		<title>Trajectory Management and Analysis</title>
		<link rel="alternate" type="text/html" href="https://www.polymtl.ca/wikitransport/index.php?title=Trajectory_Management_and_Analysis&amp;diff=1006"/>
				<updated>2025-12-18T21:56:54Z</updated>
		
		<summary type="html">&lt;p&gt;NicolasSaunier : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* trajectory clustering in 2026&lt;br /&gt;
** trajectory datasets: you may start to look at public ones (https://github.com/crowdbotp/OpenTraj), though we may have to ask for ethics approval before starting the project&lt;br /&gt;
** trajectory clustering methods: I have worked in that area before, eg with http://n.saunier.free.fr/saunier/stock/saunier06clustering.pdf amd I have found this new work that seems quite interesting: https://github.com/InhwanBae/EigenTrajectory&lt;br /&gt;
&lt;br /&gt;
* new ideas 2021&lt;br /&gt;
** come back to motion prediction: https://arxiv.org/abs/1908.11472&lt;br /&gt;
** loop back on work by Laurent Boucaud and Mohsen Rezaie&lt;br /&gt;
* Data structure for trajectories?&lt;br /&gt;
** dimention: 2D, 3D?&lt;br /&gt;
** time dimension: constant sampling rate?&lt;br /&gt;
* Application data:&lt;br /&gt;
** GPS: potentially different sampling rate&lt;br /&gt;
** fixed point detection (eg, BT)&lt;br /&gt;
** mobile id detection (BT from mobile sensors such as smartphones (Y. Malinovskiy))&lt;br /&gt;
** tracking from video data: potential missing points (occlusion)&lt;br /&gt;
** uncertain positions (spatial and time)&lt;br /&gt;
* Exceptions ??&lt;br /&gt;
* Python bindings: inspiration from OpenCV?&lt;br /&gt;
* Generic interface to different database engines, possibly with spatial extensions (eg PostgreSQL with PostGIS, SQLite with SpatiaLite)&lt;br /&gt;
* Representation of clusters, motion patterns: prototypes, paths, Gaussian processes&lt;br /&gt;
** motion prediction from historical data / large datasets&lt;br /&gt;
* Use of Catch for tests (https://github.com/philsquared/Catch): [https://raw.github.com/philsquared/Catch/master/single_include/catch.hpp header] only&lt;br /&gt;
&lt;br /&gt;
==Trajectory Filtering==&lt;br /&gt;
* Wikipedia https://en.wikipedia.org/wiki/Numerical_differentiation https://en.wikipedia.org/wiki/Numerical_smoothing_and_differentiation https://en.wikipedia.org/wiki/Finite_difference_coefficients&lt;br /&gt;
* papers: (from https://encrypted.google.com/search?hl=en&amp;amp;q=Savitzky-Golay%20vehicle%20trajectories)&lt;br /&gt;
http://www.sciencedirect.com/science/article/pii/S0968090X1100091X https://encrypted.google.com/url?sa=t&amp;amp;rct=j&amp;amp;q=&amp;amp;esrc=s&amp;amp;source=web&amp;amp;cd=2&amp;amp;cad=rja&amp;amp;uact=8&amp;amp;ved=0CCcQFjAB&amp;amp;url=http%3A%2F%2Fentpe.fr%2Ffr%2Fcontent%2Fdownload%2F3451%2F21866%2Ffile%2F09-3831.pdf&amp;amp;ei=FtnrU6uFN5D2yQSKu4DoCw&amp;amp;usg=AFQjCNGdla4RfBqPPmGR_KC8_lAUH2eE0A&amp;amp;sig2=PKT_UdGYDQYQfyekvvKerQ&amp;amp;bvm=bv.72938740,d.aWw http://www.academia.edu/6190206/Using_Drivers_Jerks_Profile_in_Computer_Vision-Based_Traffic_Safety_Evaluations._In_Transportation_Research_Board_93rd_Annual_Meeting_January_2014&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Data Sources==&lt;br /&gt;
* http://www.rtreeportal.org/&lt;br /&gt;
* http://crawdad.cs.dartmouth.edu/data.php, eg http://crawdad.cs.dartmouth.edu/epfl/mobility&lt;br /&gt;
* http://research.microsoft.com/en-us/downloads/b16d359d-d164-469e-9fd4-daa38f2b2e13/default.aspx&lt;br /&gt;
&lt;br /&gt;
==Resources==&lt;br /&gt;
* Microsoft Research http://research.microsoft.com/pubs/164590/KDD12-PopularRoutes.pdf&lt;br /&gt;
* Vlachos (LCSS) http://alumni.cs.ucr.edu/~mvlachos/publications.html&lt;br /&gt;
* http://www-ctp.di.fct.unl.pt/~fb/gisruk2011_final.pdf&lt;br /&gt;
* http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=5337231&lt;br /&gt;
* http://isl.cs.unipi.gr/pubs/theses/Frentzos_PhD_Thesis_EN.pdf&lt;/div&gt;</summary>
		<author><name>NicolasSaunier</name></author>	</entry>

	<entry>
		<id>https://www.polymtl.ca/wikitransport/index.php?title=GestionEquipe&amp;diff=1005</id>
		<title>GestionEquipe</title>
		<link rel="alternate" type="text/html" href="https://www.polymtl.ca/wikitransport/index.php?title=GestionEquipe&amp;diff=1005"/>
				<updated>2025-12-15T20:19:06Z</updated>
		
		<summary type="html">&lt;p&gt;NicolasSaunier : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Formation éthique==&lt;br /&gt;
les étudiants doivent connaître les règles d'intégrité en recherche&lt;br /&gt;
&lt;br /&gt;
https://www.polymtl.ca/renseignements-generaux/documents-officiels/6-recherche-et-innovation&lt;br /&gt;
&lt;br /&gt;
==Bonnes pratiques==&lt;br /&gt;
* Assurer la transparence et l’équité des pratiques&lt;br /&gt;
* Faire connaitre les opportunités et ressources sur le campus&lt;br /&gt;
* Soutenir l’intégration des nouvelles recrues&lt;br /&gt;
* Encourager les échanges et la convivialité&lt;br /&gt;
* Renforcer la cohésion et l’esprit d’équipe&lt;br /&gt;
* Réduire la pression de performance et ses effets contreproductifs&lt;br /&gt;
* Favoriser la santé globale, le bien-être et l’équilibre de vie&lt;br /&gt;
* Aménager des espaces agréables et confortables&lt;br /&gt;
* Rester à l’écoute des besoins&lt;br /&gt;
&lt;br /&gt;
Tiré de [https://share.polymtl.ca/alfresco/service/api/path/content;cm:content/workspace/SpacesStore/Company%20Home/Sites/edi-web/documentLibrary/Labos-inclusifs/Labos-inclusifs_Recommandations.pdf?guest=true Document synthèse des bonnes pratiques]&lt;br /&gt;
&lt;br /&gt;
==Ressources==&lt;br /&gt;
* https://www.polymtl.ca/edi/labos-inclusifs&lt;br /&gt;
* [https://share.polymtl.ca/alfresco/service/api/path/content;cm:content/workspace/SpacesStore/Company%20Home/Sites/edi-web/documentLibrary/Labos-inclusifs/Continuum-sante-mentale.pdf?guest=true Continuum en santé mentale] [https://share.polymtl.ca/alfresco/service/api/path/content;cm:content/workspace/SpacesStore/Company%20Home/Sites/edi-web/documentLibrary/Labos-inclusifs/Continuum-mental-health.pdf?guest=true Mental Health Continuum]&lt;/div&gt;</summary>
		<author><name>NicolasSaunier</name></author>	</entry>

	<entry>
		<id>https://www.polymtl.ca/wikitransport/index.php?title=Data_Science_Resources&amp;diff=1004</id>
		<title>Data Science Resources</title>
		<link rel="alternate" type="text/html" href="https://www.polymtl.ca/wikitransport/index.php?title=Data_Science_Resources&amp;diff=1004"/>
				<updated>2025-11-27T03:49:45Z</updated>
		
		<summary type="html">&lt;p&gt;NicolasSaunier : /* Spatial Analysis */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=General Books=&lt;br /&gt;
* Free books on data science http://www.learndatasci.com/free-data-science-books&lt;br /&gt;
* Many online books on various data science topics on https://bookdown.org/&lt;br /&gt;
&lt;br /&gt;
=Code=&lt;br /&gt;
* Data science using Python https://github.com/jakevdp/PythonDataScienceHandbook (see [[Programming_Resources|Programming resources]] for Python and other languages)&lt;br /&gt;
* Python data science handbook https://jakevdp.github.io/PythonDataScienceHandbook/ &lt;br /&gt;
** [https://github.com/jupyter/jupyter/wiki Gallery of Jupyter Notebooks on programming, data science, etc.]&lt;br /&gt;
* Examples and tutorials (Jupyter notebooks) for the transportation data management course CIV8760 (in French) https://github.com/nsaunier/CIV8760/&lt;br /&gt;
* PolyIT GitHub https://github.com/nsaunier/TransportDataEngineering&lt;br /&gt;
&lt;br /&gt;
=Data Management=&lt;br /&gt;
* [http://www.datacarpentry.org/lessons/ Data carpentry]&lt;br /&gt;
* A Quick Guide to Organizing Computational Biology Projects https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1000424 &lt;br /&gt;
* Données de recherche https://guides.biblio.polymtl.ca/donneesrecherche [[OpenScience|open science ou science ouverte]], incluant les politiques de gestion des données de recherche&lt;br /&gt;
&lt;br /&gt;
=Numerical Methods=&lt;br /&gt;
* Python Programming And Numerical Methods: A Guide For Engineers And Scientists¶ https://pythonnumericalmethods.studentorg.berkeley.edu/notebooks/Index.html&lt;br /&gt;
&lt;br /&gt;
=Statistics=&lt;br /&gt;
* Statistical Thinking for the 21st Century https://statsthinking21.org/&lt;br /&gt;
* Learning Statistics with R https://learningstatisticswithr.com/&lt;br /&gt;
* Answering questions with data https://crumplab.com/statistics/&lt;br /&gt;
* Carnegie Mellon University free online courses: [https://oli.cmu.edu/courses/probability-statistics-open-free/ Probability &amp;amp; Statistics] [https://oli.cmu.edu/courses/statistical-reasoning-copy/  Statistical Reasoning]&lt;br /&gt;
* Scientific Approaches to Transportation Research http://onlinepubs.trb.org/Onlinepubs/nchrp/cd-22/start.htm&lt;br /&gt;
* Understanding and Communicating Multimodal Transportation Data http://web.cecs.pdx.edu/~monserec/t.data/&lt;br /&gt;
* (French) resources&lt;br /&gt;
** Cours MTH2302C: Probabilités et statistique, Denis Marcotte http://cours.polymtl.ca/geo/marcotte/mth2302c.html&lt;br /&gt;
** Notes et ebooks de Ricco Rakotomalala https://cours-machine-learning.blogspot.com/&lt;br /&gt;
** Cours du master économétrie et statistique appliquée de l'Université d’Orléans https://www.univ-orleans.fr/deg/masters/ESA/CH/churlin_E.htm#_Universit%C3%A9_d%27Orl%C3%A9ans,_Master_Econom&lt;br /&gt;
** Explication et interprétation des modèles de choix discrets https://mate-shs.cnrs.fr/actions/tutomate/tuto35-regression-logistique-deauvieau/&lt;br /&gt;
* Software&lt;br /&gt;
** R, Python (scipy, statsmodels)&lt;br /&gt;
** [http://gretl.sourceforge.net/ Gretl (econometrics)]&lt;br /&gt;
&lt;br /&gt;
=Artificial Intelligence=&lt;br /&gt;
* CS188 Intro to AI http://ai.berkeley.edu&lt;br /&gt;
* Finnish MOOC https://buildingai.elementsofai.com/&lt;br /&gt;
&lt;br /&gt;
=Machine Learning=&lt;br /&gt;
* List of machine learning books http://matpalm.com/blog/cool_machine_learning_books/&lt;br /&gt;
** Pattern Recognition and Machine Learning by Christopher Bishop free at https://www.microsoft.com/en-us/research/uploads/prod/2006/01/Bishop-Pattern-Recognition-and-Machine-Learning-2006.pdf&lt;br /&gt;
* Neural Networks: Zero to Hero https://karpathy.ai/zero-to-hero.html https://github.com/karpathy/nn-zero-to-hero (NanoGPT https://github.com/karpathy/nanoGPT)&lt;br /&gt;
* [http://profs.polymtl.ca/jagoulet/Site/Goulet_web_page_BOOK.html Probabilistic Machine Learning for Civil Engineers, James Goulet]&lt;br /&gt;
* [https://www.microsoft.com/en-us/research/publication/fourth-paradigm-data-intensive-scientific-discovery/ Hey, T. Tansley, S. &amp;amp; Tolle, K. (Eds.) The Fourth Paradigm: Data-Intensive Scientific Discovery Microsoft Research, 2009]&lt;br /&gt;
* [http://www.kdnuggets.com/ Site KDnuggets]&lt;br /&gt;
* (French) reference book: Cornuéjols, A.; Miclet, L. &amp;amp; Kodratoff, Y. Apprentissage Artificiel Eyrolles, 2002&lt;br /&gt;
* (French) [https://cours-machine-learning.blogspot.com/ Notes pour les cours de data mining de Ricco Rakotomalala]&lt;br /&gt;
** [https://tanagra-machine-learning.blogspot.com Tanagra by the same author]&lt;br /&gt;
* MOOC by IVADO on deep learning https://cours.edulib.org/courses/course-v1:IVADO+IA-101+P2018/&lt;br /&gt;
* Software&lt;br /&gt;
** [http://www.cs.waikato.ac.nz/ml/weka/ Weka]&lt;br /&gt;
&lt;br /&gt;
=Data Visualization=&lt;br /&gt;
* Tufte, E. R. The Visual Display of Quantitative Information Graphics Press, 1983&lt;br /&gt;
* Blog: [https://flowingdata.com/ Flowing data], [https://www.reddit.com/r/dataisbeautiful/ Data Is Beautiful (Reddit)]&lt;br /&gt;
* https://datavizcatalogue.com&lt;br /&gt;
* Articles: Wikipedia [https://en.wikipedia.org/wiki/Diagram diagrams] and [https://en.wikipedia.org/wiki/Chart Charts], [http://queue.acm.org/detail.cfm?id=1805128 ACM paper], [https://www.economist.com/node/15557455 The Economist]&lt;br /&gt;
* Labs:&lt;br /&gt;
** [http://hcil.umd.edu/ Human-Computer Interaction Lab] and [https://www.cattlab.umd.edu/ Center for Advanced Transportation Technology Laboratory], University of Maryland&lt;br /&gt;
** TRB [https://www.teachamerica.com/viz/viz2006.html 5th], [http://teachamerica.com/VIZ11/index.html 6th], [https://teachamerica.com/VIZ13/index.html 7th], [http://viz17.businesscatalyst.com/videos.html 8th] and [http://www.cvent.com/events/9th-international-visualization-in-transportation-symposium-a-better-view/event-summary-aa788f12e69f4c5c83936e5c800b1152.aspx 9th] International Visualization in Transportation Symposium and Workshop&lt;br /&gt;
** Professors [http://www.professeurs.polymtl.ca/thomas.hurtut/\#dataviz Thomas Hurtut (Polytechnique)], [http://perso.telecom-paristech.fr/~elc/ Éric Lecolinet (Télécom ParisTech)]&lt;br /&gt;
* Courses &lt;br /&gt;
** [https://www.graphics.stanford.edu/courses/cs448b-04-winter/ Data Visualization (CS448b)], Stanford&lt;br /&gt;
** [https://www.cs171.org/ CS117], Hanspeter Pfister, Harvard&lt;br /&gt;
* Videos: [https://www.youtube.com/watch?v=AdSZJzb-aX8 The Art of Data Visualization | PBS Digital Studios], [https://www.youtube.com/watch?v=-xS7QJhVbcM Harvard i-lab | Data Visualization for Non-Programmers], [https://www.youtube.com/watch?v=aT4JvF7sglg Mike Bostock (D3js) - Keynote], [https://www.youtube.com/watch?v=R-oiKt7bUU8 Designing Data Visualizations with Noah Iliinsky]&lt;br /&gt;
* Libraries / tools&lt;br /&gt;
** Python: [https://matplotlib.org/ matplotlib], [https://seaborn.pydata.org/ seaborn]&lt;br /&gt;
** R: [https://ggplot2.tidyverse.org/ ggplot2]&lt;br /&gt;
** Javascript: [https://d3js.org/ D3.js]&lt;br /&gt;
** Old: [http://www.gnuplot.info gnuplot]&lt;br /&gt;
&lt;br /&gt;
=Time Series=&lt;br /&gt;
* Forecasting: Principles and Practice (2nd ed) https://otexts.com/fpp2/&lt;br /&gt;
&lt;br /&gt;
=Spatial Data=&lt;br /&gt;
* Introduction to Geospatial Concepts https://datacarpentry.org/organization-geospatial/&lt;br /&gt;
* QGIS documentation: [https://docs.qgis.org/latest/fr/docs/index.html français], [https://docs.qgis.org/latest/en/docs/index.html english]&lt;br /&gt;
** A Gentle Introduction to GIS https://docs.qgis.org/latest/en/docs/gentle_gis_introduction/index.html&lt;br /&gt;
** QGIS how-to: [https://www.qgistutorials.com/en/docs/3/creating_heatmaps.html heatmaps], [https://www.giscourse.com/how-to-add-openstreetmap-basemaps-in-qgis-3-0/|add OSM layer]&lt;br /&gt;
* SpatiaLite cookbook http://www.gaia-gis.it/gaia-sins/spatialite-cookbook-5/index.html&lt;br /&gt;
* Introduction to Python for Geographic Data Analysis https://python-gis-book.readthedocs.io&lt;br /&gt;
* Introduction to GIS Programming https://geog-312.gishub.org&lt;br /&gt;
* (French) books from EPFL: Systèmes d'Information Géographique [https://www.researchgate.net/publication/320979981_Systemes_d%27Information_Geographique_1 Partie 1] et [https://www.researchgate.net/publication/320980079_Systemes_d%27Information_Geographique_2 Partie 2]&lt;br /&gt;
* (French) resources, including online courses in https://claroline-connect.univ-st-etienne.fr/web/app.php/resource/open/icap_wiki/224152#/&lt;br /&gt;
&lt;br /&gt;
=Spatial Analysis=&lt;br /&gt;
* [https://ipeagit.github.io/intro_access_book/ Introduction to urban accessibility, a practical guide with R]&lt;br /&gt;
* [https://paezha.github.io/spatial-analysis-r/ An Introduction to Spatial Data Analysis and Statistics: A Course in R], Prof. Antonio Paez&lt;br /&gt;
* [https://mgimond.github.io/Spatial/index.html Intro to GIS and Spatial Analysis]&lt;br /&gt;
* [https://pysal.org Python Spatial Analysis Library (PySAL)]&lt;br /&gt;
* [https://geodacenter.github.io/documentation.html Documentation de GeoDa]&lt;br /&gt;
* [https://www.spatialanalysisonline.com/ Geospatial Analysis - A comprehensive guide]&lt;br /&gt;
* [https://spacetimewithr.org Spatio-Temporal Statistics with R]&lt;br /&gt;
* [https://introsda.readthedocs.io/en/latest/index.html Introduction to Spatial Data Analysis], Aalto University&lt;/div&gt;</summary>
		<author><name>NicolasSaunier</name></author>	</entry>

	<entry>
		<id>https://www.polymtl.ca/wikitransport/index.php?title=Data_Science_Resources&amp;diff=1003</id>
		<title>Data Science Resources</title>
		<link rel="alternate" type="text/html" href="https://www.polymtl.ca/wikitransport/index.php?title=Data_Science_Resources&amp;diff=1003"/>
				<updated>2025-11-27T03:49:09Z</updated>
		
		<summary type="html">&lt;p&gt;NicolasSaunier : /* Machine Learning */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=General Books=&lt;br /&gt;
* Free books on data science http://www.learndatasci.com/free-data-science-books&lt;br /&gt;
* Many online books on various data science topics on https://bookdown.org/&lt;br /&gt;
&lt;br /&gt;
=Code=&lt;br /&gt;
* Data science using Python https://github.com/jakevdp/PythonDataScienceHandbook (see [[Programming_Resources|Programming resources]] for Python and other languages)&lt;br /&gt;
* Python data science handbook https://jakevdp.github.io/PythonDataScienceHandbook/ &lt;br /&gt;
** [https://github.com/jupyter/jupyter/wiki Gallery of Jupyter Notebooks on programming, data science, etc.]&lt;br /&gt;
* Examples and tutorials (Jupyter notebooks) for the transportation data management course CIV8760 (in French) https://github.com/nsaunier/CIV8760/&lt;br /&gt;
* PolyIT GitHub https://github.com/nsaunier/TransportDataEngineering&lt;br /&gt;
&lt;br /&gt;
=Data Management=&lt;br /&gt;
* [http://www.datacarpentry.org/lessons/ Data carpentry]&lt;br /&gt;
* A Quick Guide to Organizing Computational Biology Projects https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1000424 &lt;br /&gt;
* Données de recherche https://guides.biblio.polymtl.ca/donneesrecherche [[OpenScience|open science ou science ouverte]], incluant les politiques de gestion des données de recherche&lt;br /&gt;
&lt;br /&gt;
=Numerical Methods=&lt;br /&gt;
* Python Programming And Numerical Methods: A Guide For Engineers And Scientists¶ https://pythonnumericalmethods.studentorg.berkeley.edu/notebooks/Index.html&lt;br /&gt;
&lt;br /&gt;
=Statistics=&lt;br /&gt;
* Statistical Thinking for the 21st Century https://statsthinking21.org/&lt;br /&gt;
* Learning Statistics with R https://learningstatisticswithr.com/&lt;br /&gt;
* Answering questions with data https://crumplab.com/statistics/&lt;br /&gt;
* Carnegie Mellon University free online courses: [https://oli.cmu.edu/courses/probability-statistics-open-free/ Probability &amp;amp; Statistics] [https://oli.cmu.edu/courses/statistical-reasoning-copy/  Statistical Reasoning]&lt;br /&gt;
* Scientific Approaches to Transportation Research http://onlinepubs.trb.org/Onlinepubs/nchrp/cd-22/start.htm&lt;br /&gt;
* Understanding and Communicating Multimodal Transportation Data http://web.cecs.pdx.edu/~monserec/t.data/&lt;br /&gt;
* (French) resources&lt;br /&gt;
** Cours MTH2302C: Probabilités et statistique, Denis Marcotte http://cours.polymtl.ca/geo/marcotte/mth2302c.html&lt;br /&gt;
** Notes et ebooks de Ricco Rakotomalala https://cours-machine-learning.blogspot.com/&lt;br /&gt;
** Cours du master économétrie et statistique appliquée de l'Université d’Orléans https://www.univ-orleans.fr/deg/masters/ESA/CH/churlin_E.htm#_Universit%C3%A9_d%27Orl%C3%A9ans,_Master_Econom&lt;br /&gt;
** Explication et interprétation des modèles de choix discrets https://mate-shs.cnrs.fr/actions/tutomate/tuto35-regression-logistique-deauvieau/&lt;br /&gt;
* Software&lt;br /&gt;
** R, Python (scipy, statsmodels)&lt;br /&gt;
** [http://gretl.sourceforge.net/ Gretl (econometrics)]&lt;br /&gt;
&lt;br /&gt;
=Artificial Intelligence=&lt;br /&gt;
* CS188 Intro to AI http://ai.berkeley.edu&lt;br /&gt;
* Finnish MOOC https://buildingai.elementsofai.com/&lt;br /&gt;
&lt;br /&gt;
=Machine Learning=&lt;br /&gt;
* List of machine learning books http://matpalm.com/blog/cool_machine_learning_books/&lt;br /&gt;
** Pattern Recognition and Machine Learning by Christopher Bishop free at https://www.microsoft.com/en-us/research/uploads/prod/2006/01/Bishop-Pattern-Recognition-and-Machine-Learning-2006.pdf&lt;br /&gt;
* Neural Networks: Zero to Hero https://karpathy.ai/zero-to-hero.html https://github.com/karpathy/nn-zero-to-hero (NanoGPT https://github.com/karpathy/nanoGPT)&lt;br /&gt;
* [http://profs.polymtl.ca/jagoulet/Site/Goulet_web_page_BOOK.html Probabilistic Machine Learning for Civil Engineers, James Goulet]&lt;br /&gt;
* [https://www.microsoft.com/en-us/research/publication/fourth-paradigm-data-intensive-scientific-discovery/ Hey, T. Tansley, S. &amp;amp; Tolle, K. (Eds.) The Fourth Paradigm: Data-Intensive Scientific Discovery Microsoft Research, 2009]&lt;br /&gt;
* [http://www.kdnuggets.com/ Site KDnuggets]&lt;br /&gt;
* (French) reference book: Cornuéjols, A.; Miclet, L. &amp;amp; Kodratoff, Y. Apprentissage Artificiel Eyrolles, 2002&lt;br /&gt;
* (French) [https://cours-machine-learning.blogspot.com/ Notes pour les cours de data mining de Ricco Rakotomalala]&lt;br /&gt;
** [https://tanagra-machine-learning.blogspot.com Tanagra by the same author]&lt;br /&gt;
* MOOC by IVADO on deep learning https://cours.edulib.org/courses/course-v1:IVADO+IA-101+P2018/&lt;br /&gt;
* Software&lt;br /&gt;
** [http://www.cs.waikato.ac.nz/ml/weka/ Weka]&lt;br /&gt;
&lt;br /&gt;
=Data Visualization=&lt;br /&gt;
* Tufte, E. R. The Visual Display of Quantitative Information Graphics Press, 1983&lt;br /&gt;
* Blog: [https://flowingdata.com/ Flowing data], [https://www.reddit.com/r/dataisbeautiful/ Data Is Beautiful (Reddit)]&lt;br /&gt;
* https://datavizcatalogue.com&lt;br /&gt;
* Articles: Wikipedia [https://en.wikipedia.org/wiki/Diagram diagrams] and [https://en.wikipedia.org/wiki/Chart Charts], [http://queue.acm.org/detail.cfm?id=1805128 ACM paper], [https://www.economist.com/node/15557455 The Economist]&lt;br /&gt;
* Labs:&lt;br /&gt;
** [http://hcil.umd.edu/ Human-Computer Interaction Lab] and [https://www.cattlab.umd.edu/ Center for Advanced Transportation Technology Laboratory], University of Maryland&lt;br /&gt;
** TRB [https://www.teachamerica.com/viz/viz2006.html 5th], [http://teachamerica.com/VIZ11/index.html 6th], [https://teachamerica.com/VIZ13/index.html 7th], [http://viz17.businesscatalyst.com/videos.html 8th] and [http://www.cvent.com/events/9th-international-visualization-in-transportation-symposium-a-better-view/event-summary-aa788f12e69f4c5c83936e5c800b1152.aspx 9th] International Visualization in Transportation Symposium and Workshop&lt;br /&gt;
** Professors [http://www.professeurs.polymtl.ca/thomas.hurtut/\#dataviz Thomas Hurtut (Polytechnique)], [http://perso.telecom-paristech.fr/~elc/ Éric Lecolinet (Télécom ParisTech)]&lt;br /&gt;
* Courses &lt;br /&gt;
** [https://www.graphics.stanford.edu/courses/cs448b-04-winter/ Data Visualization (CS448b)], Stanford&lt;br /&gt;
** [https://www.cs171.org/ CS117], Hanspeter Pfister, Harvard&lt;br /&gt;
* Videos: [https://www.youtube.com/watch?v=AdSZJzb-aX8 The Art of Data Visualization | PBS Digital Studios], [https://www.youtube.com/watch?v=-xS7QJhVbcM Harvard i-lab | Data Visualization for Non-Programmers], [https://www.youtube.com/watch?v=aT4JvF7sglg Mike Bostock (D3js) - Keynote], [https://www.youtube.com/watch?v=R-oiKt7bUU8 Designing Data Visualizations with Noah Iliinsky]&lt;br /&gt;
* Libraries / tools&lt;br /&gt;
** Python: [https://matplotlib.org/ matplotlib], [https://seaborn.pydata.org/ seaborn]&lt;br /&gt;
** R: [https://ggplot2.tidyverse.org/ ggplot2]&lt;br /&gt;
** Javascript: [https://d3js.org/ D3.js]&lt;br /&gt;
** Old: [http://www.gnuplot.info gnuplot]&lt;br /&gt;
&lt;br /&gt;
=Time Series=&lt;br /&gt;
* Forecasting: Principles and Practice (2nd ed) https://otexts.com/fpp2/&lt;br /&gt;
&lt;br /&gt;
=Spatial Data=&lt;br /&gt;
* Introduction to Geospatial Concepts https://datacarpentry.org/organization-geospatial/&lt;br /&gt;
* QGIS documentation: [https://docs.qgis.org/latest/fr/docs/index.html français], [https://docs.qgis.org/latest/en/docs/index.html english]&lt;br /&gt;
** A Gentle Introduction to GIS https://docs.qgis.org/latest/en/docs/gentle_gis_introduction/index.html&lt;br /&gt;
** QGIS how-to: [https://www.qgistutorials.com/en/docs/3/creating_heatmaps.html heatmaps], [https://www.giscourse.com/how-to-add-openstreetmap-basemaps-in-qgis-3-0/|add OSM layer]&lt;br /&gt;
* SpatiaLite cookbook http://www.gaia-gis.it/gaia-sins/spatialite-cookbook-5/index.html&lt;br /&gt;
* Introduction to Python for Geographic Data Analysis https://python-gis-book.readthedocs.io&lt;br /&gt;
* Introduction to GIS Programming https://geog-312.gishub.org&lt;br /&gt;
* (French) books from EPFL: Systèmes d'Information Géographique [https://www.researchgate.net/publication/320979981_Systemes_d%27Information_Geographique_1 Partie 1] et [https://www.researchgate.net/publication/320980079_Systemes_d%27Information_Geographique_2 Partie 2]&lt;br /&gt;
* (French) resources, including online courses in https://claroline-connect.univ-st-etienne.fr/web/app.php/resource/open/icap_wiki/224152#/&lt;br /&gt;
&lt;br /&gt;
=Spatial Analysis=&lt;br /&gt;
* [https://ipeagit.github.io/intro_access_book/ Introduction to urban accessibility, a practical guide with R]&lt;br /&gt;
* [https://paezha.github.io/spatial-analysis-r/ An Introduction to Spatial Data Analysis and Statistics: A Course in R], Prof. Antonio Paez&lt;br /&gt;
* [https://mgimond.github.io/Spatial/index.html Intro to GIS and Spatial Analysis]&lt;br /&gt;
* [https://pysal.org Python Spatial Analysis Library (PySAL)]&lt;br /&gt;
* [https://geodacenter.github.io/documentation.html Documentation de GeoDa]&lt;br /&gt;
* [https://www.spatialanalysisonline.com/ Geospatial Analysis - A comprehensive guide]&lt;br /&gt;
* [https://spacetimewithr.org Spatio-Temporal Statistics with R]&lt;/div&gt;</summary>
		<author><name>NicolasSaunier</name></author>	</entry>

	<entry>
		<id>https://www.polymtl.ca/wikitransport/index.php?title=SeminaireGroupe&amp;diff=1002</id>
		<title>SeminaireGroupe</title>
		<link rel="alternate" type="text/html" href="https://www.polymtl.ca/wikitransport/index.php?title=SeminaireGroupe&amp;diff=1002"/>
				<updated>2025-11-21T19:05:19Z</updated>
		
		<summary type="html">&lt;p&gt;NicolasSaunier : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* 2025&lt;br /&gt;
** 21/11/2025: group meeting and discussion of data organization (see [[OpenScience]])&lt;br /&gt;
** 31/10/2025: group meeting&lt;br /&gt;
* 2024&lt;br /&gt;
** research data planning and management&lt;br /&gt;
** 10 or 12/07/2024: discussion of paper in https://tsr.international/TSR/issue/view/3297&lt;br /&gt;
** 21/06/2024: Tristan Fortin, Study of road user understanding, behavior and safety on bicycle boulevards&lt;br /&gt;
** 07/06/2024: Frédérick Chabot, Characterization framework to assess the performance of a tool for the observation of life in public spaces&lt;br /&gt;
** 31/05/2024: Qingwu Liu, A comprehensive case study on deep learning-based object recognition for safety analysis on roadside and vehicle-mounted dataset&lt;br /&gt;
** 17/05/2024: Guillaume Néven, Probabilistic approach to path travel time estimation&lt;br /&gt;
* 2023&lt;br /&gt;
** Summer seminar&lt;br /&gt;
*** Tristan Fortin, Collecte de données sur les vélorues : analyse vidéo et questionnaire&lt;br /&gt;
*** Yash Pratap Singh, Benchmarking Computer Vision Surveillance Algorithms for Practical Traffic Applications&lt;br /&gt;
*** Qingwu Liu, How good are deep learning methods for automated road safety analysis using video data? An experimental study&lt;br /&gt;
*** Zhangcun Yan, Investigating and Modeling Motorized and Non-Motorized Interaction Behavior in Shared Spaces of Intersections&lt;br /&gt;
*** Tarcisio Costa de Souza Neto, Automatisation d'extraction et d'analyse des données ouvertes de transports&lt;br /&gt;
*** Reza Zarei, “Questionnaire Design” for surveying drivers' attitudes towards road safety.  &lt;br /&gt;
*** Edem Houndjafo, Étude pour l’installation de feux cyclistes aux intersections du chemin de la Côte Sainte Catherine&lt;br /&gt;
*** Xinyu Chen, Matrix and Tensor Models for Spatiotemporal Traffic Data Modeling&lt;br /&gt;
*** Mohammad Ghavidel, Smartphone Accelerometer Sensor Orientation: best Techniques and its applications&lt;br /&gt;
*** Frédérick Chabot, Develop a performance characterization framework for a public space - public life data collection tool&lt;br /&gt;
** group meetings open to everyone starting February 23rd: discussions and exchanges of ideas, on research projects and technical discussions, sometimes based on published papers (reading club). &lt;br /&gt;
*** February 23rd: data management plan (&amp;quot;plan de gestion des données&amp;quot;) https://guides.biblio.polymtl.ca/donneesrecherche&lt;br /&gt;
*** other ideas: open access publication, peer review is largely a failure... https://experimentalhistory.substack.com/p/the-rise-and-fall-of-peer-review So we could write papers differently: https://psyarxiv.com/2uxwk/&lt;br /&gt;
&lt;br /&gt;
* 2012&lt;br /&gt;
** 26 juillet&lt;br /&gt;
** 19 juillet&lt;br /&gt;
** 12 juillet&lt;br /&gt;
** 5 juillet: application du Canadian Capacity Guide (François), http://www.runmycode.org&lt;br /&gt;
** 29 juin: projet de collecte de données sur les carrefours giratoires (Arthur)&lt;br /&gt;
** 22 juin: projet marquage au sol (Caio)&lt;br /&gt;
** 15 juin: discussion des paramètres de description des carrefours giratoires (Paul)&lt;br /&gt;
** 8 juin: demo background subtraction (Anurag, Jean-Philippe), de traffic intelligence&lt;br /&gt;
** 1 juin: presentation de Mohamed sur les méthodes de prédictions des mouvement (en particulier en robotique), résultats graphiques de François&lt;br /&gt;
** 18 mai: première réunion&lt;/div&gt;</summary>
		<author><name>NicolasSaunier</name></author>	</entry>

	<entry>
		<id>https://www.polymtl.ca/wikitransport/index.php?title=SeminaireGroupe&amp;diff=1001</id>
		<title>SeminaireGroupe</title>
		<link rel="alternate" type="text/html" href="https://www.polymtl.ca/wikitransport/index.php?title=SeminaireGroupe&amp;diff=1001"/>
				<updated>2025-11-21T19:04:38Z</updated>
		
		<summary type="html">&lt;p&gt;NicolasSaunier : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* 2025&lt;br /&gt;
** 21/11/2025: group meeting and discussion of data organization&lt;br /&gt;
** 31/10/2025: group meeting&lt;br /&gt;
* 2024&lt;br /&gt;
** research data planning and management&lt;br /&gt;
** 10 or 12/07/2024: discussion of paper in https://tsr.international/TSR/issue/view/3297&lt;br /&gt;
** 21/06/2024: Tristan Fortin, Study of road user understanding, behavior and safety on bicycle boulevards&lt;br /&gt;
** 07/06/2024: Frédérick Chabot, Characterization framework to assess the performance of a tool for the observation of life in public spaces&lt;br /&gt;
** 31/05/2024: Qingwu Liu, A comprehensive case study on deep learning-based object recognition for safety analysis on roadside and vehicle-mounted dataset&lt;br /&gt;
** 17/05/2024: Guillaume Néven, Probabilistic approach to path travel time estimation&lt;br /&gt;
* 2023&lt;br /&gt;
** Summer seminar&lt;br /&gt;
*** Tristan Fortin, Collecte de données sur les vélorues : analyse vidéo et questionnaire&lt;br /&gt;
*** Yash Pratap Singh, Benchmarking Computer Vision Surveillance Algorithms for Practical Traffic Applications&lt;br /&gt;
*** Qingwu Liu, How good are deep learning methods for automated road safety analysis using video data? An experimental study&lt;br /&gt;
*** Zhangcun Yan, Investigating and Modeling Motorized and Non-Motorized Interaction Behavior in Shared Spaces of Intersections&lt;br /&gt;
*** Tarcisio Costa de Souza Neto, Automatisation d'extraction et d'analyse des données ouvertes de transports&lt;br /&gt;
*** Reza Zarei, “Questionnaire Design” for surveying drivers' attitudes towards road safety.  &lt;br /&gt;
*** Edem Houndjafo, Étude pour l’installation de feux cyclistes aux intersections du chemin de la Côte Sainte Catherine&lt;br /&gt;
*** Xinyu Chen, Matrix and Tensor Models for Spatiotemporal Traffic Data Modeling&lt;br /&gt;
*** Mohammad Ghavidel, Smartphone Accelerometer Sensor Orientation: best Techniques and its applications&lt;br /&gt;
*** Frédérick Chabot, Develop a performance characterization framework for a public space - public life data collection tool&lt;br /&gt;
** group meetings open to everyone starting February 23rd: discussions and exchanges of ideas, on research projects and technical discussions, sometimes based on published papers (reading club). &lt;br /&gt;
*** February 23rd: data management plan (&amp;quot;plan de gestion des données&amp;quot;) https://guides.biblio.polymtl.ca/donneesrecherche&lt;br /&gt;
*** other ideas: open access publication, peer review is largely a failure... https://experimentalhistory.substack.com/p/the-rise-and-fall-of-peer-review So we could write papers differently: https://psyarxiv.com/2uxwk/&lt;br /&gt;
&lt;br /&gt;
* 2012&lt;br /&gt;
** 26 juillet&lt;br /&gt;
** 19 juillet&lt;br /&gt;
** 12 juillet&lt;br /&gt;
** 5 juillet: application du Canadian Capacity Guide (François), http://www.runmycode.org&lt;br /&gt;
** 29 juin: projet de collecte de données sur les carrefours giratoires (Arthur)&lt;br /&gt;
** 22 juin: projet marquage au sol (Caio)&lt;br /&gt;
** 15 juin: discussion des paramètres de description des carrefours giratoires (Paul)&lt;br /&gt;
** 8 juin: demo background subtraction (Anurag, Jean-Philippe), de traffic intelligence&lt;br /&gt;
** 1 juin: presentation de Mohamed sur les méthodes de prédictions des mouvement (en particulier en robotique), résultats graphiques de François&lt;br /&gt;
** 18 mai: première réunion&lt;/div&gt;</summary>
		<author><name>NicolasSaunier</name></author>	</entry>

	</feed>