Jump to content

Birds Eye View/Calibration Guide: Difference between revisions

Line 288: Line 288:
# Click on the '''Export Calibration'''  in the Control Panel. This will download a JSON file calibration.json with your calibration ready to use with libpanorama.
# Click on the '''Export Calibration'''  in the Control Panel. This will download a JSON file calibration.json with your calibration ready to use with libpanorama.
# If you plan to use the libpanorama example application you need to modify the exported JSON. You need to change:
# If you plan to use the libpanorama example application you need to modify the exported JSON. You need to change:
#* The '''location''' in each camera pipeline.  
#* The '''location''' in each camera pipeline.<html>
<html>
<pre style="font-family:Consolas,Courier New,monospace;">
<pre style="font-family:Consolas,Courier New,monospace;">
   pipeline: "filesrc <b>location=samples/bev_6_cameras/cam_0.jpg</b> ! jpegparse ! jpegdec ! queue ! videoconvert ! video/x-raw,format=RGBx ! imagefreeze ! appsink name=appsink drop=false sync=true qos=false max-buffers=1 max-lateness=-1"
   pipeline: "filesrc <b>location=samples/bev_6_cameras/cam_0.jpg</b> ! jpegparse ! jpegdec ! queue ! videoconvert ! video/x-raw,format=RGBx ! imagefreeze ! appsink name=appsink drop=false sync=true qos=false max-buffers=1 max-lateness=-1"
</pre>
</pre>
</html>
</html>
#*The '''location''', '''size''' and '''position''' of the overlay image
#* The '''location''', '''size''' and '''position''' of the overlay image.<html>
<html>
<pre style="font-family:Consolas,Courier New,monospace;">
<pre style="font-family:Consolas,Courier New,monospace;">
   overlay: {
   overlay: {
Line 303: Line 301:
   }
   }
</pre>
</pre>
</html>
</html>  
#* You may remove the overlay portion of the JSON if you do not wish to render an image on top of the BEV.
#* You may remove the overlay portion of the JSON if you do not wish to render an image on top of the BEV.
#* You may modify the camera pipelines to use the actual cameras or videos
#* You may modify the camera pipelines to use the actual cameras or videos
=== Project File ===
=== Project File ===
* '''Save the Project:''' You can save your project to continue later. Click on Save Project in the Control Panel to download a file bev_project.bev with the current state of your calibration.
* '''Save the Project:''' You can save your project to continue later. Click on Save Project in the Control Panel to download a file bev_project.bev with the current state of your calibration.
903

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.