Forums › TWAIN Direct › Write a Twain Driver for X Ray Image Scanner
This topic contains 3 replies, has 0 voices, and was last updated by Mark 1 year, 1 month ago.
-
AuthorPosts
-
Bhim Rathor- Topics - 0
- Replies - 0
- Total Posts - 0
Hi,
We have a X Ray image scanner that acquire images through USB port just like any other scanner. However it work only on the manufacturer provided driver. I would like to write a Twain Driver for this sensor. All i have at this time and the Driver provided by manufacturer in working condition. If anyone could please advice how to go ahead with writing twain driver that would be lot of help.
Please note that i m sure that a twain driver can be written for this device because i know at least one third party that have created Twain driver for same scanner.
Thanks
Bhim
markm- Topics - 0
- Replies - 0
- Total Posts - 0
The TWAIN Working Group provides sample code on GitHub. Searching for the following will take you there: github twain sample data source
The sample code controls an image processing library to simulate scanning. You’ll want to swap that out for the commands that are native to the X-Ray scanner.
Bhim Rathor- Topics - 0
- Replies - 0
- Total Posts - 0
Thanks You. I got the Twain data source for FreeImage . I followed instruction at git hub to compile Twain DS but getting below errors. Any help with these error is appreciated.
Error 4 fatal error C1083: Cannot open source file: ‘..\src\GeneratedFiles\Win32\Debug\moc_Qt_About.cpp’: No such file or directory c1xx
Error 5 fatal error C1083: Cannot open source file: ‘..\src\GeneratedFiles\Win32\Debug\moc_Qt_MainForm.cpp’: No such file or directory c1xx
Error 6 fatal error C1083: Cannot open source file: ‘..\src\GeneratedFiles\Win32\Debug\moc_Qt_ProfileName.cpp’: No such file or directory c1xx
Error 7 fatal error C1083: Cannot open source file: ‘..\src\GeneratedFiles\qrc_qtresources.cpp’: No such file or directory c1xx
Error 8 error BK1506 : cannot open file ‘.\Debug32\Qt_About.sbr’: No such file or directory BSCMAKE
Error 1 fatal error C1083: Cannot open include file: ‘ui_About.h’: No such file or directory c:\odiimages\source\twain\twain-samples\twain_ds_sample01\src\qt_about.cpp 2
Error 2 fatal error C1083: Cannot open include file: ‘ui_MainForm.h’: No such file or directory c:\odiimages\source\twain\twain-samples\twain_ds_sample01\src\qt_mainform.cpp 2
Error 3 fatal error C1083: Cannot open include file: ‘ui_ProfileName.h’: No such file or directory c:\odiimages\source\twain\twain-samples\twain_ds_sample01\src\qt_profilename.cpp 2Thanks
Mark- Topics - 0
- Replies - 0
- Total Posts - 0
Bhim
I think we may be working on the same problem.
Is this a VIDAR X-ray Digitizer which has a TWAIN compliant driver for XP but only a MS Still Image compatible driver (STI) for more recent versions of Windows?
I have also posted to the SANE developers’ e-mail list. We would be happy if it would work on Linux.
Have you had any luck?
-
AuthorPosts