Giter Club home page Giter Club logo

pyseek's People

Contributors

fry-kun avatar

Stargazers

 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

pyseek's Issues

SeekThermalPro

Hi, how connect SeekThermal CompactPro with PySeek?

CompactPro:
Bus 001 Device 020: ID 289d:0011

I have changed idvendor and idProduct, but return this error:

FIle: seek.py line 95, in get_image
self.send_msg(0x41, 0x53, 0, 0, '\xC0\x7E\x00\x00')

do you have any idea?

Exception: fromstring() has been removed.

Hi

I've installed this on ubuntu 16.04:
python2.7-pil.imagetk python-usb

I can hear the calibration click from the device, but get an exception:

sudo python2.7 seek.py
Traceback (most recent call last):
File "seek.py", line 179, in
show_frame(first=True)
File "seek.py", line 160, in show_frame
disp_img = get_image()
File "seek.py", line 122, in get_image
calimg = Image.fromstring("I", (208,156), ret9, "raw", "I;16")
File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 2063, in fromstring
"Please call frombytes() instead.")
Exception: fromstring() has been removed. Please call frombytes() instead.

error at send_msg

This throws error at send_msg:
File "seek.py", line 150, in
disp_img = get_image()
File "seek.py", line 104, in get_image
send_msg(0x41, 0x53, 0, 0, '\xC0\x7E\x00\x00')
File "seek.py", line 32, in send_msg
assert (dev.ctrl_transfer(bmRequestType, bRequest, wValue, wIndex, data_or_wLength, timeout) == len(data_or_wLength))
File "/home/pi/lib/python3.7/site-packages/usb/core.py", line 1043, in ctrl_transfer
self.__get_timeout(timeout))
File "/home/pi//lib/python3.7/site-packages/usb/backend/libusb1.py", line 883, in ctrl_transfer
timeout))
File "/home/pi/lib/python3.7/site-packages/usb/backend/libusb1.py", line 595, in _check
raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 32] Pipe error

I have SEEK thermal compact XR version

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.