This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/EVMK2H: OpenCV Barcode Detector Sample Code

Part Number: EVMK2H


Tool/software: Code Composer Studio

Hello,

I'm currently testing out the OpenCV capabilities of the EVMK2H.

I decided to start with a sample barcode detector from </ti-processor-sdk-linux-k2hk-evm-05.01.00.11/example-applications/barcode-roi-01.00.00>

I tried building the project but ended up stumbling upon the following error:

In the case that you have resources that may help me address this issue, please do let me know.

Thank you.

Best Regards, 

Madeleine

  • Hi Madeleine,

    We will try this on our end and then get back to you.

    Regards,
    Garrett
  • Hi Madeleine,

    The project is makefile command line based:

    :~/ti-processor-sdk-linux-k2hk-evm-05.01.00.11$ make barcode-roi
    =============================
    Building Barcode ROI
    =============================
    make[1]: Entering directory '/home/user/ti-processor-sdk-linux-k2hk-evm-05.01.00.11/example-applications/barcode-roi-01.00.00'
    make[2]: Entering directory '/home/user/ti-processor-sdk-linux-k2hk-evm-05.01.00.11/example-applications/barcode-roi-01.00.00'
    arm-linux-gnueabihf-g++ detect_barcode.cpp -o detect_barcode -lopencv_core -lopencv_imgproc -lopencv_highgui -lopencv_ml -lopencv_video -lopencv_features2d -lopencv_calib3d -lopencv_objdetect -lopencv_imgcodecs -lopencv_video -lopencv_videoio -march=armv7-a -marm -mfpu=neon -mfloat-abi=hard --sysroot=/home/user/ti-processor-sdk-linux-k2hk-evm-05.01.00.11/linux-devkit/sysroots/armv7ahf-neon-linux-gnueabi
    make[2]: Leaving directory '/home/user/ti-processor-sdk-linux-k2hk-evm-05.01.00.11/example-applications/barcode-roi-01.00.00'
    make[1]: Leaving directory '/home/user/ti-processor-sdk-linux-k2hk-evm-05.01.00.11/example-applications/barcode-roi-01.00.00'

    Regards,
    Garrett
  • Hi Garrett,

    Thank you for your reply.

    Are all OpenCV projects supposed to be makefile command line based?

    Regards,
    Madeleine
  • Hi Madeleine,

    Yes, currently the OpenCV projects in the Processor SDK Linux package are provided in makefile only.

    Regards,

    Garrett