Go to advanced search

by fa001
Tue Jan 14, 2020 9:42 pm
Forum: Other projects
Topic: Photo Booth Help
Replies: 139
Views: 18032

Re: Photo Booth Help

I again suggest that you try it from a terminal window as suggested above. Or if you think that memory is an issue exit the GUI and run from the command line.
by fa001
Tue Jan 14, 2020 8:21 pm
Forum: Other projects
Topic: Photo Booth Help
Replies: 139
Views: 18032

Re: Photo Booth Help

Python3 should be already part of the system. You should do an update / upgrade of your system: In a terminal window. First, update your system's package list by entering the following command: sudo apt update Next, upgrade all your installed packages to their latest versions with the following comm...
by fa001
Tue Jan 14, 2020 6:44 pm
Forum: Other projects
Topic: Photo Booth Help
Replies: 139
Views: 18032

Re: Photo Booth Help

I have not done a lot of work through Thorny. Perhaps you can try the command line. Try typing sudo python3 ScriptName in the terminal. I do not remember what we ended up calling the photobooth script so replace ScriptName with the correct name of the script. In case you do not know what the termina...
by fa001
Mon Jan 13, 2020 5:25 pm
Forum: Other projects
Topic: Photo Booth Help
Replies: 139
Views: 18032

Re: Photo Booth Help

The use of tabs vs spaces depends on the editor/environment you are using. If you are using Thorny and it wants spaces change to spaces. You will just have to remember to use spaces instead of tabs if you edit the file. home/pi should be the correct directory. If blank is not in the correct space yo...
by fa001
Sun Jan 12, 2020 4:51 pm
Forum: Other projects
Topic: Photo Booth Help
Replies: 139
Views: 18032

Re: Photo Booth Help

Sorry to hear that you are again having problems. I do not currently have my Raspberry Pi setup up. So I will not be able to mirror your problems but perhaps it is something simple.

What are you entering and what results do you get?

Fred
by fa001
Tue Mar 06, 2018 7:08 pm
Forum: Other projects
Topic: stepper motor coupling
Replies: 2
Views: 533

Re: stepper motor coupling

Thanks, that was too easy. I must refine my search skills. :)

Fred
by fa001
Tue Mar 06, 2018 6:27 pm
Forum: Other projects
Topic: stepper motor coupling
Replies: 2
Views: 533

stepper motor coupling

I have a stepper motor with a 5mm shaft that I would like to connect to a shaft that measures 6.3mm. The couplers that I have found are either 5mm to 5mm or 5mm to 8mm. So does it work to tighten down an 8mm to the 6.3mm shaft or will that put it off center to much. I was thinking that I could also ...
by fa001
Sun Nov 26, 2017 5:19 pm
Forum: Other projects
Topic: Photo booth with DSLR
Replies: 2
Views: 7510

Re: Photo booth with DSLR

There are many examples of photobooths around. Here is one that has the two features, button and count down, that you asked about. http://failtryagain.com/2016/08/13/photo-booth/ You should be able to copy those segments into your program. Here is another more complete, complex, example. It uses gph...
by fa001
Sat Nov 11, 2017 6:22 pm
Forum: Other projects
Topic: DSLR Photo booth with upload
Replies: 1
Views: 1425

Re: DSLR Photo booth with upload

This link gives an example of how to use Google Photos:
https://makezine.com/projects/raspberry-pi-photo-booth/

There are other examples around using other sites. Google is your friend.
by fa001
Wed Sep 13, 2017 3:59 pm
Forum: Media centres
Topic: LCD Screen colour problem
Replies: 4
Views: 2294

Re: Screen problem

You say that it is HDMI connected. So you can eliminate possible pi issues by connecting some other "good" HDMI source such as video. If another source shows the same issues than it is most likely the controller board setup.
by fa001
Tue Jul 11, 2017 6:23 pm
Forum: Other projects
Topic: Photo Booth Help
Replies: 139
Views: 18032

Re: Photo Booth Help

Glad it worked, the pictures look good. I noticed that you did not customize the background word. Perhaps that is a process that we still need to work on.

If your pi is getting hot you might also look into getting heat sinks for it.
by fa001
Sat Jul 08, 2017 12:47 am
Forum: Other projects
Topic: Photo Booth Help
Replies: 139
Views: 18032

Re: Photo Booth Help

Your completed project looks great.
Best wishes on your anniversary.
You will have to let me know how the photobooth works out.
by fa001
Mon Mar 20, 2017 5:25 pm
Forum: Other projects
Topic: Photo Booth Help
Replies: 139
Views: 18032

