Send Motion-user mailing list submissions to
        motion-user@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/motion-user
or, via email, send a message with subject or body 'help' to
        motion-user-requ...@lists.sourceforge.net

You can reach the person managing the list at
        motion-user-ow...@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Motion-user digest..."


Today's Topics:

   1. Re: Using Motion to compare still images as they are captured
      (Scott Barton)
   2. Re: Using Motion to compare still images as they are captured
      (Scott Barton)


----------------------------------------------------------------------

Message: 1
Date: Fri, 12 Jun 2020 13:59:33 +0000
From: Scott Barton <scott_bar...@hotmail.com>
To: "motion-user@lists.sourceforge.net"
        <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] Using Motion to compare still images as
        they are captured
Message-ID:
        
<mn2pr11mb4552926a2b315f8643834f97eb...@mn2pr11mb4552.namprd11.prod.outlook.com>
        
Content-Type: text/plain; charset="iso-8859-1"

Correct.  The Raspberry Pi will be running a program that will take a picture 
every couple of seconds (the time between pictures taken will vary during the 
print) and save it to the local file system.  On that same Pi I would like to 
run Motion detection program that when a new image file is saved to the 
specified directory it would compare it to the previous file (or files if 
needed) to detect if there was motion via a noticeable difference in the image. 
 If it detects 'motion' then trigger an alert like an email or text or 
something.
Thanks!

________________________________
From: folkert <folk...@vanheusden.com>
Sent: Friday, June 12, 2020 2:43 AM
To: Scott Barton <scott_bar...@hotmail.com>
Cc: motion-user@lists.sourceforge.net <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] Using Motion to compare still images as they are 
captured

Scott,

Do you mean retrieving a jpeg from a filesystem and then compare that?

