Spaces:
Runtime error
Runtime error
# FROM python:3.9 | |
FROM hdgigante/python-opencv | |
RUN dnf -y install git | |
# RUN apt-get update && apt -y install curl gnupg libgl1-mesa-glx libglib2.0-0 && rm -rf /var/lib/apt/lists/* | |
# RUN echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" | tee /etc/apt/sources.list.d/coral-edgetpu.list | |
# RUN curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - && apt-get update && apt-get install -y python3-tflite-runtime && rm -rf /var/lib/apt/lists/* | |
# RUN apt-get update && apt-get install -y python3-opencv | |
# RUN pip install opencv-python mediapipe | |
RUN pip install Cython==0.29.36 | |
RUN git clone https://github.com/Li-Zhaoxi/AAMED.git && \ | |
cd AAMED/python && \ | |
python setup.py build_ext --inplace | |
RUN cd /opt/build/AAMED/python && python test_aamed.py | |