Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thinkski/go-aravis
Go wrapper around libaravis
https://github.com/thinkski/go-aravis
aravis genicam gige golang vision
Last synced: about 2 months ago
JSON representation
Go wrapper around libaravis
- Host: GitHub
- URL: https://github.com/thinkski/go-aravis
- Owner: thinkski
- License: bsd-3-clause
- Created: 2018-08-28T01:03:10.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-29T00:16:00.000Z (about 5 years ago)
- Last Synced: 2024-11-02T07:42:17.261Z (2 months ago)
- Topics: aravis, genicam, gige, golang, vision
- Language: Go
- Size: 10.7 KB
- Stars: 12
- Watchers: 2
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![Go Report Card](https://goreportcard.com/badge/github.com/thinkski/go-aravis)
# go-aravisGo wrapper around libaravis
## Quickstart
How to get the number of connected devices:
import aravis
import logfunc main() {
aravis.UpdateDeviceList()n, err := aravis.GetNumDevices()
if err != nil {
log.Fatal(err)
}log.Println("Devices:", n)
}## Troubleshooting
GigE Vision cameras often use large packet sizes, well in excess of the typical MTU (maximum transmit unit) of most network interface cards, to save on packet overhead. Be sure to first set the MTU of the network interface(s) with GigE Vision cameras to 9000 bytes. For instance, if the network interface is `enp2s0`:
ip link set enp2s0 mtu 9000