On Thu, Jun 11, 2020 at 06:48:45PM +0000, Scott Barton wrote:
> Is there a way to use the Motion detection software to detect major 
> differences between still images?  If not, can this feature be added?  I 
> believe there would be a significant demand for it.
>
> The use case for this is in 3D printing where when a print fails, it results 
> in a major change in the image, but normal printing just does nominal updates 
> that could easily be filtered out with the settings to the Motion software.   
> 3D Printers can use software called OctoLapse running on a Raspberry Pi that 
> takes pictures to make very smooth time lapse videos by positioning the bed 
> and printer head in the same spot for each picture after each layer is 
> printed. Because printed layer heights are very small the change from picture 
> to picture would be minimal during normal printing.  But when a print fails 
> it results in huge immediate changes in pictures.  Because 3D prints can take 
> several hours (even days) and are often done not under constant supervision, 
> when a print fails you can waste several hours and a lot of filament as the 
> 3D printer continues to print the failed print until noticed or finished.  
> Being able to detect a failed print and getting notified early on would be a 
> HUGE advantage for all 3D printers.
> https://plugins.octoprint.org/plugins/octolapse/
>
>
> Examples of timelapse 3D printing video fails.  You could see how Motion 
> detection software could fairly easily detect early on when the failure 
> occurs.  Just need a way for the software to compare images as the come in 
> (saved to a specific directory on the Raspberry Pi) instead of analyzing a 
> video stream.
> https://www.youtube.com/watch?v=ZGOq9X5J97k
> [https://i.ytimg.com/vi/ZGOq9X5J97k/maxresdefault.jpg]<https://www.youtube.com/watch?v=ZGOq9X5J97k>
> 3DBenchy Octolapse - Fail<https://www.youtube.com/watch?v=ZGOq9X5J97k>
> 3DBenchy Octolapse - Fail
> www.youtube.com<http://www.youtube.com>
>
>
> https://www.youtube.com/watch?v=_8YT0j8UAI0
> [https://i.ytimg.com/vi/_8YT0j8UAI0/maxresdefault.jpg]<https://www.youtube.com/watch?v=_8YT0j8UAI0>
> EPIC 3D PRINTER PETG FAIL! filmed with Octolapse | 
> JanTec<https://www.youtube.com/watch?v=_8YT0j8UAI0>
> one of my first timelapses for YouTube videos - a fail! :( 3d printer - 
> JanTec - Epic 3d printer fail
> www.youtube.com<http://www.youtube.com>
>
> -Scott
>
>
> [https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png]<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>      Virus-free. 
> www.avg.com<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>


> _______________________________________________
> Motion-user mailing list
> Motion-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/motion-user
> https://motion-project.github.io/
>
> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user



Folkert van Heusden

--
Feeling generous? -> http://www.vanheusden.com/wishlist.php
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, 
www.vanheusden.com<http://www.vanheusden.com>

[https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png]<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
     Virus-free. 
www.avg.com<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 2
Date: Fri, 12 Jun 2020 17:23:21 +0000
From: Scott Barton <scott_bar...@hotmail.com>
To: Andrew/ <and...@azotus.co.uk>
Cc: "motion-user@lists.sourceforge.net"
        <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] Using Motion to compare still images as
        they are captured
Message-ID:
        
<mn2pr11mb45529b5a01a1065333b6c6daeb...@mn2pr11mb4552.namprd11.prod.outlook.com>
        
Content-Type: text/plain; charset="us-ascii"

The main issue is that Motion is looking for live video (only accepts video 
formats) and it's looking for a URL, not for new files written to a directory.
While built in notifications would be nice, if Motion could be set to look for 
new images in a local directory (set in Motion's settings) and compare the last 
2 images (primarily jpeg, but possibly png) when a new image file is saved 
there, I think I could get everything else to work with current features.

Scott

________________________________
From: Andrew/ <and...@azotus.co.uk>
Sent: Friday, June 12, 2020, 12:02 PM
To: Scott Barton
Subject: Re: [Motion-user] Using Motion to compare still images as they are 
captured


Not an expert by any means, I'm just a user; but Motion can generate a still 
image [jpg] when a set number of pixels have changed between one image and the 
next and write the updated image to a folder.


As an alternative to motion sending a text/email write something that detects 
that image being saved and sends that text/email


just a suggestion for consideration,

Andrew


On 12-Jun. 10:59 a.m., Scott Barton wrote:
Correct.  The Raspberry Pi will be running a program that will take a picture 
every couple of seconds (the time between pictures taken will vary during the 
print) and save it to the local file system.  On that same Pi I would like to 
run Motion detection program that when a new image file is saved to the 
specified directory it would compare it to the previous file (or files if 
needed) to detect if there was motion via a noticeable difference in the image. 
 If it detects 'motion' then trigger an alert like an email or text or 
something.
Thanks!

________________________________
From: folkert <folk...@vanheusden.com><mailto:folk...@vanheusden.com>
Sent: Friday, June 12, 2020 2:43 AM
To: Scott Barton <scott_bar...@hotmail.com><mailto:scott_bar...@hotmail.com>
Cc: motion-user@lists.sourceforge.net<mailto:motion-user@lists.sourceforge.net> 
<><mailto:motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] Using Motion to compare still images as they are 
captured

Scott,

Do you mean retrieving a jpeg from a filesystem and then compare that?

On Thu, Jun 11, 2020 at 06:48:45PM +0000, Scott Barton wrote:
> Is there a way to use the Motion detection software to detect major 
> differences between still images?  If not, can this feature be added?  I 
> believe there would be a significant demand for it.
>
> The use case for this is in 3D printing where when a print fails, it results 
> in a major change in the image, but normal printing just does nominal updates 
> that could easily be filtered out with the settings to the Motion software.   
> 3D Printers can use software called OctoLapse running on a Raspberry Pi that 
> takes pictures to make very smooth time lapse videos by positioning the bed 
> and printer head in the same spot for each picture after each layer is 
> printed. Because printed layer heights are very small the change from picture 
> to picture would be minimal during normal printing.  But when a print fails 
> it results in huge immediate changes in pictures.  Because 3D prints can take 
> several hours (even days) and are often done not under constant supervision, 
> when a print fails you can waste several hours and a lot of filament as the 
> 3D printer continues to print the failed print until noticed or finished.  
> Being able to detect a failed print and getting notified early on would be a 
> HUGE advantage for all 3D printers.
> https://plugins.octoprint.org/plugins/octolapse/
>
>
> Examples of timelapse 3D printing video fails.  You could see how Motion 
> detection software could fairly easily detect early on when the failure 
> occurs.  Just need a way for the software to compare images as the come in 
> (saved to a specific directory on the Raspberry Pi) instead of analyzing a 
> video stream.
> https://www.youtube.com/watch?v=ZGOq9X5J97k
> [https://i.ytimg.com/vi/ZGOq9X5J97k/maxresdefault.jpg]<https://www.youtube.com/watch?v=ZGOq9X5J97k>
> 3DBenchy Octolapse - Fail<https://www.youtube.com/watch?v=ZGOq9X5J97k>
> 3DBenchy Octolapse - Fail
> www.youtube.com<http://www.youtube.com>
>
>
> https://www.youtube.com/watch?v=_8YT0j8UAI0
> [https://i.ytimg.com/vi/_8YT0j8UAI0/maxresdefault.jpg]<https://www.youtube.com/watch?v=_8YT0j8UAI0>
> EPIC 3D PRINTER PETG FAIL! filmed with Octolapse | 
> JanTec<https://www.youtube.com/watch?v=_8YT0j8UAI0>
> one of my first timelapses for YouTube videos - a fail! :( 3d printer - 
> JanTec - Epic 3d printer fail
> www.youtube.com<http://www.youtube.com>
>
> -Scott
>
>
> [https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png]<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>      Virus-free. 
> www.avg.com<http://www.avg.com><http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>


> _______________________________________________
> Motion-user mailing list
> Motion-user@lists.sourceforge.net<mailto:Motion-user@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/motion-user
> https://motion-project.github.io/
>
> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user



Folkert van Heusden

--
Feeling generous? -> http://www.vanheusden.com/wishlist.php
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, 
www.vanheusden.com<http://www.vanheusden.com>

[https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png]<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
     Virus-free. 
www.avg.com<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>




_______________________________________________
Motion-user mailing list
Motion-user@lists.sourceforge.net<mailto:Motion-user@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/motion-user
https://motion-project.github.io/

Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user

-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------



------------------------------

Subject: Digest Footer

_______________________________________________
Motion-user mailing list
Motion-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/motion-user


------------------------------

End of Motion-user Digest, Vol 168, Issue 33
********************************************

Reply via email to