fry-kun / pyseek Goto Github PK
View Code? Open in Web Editor NEWPython interface for Seek Thermal device
License: MIT License
Python interface for Seek Thermal device
License: MIT License
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?
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.