Giter Site home page Giter Site logo

Raspberry pi USB reset about shmile HOT 1 OPEN

porkbuns avatar porkbuns commented on September 24, 2024
Raspberry pi USB reset

from shmile.

Comments (1)

techyteach-s avatar techyteach-s commented on September 24, 2024

Hi Hugh,

I'm not sure if the issue you mention here is the same problem that I was having, but if you have a look in the Shmile on the Raspberry Pi Wiki I've resolved a problem I had, what would happen is that after say, 2 photos the script would fail. I managed to resolve the issue by modifying the image_compositor.coffee

From the wiki:
Issue that causes program to only take 1 or 2 Photos

I found when I initially got the Raspberry Pi running that it had issues only taking 1 photo at a time. After much frustration I found that the new version of imagemagik had a new argument, instead of -size it needed -resize. In line 61 of the code for image_compositor.coffee -size needed to be changed to -resize, once this was complete it worked without any issues. Furthermore I also found that the SLR connected needed to be setup to take photos in only JPEG, not RAW, this also causes some issues.

An edited version of image_compositor.coffee can be downloaded from: https://github.com/techyteach-s/shmile-Raspberry-Pi-fix

simply download, and substitute it for the file in the 'lib' folder of shmile.

Let me know how this goes for you.

I had the photobooth going using a raspberry pi and ipad mini for my wedding on the weekend and it worked great, only issue I can find presently is that there seems to be a memory leak and the script/pi (depending on setup) has to be restarted every 20 uses or so.

Hope this helps - Simon

from shmile.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.