Skip to content

Bounding Box Matching using YOLOv4, implemented in Tensorflow and LabVIEW

License

Notifications You must be signed in to change notification settings

tsindel/bbox-matching

 
 

Repository files navigation

Bounding Box Matching

Bounding Box Matching using YOLOv4, implemented in Tensorflow and LabVIEW

This is an auxiliary repository to the "Bounding Box Matching: A Sparse Object-centric Correspondence Method for Stereo Vision" paper.

To recreate the results in Fig. 8 of the paper, perform the following steps:

  1. Clone the repo
  2. Read README_yolov4 file in yolov4 subfolder and follow the steps to configure Tensorflow implementation of YOLOv4
  3. Install LabVIEW Runtime 2019 or newer with Vision Development Module
  4. Attach a stereo rig comprised of two cameras to the development computer
  5. Calibrate the stereo rig by navigating into LabVIEW Examples > Vision > Stereo > Calibration subfolder and running the VI. Save the calibration file to "stereo" subfolder (replace the old file with the new one, if necessary)
  6. Open "main" VI in LabVIEW Runtime
  7. Configure camera VIs to correspond to the connected stereo rig
  8. Run the VI and observe the results (should look as following)

labview_output

Stereo rig geometry

To recreate the results in Fig. 5-7 of the paper, perform the following steps:

  1. Open folder "stereo-rig-top" in separate project (IDE) and configure the interpreter (GPU enabled works better)
  2. Import dependencies
  3. If desired, modify param values in lines 188-189, 192-195, 204 and 221
  4. Run the "main" script

Releases

No releases published

Packages

No packages published

Languages

  • Python 59.0%
  • Java 40.5%
  • Shell 0.5%