Skip to content

Commit 9dc156c

Browse files
committed
test playsound workflow build on ubuntu 22
1 parent 0a6329a commit 9dc156c

File tree

4 files changed

+18
-3
lines changed

4 files changed

+18
-3
lines changed

.github/workflows/python-app.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ permissions:
1515
jobs:
1616
build:
1717

18-
runs-on: ubuntu-latest
18+
runs-on: ubuntu-22.04
1919

2020
steps:
2121
- uses: actions/checkout@v4

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,11 @@ To use it run:
122122
python ./programs/dvs-live-stream-simulator-macos.py
123123
```
124124
<br>
125+
125126
You must be sure to run it in a not dark environment outside with enough light for your webcam, otherwise cv2 on macOS will output an array with mostly zeros and it will stop events from generating as there is not enough light change spotted in the picture.
126127

127128
This is a weird bug actually that comes from the IEBCS library, which does not provide the fallback for cv2 img as NoneType. It might also be caused by how Apple webcams work in their hardware.
129+
128130
<br>
129131

130132
## GUI Instructions
@@ -133,6 +135,8 @@ This is a weird bug actually that comes from the IEBCS library, which does not p
133135
<img src="https://raw.githubusercontent.com/Neuromorphicism/neuromorphic-bird-classifier-desktop-app-dvs-stream-cli-and-gui/main/neurobcda-gui-preview.png">
134136
</p>
135137

138+
<br>
139+
136140
Click on the RGB checkbox to display both the events live preview and RGB live preview. Uncheck it to display only the events live preview.
137141

138142
Click on the "Start" button to turn on your webcam.

requirements-linux.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ pillow
99
torch
1010
aestream
1111
norse==1.1.0
12-
playsound==1.3.0
12+
playsound
1313
customtkinter==5.2.2

windows-11-fix-aestream-instructions.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11

22
# None of the fixes below worked for me (November 2025)
33

4+
<br>
5+
46
## Windows without conda
57

68
Open terminal in the NeuroBCDA folder
@@ -17,6 +19,7 @@ Then again run: `pip install -r requirements-windows.txt` with all the uncomment
1719

1820
Now aestream will most probably fail…
1921

22+
<br>
2023

2124
## Install miniconda on Windows
2225

@@ -38,6 +41,7 @@ conda activate neurobcda
3841
pip install -r requirements-windows.txt
3942
```
4043

44+
<br>
4145

4246
## Anaconda PowerShell Prompt
4347

@@ -52,6 +56,7 @@ pip install -r requirements-windows.txt
5256

5357
If you have an error with outdated CMAKE then in cmd run: `choco upgrade cmake`
5458

59+
<br>
5560

5661
## CMake Problems
5762

@@ -66,8 +71,9 @@ pip cache purge
6671
pip install --no-build-isolation --no-dependencies aestream
6772
```
6873

69-
**Actually lz4 package should not be a dependency here because we are not using aedat4 files from a real DVS.*
74+
*Actually lz4 package should not be a dependency here because we are not using aedat4 files from a real DVS.*
7075

76+
<br>
7177

7278
## The main problem of AEStream is lz4
7379

@@ -82,6 +88,7 @@ cmake --build .
8288
python setup.py install
8389
```
8490

91+
<br>
8592

8693
## Install CMake from source
8794

@@ -96,6 +103,8 @@ ninja install
96103

97104
Here you would have to make sure that CMake finds the nanobind package installed with pip
98105

106+
<br>
107+
99108
## GCC version below 10
100109

101110
AEStream relies on modern compiler features and requires at least GCC 10 and CMake 3.20. To update GCC to version 10 on Windows the recommended approach is to install the MinGW-w64 toolchain which provides up-to-date GCC builds for Windows. MSBuild might also fail due to exceeding the maximum path length limit (260 characters) on Windows, which means that your folders can not be deeply nested (actually a hilarious fail, who even set that limit).
@@ -104,6 +113,8 @@ In general the whole Aestream library was not yet tested on Windows but its depe
104113

105114
For me the problem was with nanobind so maybe there is a missing "find_package(nanobind CONFIG REQUIRED)" in one of the CMakeLists.txt files in the aestream repository.
106115

116+
<br>
117+
107118
## Other possible fixes
108119

109120
Other fixes for Windows might include running this app in docker or WSL2 but those would be Linux envs not Windows anymore: https://github.com/aestream/aestream/issues/94

0 commit comments

Comments
 (0)