GithubHelp home page GithubHelp logo

joergmlpts / olympus-wifi Goto Github PK

View Code? Open in Web Editor NEW
16.0 16.0 3.0 829 KB

Connect to wifi-enabled Olympus camera, show liveview, set the clock, take pictures, download images, change settings, turn it off.

License: MIT License

Python 100.00%
camera linux liveview olympus python wifi

olympus-wifi's People

Contributors

camdroid avatar joergmlpts avatar

Stargazers

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

Watchers

 avatar

olympus-wifi's Issues

Livepreview broken data stream

Thanks for the amazing package!

I'm having an issue with LivePreview, it works well but after a while I get: broken data stream when reading image file.
Seems like 1 frame once in a while fails and the preview gets frozen.

OS: Linux Mint

Would there be a way to make it more reliable? Maybe just drop bad frames and move to next?

Exception in Tkinter callback
Traceback (most recent call last):
  File "/home/itzco/anaconda3/lib/python3.9/tkinter/__init__.py", line 1892, in __call__
    return self.func(*args)
  File "/home/itzco/anaconda3/lib/python3.9/tkinter/__init__.py", line 814, in callit
    func(*args)
  File "/home/itzco/Projects/github/olympus-wifi/liveview.py", line 312, in check_update_image
    img = self.next_image()
  File "/home/itzco/Projects/github/olympus-wifi/liveview.py", line 299, in next_image
    tmp = ImageTk.PhotoImage(data=jpeg_and_extension.jpeg)
  File "/home/itzco/anaconda3/lib/python3.9/site-packages/PIL/ImageTk.py", line 128, in __init__
    self.paste(image)
  File "/home/itzco/anaconda3/lib/python3.9/site-packages/PIL/ImageTk.py", line 174, in paste
    im.load()
  File "/home/itzco/anaconda3/lib/python3.9/site-packages/PIL/ImageFile.py", line 288, in load
    raise_oserror(err_code)
  File "/home/itzco/anaconda3/lib/python3.9/site-packages/PIL/ImageFile.py", line 72, in raise_oserror
    raise OSError(msg)
OSError: broken data stream when reading image file

I tried

  • basic: Try / Except to just ignore Exception but gets worse;
  • ImageFile.LOAD_TRUNCATED_IMAGES = True is a popular answer but I don't think it applies

Thanks

No photos being taken

Hello,

I used this script to take focus stacked images with E-M1MarkIII but when I run the code, I keep getting E-M1MarkIII is taking a photo... message and there is no picture taken. I connected the camera to my computer using a cable that came with the camera. Any help would be much appreciated.

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.