Ptgui stitch a PTGui project from the command line Issue

121 views
Skip to first unread message

Truong Nguyen

unread,
Mar 26, 2023, 6:21:17 AM3/26/23
to PTGui Support
Environment:
  • Ubuntu 20.04 64bit
  • Ptgui Pro 12.21
  • No Display

Problem:
After creating a dummy graphical desktop using VNC server follow this tutorial Running PTGui on Linux - PTGui Stitching Software, I can stitch a PTGui project from the command line using: /path/to/PTGui -stitchnogui project1.pts.

However, when running sequence of command line (one by one) to stitch multiple projects, I got issue that ptgui not return result or result Fail to merge, which was not happen when I run each command line separately with break time (it return success panorama result).
Can you help? Thank you.

Regard

Erik Krause

unread,
Mar 26, 2023, 3:24:27 PM3/26/23
to pt...@googlegroups.com
Am 26.03.2023 um 12:20 schrieb Truong Nguyen:
> However, when running sequence of command line (one by one) to stitch
> multiple projects, I got issue that ptgui not return result or result Fail
> to merge, which was not happen when I run each command line separately with
> break time (it return success panorama result).

Did you also read https://ptgui.com/support.html#6_32
especially under "The second method stitches the project on the command
line, without using the batch stitcher, and blocks until rendering has
finished."

--
Erik Krause
http://www.erik-krause.de

PTGui Support

unread,
Mar 27, 2023, 2:33:50 AM3/27/23
to pt...@googlegroups.com
Hi,

What exactly does "not return result or result Fail to merge" mean? Do
you see any error messages, or could you post a screenshot so I can see
what's happening?

Kind regards,

Joost Nieuwenhuijse
www.ptgui.com

On 26/03/2023 12:20, Truong Nguyen wrote:
> Environment:
>
> * Ubuntu 20.04 64bit
> * Ptgui Pro 12.21
> * No Display
>
>
> Problem:
> After creating a dummy graphical desktop using VNC server follow this
> tutorial Running PTGui on Linux - PTGui Stitching Software
> <https://ptgui.com/linux>, I can stitch a PTGui project from the command
> line using: /path/to/PTGui -stitchnogui project1.pts.
>
> However, when running sequence of command line (one by one) to stitch
> multiple projects, I got issue that ptgui not return result or result
> Fail to merge, which was not happen when I run each command line
> separately with break time (it return success panorama result).
> Can you help? Thank you.
>
> Regard
>
> --
> You received this message because you are subscribed to the Google
> Groups "PTGui Support" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to ptgui+un...@googlegroups.com
> <mailto:ptgui+un...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ptgui/4c4f5356-9318-40e3-b9d9-dd00ccb3079en%40googlegroups.com <https://groups.google.com/d/msgid/ptgui/4c4f5356-9318-40e3-b9d9-dd00ccb3079en%40googlegroups.com?utm_medium=email&utm_source=footer>.

Truong Nguyen

unread,
Mar 27, 2023, 1:34:09 PM3/27/23
to pt...@googlegroups.com
Hi,
Message is:
"Could not find control points for all images; not stitching the panorama at this time."
But if I run command /path/to/PTGui -stitchnogui project1.pts manually and separately for each project,  it returns a panorama result for each project. 
If I run command /path/to/PTGui -stitchnogui project1.pts sequentially (using code) for multiple project , it is fail to stitch with message ("Could not find control points for all images; not stitching the panorama at this time.") and no result returned.
Can you help, thanks

Regards,

To unsubscribe from this group and stop receiving emails from it, send an email to ptgui+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ptgui/aad1f8ae-80ca-53a0-94b9-3c29ed432203%40ptgui.com.

PTGui Support

unread,
Mar 27, 2023, 2:31:31 PM3/27/23
to pt...@googlegroups.com
Are you sure you are doing the same thing in both cases?

What happens if you put a sleep 1 inbetween invocations? Or sleep 3600?

Are you maybe overwriting the images of a project before it finished
stitching?

Kind regards,

Joost Nieuwenhuijse
www.ptgui.com

