Coder Social home page Coder Social logo

Comments (24)

musselwhizzle avatar musselwhizzle commented on June 6, 2024

Hi, Thanks a bunch for this. I may have some good/bad news for you. I think your camera is already supported. Can you please download the latest from the master repo and try it?

from focus-points.

neilschelly avatar neilschelly commented on June 6, 2024

I just bumped to your latest master, removed and reinstalled the plugin, and I don't see any focus points come up when I click "Show Focus Point" in the plugin extras menu. I just see the image itself in the window. If I do Show Metadata, it comes up as a blank/empty window.

I can try to troubleshoot a bit more later, or I can send you the images I'm looking at if that would help you. I don't have a lot of time to contribute unfortunately. I had the best of intentions when I forked this, but it's going to be awhile before I can really contribute too much more coding time.

from focus-points.

musselwhizzle avatar musselwhizzle commented on June 6, 2024

great. I'll add your mapping file then. thanks for checking that. 1 final thing if you dont mind. can you PR some sample images into here for me
https://github.com/musselwhizzle/Focus-Points-Sample-Images

from focus-points.

neilschelly avatar neilschelly commented on June 6, 2024

Done.

from focus-points.

musselwhizzle avatar musselwhizzle commented on June 6, 2024

Using supplied sample images, current canon 60D is off. Adjust or used supplied point map (See Screenshot)

screen shot 2017-01-12 at 6 52 19 pm

from focus-points.

philmoz avatar philmoz commented on June 6, 2024

I can't reproduce this - all the 60D sample images show correct focus points with the latest master branch on my system.
e.g.
screen shot 2017-01-13 at 3 24 23 pm copy

from focus-points.

musselwhizzle avatar musselwhizzle commented on June 6, 2024

weird, I dont get that at all. None of the 60D images work for me. Both the 40D and 80D work great. I even downloaded from your repo and it still doesn't work for me.

from focus-points.

musselwhizzle avatar musselwhizzle commented on June 6, 2024

@rderimay - could you try and see what you get?

from focus-points.

musselwhizzle avatar musselwhizzle commented on June 6, 2024

PS: attached is my metadata file. Is this the same as you're getting?
IMG_8568-metadata.txt

from focus-points.

philmoz avatar philmoz commented on June 6, 2024

Your metadata matches what I see. What does a full log look like?

from focus-points.

musselwhizzle avatar musselwhizzle commented on June 6, 2024

log attached:

libraryLogger.txt

from focus-points.

musselwhizzle avatar musselwhizzle commented on June 6, 2024

It's related to the dialog size which is a result of your screen size. Change the dialog to something small here:

local contentWidth = appWidth * .4
local contentHeight = appHeight * .4

and it will completely break (or fix it in my case). * .72 is my magic number. Any less than that fails. Anything more works.

screen shot 2017-01-12 at 9 55 31 pm

from focus-points.

musselwhizzle avatar musselwhizzle commented on June 6, 2024

it has to do with the piecing together of the focus box. If there's not enough space to draw all 4 corners, the script completely fails.

screen shot 2017-01-12 at 10 05 25 pm

screen shot 2017-01-12 at 10 05 46 pm

Look how close the first image is. When I make the dialog box just a hair smaller, the focus box goes away. We fix this issue, and it should be resolved @rderimay

from focus-points.

philmoz avatar philmoz commented on June 6, 2024

Yes, this line causes the small boxes to be ignored:
if dist > 25 then

'dist' is the diagonal size of the focus box.

Commenting out the 'dist' size check and setting a small view window (x0.4) gives this:
screen shot 2017-01-13 at 5 21 28 pm copy

This still looks ok to me so I would probably just remove the 'dist' check.

from focus-points.

musselwhizzle avatar musselwhizzle commented on June 6, 2024

I agree. It looks like a bug when they dont show up. The first image I posted isn't useable. I'll let @rderimay chime in before we change the code.

from focus-points.

musselwhizzle avatar musselwhizzle commented on June 6, 2024

@neilschelly let's see if we can get yours working. First off are you mac or PC.

If I do Show Metadata, it comes up as a blank/empty window

That's not a good sign. It wont work with that blank.

Set your logging to debug (as shown in the screenshot), and then attach your log file here please.
screen shot 2017-01-12 at 10 29 34 pm

Your log file is located under ~/Documents/libraryLogger.log. Rename it to libraryLogger.txt so this webpage will let you upload it.

from focus-points.

rderimay avatar rderimay commented on June 6, 2024

from focus-points.

rderimay avatar rderimay commented on June 6, 2024

Fixed in PR #98

from focus-points.

musselwhizzle avatar musselwhizzle commented on June 6, 2024

Yes, the current master resolves my issue. Still need to figure out why @neilschelly metadata is completely blank, then we'll be all set!

from focus-points.

rderimay avatar rderimay commented on June 6, 2024

from focus-points.

musselwhizzle avatar musselwhizzle commented on June 6, 2024

I need a response from Neil. You're off the hook for now :)
If his metadata dialog is blank, I'm assuming the metadata is never written to the file....which is unexpected.

from focus-points.

rderimay avatar rderimay commented on June 6, 2024

from focus-points.

neilschelly avatar neilschelly commented on June 6, 2024

Sorry folks, my day job has nothing to do with this. The Mac I use for photography is at home. I hope to be able to get the test data you need later tonight.

from focus-points.

neilschelly avatar neilschelly commented on June 6, 2024

I just upgraded the plugin to the latest/greatest. Focus points show up and the metadata page is no longer empty. I'm all good now! Thanks a ton for the effort.

from focus-points.

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.