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 (folkert) 2. Re: Using Motion to compare still images as they are captured (Dave Howorth) 3. mysqldb/mariadb libs (Henry B. Tindall, Jr.) 4. Re: Using Motion to compare still images as they are captured (Guy Sheffer) ---------------------------------------------------------------------- Message: 1 Date: Sat, 13 Jun 2020 19:34:52 +0200 From: folkert <folk...@vanheusden.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] Using Motion to compare still images as they are captured Message-ID: <20200613173452.gk22...@belle.intranet.vanheusden.com> Content-Type: text/plain; charset=iso-8859-1 On Sat, Jun 13, 2020 at 12:09:36PM +0100, Dave Howorth wrote: > > Hmm, I didn't realize that Motion could read from a jpeg file > > > > https://motion-project.github.io/motion_config.html#netcam_url > > The last option is > > > > jpeg:// > > This option is for processing a static JPG file that is updated by > > processes external to Motion. It must be a local file and specified > > such as jpeg:///path/current.jpg > > > > Does anyone know how this works? Does it constantly look at this > > file and assumes the file will be updated and compares it to the last > > version it read? Or do you have to tell motion to look at that file > > everytime it us updated? > > >From that doc page: > > With this method, Motion will process the file at the speed specified > by framerate. Why not use inotify to see if the file has changed/been replaced? Doing that in my program and works pretty well. Folkert van Heusden -- MultiTail ist eine flexible Applikation um Logfiles und Kommando Eingaben zu ?berpr?fen. Inkl. Filter, Farben, Zusammenf?hren, Ansichten etc. http://www.vanheusden.com/multitail/ ---------------------------------------------------------------------- Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com ------------------------------ Message: 2 Date: Sat, 13 Jun 2020 19:41:23 +0100 From: Dave Howorth <d...@howorth.org.uk> To: motion-user@lists.sourceforge.net Subject: Re: [Motion-user] Using Motion to compare still images as they are captured Message-ID: <20200613194123.2a41b...@acer-suse.lan> Content-Type: text/plain; charset=US-ASCII On Sat, 13 Jun 2020 19:34:52 +0200 folkert <folk...@vanheusden.com> wrote: > On Sat, Jun 13, 2020 at 12:09:36PM +0100, Dave Howorth wrote: > > > Hmm, I didn't realize that Motion could read from a jpeg file > > > > > > https://motion-project.github.io/motion_config.html#netcam_url > > > The last option is > > > > > > jpeg:// > > > This option is for processing a static JPG file that is updated by > > > processes external to Motion. It must be a local file and > > > specified such as jpeg:///path/current.jpg > > > > > > Does anyone know how this works? Does it constantly look at this > > > file and assumes the file will be updated and compares it to the > > > last version it read? Or do you have to tell motion to look at > > > that file everytime it us updated? > > > > >From that doc page: > > > > With this method, Motion will process the file at the speed > > specified by framerate. > > Why not use inotify to see if the file has changed/been replaced? > Doing that in my program and works pretty well. Not sure if you're suggesting an enhancement? I feel sure a PR would be well received. > Folkert van Heusden ------------------------------ Message: 3 Date: Sun, 14 Jun 2020 00:50:50 -0500 From: "Henry B. Tindall, Jr." <he...@linux-meister.com> To: motion-user@lists.sourceforge.net Subject: [Motion-user] mysqldb/mariadb libs Message-ID: <680e9377e3f6942361e4d92be5eeb3cf.squir...@just76.justhost.com> Content-Type: text/plain;charset=utf-8 -- Henry B. Tindall, Jr. CISSP, SSCP, Security+, Linux+, RHCSA -- Henry B. Tindall, Jr. CISSP, SSCP, Security+, Linux+, RHCSA It's been a while since I upgraded, and today when I finally found time and compiled the 4.3.1 from source, I noticed after running for a while, no entries in my database. :-O When I went back and looked, sure enough, the configure script found nothing for mysql or mariadb: checking MariaDB pkg-config path... checking for MariaDB... no checking MySQL pkg-config path... checking for MySQL... no but I went back to my previous sources (4.2.2+git), re-ran the configure, and sure enough: checking for mysql headers... /usr/include/mysql yes checking for mysql libs... /usr/lib64/mysql checking for mysql_init in -lmysqlclient... yes What changed? I've tried passing args for the libraries, using combinations of "--with-mysql=" and "--with-mariadb=" and the includes/libs dirs, to no avail. If anyone can assist, I sure would love to continue to use my web interface, and it relies on the database functions.... -- Henry B. Tindall, Jr. CISSP, SSCP, Security+, Linux+, RHCSA ------------------------------ Message: 4 Date: Sun, 14 Jun 2020 13:26:47 +0300 From: Guy Sheffer <guys...@gmail.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] Using Motion to compare still images as they are captured Message-ID: <cakeaa61y2ds3oenc9ryu-9xlvtmwypybqdrbtzrenpsnrt-...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" Hey scott, I think adding the whole stack of motion would be a bit heavy, you might want to go using an OctoPrint plugin. At least if you are familiar with python. Moreover motion takes hold of the camera, as well as OctoPrint, you won't be able to use them both at the same time. There is also this, which I think would be great if someone build an open source tool (the plugin developer is not sharing the dataset and training code): https://plugins.octoprint.org/plugins/thespaghettidetective/ Guy Sheffer OctoPi Creator On Thu, Jun 11, 2020 at 9:49 PM Scott Barton <scott_bar...@hotmail.com> 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://www.youtube.com/watch?v=ZGOq9X5J97k> > 3DBenchy Octolapse - Fail <https://www.youtube.com/watch?v=ZGOq9X5J97k> > 3DBenchy Octolapse - Fail > www.youtube.com > > > https://www.youtube.com/watch?v=_8YT0j8UAI0 > <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 > > -Scott > > > > <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> > <#m_-5109960563699809977_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> > _______________________________________________ > 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 -------------- 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 36 ********************************************