This repository was archived by the owner on Jul 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Feature/UpdateFbowCreator #14
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
51f0b74
Update project & data configs
yzhou-bcom c6b3212
Add popsift config & delete calib file (moved to repository data-solar)
yzhou-bcom 33f3f7f
Fix linux compile issues
yzhou-bcom efe4d88
Modify readme & put back world=True in package deps android
yzhou-bcom e20abd5
Change test data to bcom hololens desktop A
yzhou-bcom File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
93 changes: 93 additions & 0 deletions
93
tools/SolARTool_FBOWCreator/SolARTool_FBOWCreator_PopSift_conf.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,93 @@ | ||
| <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> | ||
| <xpcf-registry autoAlias="true"> | ||
| <module uuid="15e1990b-86b2-445c-8194-0cbe80ede970" name="SolARModuleOpenCV" description="SolARModuleOpenCV" path="$XPCF_MODULE_ROOT/SolARBuild/SolARModuleOpenCV/1.0.0/lib/x86_64/shared"> | ||
| <component uuid="5B7396F4-A804-4F3C-A0EB-FB1D56042BB4" name="SolARCameraOpencv" description="SolARCameraOpencv"> | ||
| <interface uuid="125f2007-1bf9-421d-9367-fbdc1210d006" name="IComponentIntrospect" description="IComponentIntrospect"/> | ||
| <interface uuid="5DDC7DF0-8377-437F-9C81-3643F7676A5B" name="ICamera" description="ICamera"/> | ||
| </component> | ||
| <component uuid="b8a8b963-ba55-4ea4-b045-d9e7e8f6db02" name="SolARImagesAsCameraOpencv" description="SolARImagesAsCameraOpencv"> | ||
| <interface uuid="125f2007-1bf9-421d-9367-fbdc1210d006" name="IComponentIntrospect" description="IComponentIntrospect"/> | ||
| <interface uuid="5DDC7DF0-8377-437F-9C81-3643F7676A5B" name="ICamera" description="ICamera"/> | ||
| </component> | ||
| <component uuid="fa4a780a-9720-11e8-9eb6-529269fb1459" name="SolARVideoAsCameraOpencv" description="SolARVideoAsCameraOpencv"> | ||
| <interface uuid="125f2007-1bf9-421d-9367-fbdc1210d006" name="IComponentIntrospect" description="IComponentIntrospect"/> | ||
| <interface uuid="5DDC7DF0-8377-437F-9C81-3643F7676A5B" name="ICamera" description="ICamera"/> | ||
| </component> | ||
| <component uuid="cc51d685-9797-4ffd-a9dd-cec4f367fa6a" name="SolAR2DOverlayOpencv" description="SolAR2DOverlayOpencv"> | ||
| <interface uuid="125f2007-1bf9-421d-9367-fbdc1210d006" name="IComponentIntrospect" description="IComponentIntrospect"/> | ||
| <interface uuid="62b8b0b5-9344-40e6-a288-e609eb3ff0f1" name="I2DOverlay" description="I2DOverlay"/> | ||
| </component> | ||
| <component uuid="19ea4e13-7085-4e3f-92ca-93f200ffb01b" name="SolARImageViewerOpencv" description="SolARImageViewerOpencv"> | ||
| <interface uuid="125f2007-1bf9-421d-9367-fbdc1210d006" name="IComponentIntrospect" description="IComponentIntrospect"/> | ||
| <interface uuid="b05f3dbb-f93d-465c-aee1-fb58e1480c42" name="IImageViewer" description="IImageViewer"/> | ||
| </component> | ||
| <component uuid="fd7fb607-144f-418c-bcf2-f7cf71532c22" name="SolARImageConvertorOpencv" description="SolARImageConvertorOpencv"> | ||
| <interface uuid="125f2007-1bf9-421d-9367-fbdc1210d006" name="IComponentIntrospect" description="IComponentIntrospect"/> | ||
| <interface uuid="9c982719-6cb4-4831-aa88-9e01afacbd16" name="IImageConvertor" description="IImageLoader"/> | ||
| </component> | ||
| </module> | ||
| <module uuid="4a43732c-a1b2-11eb-bcbc-0242ac130002" name="SolARModulePopSift" description="SolARModulePopSift" path="$XPCF_MODULE_ROOT/SolARBuild/SolARModulePopSift/1.0.0/lib/x86_64/shared"> | ||
| <component uuid="7fb2aace-a1b1-11eb-bcbc-0242ac130002" name="SolARDescritorsExtractorFromImagePopSift" description="SolARDescritorsExtractorFromImagePopSift"> | ||
| <interface uuid="125f2007-1bf9-421d-9367-fbdc1210d006" name="IComponentIntrospect" description="IComponentIntrospect"/> | ||
| <interface uuid="1cd4f5f1-6b74-413b-9725-69653aee48ef" name="IDescriptorsExtractorFromImage" description="IDescriptorsExtractorFromImage"/> | ||
| </component> | ||
| </module> | ||
|
|
||
| <factory> | ||
| <bindings> | ||
| <!--bind interface="ICamera" to="SolARCameraOpencv"/--> | ||
| <bind interface="ICamera" to="SolARImagesAsCameraOpencv"/> | ||
| <!--bind interface="ICamera" to="SolARVideoAsCameraOpencv"/--> | ||
| <bind interface="IDescriptorsExtractorFromImage" to="SolARDescritorsExtractorFromImagePopSift" /> | ||
| </bindings> | ||
| <injects> | ||
| <inject to="SolARDescritorsExtractorFromImagePopSift"> | ||
| <bind interface="IImageConvertor" to="SolARImageConvertorOpencv"/> | ||
| </inject> | ||
| </injects> | ||
| </factory> | ||
|
|
||
| <properties> | ||
| <configure component="SolARCameraOpencv"> | ||
| <property name="calibrationFile" type="string" value="../../../../../data/camera_calibration_640x480.json"/> | ||
| <property name="deviceID" type="uint" value="1"/> | ||
| </configure> | ||
| <configure component="SolARImagesAsCameraOpencv"> | ||
| <property name="calibrationFile" type="string" value="../../../../../data/camera_calibration_640x480.json"/> | ||
| <property name="imagesDirectoryPath" type="string" value="../../../../../data/datafbow/%08d.jpg"/> | ||
| <property name="delayTime" type="int" value="30"/> | ||
| </configure> | ||
| <configure component="SolARVideoAsCameraOpencv"> | ||
| <property name="calibrationFile" type="string" value="../../../../../data/camera_calibration_640x480.json"/> | ||
| <property name="videoPath" type="string" value="path to video"/> | ||
| <property name="delayTime" type="int" value="30"/> | ||
| </configure> | ||
| <configure component="SolARDescritorsExtractorFromImagePopSift"> | ||
| <property name="mode" type="string" value="PopSift"/> | ||
| <property name="imageMode" type="string" value="Unsigned Char"/> | ||
| <property name="nbOctaves" type="int" value="3"/> | ||
| <property name="nbLevelPerOctave" type="int" value="3"/> | ||
| <property name="sigma" type="float" value="1.6"/> | ||
| <property name="threshold" type="float" value="0.001"/> | ||
| <property name="edgeLimit" type="float" value="10.0"/> | ||
| <property name="downsampling" type="float" value="-1.0"/> | ||
| <property name="initialBlur" type="float" value="-1.0"/> | ||
| <property name="maxTotalKeypoints" type="uint" value="1000"/> | ||
| </configure> | ||
| <configure component="SolAR2DOverlayOpencv"> | ||
| <property name="thickness" type="uint" value="1"/> | ||
| <property name="radius" type="uint" value="2"/> | ||
| <property name="color" type="uint"> | ||
| <value>0</value> | ||
| <value>255</value> | ||
| <value>0</value> | ||
| </property> | ||
| </configure> | ||
| <configure component="SolARImageViewerOpencv"> | ||
| <property name="title" type="string" value="AR device mapping. Green = inliers, Red = outliers"/> | ||
| <property name="exitKey" type="int" value="27"/> | ||
| <property name="width" type="int" value="640"/> | ||
| <property name="height" type="int" value="480"/> | ||
| </configure> | ||
| </properties> | ||
| </xpcf-registry> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| opencv|4.5.5|opencv|conan-solar@conan|conan-solar|default|dnn=False#world=True | ||
| opencv|4.5.5|opencv|conan-solar@conan|conan-solar#https://repository.solarframework.org/conan#0|default|dnn=False#world=True | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1 @@ | ||
| libgtk2.0-dev||libgtk2.0-dev|apt-get@system|apt-get | ||
| libva-dev||libva-dev|apt-get@system|apt-get | ||
| libvdpau-dev||libvdpau-dev|apt-get@system|apt-get | ||
| opencv|4.5.5|opencv|conan-solar@conan|conan-solar|default|with_gtk=True#gtk_version=system#with_ffmpeg=True | ||
| opencv|4.5.5|opencv|conan-solar@conan|conan-solar|default| |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| opencv|4.5.5|opencv|conan-solar@conan|conan-solar | ||
| opencv|4.5.5|opencv|conan-solar@conan|conan-solar#https://repository.solarframework.org/conan#0 | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| opencv|4.5.5|opencv|conan-solar@conan|conan-solar | ||
| opencv|4.5.5|opencv|conan-solar@conan|conan-solar|default|with_ffmpeg=False |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,4 @@ | ||
| SolARFramework|1.0.0|SolARFramework|SolARBuild@github|https://github.com/SolarFramework/SolarFramework/releases/download | ||
| SolARModuleOpenCV|1.0.0|SolARModuleOpenCV|SolARBuild@github|https://github.com/SolarFramework/SolarModuleOpenCV/releases/download | ||
| SolARModulePopSift|1.0.0|SolARModulePopSift|SolARBuild@github|https://github.com/SolarFramework/SolARModulePopSift/releases/download | ||
| fbowSolAR|1.0.0|fbowSolAR|thirdParties@github|https://github.com/SolarFramework/fbow/releases/download |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| @echo off | ||
| :: Download fbow data | ||
| echo Download fbow database for vocabulary generation | ||
| curl https://repository.solarframework.org/generic/data-solar/datafbowLoopDesktopA.zip -L -o datafbowLoopDesktopA.zip | ||
| echo Unzip fbow data | ||
| powershell Expand-Archive datafbowLoopDesktopA.zip -DestinationPath .\data -F | ||
| del datafbowLoopDesktopA.zip |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| # Download image dataset | ||
| curl https://repository.solarframework.org/generic/data-solar/datafbow.zip -L -o datafbow.zip | ||
| unzip -o datafbow.zip -d ./ | ||
| rm datafbow.zip | ||
| curl https://repository.solarframework.org/generic/data-solar/datafbowLoopDesktopA.zip -L -o datafbowLoopDesktopA.zip | ||
| unzip -o datafbowLoopDesktopA.zip -d ./data | ||
| rm datafbowLoopDesktopA.zip | ||
|
|
||
|
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
world=Trueno longer needed?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have looked at moduleopencv
opencv|4.5.5|opencv|conan-solar@conan|conan-solar#https://repository.solarframework.org/conan#0|default|dnn=False#with_ade=False
We replace world=True by with_ade=False here ?