now i cant work with the wifi can anyone help me with that
My suggestion:
Put your customised but apparently corrupted microSD card to one side for safe keeping.
On a new microSD card install a fresh clean copy of Raspbian, either by directly writing an image or by using the NOOBS Installer.
https://downloads.raspberrypi.org/raspb ... jessie.zip
Or
https://downloads.raspberrypi.org/NOOBS ... v2_1_0.zip
are the current versions at the time of writing.
Verify that the audio, WiFi and Bluetooth facilities that were 'broken' are now functional again.
Then reinstall opencv and other modules following your notes from the previous occasion when you did it successfully. Alternatively, by plugging a microSD USB dongle into your RPi it might be possible to mount the suspect microSD card and transfer across the modifications you apples to it.
The other possible approach is to use
rpi-update (if that is what you used, although your post mentions something else) to revert the configuration of the allegedly corrupt OS back to the version that was working before you changed it.