Merge branch 'main' of https://github.com/ZockerKatze/opencam
This commit is contained in:
21
LICENSE
Normal file
21
LICENSE
Normal file
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2025 Rattatwinko
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
@@ -34,7 +34,7 @@ Real-time object detection application using OpenCV and YOLO, with both Python a
|
||||
|
||||
1. Clone the repository:
|
||||
```bash
|
||||
git clone https://github.com/yourusername/opencam.git
|
||||
git clone https://github.com/ZockerKatze/opencam.git
|
||||
cd opencam/opencamcpp
|
||||
```
|
||||
|
||||
@@ -104,7 +104,7 @@ Download the weights file from: https://pjreddie.com/media/files/yolov3.weights
|
||||
|
||||
## License
|
||||
|
||||
[Your chosen license]
|
||||
MiT
|
||||
|
||||
## Contributing
|
||||
|
||||
@@ -112,4 +112,4 @@ Download the weights file from: https://pjreddie.com/media/files/yolov3.weights
|
||||
2. Create your feature branch
|
||||
3. Commit your changes
|
||||
4. Push to the branch
|
||||
5. Create a new Pull Request
|
||||
5. Create a new Pull Request
|
||||
|
||||
44
opencamcpp/fedora.sh
Normal file
44
opencamcpp/fedora.sh
Normal file
@@ -0,0 +1,44 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Install basic development tools
|
||||
sudo dnf groupinstall -y "Development Tools"
|
||||
sudo dnf install -y cmake git pkg-config
|
||||
|
||||
# Install Qt5
|
||||
sudo dnf install -y qt5-qtbase-devel qt5-qtmultimedia-devel
|
||||
|
||||
# Install CUDA (if not already installed)
|
||||
# First, add NVIDIA repository
|
||||
sudo dnf config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/fedora37/x86_64/cuda-fedora37.repo
|
||||
sudo dnf clean all
|
||||
# Install CUDA
|
||||
sudo dnf module disable -y nvidia-driver
|
||||
sudo dnf install -y cuda
|
||||
|
||||
# Install OpenCV dependencies
|
||||
sudo dnf install -y \
|
||||
ffmpeg-devel \
|
||||
libavcodec-devel \
|
||||
libavformat-devel \
|
||||
libswscale-devel \
|
||||
libv4l-devel \
|
||||
xvidcore-devel \
|
||||
x264-devel \
|
||||
libjpeg-turbo-devel \
|
||||
libpng-devel \
|
||||
libtiff-devel \
|
||||
gtk3-devel \
|
||||
atlas-devel \
|
||||
gcc-gfortran \
|
||||
python3-devel \
|
||||
python3-numpy \
|
||||
openblas-devel
|
||||
|
||||
# Optional: Install additional multimedia codecs
|
||||
sudo dnf install -y \
|
||||
https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm \
|
||||
https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
|
||||
|
||||
sudo dnf install -y \
|
||||
ffmpeg \
|
||||
ffmpeg-devel
|
||||
Reference in New Issue
Block a user