548 lines
18 KiB
Plaintext
548 lines
18 KiB
Plaintext
{
|
|
"common": {
|
|
"admin_password": "PhotoBooth2026!",
|
|
"logging_level": "WARNING",
|
|
"users_delete_to_recycle_dir": true
|
|
},
|
|
"actions": {
|
|
"image": [
|
|
{
|
|
"name": "BAPT - normal",
|
|
"jobcontrol": {
|
|
"countdown_capture": 3.0
|
|
},
|
|
"processing": {
|
|
"remove_background": false,
|
|
"fill_background_enable": false,
|
|
"fill_background_color": "#ededed",
|
|
"img_background_enable": false,
|
|
"img_background_file": null,
|
|
"image_filter": "original",
|
|
"img_frame_enable": true,
|
|
"img_frame_file": "userdata/BAPTEME/frame/cadre baptème elise et diane.png",
|
|
"texts_enable": false,
|
|
"texts": []
|
|
},
|
|
"trigger": {
|
|
"ui_trigger": {
|
|
"show_button": false,
|
|
"title": "Photo normal",
|
|
"icon": "Photo",
|
|
"use_custom_color": true,
|
|
"custom_color": "#016911"
|
|
},
|
|
"keyboard_trigger": {
|
|
"keycode": ""
|
|
},
|
|
"gpio_trigger": {
|
|
"pin": "",
|
|
"trigger_on": "pressed"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "BAPT - etoile",
|
|
"jobcontrol": {
|
|
"countdown_capture": 5.0
|
|
},
|
|
"processing": {
|
|
"remove_background": true,
|
|
"fill_background_enable": false,
|
|
"fill_background_color": "#ededed",
|
|
"img_background_enable": true,
|
|
"img_background_file": "userdata/demoassets/backgrounds/background.jpg",
|
|
"image_filter": "original",
|
|
"img_frame_enable": true,
|
|
"img_frame_file": "userdata/BAPTEME/frame/cadre baptème elise et diane.png",
|
|
"texts_enable": false,
|
|
"texts": []
|
|
},
|
|
"trigger": {
|
|
"ui_trigger": {
|
|
"show_button": false,
|
|
"title": "Photo normal",
|
|
"icon": "Photo",
|
|
"use_custom_color": true,
|
|
"custom_color": "#016911"
|
|
},
|
|
"keyboard_trigger": {
|
|
"keycode": ""
|
|
},
|
|
"gpio_trigger": {
|
|
"pin": "",
|
|
"trigger_on": "pressed"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "MT - normal",
|
|
"jobcontrol": {
|
|
"countdown_capture": 5.0
|
|
},
|
|
"processing": {
|
|
"remove_background": false,
|
|
"fill_background_enable": false,
|
|
"fill_background_color": "#ededed",
|
|
"img_background_enable": false,
|
|
"img_background_file": null,
|
|
"image_filter": "original",
|
|
"img_frame_enable": true,
|
|
"img_frame_file": "userdata/MT/frames/photoMT-jeannehuguette.png",
|
|
"texts_enable": false,
|
|
"texts": []
|
|
},
|
|
"trigger": {
|
|
"ui_trigger": {
|
|
"show_button": false,
|
|
"title": "Photo normal",
|
|
"icon": "Photo",
|
|
"use_custom_color": true,
|
|
"custom_color": "#016911"
|
|
},
|
|
"keyboard_trigger": {
|
|
"keycode": ""
|
|
},
|
|
"gpio_trigger": {
|
|
"pin": "",
|
|
"trigger_on": "pressed"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "MT - etoile",
|
|
"jobcontrol": {
|
|
"countdown_capture": 5.0
|
|
},
|
|
"processing": {
|
|
"remove_background": true,
|
|
"fill_background_enable": false,
|
|
"fill_background_color": "#ededed",
|
|
"img_background_enable": true,
|
|
"img_background_file": "userdata/demoassets/backgrounds/background.jpg",
|
|
"image_filter": "original",
|
|
"img_frame_enable": true,
|
|
"img_frame_file": "userdata/MT/frames/photoMT-jeannehuguette.png",
|
|
"texts_enable": false,
|
|
"texts": []
|
|
},
|
|
"trigger": {
|
|
"ui_trigger": {
|
|
"show_button": false,
|
|
"title": "Photo normal",
|
|
"icon": "Photo",
|
|
"use_custom_color": true,
|
|
"custom_color": "#016911"
|
|
},
|
|
"keyboard_trigger": {
|
|
"keycode": ""
|
|
},
|
|
"gpio_trigger": {
|
|
"pin": "",
|
|
"trigger_on": "pressed"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "HnB - normal",
|
|
"jobcontrol": {
|
|
"countdown_capture": 5.0
|
|
},
|
|
"processing": {
|
|
"remove_background": false,
|
|
"fill_background_enable": false,
|
|
"fill_background_color": "#ededed",
|
|
"img_background_enable": false,
|
|
"img_background_file": "userdata/demoassets/backgrounds/background.jpg",
|
|
"image_filter": "original",
|
|
"img_frame_enable": true,
|
|
"img_frame_file": "userdata/hopnbloc/frames/hnb cadre final.png",
|
|
"texts_enable": false,
|
|
"texts": []
|
|
},
|
|
"trigger": {
|
|
"ui_trigger": {
|
|
"show_button": false,
|
|
"title": "Photo normal",
|
|
"icon": "Photo",
|
|
"use_custom_color": true,
|
|
"custom_color": "#016911"
|
|
},
|
|
"keyboard_trigger": {
|
|
"keycode": ""
|
|
},
|
|
"gpio_trigger": {
|
|
"pin": "",
|
|
"trigger_on": "pressed"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Hnb - Etoile",
|
|
"jobcontrol": {
|
|
"countdown_capture": 5.0
|
|
},
|
|
"processing": {
|
|
"remove_background": true,
|
|
"fill_background_enable": true,
|
|
"fill_background_color": "#ededed",
|
|
"img_background_enable": true,
|
|
"img_background_file": "userdata/demoassets/backgrounds/background.jpg",
|
|
"image_filter": "original",
|
|
"img_frame_enable": true,
|
|
"img_frame_file": "userdata/hopnbloc/frames/hnb cadre final.png",
|
|
"texts_enable": false,
|
|
"texts": []
|
|
},
|
|
"trigger": {
|
|
"ui_trigger": {
|
|
"show_button": false,
|
|
"title": "Photo - voie lactée",
|
|
"icon": "star_shine",
|
|
"use_custom_color": true,
|
|
"custom_color": "#016911"
|
|
},
|
|
"keyboard_trigger": {
|
|
"keycode": ""
|
|
},
|
|
"gpio_trigger": {
|
|
"pin": "",
|
|
"trigger_on": "pressed"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Hnb - Cailloux",
|
|
"jobcontrol": {
|
|
"countdown_capture": 5.0
|
|
},
|
|
"processing": {
|
|
"remove_background": true,
|
|
"fill_background_enable": true,
|
|
"fill_background_color": "#f2f0f0",
|
|
"img_background_enable": true,
|
|
"img_background_file": "userdata/hopnbloc/backgrounds/Wall-with-large-and-small-stones.jpg",
|
|
"image_filter": "original",
|
|
"img_frame_enable": true,
|
|
"img_frame_file": "userdata/hopnbloc/frames/hnb cadre final.png",
|
|
"texts_enable": false,
|
|
"texts": []
|
|
},
|
|
"trigger": {
|
|
"ui_trigger": {
|
|
"show_button": false,
|
|
"title": "Photo - Mur de pierre",
|
|
"icon": "brick",
|
|
"use_custom_color": true,
|
|
"custom_color": "#016911"
|
|
},
|
|
"keyboard_trigger": {
|
|
"keycode": ""
|
|
},
|
|
"gpio_trigger": {
|
|
"pin": "",
|
|
"trigger_on": "pressed"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Hnb - Light",
|
|
"jobcontrol": {
|
|
"countdown_capture": 5.0
|
|
},
|
|
"processing": {
|
|
"remove_background": true,
|
|
"fill_background_enable": true,
|
|
"fill_background_color": "#f2f0f0",
|
|
"img_background_enable": true,
|
|
"img_background_file": "userdata/hopnbloc/backgrounds/2149243965.jpg",
|
|
"image_filter": "original",
|
|
"img_frame_enable": true,
|
|
"img_frame_file": "userdata/hopnbloc/frames/calque photos final.png",
|
|
"texts_enable": false,
|
|
"texts": []
|
|
},
|
|
"trigger": {
|
|
"ui_trigger": {
|
|
"show_button": false,
|
|
"title": "HnB - Soirée branchée",
|
|
"icon": "nightlife",
|
|
"use_custom_color": true,
|
|
"custom_color": "#016911"
|
|
},
|
|
"keyboard_trigger": {
|
|
"keycode": ""
|
|
},
|
|
"gpio_trigger": {
|
|
"pin": "",
|
|
"trigger_on": "pressed"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"collage": [
|
|
{
|
|
"name": "default action",
|
|
"jobcontrol": {
|
|
"countdown_capture": 2.0,
|
|
"countdown_capture_second_following": 1.0,
|
|
"ask_approval_each_capture": true,
|
|
"approve_autoconfirm_timeout": 15.0,
|
|
"show_individual_captures_in_gallery": true
|
|
},
|
|
"processing": {
|
|
"capture_remove_background": true,
|
|
"capture_fill_background_enable": true,
|
|
"capture_fill_background_color": "white",
|
|
"capture_img_background_enable": false,
|
|
"capture_img_background_file": null,
|
|
"canvas_width": 1920,
|
|
"canvas_height": 1280,
|
|
"merge_definition": [
|
|
{
|
|
"description": "left",
|
|
"pos_x": 160,
|
|
"pos_y": 220,
|
|
"pos_z": 0,
|
|
"width": 510,
|
|
"height": 725,
|
|
"rotate": 0,
|
|
"predefined_image": null,
|
|
"image_filter": "FilterPilgram2.earlybird"
|
|
},
|
|
{
|
|
"description": "middle predefined",
|
|
"pos_x": 705,
|
|
"pos_y": 66,
|
|
"pos_z": 0,
|
|
"width": 510,
|
|
"height": 725,
|
|
"rotate": 0,
|
|
"predefined_image": "userdata/demoassets/predefined_images/photobooth-collage-predefined-image.png",
|
|
"image_filter": "original"
|
|
},
|
|
{
|
|
"description": "right",
|
|
"pos_x": 1245,
|
|
"pos_y": 220,
|
|
"pos_z": 0,
|
|
"width": 510,
|
|
"height": 725,
|
|
"rotate": 0,
|
|
"predefined_image": null,
|
|
"image_filter": "FilterPilgram2.reyes"
|
|
}
|
|
],
|
|
"canvas_fill_background_enable": false,
|
|
"canvas_fill_background_color": "#2e6f40",
|
|
"canvas_img_background_enable": false,
|
|
"canvas_img_background_file": null,
|
|
"canvas_img_front_enable": true,
|
|
"canvas_img_front_file": "userdata/demoassets/frames/pixabay-poster-2871536_1920.png",
|
|
"canvas_texts_enable": true,
|
|
"canvas_texts": [
|
|
{
|
|
"text": "Have a nice day :)",
|
|
"pos_x": 200,
|
|
"pos_y": 1100,
|
|
"rotate": 1,
|
|
"font_size": 40,
|
|
"font": "userdata/demoassets/fonts/Roboto-Bold.ttf",
|
|
"color": "#333"
|
|
}
|
|
]
|
|
},
|
|
"trigger": {
|
|
"ui_trigger": {
|
|
"show_button": false,
|
|
"title": "Collage",
|
|
"icon": "auto_awesome_mosaic",
|
|
"use_custom_color": false,
|
|
"custom_color": "#196cb0"
|
|
},
|
|
"keyboard_trigger": {
|
|
"keycode": "c"
|
|
},
|
|
"gpio_trigger": {
|
|
"pin": "22",
|
|
"trigger_on": "pressed"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"animation": [],
|
|
"video": [],
|
|
"multicamera": []
|
|
},
|
|
"share": {
|
|
"sharing_enabled": true,
|
|
"actions": [
|
|
{
|
|
"name": "Demande d'impression",
|
|
"handles_images_only": true,
|
|
"processing": {
|
|
"share_command": "curl http://127.0.0.1:1880/api/photobooth-custom/ask_print?filename={filename}",
|
|
"ask_user_for_parameter_input": false,
|
|
"parameters_dialog_caption": "Make your choice!",
|
|
"parameters_dialog_action_icon": "print",
|
|
"parameters_dialog_action_label": "GO",
|
|
"parameters": [],
|
|
"share_blocked_time": 1,
|
|
"max_shares": 0
|
|
},
|
|
"trigger": {
|
|
"ui_trigger": {
|
|
"show_button": true,
|
|
"title": "Demander l'impression ?",
|
|
"icon": "photo_prints",
|
|
"use_custom_color": true,
|
|
"custom_color": "#ab0a78"
|
|
},
|
|
"keyboard_trigger": {
|
|
"keycode": ""
|
|
},
|
|
"gpio_trigger": {
|
|
"pin": "",
|
|
"trigger_on": "pressed"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Impression",
|
|
"handles_images_only": true,
|
|
"processing": {
|
|
"share_command": "/home/pi/photobooth-data/script/script_print.sh \"{filename}\" \"{media_type}\" \"{action_config_name}\" \"{copies}\"",
|
|
"ask_user_for_parameter_input": false,
|
|
"parameters_dialog_caption": "Make your choice!",
|
|
"parameters_dialog_action_icon": "print",
|
|
"parameters_dialog_action_label": "GO",
|
|
"parameters": [
|
|
{
|
|
"key": "copies",
|
|
"label": "Copies",
|
|
"ui_type": "int",
|
|
"default": "1",
|
|
"valid_min": "1",
|
|
"valid_max": "2"
|
|
}
|
|
],
|
|
"share_blocked_time": 120,
|
|
"max_shares": 0
|
|
},
|
|
"trigger": {
|
|
"ui_trigger": {
|
|
"show_button": true,
|
|
"title": "Direct Print",
|
|
"icon": "print",
|
|
"use_custom_color": true,
|
|
"custom_color": "#b01992"
|
|
},
|
|
"keyboard_trigger": {
|
|
"keycode": ""
|
|
},
|
|
"gpio_trigger": {
|
|
"pin": "",
|
|
"trigger_on": "pressed"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"qrshare": {
|
|
"enabled": false,
|
|
"shareservice_url": "https://photobooth-app.org/extras/shareservice-landing/",
|
|
"shareservice_apikey": "changedefault!",
|
|
"enabled_custom": true,
|
|
"share_custom_qr_url": "https://photomaton.lessapinsduweb.com/sharepage/#?url=https://photomaton.lessapinsduweb.com/media/full/{identifier}"
|
|
},
|
|
"filetransfer": {
|
|
"enabled": false,
|
|
"target_folder_name": "photobooth"
|
|
},
|
|
"mediaprocessing": {
|
|
"full_still_length": 4608,
|
|
"preview_still_length": 2304,
|
|
"thumbnail_still_length": 960,
|
|
"video_bitrate": 3000,
|
|
"video_compatibility_mode": true,
|
|
"remove_background_model": "modnet",
|
|
"fileformat_animations": "webp",
|
|
"fileformat_multicamera": "mp4"
|
|
},
|
|
"uisettings": {
|
|
"PRIMARY_COLOR": "#196cb0",
|
|
"SECONDARY_COLOR": "#4283b8",
|
|
"theme": "system",
|
|
"show_gallery_on_frontpage": true,
|
|
"show_admin_on_frontpage": true,
|
|
"admin_button_invisible": true,
|
|
"show_frontpage_timeout": 5,
|
|
"enable_automatic_slideshow": true,
|
|
"show_automatic_slideshow_timeout": 120,
|
|
"enable_livestream_when_idle": true,
|
|
"enable_livestream_when_active": true,
|
|
"livestream_mirror_effect": false,
|
|
"livestream_blurredbackground": false,
|
|
"livestream_blurredbackground_high_framerate": false,
|
|
"enable_livestream_frameoverlay": true,
|
|
"livestream_frameoverlay_image": "userdata/BAPTEME/frame/cadre baptème elise et diane.png",
|
|
"livestream_frameoverlay_mirror_effect": false,
|
|
"FRONTPAGE_TEXT": "<div> <div class=\"fixed-top-right q-mt-lg q-mr-lg\" style=\"pointer-events: none; max-width: 400px;\"> <div class=\"q-pa-md\" style=\"background: rgba(226,235,242,0.85); border-radius: 12px; backdrop-filter: blur(4px); border: 2px solid #89a9c2;\"> <div class=\"text-h3 text-weight-bold\" style=\"color: #335e7e;\">Bienvenue !</div> <div style=\"font-size: 1.3rem; line-height: 1.6; color: #335e7e; margin-top: 10px;\"> <div>Appuyez sur le bouton pour prendre une photo</div> </div> </div> </div> <div class=\"fixed-bottom-left q-mb-sm q-ml-lg\" style=\"pointer-events: none;\"> <div class=\"q-pa-sm\" style=\"background: rgba(226,235,242,0.75); border-radius: 8px; border: 1px solid #89a9c2; white-space: nowrap;\"> <span style=\"font-size: 0.85rem; color: #335e7e;\"> Photomaton proposé par Les Sapins Du Web. En l'utilisant, vous acceptez que les photos puissent etre utilisées par Les Sapins Du Web et ses partenaires. </span> </div> </div> <div class=\"fixed-bottom-right q-mb-lg q-mr-lg\" style=\"pointer-events: none;\"> <img src=\"/userdata/LSDW/logo/logo.jpeg\" alt=\"Les Sapins Du Web\" style=\"width:180px; height:180px; border-radius: 12px; box-shadow: 2px 2px 10px rgba(0,0,0,0.5);\"> </div></div>",
|
|
"TAKEPIC_MSG_TIME": 0.5,
|
|
"TAKEPIC_MSG_TEXT": "😃",
|
|
"AUTOCLOSE_NEW_ITEM_ARRIVED": 30,
|
|
"GALLERY_EMPTY_MSG": "<div class=\"fixed-center text-h2 text-weight-bold text-center text-white\" style=\"text-shadow: 4px 4px 4px #666;\">Empty, Zero, Nada! 🤷♂️<br>Let's take some pictures! <br>📷💕</div>",
|
|
"gallery_show_qrcode": true,
|
|
"qrcode_text_above": "⬇️ Télécharger la photo!",
|
|
"qrcode_text_below": "Scannez le QR code ci-dessus pour télécharger cette photo. ( Vous devez être connecté au Wifi Photomaton)",
|
|
"qrcode_link_codes": true,
|
|
"gallery_show_filter": false,
|
|
"gallery_show_download": false,
|
|
"gallery_show_delete": false,
|
|
"gallery_show_shareprint": false
|
|
},
|
|
"backends": {
|
|
"enable_livestream": true,
|
|
"retry_capture": 3,
|
|
"countdown_camera_capture_offset": 0.2,
|
|
"index_backend_stills": 0,
|
|
"index_backend_video": 0,
|
|
"index_backend_multicam": 0,
|
|
"group_backends": [
|
|
{
|
|
"enabled": true,
|
|
"description": "pi camera module V3",
|
|
"backend_config": {
|
|
"orientation": "1: 0°",
|
|
"backend_type": "Picamera2",
|
|
"camera_num": 0,
|
|
"CAPTURE_CAM_RESOLUTION_WIDTH": 4608,
|
|
"CAPTURE_CAM_RESOLUTION_HEIGHT": 3072,
|
|
"PREVIEW_CAM_RESOLUTION_WIDTH": 2304,
|
|
"PREVIEW_CAM_RESOLUTION_HEIGHT": 1536,
|
|
"LIVEVIEW_RESOLUTION_WIDTH": 750,
|
|
"LIVEVIEW_RESOLUTION_HEIGHT": 500,
|
|
"framerate_still_mode": 20,
|
|
"framerate_video_mode": 25,
|
|
"frame_skip_count": 4,
|
|
"optimized_lowlight_short_exposure": false,
|
|
"videostream_quality": "MEDIUM",
|
|
"original_still_quality": 100
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"hardwareinputoutput": {
|
|
"keyboard_input_enabled": false,
|
|
"gpio_enabled": false,
|
|
"gpio_pin_shutdown": 17,
|
|
"gpio_pin_reboot": 18,
|
|
"gpio_pin_job_next": 27,
|
|
"gpio_pin_job_reject": 22,
|
|
"gpio_pin_job_abort": 20
|
|
},
|
|
"misc": {
|
|
"secret_key": "d4c9e1591c96a07af8088489244bdca0d91f447ba6c2c2c6aa7bf04433863d95",
|
|
"cmd_shutdown": "shutdown now",
|
|
"cmd_reboot": "reboot"
|
|
}
|
|
} |