Re: Photo Booth Help

If the light in the switch is an LED the following tutorial may be helpful to you.
https://thepihut.com/blogs/raspberry-pi ... -gpio-pins
by fa001
Mon Mar 20, 2017 5:17 pm
Forum: Other projects
Topic: Photo Booth Help
Replies: 139
Views: 18032

Re: Photo Booth Help

I have modified the code to allow both keyboard and button. Use the same download link to get the new code.
I did not test it yet but was "simple". Let me know if it works for you.
by fa001
Mon Mar 20, 2017 5:03 pm
Forum: Other projects
Topic: Photo Booth Help
Replies: 139
Views: 18032

Re: Photo Booth Help

The power switch button should fit right on pins 9 & 11 of the GPIO header. Eariler in this topic I posted a link to the GPIO header pinout. That will show you where. The light is a different issue. It depends on just what it is as to how you could power it. The GPIO pins do not provide a lot of pow...
by fa001
Sun Mar 19, 2017 5:55 pm
Forum: Other projects
Topic: Photo Booth Help
Replies: 139
Views: 18032

Re: Photo Booth Help

This part of the error message,
File "/home/pi/Downloads/PiPhotoBooth2 (1).py",
Looks like you are running the program from the Downloads directory.
Remember that the program requires an image directory and the blank.jpg be in the same directory as the program.
by fa001
Sun Mar 19, 2017 4:47 pm
Forum: Other projects
Topic: Photo Booth Help
Replies: 139
Views: 18032

Re: Photo Booth Help

The use of spaces vs tabs is a problem of using different editors.
Download again and retry.

When you get a button setup are you going to want to switch to just using the button or will you want the program to use both button and keyboard?
by fa001
Sun Mar 19, 2017 12:44 am
Forum: Other projects
Topic: Photo Booth Help
Replies: 139
Views: 18032

Re: Photo Booth Help

OK, well you did put it in the wrong place and because the forum did not use my code tags you also lost indentation.
But I think that we got it now. Try to get it from this link.
https://www.dropbox.com/s/5sp9usmaue2mz ... h2.py?dl=0
by fa001
Sat Mar 18, 2017 10:29 pm
Forum: Other projects
Topic: Photo Booth Help
Replies: 139
Views: 18032

Re: Photo Booth Help

Well you may not have done it correctly. Unfortunately this forum does not allow attaching program files.
by fa001
Sat Mar 18, 2017 9:11 pm
Forum: Other projects
Topic: Photo Booth Help
Replies: 139
Views: 18032

Re: Photo Booth Help

First try at larger number. after the last line of the displayStatus procedure which is pygame.display.flip() Insert the following # On screen cnt down message def displayCnt(cnt): screen.fill((0,0,0)) font = pygame.font.SysFont("monospace",200) text = font.render(cnt,True,(255,255,255)) # Display i...
by fa001
Sat Mar 18, 2017 12:02 am
Forum: Other projects
Topic: Photo Booth Help
Replies: 139
Views: 18032

Re: Photo Booth Help

OK, that picture looks more like what I expected. However it is interesting that you went that big but did not go for the max. That picture is 3180 pixels wide. You should be able to go to 3280. 3280 x 2464 is the 4:3 aspect ratio. The text probably looks small because you have the picture so large ...
by fa001
Fri Mar 17, 2017 10:03 pm
Forum: Other projects
Topic: Photo Booth Help
Replies: 139
Views: 18032

Re: Photo Booth Help

The single picture, image3, you posted is 466 x 369 pixels. Is that what you set the camera to? Or did you change it to post it?
by fa001
Fri Mar 17, 2017 9:29 pm
Forum: Other projects
Topic: Photo Booth Help
Replies: 139
Views: 18032

Re: Photo Booth Help

Above I said to To do that, at the start of the program after the line input_state = True insert the following lines putting numbers in for width and height: camera.sensor_mode=2 camera.resolution = ( width, height) You got an error because that was the wrong place. They should be inserted ("put") a...
by fa001
Fri Mar 17, 2017 8:53 pm
Forum: Other projects
Topic: Photo Booth Help
Replies: 139
Views: 18032

Re: Photo Booth Help

What did you try for width and height? Try putting the camera statements after the with picamera.PiCamera() as camera: statement. They should be indented to be directly above the while True: statement. Then the object camera should be known. To change the aspect on the combined images image, in the ...

Go to advanced search