Comments (5)
Hello
I think, the sample in https://github.com/TheImagingSource/tiscamera/blob/master/examples/python/01-list-properties.py is exactly, what you need.
Stefan
from ic-imaging-control-samples.
Hello
Thanks for your answer but I use a window sytem and i can not use Gi and gst
I only use this repesitorie : https://github.com/TheImagingSource/IC-Imaging-Control-Samples/tree/master/Python
In particulary the code tisgrabber.py
Thanks in advance
from ic-imaging-control-samples.
Ah
now I understand. I mixed up the Linux and Windows repositories.
I am very sorry, but the Python port is not as sophisticated as the IC Imaging Control .NET and Classlibrary SDK. Therefore, there is no function for listing all camera properties in.
I would like to suggest to install the IC Imaging Control SDK from https://www.theimagingsource.com/support/downloads-for-windows/software-development-kits-sdks/icimagingcontrol/. It installs the "VCD Property Inspector" and provides a list of all properties. However, you can only copy the property names from there, but you can not enumerate the properties dynamically.
I would have to implement such functionality in the tisgrabber.dll first and port it to Python.
Stefan
from ic-imaging-control-samples.
Thanks
If finnally find a solution in the tisgrabber.py program I add
in the TIS\cam class :
def GetPropertyRange(self,Property,Element):
ValueMax = C.c_float()
ValueMin = C.c_float()
error = TIS_GrabberDLL.GetPropertyRange(self._handle,
self.s(Property),self.s(Element),
ValueMin,ValueMax)
return (ValueMin.value,ValueMax.value)
and in the TIS_GrabberDLL class
GetPropertyRange=__tisgrabber.IC_GetPropertyAbsoluteValueRange
GetPropertyRange.restype= C.c_int
GetPropertyRange.argtypes = (GrabberHandlePtr,
C.c_char_p,
C.c_char_p,
C.POINTER(C.c_float),
C.POINTER(C.c_float))
from ic-imaging-control-samples.
Perfect!
Stefan
from ic-imaging-control-samples.
Related Issues (20)
- Confusion about version of tisgrabber.dll HOT 3
- Framesnapsink/Framequesink HOT 3
- Noise Reduction HOT 18
- Taking images after external trigger for a fixed time HOT 13
- How to operate multiple cameras at the same time get image through python HOT 2
- Knowing when callback fails HOT 8
- Detailed trigger mode setting HOT 2
- Capture AVI program is not working HOT 12
- Activate/deactivate external trigger using python script HOT 4
- Exception: A set operation on a VCDProperty object failed HOT 10
- IC_StartLive fail HOT 3
- Cannot get Map Strings for Strobe Mode in python HOT 18
- Get crashed on create MediaStreamSink object in C# in .net core 7 HOT 2
- Web browser stream HOT 5
- Getting the exposure time HOT 3
- IC Imaging source upgrade to 3.5 from 3.4 HOT 1
- Ic imaging control 3.5 HOT 3
- tisfrabber LoadDeviceStateFromFile() and SnapImage HOT 1
- Python (tisgrabber): interaction with camera livestream IC_StartLive HOT 5
- Wondering if it's possible to make the video window scrollable in python HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ic-imaging-control-samples.