Spaces:
Runtime error
Runtime error
# FROM python:3.9 | |
FROM jjanzic/docker-python3-opencv | |
# RUN apt-get update && apt -y install curl gnupg libgl1-mesa-glx libglib2.0-0 && rm -rf /var/lib/apt/lists/* | |
RUN apt-get update && apt-get install -y --no-install-recommends \ | |
bzip2 \ | |
g++ \ | |
git \ | |
# graphviz \ | |
# libgl1-mesa-glx \ | |
# libhdf5-dev \ | |
# openmpi-bin \ | |
wget \ | |
# python3-tk && \ | |
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 ls -1al /usr/local/include/python3.9 | |
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 | |