On 3/27/23 19:33, Truong Nguyen wrote:
> Hi,
> Message is:
> "Could not find control points for all images; not stitching the
> panorama at this time."
> But if I run command /path/to/PTGui -stitchnogui project1.pts manually
> and separately for each project,  it returns a panorama result for each
> project.
> If I run command /path/to/PTGui -stitchnogui project1.pts
> sequentially (using code) for multiple project , it is fail to stitch
> with message ("Could not find control points for all images; not
> stitching the panorama at this time.") and no result returned.
> Can you help, thanks
>
> Regards,
>
> On Mon, Mar 27, 2023 at 1:33 PM 'PTGui Support' via PTGui Support
> <pt...@googlegroups.com <mailto:pt...@googlegroups.com>> wrote:
>
> Hi,
>
> What exactly does "not return result or result Fail to merge" mean? Do
> you see any error messages, or could you post a screenshot so I can see
> what's happening?
>
> Kind regards,
>
> Joost Nieuwenhuijse
> www.ptgui.com <http://www.ptgui.com>
>
> On 26/03/2023 12:20, Truong Nguyen wrote:
> > Environment:
> >
> >   * Ubuntu 20.04 64bit
> >   * Ptgui Pro 12.21
> >   * No Display
> >
> >
> > Problem:
> > After creating a dummy graphical desktop using VNC server follow
> this
> > tutorial Running PTGui on Linux - PTGui Stitching Software
> > <https://ptgui.com/linux <https://ptgui.com/linux>>, I can stitch
> a PTGui project from the command
> > line using: /path/to/PTGui -stitchnogui project1.pts.
> >
> > However, when running sequence of command line (one by one) to
> stitch
> > multiple projects, I got issue that ptgui not return result or
> result
> > Fail to merge, which was not happen when I run each command line
> > separately with break time (it return success panorama result).
> > Can you help? Thank you.
> >
> > Regard
> >
> > --
> > You received this message because you are subscribed to the Google
> > Groups "PTGui Support" group.
> > To unsubscribe from this group and stop receiving emails from it,
> send
> > an email to ptgui+un...@googlegroups.com
> <mailto:ptgui%2Bunsu...@googlegroups.com>
> > <mailto:ptgui+un...@googlegroups.com
> <mailto:ptgui%2Bunsu...@googlegroups.com>>.
> > To view this discussion on the web visit
> >
> https://groups.google.com/d/msgid/ptgui/4c4f5356-9318-40e3-b9d9-dd00ccb3079en%40googlegroups.com <https://groups.google.com/d/msgid/ptgui/4c4f5356-9318-40e3-b9d9-dd00ccb3079en%40googlegroups.com> <https://groups.google.com/d/msgid/ptgui/4c4f5356-9318-40e3-b9d9-dd00ccb3079en%40googlegroups.com?utm_medium=email&utm_source=footer <https://groups.google.com/d/msgid/ptgui/4c4f5356-9318-40e3-b9d9-dd00ccb3079en%40googlegroups.com?utm_medium=email&utm_source=footer>>.
>
> --
> You received this message because you are subscribed to the Google
> Groups "PTGui Support" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to ptgui+un...@googlegroups.com
> <mailto:ptgui%2Bunsu...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ptgui/aad1f8ae-80ca-53a0-94b9-3c29ed432203%40ptgui.com <https://groups.google.com/d/msgid/ptgui/aad1f8ae-80ca-53a0-94b9-3c29ed432203%40ptgui.com>.
>
> --
> You received this message because you are subscribed to the Google
> Groups "PTGui Support" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to ptgui+un...@googlegroups.com
> <mailto:ptgui+un...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ptgui/CAJxJFqHRaGjqeL4TUpEMo0bkOovDd1DL8YGDhP1ES1kFgTT_fw%40mail.gmail.com <https://groups.google.com/d/msgid/ptgui/CAJxJFqHRaGjqeL4TUpEMo0bkOovDd1DL8YGDhP1ES1kFgTT_fw%40mail.gmail.com?utm_medium=email&utm_source=footer>.
Reply all
Reply to author
Forward
0 new messages