Video Data Collection How-to : Différence entre versions

De Transport
Ligne 24 : Ligne 24 :
  
 
1. Check that you have the adequate equipment for collecting the data that you need.
 
1. Check that you have the adequate equipment for collecting the data that you need.
 +
 +
[https://imgur.com/a/971tD6C]
  
 
Note: One battery pack of 10 000 mA.h allows the camera to record a video for a duration of 17h, which is equivalent to 128Gb worth of data (full capacity of the GoPro).Check the battery levels of the devices before setting up the camera.
 
Note: One battery pack of 10 000 mA.h allows the camera to record a video for a duration of 17h, which is equivalent to 128Gb worth of data (full capacity of the GoPro).Check the battery levels of the devices before setting up the camera.

Version du 21 mai 2021 à 11:26

Certification éthique / Ethics Certification (2018-)

(Question 10.4 du Formulaire de demande de certification éthique pour un projet de recherche avec des êtres humains) Quelles sont les mesures prévues par le(s) chercheur(s) pour minimiser les inconvénients et les risques?

La résolution spatiale et temporelle des données rend difficile l'identification des personnes, piétons ou utilisateurs de véhicules, y compris par l'intermédiaire des plaques d'immatriculation. L'accès aux données vidéo sera contrôlé et restreint aux seules personnes listées dans ce document, ou des étudiants encadrés par ces personnes. Un soin particulier sera apporté aux illustrations utilisées dans des documents et conférences publiques (et pourront être anonymisées le cas échéant). Les personnes ayant accès à ces données (utilisateur dans la suite, le masculin étant utilisé pour simplifier le texte) devront signer un accord de confidentialité spécifiant les risques associés à ces données (joint à cette demande) et suivre les procédures suivantes:

  • les données seront accessibles sur un ordinateur avec le système d’exploitation Linux dans le local B344 fermé à clef, et l'administrateur de l’ordinateur donnera à chaque utilisateur un compte utilisateur sécurisé par un mot de passe;
  • les données vidéo seront encryptées d'une des deux façons suivantes:
    • le disque de l'ordinateur contenant les données sera encrypté dans sa totalité, et sera déverrouillé lorsque l'utilisateur se connecte à son compte. L'utilisateur devra verrouiller son compte à la fin de sa séance de travail, à la fin de la journée de travail au plus tard;
    • les données vidéo seront contenues dans un répertoire encrypté (outils ecrypt, http://ecryptfs.org/). L'administrateur de l’ordinateur confiera à l'utilisateur un mot de passe. L'utilisateur devra décrypter le répertoire contenant les données vidéo à chaque fois qu'il aura besoin de consulter ou traiter les données vidéo, et re-encrypter le répertoire à la fin de chaque séance de travail, à la fin de la journée de travail au plus tard.

Le document de confidentialité à signer est disponible ici.

The confidentiality agreement to sign is available here.

Site Selection

  • Select the location (see next section about verifying the feasibility to install the camera).

Camera Installation

Cameras should be as high as possible to avoid occlusion between road users, and provide the right field of view to capture video about the phenomena of interest. There are two possible ways to install cameras, either on one of the telescopic poles available at Polytechnique that must be attached to existing fixed infrastructure, for example a lamp post, or on existing infrastructure, for example on a balcony or the roof of a building.

TODO (secure the camera, verify the recorded field of view, gear preparation)

Data Collection with a GoPro Camera

1. Check that you have the adequate equipment for collecting the data that you need.

[1]

Note: One battery pack of 10 000 mA.h allows the camera to record a video for a duration of 17h, which is equivalent to 128Gb worth of data (full capacity of the GoPro).Check the battery levels of the devices before setting up the camera.

2. Unscrew the first level of the tube to lengthen the extremity.

3. Tie the battery pack to the tube, with tape (see picture #2).

4. Fix the GoPro camera at the top of the tube (see picture #3) and connect the GoPro to the battery pack (see picture #4).

Tip #1: In case of rain, make sure to put a piece of tape on top and on the back of the GoPro, to protect the camera.

Tip #2: Turn the rope around the tube to stabilize it in case of wind.

5. Turn on the GoPro by holding the front button for a few seconds. A blue light means that the GoPro is connected to internet. Use Quick: Video Editor on your smartphone to connect your phone to the camera.

6. Tie the rope around the base of the GoPro and tighten (see picture #5).

7. Fix the tube to the pole where you want to make your observations from (see picture #6). There should be 2 separate strings of rope going from the GoPro to the ground.

8. Take the retaining strap and open it (see picture #7). Make the strap go around the pole and the tube. Put the strap into the opening in the middle (see picture #8). Tie the strap to the pole by cranking the device (see picture #9).

Tip: Do not tighten the strap all the way for now.

9. Unscrew the remaining levels of the tube until the camera reaches the required height. Tip: Use the app on your phone to see the view of the camera. To adjust the camera, you need to bring it back down and manually turn the GoPro. 10. Two people need to each take one string of the rope, which is tied to the GoPro, and turn around the pole in opposite directions (one clockwise and the other counterclockwise). This will allow for the tube to be tied up to the pole and be static during the recording (see picture #10).

11. Place the stings between the strap and the pole (see picture #11). Crank the device to tighten the strap.

12. Lock the tube to the pole with the lock and chain (see picture #12).


Data Collection with a Thermal Camera

1. Check that you have the adequate equipment for collecting the data that you need.

Note 1: The tube is different from the one used to set up the GoPro because this one is heavy enough to support the camera. Note 2: You need a 20 000 mA.h battery pack to record 24 hours with the Raspberry Pi.

2. Follow the directives according to the GitHub to reflash the SD card of the Rasberry Pi.

3. Check the battery levels of the devices before setting up the camera.

4. Fix the thermal camera at the top of the tube (see picture #2)

Tip: To adjust the angle of the camera, you will need a screwdriver and a plier.

5. Tie the rope around the base of the Thermal Camera and tighten (see picture #5).

6. Fix the tube to the pole where you want to make your observations from (see picture #6). There should be 2 separate strings of rope going from the camera to the ground.

7. Take the retaining strap and open it (see picture #7). Make the strap go around the pole and the tube. Put the strap into the opening in the middle (see picture #8). Tie the strap to the pole by cranking the device (see picture #9).

Tip: Do not tighten the strap all the way for now.

8. Unscrew the remaining levels of the tube until the camera reaches the required height.

9. Open the box connected to the thermal camera and sort the cables according to the picture bellow (see picture #3)

10. Put the two batteries in the box and put them in serie using the connector (see picture #4).

11. Connect the two wires to the batteries (see picture #5). The extremity of one of the wire is colored black because that wire needs to be connected to the black end on the battery.

12. Once ready, press the On sign on the switch (line) (see picture #6)

13. Connect the ethernet port and the battery pack to the Rasberry Pi (see picture #7).

Tip: The DELLs on the Rasberry Pi shoud be flahing. This signafies that the device is exchanging data with the camera.

14. Wait 5 minutes to check the recording of the Rasberry Pi and adjust the camera if needed. This might require multiple attempts since there are no way to check the recording in real time.

15. Two people need to each take one string of the rope, which is tied to the GoPro, and turn around the pole in opposite directions (one clockwise and the other counterclockwise). This will allow for the tube to be tied up to the pole and be static during the recording (see picture #10).

16. Place the stings between the strap and the pole (see picture #11). Crank the device to tighten the strap.

17. Lock the tube to the pole with the lock and chain (see picture #12).

18. Put the Rasberry Pi and the battery pack in the box and lock it (see picture #8)


Data Management

  • Store the video data files
    • folder structure: videos/[site]/yyyy-mm-dd/ contains all the videos collected at site [site] on day yyyy-mm-dd.