Git Product home page Git Product logo

focusbracket's Introduction

FocusBracket

Proof-of-concept app for focus bracketing on Sony Alpha cameras using the OpenMemories: Framework.

Installation

Use Sony-PMCA-RE or install through sony-pmca.appspot.com.

Usage

  • Put your camera into manual mode and set up your shot.
  • Start the app and follow the on-screen instructions.
  • Help/Trash or menu button exits the app.

Only tested on the A5100 w/ kit lens.

focusbracket's People

Contributors

androdev88 avatar obs1dium avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

focusbracket's Issues

Hangs on "Focusing..." in any case, and crashes.

Hi,
I installed the app on my Sony Rx10 m3 today, and tested it immediatly. I could adequately set the min and max focusing distance, and choose the number of points, but turns out that right after, the apps hangs on the "Focusing" message without much happening, long enough for the camera to crash or go to sleep-ish mode (I ignore if that's it, whatever, when pressing any button, the camera restarts as if I just restarted it). Has this problem been reported, and is there any simple solution to it ?

Best regards,

Nino

No focus on ILCE6000 with Samyang 50 1.4 AF

Cam: ILCE-60000 Version 3.21
Lense: Samyang 50mm1.4 AF Firmware .30

Issue: Autofocus is not working. Only get -> "[INFO] Starting focus drive (speed 1)" in the log output.

When moving the focus ring manual and hitting the correct possition, the cam takes a picture.

Sometimes hangs on Focusing

Sometimes the app just hangs on 'Focusing', it often happens after 2-3 shots when it happens.

And then when that happens one sometimes can see the app focusing in and out without stopping. Only way to stop it then is to press 'Menu' and thus exit the app. It is like the app is searching for a value (or distance) that just doesn't exist or is supported by the lens or firmware.

This using A7r ii, FE 16-35mm, latest firmware etc.

A possible solution would be to round down the numbers more (but that wouldn't be great for close up macros). Maybe a condition for if 'far' point is over 1000mm from 'close' point (the photographer isn't shooting a macro shot).

Focusbracket : Installation failure in A7II

Hi, I can not install the application
I get this error:

Using drivers Windows-MSC, Windows-MTP
Looking for Sony devices

Querying mass storage device
Sony DSC is a camera in mass storage mode

Switching to app install mode
Traceback (most recent call last):
File "C:\projects\sony-pmca-re\pmca-gui.py", line 76, in do
File "C:\projects\sony-pmca-re\pmca\commands\usb.py", line 274, in installCommand
File "C:\projects\sony-pmca-re\pmca\commands\usb.py", line 37, in switchToAppInstaller
File "C:\projects\sony-pmca-re\pmca\usb\sony.py", line 306, in switchToAppInstaller
File "C:\projects\sony-pmca-re\pmca\usb\sony.py", line 244, in sendCommand
File "C:\projects\sony-pmca-re\pmca\usb\sony.py", line 67, in sendSonyExtCommand
File "C:\projects\sony-pmca-re\pmca\usb_init
.py", line 36, in _checkResponse
pmca.usb.InvalidCommandException: Mass storage error: Sense 0x5 0x20 0x0

Any solution?
Congratulations, stunning work !!!!

Fails to complete on A7R

Will not accept a second focus point (maximum) on an A7R. Also does not draw the horizontal focus bar at the bottom of the screen though the two end point icons are visible. (Maybe the FocusDriveListener is not firing change events?)

[a6500] App intermittently stops after taking first shot, waits at "Focusing..." indefinitely

On my a6500 I'm able to properly set min/max focus and choose the number of shots, but the app hangs after the first shot, seemingly unable to change the focus. It's just stuck on "Focusing...", but doesn't seem to have crashed. Occasionally it works, but most of the time it does not. I've attached the log.
LOG.TXT

Additionally, the only way to change the number of shots seems to be the top control dial. Is there a way to use the rear dial and/or dpad?

Support Uncompressed RAW

When using the app RAW's shot with it comes out as compressed RAW even though uncompressed RAW is choosen within the firmware. One can clearly see this by just checking the file size:

compressed vs uncompressed RAW

First is compressed (shot via the focus bracket app), second file was shot after exiting the app.

FE2.8/90 and Vimalb fork

Hello,

FocusBracket is unusable for me with FE2.8/90. Only 3 or 4 steps are available as described on other reports.

So I tried the Vimlab fork https://github.com/vimalb/FocusBracket

On this fork no problem of low steps count but I have some other issues (sorry I didn't find how to post issues on Vimlab fork)

  • BUG: At the end of shooting all steps the sequence of shooting restart in the beginning in an endless loop. Impossible to stop the shootings without exiting application.

  • Define the step one by one is a little bit overkill for me. Why don't keep the 2 options ? define one by one (the fork) or only min, max and number of steps (original version).

  • FocusScaleView was nice. Why removed it ?

  • Is it possible to add the fork "Focus Preview Magnification" https://github.com/aniket-deole/FocusBracket ? it should be usefull with the new way to define steps one by one.

  • Add exposure bracket is a nice option, thanks. Is it possible to add flash exposure bracket too ?

Thanks a lot.

To support post auto focusing bracketing

The current scenery is actually a focus range shooting, which is suitable for still photography.

It's better to support another scenery, to shoot with the built-in autofocus feature at first, then increase/decrease the object distance by x2, 1/2, x4, 1/4 to take a few photos. this makes the shooting quickly and suitable for more situations besides still photography.

[REQ/Off topic] Custom A, B, C shots?

Would it be possible to do this?

  1. Set camera settings to 'A', click button to confirm
  2. Set ... to 'B', click to confirm
  3. Set 'C', click to confirm
  4. Trigger sequence

'Settings' refer to camera settings which basically can be anything the camera is set to (focus point, wb, f-stop etc etc).

I also have added a specific post about this, or the logic behind it, on community.sony.com but that Sony would include such things in FW updates or even as an app is far fetched.

Detailed post on community.sony.com:
http://community.sony.com/t5/Join-the-Inspiration/Advanced-Bracketing/idi-p/542423

It would seem that your Focus Bracket app handles and does similar things to what i've wanted for quite some time. The big difference is that by doing it "my" way one basically just set settings between shot A, B and C which basically mean that one could bracket anything, not just focus or exposure. Since the idea is that the app itself don't care what one brackets one could even combine focus, exposure, wb, shutter speeds or anything that is a setting and the app system got access to.

Not working on A7R2

I still have not had any luck with gettingthe app to work.
I have installed and uninstalled every version, trying to get it to work.
currently the latest version 1.5 is installed.
When started, I have the minimum and maximum icons on screen and a solid green line between them.
From watching video provided by other users, the app I have installed does not behave as it shows on the A7R2.

I have the lens in AF mode, and set the camera to MF mode, and using Manual mode on the camera as well, but still no luck.

Really would like to know why it works on some A7R2 and not others.

(after trying to reinstall the latest version, I am now not able to install any version of this app.)

Thanks and looking forward to any input that helps to get this working.

Set Maximum does'nt work

Sony Ilce 7
Install without problem
OK on set minimum works
But no reaction on OK on set maximum!

Support simpler focus

Focus is slightly hard to set while using wide angles and a low f-stop.
It would be good if one would be able to use focus magnification in order to correctly set the best focus point for 'close' and 'far'.

It would also be good to be able to use a small flexible spot as an alternative to MF.

Can't enter focus on a5000

When using an a5000 with kit lenses, there's no way to enter the max focus.

I can change the focus using the lens ring, and when I press the center button it changes the prompt on the screen from "Enter minimum focus" to "enter maximum focus". No change on the interface and no bar on the bottom of the screen. After that, no button seems to do anything and I have to press MENU to quit the app.

Takes only one picture on A6000

Hey, great job on the app.
I already installed firmware 3.1 for my A6000 and switched to manual mode and set ISO, Aperture and Time. Then I open the app and set the focusing distances and choose 3 shots. Unfortunately the app only takes one shot and then stops to do anything. Any ideas? Do I need to use manual focusing mode before opening the app?

[NEX-6] App crashes camera on start-up.

On my NEX-6, launching the Focus Bracket app causes the camera to reset and hang with no OSD and inoperable buttons. It eventually works itself out (watchdog reset?) I've attached the log file.
LOG.TXT

Suggested Improvements

I upgraded to a Sony A7Rii from an Olympus OMD-EM1.
The ONE feature that I gave up was focus bracketing.
No more.
This app has provided the missing functionality.
After installing it, I spent a day shooting landscapes with a 'focus' on bracketing my shots.
A few suggestions for improvements:

  • display focus distance when choosing near and far focus
  • allow magnification function to work when choosing near and far focus
  • populate the 'SequenceNumber' and the 'SequenceLength' in the metadata
  • if the range includes the hyperfocal distance, include that distance in one of the shots

Compatibility with La-EA3/4 Adapter for A-mount lenses.

I was so thrilled when I came across the App and its absolutely brilliant. So firstly thank you!

I have found a slight issue when using the A-mount adapters however. I'm not sure if this is a limitation due to adapting the lenses or just a bug. The app loads fine and you can set the closest focus point. However it does not let you set the farthest point it simply doesn't respond.

Looking at how the adapted lenses behave in manual focus makes me think it may actually be an issue with the adapter as the manual focus assist does not trigger.

If there is any possibility of making it work that would be awesome but I figured I'd just leave this up here to anyone else who may be having the same dilemma.

Thanks much!

Really slow focus on FE 2.9/90mm on A7RII and suggestion for some improvements

first of all thanks for your work, I tested the program with the a7RII and I can say it works well, I've testing with the lens, F2.8 GM 24-70 (this works fast and exceptionally) with 90mm F2.8 macro (focus takes a long time to start) and a canon lens adapted with metabones and I can say it works seamlessly with the new metabones native mode, focus a little slow but it works.

Also prove with my a6000 APSC lenses, the 55-210 and 16-50, they work smoothly.

I think the lens that giveme trouble was sadly the more necessary, it would be the 90mm macro, for some reason, with this lens the number of shots is really limited some times only 8 (which I think is easier to solve) and the speed of focus is very slow.

thanks for your attention, and if i can help im something im happy to try.

[A6000] Remember last powerzoom setting between shoots

Hi, I am using 16-50mm kit lens on A6000. Is it possible to add a feature to bring powerzoom to , ie, 22, 28, 35mm or even better, last adjusted zoom level?

Its forgetting zoom after each powersaver activation (darkscreen) and returning to widest, which is a pain when taking several shots of steady objects, very difficult to catch exact previous zoom level everytime.

Thanks,

Remote Trigger

Is there a way to run FocusBracket remotely?

I would like to use it for photogrammetry, but would need about 100 images from different positions (turntable). The camera should be as still as possible, I can take normal pictures via the remote control, but unfortunately it does not work with the app.

Or is there a trick?

Doesn't take pictures after focusing

SONY ALPHA 6000, FW 3.10, Sony ZEISS Lens with AF
-Auto review was disabled
-Camera was in manual focus mode

Bug: The camera doesn't take pictures after focusing: Focus -> Pause -> Focus -> Pause etc.

Bug: Sometimes, after leaving the app with the respective button (Menu button would be more intuitive though, because the other Sony Camera Apps use this as well) and then restarting the app, it keeps asking for the maximum focus point (right from the beginning) instead of the minimum focus point. It probably doesn't close the last instance, but reopens it..

General note: Usability of the app is so far pretty good!

Remember focus settings between shoots.

Is this possible to add the way for app to remember settings for focus and number of shoots? And add "shoot again" button?

Or, may be you can point on which part of app code I can try to add this feature? My coding skills too weak, but may be I can try to do something by myself...

This feature can be really useful for photogrammetry/3D scanning.

Focusing isn't detected on RX100 MK4 after startOneShotFocusDrive

FocusDriveListener is only triggered when changing focus by moving ring but isn't fired when startOneShotFocusDrive is used it might be because RX100IV has integrated lenses and ring isn't mechanically bound with lenses. As a result, it gets stuck on "Focusing...".

It seems that Bracket Pro uses:
shiftFocusPosition

private void handleShutterCallbackFocus(int var1) {
        ++this.mShutterCount;
        int var2 = BackUpUtil.getInstance().getPreferenceInt(BracketMasterBackUpKey.TAG_CURRENT_FOCUS_RANGE, 2);
        BMEEState.isBMCautionStateBooted = true;
        if(var2 == 2) {
            this.mPictureRangeSteps = 4;
        } else if(var2 == 1) {
            this.mPictureRangeSteps = 2;
        } else if(var2 == 0) {
            this.mPictureRangeSteps = 1;
        }

        var2 = this.mPictureRangeSteps;
        int var3 = this.mPictureRangeSteps;
        switch(this.mShutterCount) {
        case 1:
            this.mCameraEx.shiftFocusPosition(this.mPictureRangeSteps);
            this.mCameraEx.cancelTakePicture();
            this.mCameraEx.burstableTakePicture();
            return;
        case 2:
            this.mCameraEx.shiftFocusPosition(-(var2 + var3));
            this.mCameraEx.cancelTakePicture();
            this.mCameraEx.burstableTakePicture();
            return;
        case 3:
            this.lockWhiteBalanceSetting(false);
            this.lockExposureSetting(false);
            this.enableNextCapture(var1);
            this.mShutterCount = 0;
            return;
        default:
        }
    }```

Self timer / timer support or minimum time between captures

I have seen no way to influence the speed at which focusbracket will take pictures. When I select the maximum stacksize, it will take like 3 pictures in a row before it does a very short pause, with the second maximum stacksize it will take 2 pictures in a row followed by a pause and with smaller stacks it leaves quite a bit of time between captures.

I'm trying to add flashes to the mix, which works fine but with higher stack sizes (80+) my eneloop driven flashes can't keep up with the recycling during the '3 in a row' series. If the app would, say respect the self timer settings, or have an adjustable minimum time between shots all would be good.

It owuld be absolutely awesome if something like this could be added in another update. Thanks!

A7: FocusDriveListener not doing anything

Hi,

As best as I can tell the FocusDriverListener event is not raising on my A7 (original model). Latest firmware: 3.20

I built from source (and tried the shipped local installer build) v1.5. But no matter what I try, I always get a m_curFocus == 0

The logging messages are not hit either so it seems that this whole code block never fires. Other log messages are written fine so logging is generally working.

m_camera.setFocusDriveListener(new CameraEx.FocusDriveListener()
{
@OverRide
public void onChanged(CameraEx.FocusPosition focusPosition, CameraEx cameraEx)
{
Logger.info("FocusDriveListener: currentPosition " + focusPosition.currentPosition);
m_handler.removeCallbacks(m_checkFocusRunnable);
m_focusScaleView.setMaxPosition(focusPosition.maxPosition);
m_focusScaleView.setCurPosition(focusPosition.currentPosition);
m_tvMsg.setText(focusPosition.currentPosition);
m_curFocus = focusPosition.currentPosition;
if (m_waitingForFocus)
{
if (m_curFocus == m_focusQueue.getFirst())
{
// Focused, take picture
Logger.info("Taking picture (FocusDriveListener)");
takePicture();
}
else
focus();
}
}
});

spaced between photos

Missing simple option to set spacing between images to charge the flash in the studio. For example, every 5 seconds, another picture/

DSC-HX60 has enough control buttons, but none of them works

Even though FocusBracket was intended for "better" cameras than mine, on my DSC-HX60 should it work also, but setting of start point and end point focus position should be done by back control wheel (or LEFT and RIGHT arrows, or T and W zoom lever) also, not only front JOG dial (as I suppose, because I can not move the point by no controls on my camera). If made this alternative control, users of compact cameras (DSC-HX60/HX60V/HX400/HX400V, maybe DSC-WX220/WX350) should use this very interesting tool also.
Would it be very difficult to add the possibility of control by the rear rotary controler for the users of cheaper cameras? Thank you.

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.