JARCH SHOWCASE
JARCH SHOWCASE
PhotoCam PhotoCam is an input component to take photos with the webcam and send them to the backend model.
<a:form>
    <h:panelGrid columns="3" cellpadding="5">
        <a:photoCam widgetVar="pc" listener="#{photoCamView.oncapture}" update="photo" />
        <a:commandButton type="button" value="Capture" onclick="PF('pc').capture()"/>
        <a:outputPanel id="photo">
            <a:graphicImage name="demo/images/photocam/#{photoCamView.filename}.jpeg" rendered="#{not empty photoCamView.filename}"/>
        </a:outputPanel>
    </h:panelGrid>
</a:form>
                
JARCH, Copyright © 2022 All rights reserved. Running JARCH 24.3.0-SNAPSHOT on PrimeFaces-12.0.0 on Mojarra-2.3.13.