You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Face Detection Changes

Change 1:

Remove rms specific script and service files in rms bbappend file

cd meta-cmf-raspberrypi/meta-rdk-camera/recipes-extended/rms/

vi rms_git.bbappend

Disable below lines in rms bbappend file


 do_install_append() {

-install -Dm755 ${S}/startRMS.sh ${D}${base_libdir}/rdk/startRMS.sh

-install -d ${D}${systemd_unitdir}/system

-install -m 0644 ${S}/rms-launcher.service ${D}${systemd_unitdir}/system/

+#install -Dm755 ${S}/startRMS.sh ${D}${base_libdir}/rdk/startRMS.sh

+#install -d ${D}${systemd_unitdir}/system

+#install -m 0644 ${S}/rms-launcher.service ${D}${systemd_unitdir}/system/

 install -Dm755 ${S}/rms.conf ${D}${prefix}/local/rms/bin/

 }

-SYSTEMD_SERVICE_${PN}_append = "rms-launcher.service"

+#SYSTEMD_SERVICE_${PN}_append = "rms-launcher.service"

-FILES_${PN}_append = " \

-     ${systemd_unitdir}/system/rms-launcher.service \

-     ${base_libdir}/rdk/startRMS.sh \

-"

+#FILES_${PN}_append = " \

+#     ${systemd_unitdir}/system/rms-launcher.service \

+#     ${base_libdir}/rdk/startRMS.sh \

+#"


Change 2:

Remove cvr specific script and service files in cvr bbappend file

cd meta-cmf-raspberrypi/meta-rdk-camera/recipes-multimedia/cvr

vi cvr_git.bbappend

Disable below lines in cvr bbappend file

 do_install_append() {

 mkdir -p ${D}${prefix}/local/cvr

-install -Dm755 ${WORKDIR}/startCVR.sh ${D}${base_libdir}/rdk/startCVR.sh

-install -d ${D}${systemd_unitdir}/system

-install -m 0644 ${WORKDIR}/cvr-launcher.service ${D}${systemd_unitdir}/system/

+#install -Dm755 ${WORKDIR}/startCVR.sh ${D}${base_libdir}/rdk/startCVR.sh

+#install -d ${D}${systemd_unitdir}/system

+#install -m 0644 ${WORKDIR}/cvr-launcher.service ${D}${systemd_unitdir}/system/

 install -Dm755 ${WORKDIR}/cvr.conf ${D}${prefix}/local/cvr/

 }

-SYSTEMD_SERVICE_${PN}_append = "cvr-launcher.service"

+#SYSTEMD_SERVICE_${PN}_append = "cvr-launcher.service"

-FILES_${PN}_append = " \

-     ${systemd_unitdir}/system/cvr-launcher.service \

-     ${base_libdir}/rdk/startCVR.sh \

-"

+#FILES_${PN}_append = " \

+#     ${systemd_unitdir}/system/cvr-launcher.service \

+#     ${base_libdir}/rdk/startCVR.sh \

+#"

 inherit systemd


Change 3:

Add pw-capture in pipewire-launcher.service file

cd meta-cmf-raspberrypi/meta-rdk-camera/recipes-multimedia/pipeiwre/files/

vi startPipeWire.sh

Adding pw-capture in startPipeWire.sh file

 pipewire &

 pipewire-media-session &

+

+pw-capture &


Change 4:


Lighttpd Changes

lighttpd.conf

light.tar.gz

Need to copy this lighttpd.conf and light.tar.gz files in RPI camera target


lighttpd.conf:
Need to copy this lighttpd.conf file into /etc/lighttpd


light.tar.gz:
copy this into camera target
Local system : scp light.tar.gz root@camera_ip:/


camera target:

cd /
tar -xzvf  light.tar.gz

While untar this light.tar.gz file the respective files will automatically copy to usr/bin , usr/lib , usr/share directory.

Once did above steps then reboot the target.


  • No labels