Announcement

Collapse
No announcement yet.

Augmented Reality for UE4

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Hi,

    I think you have to disable datasmith before publishing to iPad.

    Originally posted by Tishawn Fahie View Post
    Hello - I purchased your plugin as I am very pleased. One thing - I'm using the latest unreal 4.24 - I can always get the sample to run with no problems.. The moment I enable DataSmith plugin - UE4 is ask to restart once I restart it and push the app to the IPAD - the app always crashes. Something about Plugin blastplugin failed to load because module BlastCore could not be found? Thats the message on the IPAD.

    Any ideas?
    AR plugin for UE4
    AR Virtual Mirror plugin for UE4
    Red Alert 2 VR remake
    Armed Island VR RTS

    Comment


      Thanks I manage to get this working - One last question - I managed to change the model from the bike to a simple mesh when the image is detected - Is there away to keep the model (mesh) there on the image..... even after i move away from the image instead of it disappearing ?

      Comment


        Hi everyone.

        How can you prevent the 3D model from shaking so much?

        I have tried enabling and disabling the set filter node, playing with Sample Rate and Cut Off Freq values with no significant change.

        What's the best way to get rid of the jittering? What else could I try to fix it?

        Thank you.

        Here's a link to showing the issue:

        Comment


          Hello Carlos,

          There are 3 nodes that can help. All the 3 has an example in the demo project, you can play with settings to find the best for your environment.

          http://ar.uplugins.com/set-filter/
          http://ar.uplugins.com/set-threshold-mode/
          http://ar.uplugins.com/set-threshold/

          One more thing I see on your video is the small relative size of the marker. Try to go closer so the marker will be bigger.

          I hope it helps.




          Originally posted by Carlos Flores View Post
          Hi everyone.

          How can you prevent the 3D model from shaking so much?

          I have tried enabling and disabling the set filter node, playing with Sample Rate and Cut Off Freq values with no significant change.

          What's the best way to get rid of the jittering? What else could I try to fix it?

          Thank you.

          Here's a link to showing the issue:
          AR plugin for UE4
          AR Virtual Mirror plugin for UE4
          Red Alert 2 VR remake
          Armed Island VR RTS

          Comment


            Hello Adam,

            I have a problem with calibrating my android tablet camera. I have installed an app on my tablett, and another one on my PC. So I can use my tablet as a webcam. So far so good.

            I then use camera_calib.exe file for generating camera_para.dat file like it is described here:
            http://www.daslhub.org/unlv/wiki/dok...nxt_ar_toolkit

            I did it twice, but I am not happy with the result. All tracked marker (I took some squared control planes for checking) are 2D shifted against live camera stream.
            Is there a way to edit camera_para.dat by hand ? Just to set a different "Point of Interest" or similar?
            Calculated FOV seems to be ok, marker lines are parallel by any viewing angle but still not matching. (its 2D shifted)

            There are other tools for generating camera_para.dat like described here:
            http://www.hitl.washington.edu/artoo...on.htm#onestep

            Is this older or newer? Or even more exact? I do not have any calib_dist.exe or calib_cparam.exe. Where can I download?

            Do I even have to change some C++ lines or xml or whatever.
            Of course, I can change camera yaw and pitch a little to compensate this shift in bluprint, but I would like to do a more proper calibration.

            Thanks, Peter

            Comment


              Hi Adam, first of all thank you for creating a really well made AR plugin that works for Windows, most of them are Android/IOS only.
              I have two questions:
              1. can I have 2 of the same type of markers on screen at once? For Examples 2 Hiros on screen.
              2. How do I set the Camera resolution to 1080p or 720p 30fps and have that setting save each time I play?

              I am also really struggling to figure out how to get NFT markers working?
              I've read through the doc, but it's not very helpful in explaining how to actually test the Data set?
              https://github.com/artoolkitx/artool...ng-NFT-markers
              Last edited by ScitechDev; 01-23-2020, 12:27 AM.

              Comment


                Originally posted by AdamHorvath View Post
                Hello Carlos,

                There are 3 nodes that can help. All the 3 has an example in the demo project, you can play with settings to find the best for your environment.

                http://ar.uplugins.com/set-filter/
                http://ar.uplugins.com/set-threshold-mode/
                http://ar.uplugins.com/set-threshold/

                One more thing I see on your video is the small relative size of the marker. Try to go closer so the marker will be bigger.

                I hope it helps.




                Thank you very much for your reply Adam.

                I've been doing some tests with these 3 nodes you recommended. What I could find out was that the set threshold mode and set threshold nodes have to do only with marker recognition by the camera in terms of brights and darks for easy recognition (good to have that, very useful) and the set filter node has more to do with the jittering or vibration at positioning the 3D models in relation to the marker position, but I can't seem to soften the vibration in any way. Is there any other solution I can try to improve the vibration problem? By the way, I cannot increase the size of the marker due to the nature of the project, it needs to be in a certain place and not larger than a certain size to work for the purpose I am pursuing. Do you have any other suggestions?

                Thank you very much.

                Comment


                  Hello,

                  1. No, you have to use different markers.

                  2. You can set everything at startup when the "Show PIN" checkbox is checked.
                  http://ar.uplugins.com/init/

                  My recommendation is to use only 4:3 resolutions like 800x600 or 960x720

                  3. Please find all the required tools for creating NFT markers (genTexData.exe is located in the /bin folder)
                  https://drive.google.com/open?id=1bY...Zl9eJ9BtPGQGqM

                  - Generate the NFT files using the following guide:
                  http://web.archive.org/web/201712261...r_nft_training

                  To use the new NFT:

                  - Put the generated files to Content/ARToolkit/DataNFT
                  - Add the name of your marker to the MarkersNFT enumeration in the unreal editor.
                  - Use this new name for the GetMarkersNFT node.


                  Originally posted by ScitechDev View Post
                  Hi Adam, first of all thank you for creating a really well made AR plugin that works for Windows, most of them are Android/IOS only.
                  I have two questions:
                  1. can I have 2 of the same type of markers on screen at once? For Examples 2 Hiros on screen.
                  2. How do I set the Camera resolution to 1080p or 720p 30fps and have that setting save each time I play?

                  I am also really struggling to figure out how to get NFT markers working?
                  I've read through the doc, but it's not very helpful in explaining how to actually test the Data set?
                  https://github.com/artoolkitx/artool...ng-NFT-markers
                  AR plugin for UE4
                  AR Virtual Mirror plugin for UE4
                  Red Alert 2 VR remake
                  Armed Island VR RTS

                  Comment


                    There should not be that much jitter, even with the default settings.

                    Check out this video:
                    https://www.youtube.com/watch?v=9VyhCu1Qxxo


                    What is your framerate ?



                    Originally posted by Carlos Flores View Post

                    Thank you very much for your reply Adam.

                    I've been doing some tests with these 3 nodes you recommended. What I could find out was that the set threshold mode and set threshold nodes have to do only with marker recognition by the camera in terms of brights and darks for easy recognition (good to have that, very useful) and the set filter node has more to do with the jittering or vibration at positioning the 3D models in relation to the marker position, but I can't seem to soften the vibration in any way. Is there any other solution I can try to improve the vibration problem? By the way, I cannot increase the size of the marker due to the nature of the project, it needs to be in a certain place and not larger than a certain size to work for the purpose I am pursuing. Do you have any other suggestions?

                    Thank you very much.
                    AR plugin for UE4
                    AR Virtual Mirror plugin for UE4
                    Red Alert 2 VR remake
                    Armed Island VR RTS

                    Comment


                      Originally posted by AdamHorvath View Post
                      Hello,

                      1. No, you have to use different markers.

                      2. You can set everything at startup when the "Show PIN" checkbox is checked.
                      http://ar.uplugins.com/init/

                      My recommendation is to use only 4:3 resolutions like 800x600 or 960x720

                      3. Please find all the required tools for creating NFT markers (genTexData.exe is located in the /bin folder)
                      https://drive.google.com/open?id=1bY...Zl9eJ9BtPGQGqM

                      - Generate the NFT files using the following guide:
                      http://web.archive.org/web/201712261...r_nft_training

                      To use the new NFT:

                      - Put the generated files to Content/ARToolkit/DataNFT
                      - Add the name of your marker to the MarkersNFT enumeration in the unreal editor.
                      - Use this new name for the GetMarkersNFT node.


                      Hi Adam, thank you for the reply.

                      1. With the marker tracking if I have multiple of the same marker on screen, it bugs out and doesn't display a model on either of the markers until I remove both from the view.
                      Is there a way to track the first marker, and keep tracking the first marker if another of the same type is added to the view?

                      2. This setting does not Save, and I have to go through the checkbox every time, which I do not want, I want to be able to set up the parameters once.
                      How I can set web camera source parameters?
                      - Resolution
                      - FPS
                      - Video Format
                      - Color Space

                      3. Thank you, I managed to get that working
                      Last edited by ScitechDev; 01-30-2020, 10:11 PM.

                      Comment


                        1.

                        The current setup doesn't allow that.


                        2.

                        Camera settings are not exposed for blueprints.

                        In the source code ARToolkitDevice.cpp line 548

                        config << "-devNum=" << devNum<<" -flipV ";

                        You can add other options after the "-flipV" argument according to the docs
                        https://github.com/artoolkitx/artool...tion-reference

                        Theoretically it should work, but I had no luck with my logitech webcam.


                        Originally posted by ScitechDev View Post

                        Hi Adam, thank you for the reply.

                        1. With the marker tracking if I have multiple of the same marker on screen, it bugs out and doesn't display a model on either of the markers until I remove both from the view.
                        Is there a way to track the first marker, and keep tracking the first marker if another of the same type is added to the view?

                        2. This setting does not Save, and I have to go through the checkbox every time, which I do not want, I want to be able to set up the parameters once.
                        How I can set web camera source parameters?
                        - Resolution
                        - FPS
                        - Video Format
                        - Color Space

                        3. Thank you, I managed to get that working
                        AR plugin for UE4
                        AR Virtual Mirror plugin for UE4
                        Red Alert 2 VR remake
                        Armed Island VR RTS

                        Comment


                          Hello All, I'm still struggling with this - everything is working fine except the people im showing this project to want the model stay on the market when I move away from it and not disappear. Any ideas?

                          Otherwise this plugin is fantastic!!!

                          Comment


                            hi i want to use this plugin with Intel realsense
                            so i need to recompile artoolkit library
                            which version of artoolkit is in your latest plugin??
                            Last edited by cocoa ra; 02-18-2020, 09:28 AM.

                            Comment




                              ARToolkit 5.3

                              You can download from here:
                              https://drive.google.com/open?id=1bY...Zl9eJ9BtPGQGqM


                              Originally posted by cocoa ra View Post
                              hi i want to use this plugin with Intel realsense
                              so i need to recompile artoolkit library
                              which version of artoolkit is in your latest plugin??
                              AR plugin for UE4
                              AR Virtual Mirror plugin for UE4
                              Red Alert 2 VR remake
                              Armed Island VR RTS

                              Comment


                                Hi Adam
                                I have purchased your plugin and follow your steps to build a project from the sample .
                                when I start the project showing me this message
                                https://drive.google.com/open?id=1g8...kjZYkxxnq2DFNQ

                                can you please tell me how to fix this problem, thanks

                                Comment

                                Working...
                                X