Luckfox pico Max Face Recognition

  • rajadey150@gmail.com wrote: 2024-03-26 10:25 Respected Sir,
    I have uploaded the rectified code to the board .
    But no video is coming,only white screen is coming
    .............................Output i got........................
    input_attrs[0].size_with_stride=76800
    output mem [0] = 128
    Init success
    devpath = /dev/video11
    driver = rkisp_v7
    card = rkisp_mainpath
    bus_info = platform:rkisp-vir0
    version = 20000
    capabilities = 84201000
    device_caps = 4201000
    fmt = UYVY 4:2:2 59565955
    fmt = Y/CbCr 4:2:2 3631564e
    fmt = Y/CrCb 4:2:2 3136564e
    fmt = Y/CrCb 4:2:0 3132564e
    size = 32 x 16 ~ 2304 x 1296 (+8 +8)
    fmt = Y/CbCr 4:2:0 3231564e
    fmt = Y/CrCb 4:2:0 (N-C) 31324d4e
    fmt = Y/CbCr 4:2:0 (N-C) 32314d4e
    rkaiq log level ff0


    It is stopped over,no lcd image is coming

    This is the normal running print message. You can compare and see if there are any issues. It seems to be related to the camera. Please check if any programs related to the camera are closed or restart the device.
    rknn_output4.jpg
  • Respected i have tried after reset,
    But this output is showing and LCD showing white screen,
    Init success
    devpath = /dev/video11
    driver = rkisp_v7
    card = rkisp_mainpath
    bus_info = platform:rkisp-vir0
    version = 20000
    capabilities = 84201000
    device_caps = 4201000
    fmt = UYVY 4:2:2 59565955
    fmt = Y/CbCr 4:2:2 3631564e
    fmt = Y/CrCb 4:2:2 3136564e
    fmt = Y/CrCb 4:2:0 3132564e
    size = 32 x 16 ~ 800 x 600 (+8 +8)
    /dev/video11 ioctl VIDIOC_ENUM_FRAMEINTERVALS failed 19 No such device
    fopen ./test.jpg failed
    Illegal instruction (core dumped)
  • Respected Sir,
    I have tried every possible way to debug the error but i am unsuccessful.
    the code is stuck oer there and LCD is showing white display
  • rajadey150@gmail.com wrote: 2024-03-26 12:38 Respected Sir,
    I have tried every possible way to debug the error but i am unsuccessful.
    the code is stuck oer there and LCD is showing white display

    May I ask what camera you are using, and is it working properly?
  • Sir,
    I am using SSC3336 camera,
    I have tested the camera earlier it was showing output in the VLC player
    But now it is not showing
  • rajadey150@gmail.com wrote: 2024-03-26 13:07 Sir,
    I am using SSC3336 camera,
    I have tested the camera earlier it was showing output in the VLC player
    But now it is not showing
    Based on the initialization results, the main issue seems to be related to camera initialization. During the initialization process in opencv-mobile, there are some camera-related information printed. One noticeable difference I found is in the resolution capture, which could be due to driver or initialization issues.
    rknn_output5.jpg
    rknn_output6.jpg
    If possible, please provide the output of <b>'dmesg'</b> command after allowing the program to execute.

    Code: Select all

    # dmesg
    
    This is the normal display situation.
    rknn_output7.jpg
    Typically, resolving driver issues requires re-flashing the system. Please confirm the system you are using and attempt to re-flash accordingly.
    https://drive.google.com/file/d/1OApBa ... rive_link
  • Respected Sir,
    After executing the code,
    i have entered the #dmesg
    this is the output
    op 0
    [ 4.993052] 755: MPP_ENC_SET_CFG in
    [ 4.993067] 524: MPP_ENC_SET_RC_CFG bps 7776000 [7290000 : 8262000] fps [30:30] gop 0
    [ 4.993214] 755: MPP_ENC_SET_CFG in
    [ 4.993229] 524: MPP_ENC_SET_RC_CFG bps 7776000 [7290000 : 8262000] fps [30:30] gop 0
    [ 5.021962] 1062: mode cbr bps [480000:512000:544000] fps fix [30/1] -> fix [30/1] gop i [50] v [0]
    [ 5.059137] dwc3 ffb00000.usb: device reset
    [ 5.210146] rkisp queue buf done
    [ 5.245777] vepu_pp_create_chn 0
    [ 5.316131] android_work: sent uevent USB_STATE=CONFIGURED
    [ 278.416315] adbd (476): /proc/476/oom_adj is deprecated, please use /proc/476/oom_score_adj instead.

    Please suggest if any modification or changes to be done,as still no LCD display is coing
  • rajadey150@gmail.com wrote: 2024-03-27 5:47 Respected Sir,
    After executing the code,
    i have entered the #dmesg
    this is the output
    op 0
    [ 4.993052] 755: MPP_ENC_SET_CFG in
    [ 4.993067] 524: MPP_ENC_SET_RC_CFG bps 7776000 [7290000 : 8262000] fps [30:30] gop 0
    [ 4.993214] 755: MPP_ENC_SET_CFG in
    [ 4.993229] 524: MPP_ENC_SET_RC_CFG bps 7776000 [7290000 : 8262000] fps [30:30] gop 0
    [ 5.021962] 1062: mode cbr bps [480000:512000:544000] fps fix [30/1] -> fix [30/1] gop i [50] v [0]
    [ 5.059137] dwc3 ffb00000.usb: device reset
    [ 5.210146] rkisp queue buf done
    [ 5.245777] vepu_pp_create_chn 0
    [ 5.316131] android_work: sent uevent USB_STATE=CONFIGURED
    [ 278.416315] adbd (476): /proc/476/oom_adj is deprecated, please use /proc/476/oom_score_adj instead.

    Please suggest if any modification or changes to be done,as still no LCD display is coing
    Please double-check the details:

    1. Re-flash the correct image to the spi_nand.
    2. Boot up and execute "killall rkipc" to release the camera occupation.
    3. Use adb to upload the demo output folder provided by me to luckfox-pico.
    4. Use adb to upload a picture of your choice to luckfox-pico.
    5. Navigate to the demo output folder and execute "./luckfox_retinaface_facenet_spi_demo_test ./model/RetinaFace.rknn ./model/mobilefacenet.rknn xxxx.jpg" (Replace "xxxx.jpg" with the address of the picture you uploaded).

    If the issue persists, please try simpler demos. This demo might be a bit complex for your current level.
  • Please Suggest a demo test for LCD and camera interface