-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Having errors DLL of the cam not installed !! #14
Comments
Hello, you can find the avaspecx64.dll following this instruction : The DLL of the camera is mandatory to acquire not to reconstruct hyperspectral cube. Let me know our needs, acquisition or reconstruction ? in the case of acquisition, let me know the model of your camera ? best |
Could you have a look to that branch please #15 |
Hi there! I really appreciate your reply. Thank you so much for that.
I have also tried with spyder here console errors : The response from @Mahieu-Williame,I installed the library but can find avaspecx64.dll after installation, it is a folder with MSL-Equipment files. I followed readme instructions, is the installation part of readme up to date ? Because requirements.txt is not inside ./spas/ . The response from @Mahieu-Williame, installation of library in : (../spas/lib/avaspec3/avaspecx64.dll) this not the case on readme too (this not my main point). Thank you so much. |
Hi, Are you using a 32-bit Win OS? We have not tried SPAS on a 32-bit computer! You have another error, the program cannot find the file "cie-cmf.txt" to convert the hypercube into an RGB image. You can see this file in your "spas" folder. In the "convert_spec_to_rgb.py" file, change the line : Try installing the DLL in the right place to see if the bug with CV2 goes away? best |
Hi , I still have the same issue, even by replacing the path as you describe. I put DLL is right place but still have the same CV2 problem. I have comment all cv2 in file to bypass this error but another error come in : spyrit exists but not spyrit.learning Any help ? Thank you ! |
another question , I would like to know if it is possible to have an hypercube with the resolution such as 512x512x2048 or more! |
Hi, The "Learning" folder in spyrit no longer exists since the new fork. The "Permutation_Matrix" function is found in the following module : "spyrit/misc/sampling.py". You can change the line : I did not try it For raw acquisition, the hypercube size is limited by the physical memory of the DMD we use. This model can store a maximum of 43000 patterns that means that 128x128 is the maximum (spectral dimension has no limit and depends on the spectrometer detector). This lead to 128²x2 = 32734 patterns. A subsampling strategy is implemented which reduce the numbers of patterns. Therefore, a 256x256 matrix could be acquired with a subsamplig factor of 3 which is entirely possible. A 512x512 matrix could be acquired with a subsamplig factor of 12 that become complicate at this stage of development. But another limitation is the size of the covariance matrix that becomes huge, it is the square of the square of the size of one side of the hypercube : best |
Hello,
I having an issues when I launch the project.
DLL of the cam not installed !! Is there another way to have avaspecx64.dll ? I try on internet and I contacted the company also but no success.
Thank you for help
The text was updated successfully, but these errors were encountered: