Skip to content

Commit

Permalink
Merge pull request #40 from zivid/add-import-procedures-to-advanced-s…
Browse files Browse the repository at this point in the history
…amples

import procedure to advanced hdev samples
  • Loading branch information
robertkt1 authored Aug 16, 2021
2 parents 74ca644 + 9e14018 commit 75d705f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
<c>* Coca-Cola bottle</c>
<l>* SurfaceModelFile:= 'CocaColaBottle'</l>
<c></c>
<l>import './../../../Procedures'</l>
<l>get_zivid_sample_data_dir(ZividDataDir)</l>
<l>ScenePath := ZividDataDir + '/ObjectMatching/' + SurfaceModelFile + '/Im1.ply'</l>
<l>read_object_model_3d (ScenePath, 'm', ['xyz_map_width'], [1920], ObjectModel3D_Scene, Status)</l>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,13 @@
<l>* SurfaceModelFile := 'CocaColaBottle'</l>
<c>* Your own model created with the SurfaceMatchingCreateModel.hdev</c>
<l>* SurfaceModelFile := ''</l>
<c></c>
<l>import './../../../Procedures'</l>
<l>get_zivid_sample_data_dir(ZividDataDir)</l>
<l>ScenePath := ZividDataDir + '/ObjectMatching/' + SurfaceModelFile</l>
<c></c>
<c>* Getting first available Zivid device</c>
<l>info_framegrabber ('GenICamTL','device', Information, Devices)</l>
<l>import './../../../Procedures'</l>
<l>get_first_available_zivid_device (Devices, Device)</l>
<c></c>
<c>* Connecting to Zivid camera</c>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
<c>* Existing Coca-Cola bottle model</c>
<l>* SurfaceModelFile := 'CocaColaBottle'</l>
<c></c>
<l>import './../../../Procedures'</l>
<l>get_zivid_sample_data_dir(ZividDataDir)</l>
<l>ScenePath := ZividDataDir + '/ObjectMatching/' + SurfaceModelFile</l>
<c></c>
Expand Down

0 comments on commit 75d705f

Please sign in to comment.